From aakhter at gmail.com Tue Nov 1 05:10:11 2011 From: aakhter at gmail.com (Aamer Akhter) Date: Tue, 1 Nov 2011 00:10:11 -0400 Subject: programmatic access to nagios state Message-ID: Hello, Is there a way to programmatically access the state of specific services that nagios is monitoring? I can see how one could do that via the web interface but that would mean parsing the html. Is there a more straightforward API/interface? -- Aamer Akhter / aakhter at gmail.com ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henti at geekware.co.za Tue Nov 1 06:33:42 2011 From: henti at geekware.co.za (Henti Smith) Date: Tue, 1 Nov 2011 07:33:42 +0200 Subject: programmatic access to nagios state In-Reply-To: References: Message-ID: On Tue, Nov 1, 2011 at 6:10 AM, Aamer Akhter wrote: > Hello, Hi, > Is there a way to programmatically access the state of specific > services that nagios is monitoring? I can see how one could do that > via the web interface but that would mean parsing the html. Is there a > more straightforward API/interface? Nagios writes the current state in a file called status.dat This file can be parsed to find the status of the host/service you want. Henti ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Nov 1 06:45:26 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 1 Nov 2011 06:45:26 +0100 Subject: programmatic access to nagios state In-Reply-To: References: Message-ID: <73F661AF-801D-40B1-B24A-35FD3CDED7C7@ederdrom.de> Am 01.11.2011 um 06:33 schrieb Henti Smith: > On Tue, Nov 1, 2011 at 6:10 AM, Aamer Akhter wrote: >> Hello, > > Hi, > >> Is there a way to programmatically access the state of specific >> services that nagios is monitoring? I can see how one could do that >> via the web interface but that would mean parsing the html. Is there a >> more straightforward API/interface? > > > Nagios writes the current state in a file called status.dat > > This file can be parsed to find the status of the host/service you want. a smarter way is to use livestatus http://mathias-kettner.de/checkmk_livestatus.html Joerg ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin.neagu at omnilogic.ro Tue Nov 1 09:01:14 2011 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Tue, 01 Nov 2011 10:01:14 +0200 Subject: Unable to use check_bgp and check_catalyst_mem In-Reply-To: <4EAE5D59.9090107@omnilogic.ro> References: <4EAE5AA9.2070300@omnilogic.ro> <4EAE5D59.9090107@omnilogic.ro> Message-ID: <4EAFA74A.2050001@omnilogic.ro> Hi, Can anyoune help me understand what is wrong with those definitions? Please. On 10/31/2011 10:33 AM, Cosmin Neagu wrote: > Actually, i have another one in the same situation, when executed > manualy, it is working: > > /nagios at mon2:/usr/local/nagios/libexec$ ./check_catalyst_mem.pl -s > 172.31.0.100 -C xxx -w 30 -c 20 > OK: I/O: valid, Used: 25189592B Free: 41919272B (62%)! Processor: > valid, Used: 114067808B Free: 801243696B (87%)!|WARING <= 30%, > CRITICAL <= 20%/ > > But, when i define a service for it, it does not do the checking > corectly: Status Critical and null status information: > > > /define command { > command_name check_catalyst_mem > command_line $USER1$/check_catalyst_mem.pl -s $HOSTADDRESS$ $ARG1$ > } > > define service { > use generic-service > host_name VSS6509 > service_description Memory > check_command check_catalyst_mem!-C xxx -w 30 -c 20 > }/ > > What's wrong with this definitions and why nagios does not check corect? > > > Cosmin Neagu > > > On 10/31/2011 10:22 AM, Cosmin Neagu wrote: >> Hello, >> I'm trying to monitor bgp session, and i came upon the following >> script check_bgp. >> When i run it manually, it checks the bgp session OK: >> >> /nagios at mon2:/usr/local/nagios/libexec$ ./check_bgp.pl -H X.X.X.X -C >> xxx -p Y.Y.Y.Y >> OK - Y.Y.Y.Y (AS12345) state is established(6). Established for >> 69d9h34m43s. Last error "Hold Timer Expired". >> / >> >> But, when i define the command, and add a service for it, it does not >> work. In nagios, i get CRITICAL status and /null/ Status information. >> Using nagios 3.2.3 >> >> >> >> >> /define command { >> command_name check_bgp >> command_line $USER1$/check_bgp.pl -H $HOSTADDRESS$ $ARG1$ >> }/ >> /define service { >> use generic-service >> host_name EDGE >> service_description eBGP to AS12345 >> check_command check_bgp!-C abcd -p Y.Y.Y.Y >> }/ >> >> So, what am i doing wrong? I have about 300 diferent services, and >> all checks works fine, this is the first time when a script works >> when invoked manually but not when invoked by nagios. Please help. >> >> >> >> -- >> Cosmin Neagu >> > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-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 -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 noc at fohnet.co.uk Tue Nov 1 09:44:11 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Tue, 1 Nov 2011 08:44:11 +0000 Subject: programmatic access to nagios state In-Reply-To: References: Message-ID: <-3645589669841870618@unknownmsgid> On 1 Nov 2011, at 04:25, Aamer Akhter wrote: > Hello, > > Is there a way to programmatically access the state of specific > services that nagios is monitoring? I can see how one could do that > via the web interface but that would mean parsing the html. Is there a > more straightforward API/interface? > > -- > Aamer Akhter / aakhter at gmail.com > There's the Nagios::Status perl modules. Apart from that, Icinga now has a basic JSON API for querying service status etc. -- Richard Clark richard at fohnet.co.uk ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 1 14:05:33 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 01 Nov 2011 14:05:33 +0100 Subject: [PATCH] reduce notification load; fix $NOTIFICATIONRECIPIENTS$ macro #98 Message-ID: <4EAFEE9D.5070201@univie.ac.at> hi, recently we've been debugging on team icinga in the middle of notifications and macros, and while investigating on a users problem, we've digged a bit deeper into the notification viability checks, resulting in deeper analysis of an Opsview patch to reduce the notification load significantly by moving the viability checks from the actual notification into the creation of the contacts notified, passing only a list of 'qualified' contacts to the actual notification logic. the only thing to remark over here is that the checks against the valid notification_period now happen sooner, and not actually when the notification is sent to each contact. while implementing that patch into current code (needs some macro passing with current code), we did remember nagios bug #98 where the $NOTIFICATIONRECEIPIENTS$ macro is demanded to be only populated with the actual contacts to be notified, but not all of those assigned to the host/service. while this is considered to be a real bug, further investigation showed that thanks to the viability checks before calling add_notification(), contacts won't be added to that macro as the macro logic happens within that function too. so by applying the attached git patch, you will a. reduce notification load and b. fix the $NOTIFICATIONRECEIPIENTS$ macro holding all contacts, but not the viable contacts. since the code remains actually the same on icinga and nagios in this stage, the tests can be found at the icinga dev tracker as usual. https://dev.icinga.org/issues/1744 https://dev.icinga.org/issues/2023 kudos to Opsview Team for their initial patch as well as Icinga Development Team for the further analysis on the macro bug. feel free to apply, matches against latest HEAD. kind regards, Michael -- 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& IDOUtils Developer http://www.icinga.org -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-reduce-notification-load-fix-NOTIFICATIONRECIPIENTS-.patch Type: text/x-diff Size: 15192 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From daniel.wittenberg.r0ko at statefarm.com Tue Nov 1 15:18:38 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 1 Nov 2011 14:18:38 +0000 Subject: programmatic access to nagios state In-Reply-To: <-3645589669841870618@unknownmsgid> References: <-3645589669841870618@unknownmsgid> Message-ID: <4288A518A157EC4C8873FEE74F778BF0074E2D@WPSDGQHH.OPR.STATEFARM.ORG> We use the livestatus event broker for that purpose, there is also a JSON web services frontend for livestatus as well. Dan -----Original Message----- From: Richard Clark [mailto:noc at fohnet.co.uk] Sent: Tuesday, November 01, 2011 3:44 AM To: Nagios Users List Subject: Re: [Nagios-users] programmatic access to nagios state On 1 Nov 2011, at 04:25, Aamer Akhter wrote: > Hello, > > Is there a way to programmatically access the state of specific > services that nagios is monitoring? I can see how one could do that > via the web interface but that would mean parsing the html. Is there a > more straightforward API/interface? > > -- > Aamer Akhter / aakhter at gmail.com > There's the Nagios::Status perl modules. Apart from that, Icinga now has a basic JSON API for querying service status etc. -- Richard Clark richard at fohnet.co.uk ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wwanghongrui at cebbank.com Wed Nov 2 06:57:11 2011 From: wwanghongrui at cebbank.com (=?utf-8?B?d3dhbmdob25ncnVp?=) Date: Wed, 2 Nov 2011 13:57:11 +0800 Subject: =?utf-8?q?=5BPATCH=5D_reduce_notification_load=3Bf?= =?utf-8?q?ix_=24NOTIFICATIONRECIPIENTS=24_macro_=2398?= References: <4EAFEE9D.5070201@univie.ac.at> Message-ID: <201111021357111718977@cebbank.com> wwanghongrui 2011-11-02 ???? Michael Friedrich ????? 2011-11-01 21:14:03 ???? nagios-devel ??? nagios-users ??? [Nagios-users] [PATCH] reduce notification load;fix $NOTIFICATIONRECIPIENTS$ macro #98 hi, recently we've been debugging on team icinga in the middle of notifications and macros, and while investigating on a users problem, we've digged a bit deeper into the notification viability checks, resulting in deeper analysis of an Opsview patch to reduce the notification load significantly by moving the viability checks from the actual notification into the creation of the contacts notified, passing only a list of 'qualified' contacts to the actual notification logic. the only thing to remark over here is that the checks against the valid notification_period now happen sooner, and not actually when the notification is sent to each contact. while implementing that patch into current code (needs some macro passing with current code), we did remember nagios bug #98 where the $NOTIFICATIONRECEIPIENTS$ macro is demanded to be only populated with the actual contacts to be notified, but not all of those assigned to the host/service. while this is considered to be a real bug, further investigation showed that thanks to the viability checks before calling add_notification(), contacts won't be added to that macro as the macro logic happens within that function too. so by applying the attached git patch, you will a. reduce notification load and b. fix the $NOTIFICATIONRECEIPIENTS$ macro holding all contacts, but not the viable contacts. since the code remains actually the same on icinga and nagios in this stage, the tests can be found at the icinga dev tracker as usual. https://dev.icinga.org/issues/1744 https://dev.icinga.org/issues/2023 kudos to Opsview Team for their initial patch as well as Icinga Development Team for the further analysis on the macro bug. feel free to apply, matches against latest HEAD. kind regards, Michael -- 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& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ RSA? Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 mad at b-care.net Wed Nov 2 08:24:34 2011 From: mad at b-care.net (MAD) Date: Wed, 02 Nov 2011 08:24:34 +0100 Subject: programmatic access to nagios state In-Reply-To: <4288A518A157EC4C8873FEE74F778BF0074E2D@WPSDGQHH.OPR.STATEFARM.ORG> References: <-3645589669841870618@unknownmsgid> <4288A518A157EC4C8873FEE74F778BF0074E2D@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4EB0F032.90207@b-care.net> Hi, You can also use NDOUtils or Merlin to store your hosts and services' state and configuration in a database. Marc-Andr? On 11/01/2011 03:18 PM, Daniel Wittenberg wrote: > We use the livestatus event broker for that purpose, there is also a JSON web services frontend for livestatus as well. > > Dan > > -----Original Message----- > From: Richard Clark [mailto:noc at fohnet.co.uk] > Sent: Tuesday, November 01, 2011 3:44 AM > To: Nagios Users List > Subject: Re: [Nagios-users] programmatic access to nagios state > > On 1 Nov 2011, at 04:25, Aamer Akhter wrote: > >> Hello, >> >> Is there a way to programmatically access the state of specific >> services that nagios is monitoring? I can see how one could do that >> via the web interface but that would mean parsing the html. Is there a >> more straightforward API/interface? >> >> -- >> Aamer Akhter / aakhter at gmail.com >> > There's the Nagios::Status perl modules. Apart from that, Icinga now > has a basic JSON API for querying service status etc. > > -- > Richard Clark > richard at fohnet.co.uk > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save$700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save$700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seun.ojedeji at gmail.com Wed Nov 2 09:52:58 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 2 Nov 2011 09:52:58 +0100 Subject: Analyse data from multiple nagios instances Message-ID: Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- ------------------------------------------------------------------------ *Seun Ojedeji, **you don't need a hero to succeed on the field....you need a team!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 james.osbourn at citrix.com Wed Nov 2 10:00:20 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Wed, 2 Nov 2011 09:00:20 +0000 Subject: Analyse data from multiple nagios instances In-Reply-To: References: Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 08:53 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 giles at coochey.net Wed Nov 2 10:09:52 2011 From: giles at coochey.net (Giles Coochey) Date: Wed, 02 Nov 2011 09:09:52 +0000 Subject: check_http results - interpreting error messages. Message-ID: <4EB108E0.5020207@coochey.net> I am monitoring a website, and I sometimes get two types of error: One is: CRITICAL - Socket timeout after 10 seconds and the other is: HTTP CRITICAL - No data received from host What is the difference between the two errors? Is it the case that the HTTP CRITICAL error connected to the server via TCP, but didn't get a page and that the Socket timeout error didn't even establish the TCP connection? Thanks Giles -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4320 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 seun.ojedeji at gmail.com Wed Nov 2 10:20:07 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 2 Nov 2011 10:20:07 +0100 Subject: Analyse data from multiple nagios instances In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> Message-ID: Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn wrote: > I have setup a Multisite MK server to pool all of my site Nagios servers > into a single view. I can see the status of all hosts/services from one > location and acknowledge and schedule outages etc from this interface. Any > graphing can be viewed, although this is a connection to the graph pages on > the individual site servers. I am not sure if this will allow for analysis > of the data as the specific state data is still stored on the site Nagios > servers.**** > > ** ** > > James**** > > ** ** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 08:53 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Analyse data from multiple nagios instances**** > > ** ** > > Dear all, > > I have different nagios setup in multiple locations and they are > independently working fine. However i need each of these nagios instances > to send historical data of a particular host to a central server for > analysis and graphical representations. Does anyone know a plugin or > software i could use to achieve my goal? > > Regards > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > ** ** > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------------------------ *Seun Ojedeji, **you don't need a hero to succeed on the field....you need a team!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 james.osbourn at citrix.com Wed Nov 2 11:08:04 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Wed, 2 Nov 2011 10:08:04 +0000 Subject: Analyse data from multiple nagios instances In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> A brief overview is as follows, you will need to check each parts documentation for exact details for your environment. Install a server with Nagios, or use one of your existing servers. Install Check MK Multisite, there are some good instructions here http://mathias-kettner.de/checkmk_multisite_setup.html You then need to install MK Live status on each of your Nagios servers for the multisite server to connect to them. Update your Multisite config to know about the different sites and then have a play and see what you get. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 09:20 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn > wrote: I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 08:53 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 holger at CIS.FU-Berlin.DE Wed Nov 2 11:22:48 2011 From: holger at CIS.FU-Berlin.DE (Holger =?iso-8859-1?Q?Wei=DF?=) Date: Wed, 2 Nov 2011 11:22:48 +0100 Subject: check_http results - interpreting error messages. In-Reply-To: <4EB108E0.5020207@coochey.net> References: <4EB108E0.5020207@coochey.net> Message-ID: <20111102102248.GJ55092292@CIS.FU-Berlin.DE> * Giles Coochey [2011-11-02 09:09]: > I am monitoring a website, and I sometimes get two types of error: > > One is: > > CRITICAL - Socket timeout after 10 seconds > > and the other is: > > HTTP CRITICAL - No data received from host > > What is the difference between the two errors? Is it the case that > the HTTP CRITICAL error connected to the server via TCP, but didn't > get a page and that the Socket timeout error didn't even establish > the TCP connection? Yes, that's the difference. Holger ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seun.ojedeji at gmail.com Wed Nov 2 11:42:38 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 2 Nov 2011 11:42:38 +0100 Subject: Analyse data from multiple nagios instances In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> Message-ID: Hello James, Thank you for providing this, i will work on it. Nevertheless, i will also appreciate if anyone could suggest what tools i could use to achieve my goals...i.e exporting data from nagios and analysing them on a central location to present graphical representation. Thanks once again James. Cheers On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn wrote: > A brief overview is as follows, you will need to check each parts > documentation for exact details for your environment.**** > > ** ** > > Install a server with Nagios, or use one of your existing servers. > Install Check MK Multisite, there are some good instructions here > http://mathias-kettner.de/checkmk_multisite_setup.html**** > > ** ** > > You then need to install MK Live status on each of your Nagios servers for > the multisite server to connect to them. Update your Multisite config to > know about the different sites and then have a play and see what you get.* > *** > > ** ** > > James**** > > ** ** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 09:20 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances* > *** > > ** ** > > Hello James, > > Thanks a lot for responding, your solution is a very good place to start; > though it may not analyze but for knowledge sake could you share the > proceeds you followed to achieve this? > > Regards**** > > On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn > wrote:**** > > I have setup a Multisite MK server to pool all of my site Nagios servers > into a single view. I can see the status of all hosts/services from one > location and acknowledge and schedule outages etc from this interface. Any > graphing can be viewed, although this is a connection to the graph pages on > the individual site servers. I am not sure if this will allow for analysis > of the data as the specific state data is still stored on the site Nagios > servers.**** > > **** > > James**** > > **** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 08:53 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Analyse data from multiple nagios instances**** > > **** > > Dear all, > > I have different nagios setup in multiple locations and they are > independently working fine. However i need each of these nagios instances > to send historical data of a particular host to a central server for > analysis and graphical representations. Does anyone know a plugin or > software i could use to achieve my goal? > > Regards > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > **** > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > ** ** > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------------------------ *Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 **alt email: seun.ojedeji at unn.edu.ng* *you don't need a hero to succeed on the field....you need a team!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 james.osbourn at citrix.com Wed Nov 2 11:58:10 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Wed, 2 Nov 2011 10:58:10 +0000 Subject: Analyse data from multiple nagios instances In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CEC@LONPMAILBOX01.citrite.net> I am not doing any analysis; I am just using the monitoring tools. Someone else would have to comment on this feature. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 10:43 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thank you for providing this, i will work on it. Nevertheless, i will also appreciate if anyone could suggest what tools i could use to achieve my goals...i.e exporting data from nagios and analysing them on a central location to present graphical representation. Thanks once again James. Cheers On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn > wrote: A brief overview is as follows, you will need to check each parts documentation for exact details for your environment. Install a server with Nagios, or use one of your existing servers. Install Check MK Multisite, there are some good instructions here http://mathias-kettner.de/checkmk_multisite_setup.html You then need to install MK Live status on each of your Nagios servers for the multisite server to connect to them. Update your Multisite config to know about the different sites and then have a play and see what you get. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 09:20 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn > wrote: I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 08:53 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 alt email: seun.ojedeji at unn.edu.ng you don't need a hero to succeed on the field....you need a team! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Wed Nov 2 21:35:56 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 02 Nov 2011 16:35:56 -0400 Subject: us-holidays timeperiod error Message-ID: <4EB1A9AC.4090509@paul.dubuc.org> I apologize if this has already been caught and fixed, but I just noticed that the timeperiods.cfg file that comes with Nagios 3.2.3 has an error in the us-holidays timeperiod: thursday -1 november 00:00-00:00 ; Thanksgiving (last Thursday in November) should be thursday 4 november 00:00-00:00 ; Thanksgiving (4th Thursday in November) November 2012 has 5 Thursdays. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 From a31modela at hotmail.com Thu Nov 3 19:33:42 2011 From: a31modela at hotmail.com (steve f) Date: Thu, 3 Nov 2011 14:33:42 -0400 Subject: What happened to my check_http all of the sudden? Message-ID: We have been running a check_http to our website and just today it started alerting. I fixed it but was looking for an explanation of why it failed. The check was check_http -L www.somesite.com -c 30 -w 15, which was running with no problem. Today we switched over content to Akamai and as soon as we did, this check starting alerting a warning as follows : HTTP WARNING: HTTP/1.0 400 Bad Request - 402 bytes in 0.061 second response time |time=0.061278s;15.000 000;30.000000;0.000000 size=402B;;;0 I switched the check to the following check_http -H www.somesite.com -c 30 -w 15 and everything went back to green HTTP OK: HTTP/1.1 200 OK - 40004 bytes in 0.247 second response time |time=0.246 539s;15.000000;30.000000;0.000000 size=40004B;;;0 I know from the documentation that the -L means Wrap output in HTML link (obsoleted by urlize) not sure exactly what that means. If memory servers me correct, way back when I set this check up, the -H didn't work but the -L did. Can someone school me on the details of what happened? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 patrick.morris at hp.com Thu Nov 3 20:08:12 2011 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 3 Nov 2011 19:08:12 +0000 Subject: What happened to my check_http all of the sudden? In-Reply-To: References: Message-ID: > From: steve f [mailto:a31modela at hotmail.com] > Sent: Thursday, November 03, 2011 11:34 AM > Subject: [Nagios-users] What happened to my check_http all of the sudden? > The check was check_http -L www.somesite.com -c 30 -w 15, which was running > with no problem. Today we switched over > content to Akamai and as soon as we did, this check starting alerting a > warning as follows : > HTTP WARNING: HTTP/1.0 > 400 > Bad Request - 402 bytes in 0.061 second response time > |time=0.061278s;15.000 > 000;30.000000;0.000000 size=402B;;;0 > I switched the check to the following check_http -H www.somesite.com -c > 30 -w 15 > and everything went back to green > HTTP OK: HTTP/1.1 200 OK - 40004 bytes in 0.247 second response time > |time=0.246 > 539s;15.000000;30.000000;0.000000 size=40004B;;;0 -H and -L are not even remotely related to each other. -H is followed by the hostname you're checking and specifies a virtual hostname to check. It is used to generate the "Host" header in the HTTP request, and in the absence of a "-I" parameter it is also used to determine the address to send your request to. -L is a standalone parameter. In your original config, -L and "www.somesite.com" have no relationship to each other, becaus -L does not take a parameter. It is used to wrap your URL in HTML to make it a clickable link in your plugin output. It is a strictly cosmetic option that does not affect how your check is run in any way. Since you had not included a hostname to check in your configuration, your HTTP requests probably never had a valid "Host" header, and Akamai barfed on those requests in a way your local server did not. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6231 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 a31modela at hotmail.com Thu Nov 3 20:37:27 2011 From: a31modela at hotmail.com (steve f) Date: Thu, 3 Nov 2011 15:37:27 -0400 Subject: What happened to my check_http all of the sudden? In-Reply-To: References: , Message-ID: Thanks Patrick for the info.... So technically, since I never specified a host with -H in the check, it was working almost by accident I guess. Appreciate the feedback Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 ipetts at gmail.com Fri Nov 4 04:01:28 2011 From: ipetts at gmail.com (Ian Petts) Date: Fri, 4 Nov 2011 14:01:28 +1100 Subject: Following Object Inheritance Message-ID: I've inherited a Nagios installation that's not well documented and has quite a confusing setup. I'm trying to work out what contacts/contactgroups are notified for a set of given services, but the inheritance is driving me crazy. Is there a utility that can parse the config files and show me what each object looks like after it's been expanded? ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sigmund.brandstaetter at hp.com Fri Nov 4 04:53:14 2011 From: sigmund.brandstaetter at hp.com (Brandstaetter, Sigmund) Date: Fri, 4 Nov 2011 03:53:14 +0000 Subject: check_log via check_nrpe problem Message-ID: Hi Guys, First of all, hello, since this is my first post to the list. I hope some of you will be able to give me some input on my problem. I have a Nagios Server to monitor some Hosts (Nagios 3.3.1) using NRPE and SNMP Checks I wanna check a logfile for eg. the string error. The check works fine when I run it locally, meaning, after the check detects the pattern, it creates an alert, then, on the next check, if no new pattern was detected, it will return OK. When I now run the check via nrpe from the nagios server, it will also detect the pattern, but it will also come back with CRITICAL on each check thereafter even if there have been no additional occurrences of it. This is what the corresponding line in the nrpe.cfg on the remote host looks like for this check: command[check_messages]=/usr/local/nagios/libexec/check_log -F /var/log/messages -O /tmp/messages -q "error" Note that all other checks work fine, so nrpe works fine. EG: [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error But locally on the host, using the same check_log with the same parameters that I have in my nrpe.cfg it works: [root at xx libexec]# ./check_log -F /var/log/messages -O /tmp/messages -q "error" (13) < Nov 4 10:49:57 tuphlog1 nagios: SERVICE NOTIFICATION: nagiosadmin;tuphweb2;LOG - Authentication Errors;UNKNOWN;notify-service-by-email;Log check error: xxxx [root at xx libexec]# ./check_log -F /var/log/messages -O /tmp/messages -q "error" Log check ok - 0 pattern matches found Any Idea what could be the problem? Cheers Sigmund -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6218 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Fri Nov 4 08:29:20 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 04 Nov 2011 08:29:20 +0100 Subject: Following Object Inheritance In-Reply-To: References: Message-ID: <4EB39450.5090303@univie.ac.at> Ian Petts wrote: > I've inherited a Nagios installation that's not well documented and > has quite a confusing setup. > > I'm trying to work out what contacts/contactgroups are notified for a > set of given services, > but the inheritance is driving me crazy. > > Is there a utility that can parse the config files and show me what > each object looks like > after it's been expanded? nagios.cfg:objects.cache > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- 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 Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 4 08:32:52 2011 From: mad at b-care.net (MAD) Date: Fri, 04 Nov 2011 08:32:52 +0100 Subject: check_log via check_nrpe problem In-Reply-To: References: Message-ID: <4EB39524.3030909@b-care.net> Hi, If you ran your tests with an other user than the one NRPE is using on your server, may be he can't overwrite your /tmp/messages file and trigger a CRITICAL state (I see in your tests you are logged in as root). Marc-Andr? On 11/04/2011 04:53 AM, Brandstaetter, Sigmund wrote: > Hi Guys, > > First of all, hello, since this is my first post to the list. > > I hope some of you will be able to give me some input on my problem. > > I have a Nagios Server to monitor some Hosts (Nagios 3.3.1) using NRPE and > SNMP Checks > > I wanna check a logfile for eg. the string error. > > The check works fine when I run it locally, meaning, after the check detects > the pattern, it creates an alert, then, on the next check, if no new pattern > was detected, it will return OK. > > When I now run the check via nrpe from the nagios server, it will also > detect the pattern, but it will also come back with CRITICAL on each check > thereafter even if there have been no additional occurrences of it. > > This is what the corresponding line in the nrpe.cfg on the remote host looks > like for this check: > > command[check_messages]=/usr/local/nagios/libexec/check_log -F > /var/log/messages -O /tmp/messages -q "error" > > Note that all other checks work fine, so nrpe works fine. > > > EG: > > [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages > (2)< error > [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages > (2)< error > [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages > (2)< error > [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages > (2)< error > [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages > (2)< error > > But locally on the host, using the same check_log with the same parameters > that I have in my nrpe.cfg it works: > > [root at xx libexec]# ./check_log -F /var/log/messages -O /tmp/messages -q > "error" > (13)< Nov 4 10:49:57 tuphlog1 nagios: SERVICE NOTIFICATION: > nagiosadmin;tuphweb2;LOG - Authentication > Errors;UNKNOWN;notify-service-by-email;Log check error: xxxx > [root at xx libexec]# ./check_log -F /var/log/messages -O /tmp/messages -q > "error" > Log check ok - 0 pattern matches found > > > Any Idea what could be the problem? > > Cheers > Sigmund > > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 sigmund.brandstaetter at hp.com Fri Nov 4 08:35:51 2011 From: sigmund.brandstaetter at hp.com (Brandstaetter, Sigmund) Date: Fri, 4 Nov 2011 07:35:51 +0000 Subject: check_log via check_nrpe problem In-Reply-To: <4EB39524.3030909@b-care.net> References: <4EB39524.3030909@b-care.net> Message-ID: Hi Marc, Thanks a lot, sure enough you are right J Thanks a lot, I totally overlooked that . From: MAD [mailto:mad at b-care.net] Sent: Friday, November 04, 2011 15:33 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_log via check_nrpe problem Hi, If you ran your tests with an other user than the one NRPE is using on your server, may be he can't overwrite your /tmp/messages file and trigger a CRITICAL state (I see in your tests you are logged in as root). Marc-Andr? On 11/04/2011 04:53 AM, Brandstaetter, Sigmund wrote: Hi Guys, First of all, hello, since this is my first post to the list. I hope some of you will be able to give me some input on my problem. I have a Nagios Server to monitor some Hosts (Nagios 3.3.1) using NRPE and SNMP Checks I wanna check a logfile for eg. the string error. The check works fine when I run it locally, meaning, after the check detects the pattern, it creates an alert, then, on the next check, if no new pattern was detected, it will return OK. When I now run the check via nrpe from the nagios server, it will also detect the pattern, but it will also come back with CRITICAL on each check thereafter even if there have been no additional occurrences of it. This is what the corresponding line in the nrpe.cfg on the remote host looks like for this check: command[check_messages]=/usr/local/nagios/libexec/check_log -F /var/log/messages -O /tmp/messages -q "error" Note that all other checks work fine, so nrpe works fine. EG: [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error [root at xx libexec]# ./check_nrpe -H xxxxxx -c check_messages (2) < error But locally on the host, using the same check_log with the same parameters that I have in my nrpe.cfg it works: [root at xx libexec]# ./check_log -F /var/log/messages -O /tmp/messages -q "error" (13) < Nov 4 10:49:57 tuphlog1 nagios: SERVICE NOTIFICATION: nagiosadmin;tuphweb2;LOG - Authentication Errors;UNKNOWN;notify-service-by-email;Log check error: xxxx [root at xx libexec]# ./check_log -F /var/log/messages -O /tmp/messages -q "error" Log check ok - 0 pattern matches found Any Idea what could be the problem? Cheers Sigmund ---------------------------------------------------------------------------- -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6218 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 mail at catsnest.co.uk Fri Nov 4 09:38:40 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Fri, 4 Nov 2011 08:38:40 +0000 Subject: Following Object Inheritance In-Reply-To: References: Message-ID: On Fri, Nov 4, 2011 at 3:01 AM, Ian Petts wrote: > I've inherited a Nagios installation that's not well documented and > has quite a confusing setup. > > I'm trying to work out what contacts/contactgroups are notified for a > set of given services, > but the inheritance is driving me crazy. > > Is there a utility that can parse the config files and show me what > each object looks like > after it's been expanded? For seeing the setup and what service has what contacts I find the the gui's "View Config" option quite useful. There was a patch I think made in in to the 3.3.1 release that would also expand all the variables $USRE1$ etc. though I think that is an option in nagios.conf to turn it on. The "objects.cache" is also very usefull though can be daunting to navagate, to find its location look for "object_cache_file=" in your nagios.conf. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mazar at autistici.org Fri Nov 4 15:18:41 2011 From: mazar at autistici.org (mazar) Date: Fri, 04 Nov 2011 15:18:41 +0100 Subject: check_nt wrapper Message-ID: <4EB3F441.2040102@autistici.org> Hi list, I've put together a wrapper for the Disk Reads/sec and Disk Writes/sec counters, my goal is to have an output as follow: ./check_diskio_win.sh 1.1.1.1 C Disk Reads/sec is 5 ; Disk Writes/sec is 25 I'm able to accomplish this via script, but when I give it to nagios, as check_command the output (web interface) is as follow: Disk Reads/sec is : Disk Writes/sec is what I do in the script is basically the below command and some parsing (that works from shell script): check_nt -H $1 -v COUNTER -l "\\PhysicalDisk(0 $2:)\\Disk Reads/sec","PhysicalDisk(0 $2:) Disk Reads/sec is %.f " any idea? Thx mazar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 james.osbourn at citrix.com Fri Nov 4 16:52:08 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Fri, 4 Nov 2011 15:52:08 +0000 Subject: check_netapp3 nagios graph data Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA40DB@LONPMAILBOX01.citrite.net> Is anyone using the check_netapp3 script to monitor their NetApp filers. Are you able to get Nagios graph to graph your performance data. Having just set this up I can see that CPU load and cache age are graphing but disk read or write values, NFS Ops, Network sent/received, and volume/inode usage are not. Does anyone have an updated version of this plugin with correctly formatted performance data or an update to Nagios graph to understand the formats? James ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 5 15:26:23 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Sat, 05 Nov 2011 15:26:23 +0100 Subject: check_openmanage on CentOS 5.6 Hosts In-Reply-To: (the entrox's message of "Sat, 5 Nov 2011 09:59:16 -0400") References: Message-ID: <15t62iywsq8.fsf@tux.uio.no> the entrox writes: > i've been using the check_openmanage script to monitor about two dozens of dell > servers without a hitch (all Windows based) and we just set up about 15 or so > new servers but this time running CentOS, i of course installed the OMSA via > Dell's repository and also enabled SNMP but i cant seem to get the command to > work on those hosts. > > i am trying to run the debug command to look at the entire output like this: > > [root at MONITOR02 plugins]# ./check_openmanage -H HOSTIP -C COMMUNITY -d > ERROR: (SNMP) OpenManage is not installed or is not working correctly This error means that the SNMP service on the monitored host is working and we get a reply, but the OIDs for OMSA are not present. > i of course checked where the omreport binary was at and its where the script > is looking for it: > > [root at mvarutestvmbase01 ~]# find / -name omreport > /opt/dell/srvadmin/sbin/omreport > /opt/dell/srvadmin/bin/omreport > [root at mvarutestvmbase01 ~]# When using SNMP, the plugin doesn't utilize the omreport binary in any way. It doesn't care where it is installed. BTW, the above location is correct and is the default. > just to double check i went ahead and looked if the OMSA was working, i went > via web and the console shows up no problem at all, if i authenticate it shows > all the information that it should be showing, i also restarted all the > services on the OMSA just to see if something was up but nothing, it still > claims its not working: > > http://pics.entrox.me/983ygh426g.png This is interesting. The SNMP service wasn't started. You should see something like this: Starting dsm_sa_snmpd: [ OK ] The dsm_sa_snmpd service is started by /etc/init.d/dataeng. This script is also responsible for starting other components such as dsm_sa_datamgrd, and that seems to work fine. You should also see dsm_sa_snmpd in the process list if it's running: # ps axww | grep dsm_sa_snmpd 4967 ? Ssl 0:00 /opt/dell/srvadmin/sbin/dsm_sa_snmpd >From what I can gather from the dataeng init script, it won't start dsm_sa_snmpd if this file exists: /opt/dell/srvadmin/var/lib/srvadmin-deng/dcsnmp.off If it exists on your system, try removing it and restart OMSA. Also verify that your /etc/snmp/snmpd.conf contains the following at the very end: # Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX smuxpeer .1.3.6.1.4.1.674.10892.1 This should have been added by OMSA at install time. > i also read on the man page of the script (http://folk.uio.no/trondham/software > /check_openmanage.html) that i could use the --omreport option but no dice with > that, even trying the bin and sbin omreport binary file i got the exact same > message: This option allows you to specify the location of the omreport command. It has no effect when using SNMP, and is only really usable on Windows systems, where OMSA can be installed on drives other than C:. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ipetts at gmail.com Sun Nov 6 23:10:51 2011 From: ipetts at gmail.com (Ian Petts) Date: Mon, 7 Nov 2011 09:10:51 +1100 Subject: Following Object Inheritance In-Reply-To: References: Message-ID: <20111106221051.GA5245@igpvps.jumba.com.au> >> Is there a utility that can parse the config files and show me what each >> object looks like after it's been expanded? > For seeing the setup and what service has what contacts I find the the gui's > "View Config" option quite useful. > The "objects.cache" is also very usefull though can be daunting to navagate, > to find its location look for "object_cache_file=" in your nagios.conf. Perfect! Thank you very much. Cheers, Ian. -- To err is human; to forgive, beyond the scope of the Operating System. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Tue Nov 8 03:33:44 2011 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 08 Nov 2011 13:33:44 +1100 Subject: check_nt wrapper In-Reply-To: <4EB3F441.2040102@autistici.org> References: <4EB3F441.2040102@autistici.org> Message-ID: <4EB89508.6010301@edcint.co.nz> No need to write anything, just use this plugin which already does all of that and heaps more www.edcint.co.nz/checkwmiplus On 5/11/2011 1:18 AM, mazar wrote: > Hi list, > > I've put together a wrapper for the Disk Reads/sec and Disk Writes/sec > counters, my goal is to have an output as follow: > > ./check_diskio_win.sh 1.1.1.1 C > > Disk Reads/sec is 5 ; Disk Writes/sec is 25 > > I'm able to accomplish this via script, but when I give it to nagios, > as check_command the output (web interface) is as follow: > > Disk Reads/sec is : Disk Writes/sec is > > what I do in the script is basically the below command and some > parsing (that works from shell script): > > check_nt -H $1 -v COUNTER -l "\\PhysicalDisk(0 $2:)\\Disk > Reads/sec","PhysicalDisk(0 $2:) Disk Reads/sec is %.f " > > > any idea? > > Thx > > mazar > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1411 / Virus Database: 2092/3994 - Release Date: 11/03/11 > > > -- > Smartmon System Monitoring > www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 jim at jimavery.me.uk Tue Nov 8 08:54:09 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 8 Nov 2011 07:54:09 +0000 Subject: check_nt wrapper In-Reply-To: <4EB3F441.2040102@autistici.org> References: <4EB3F441.2040102@autistici.org> Message-ID: On 4 November 2011 14:18, mazar wrote: > Hi list, > > I've put together a wrapper for the Disk Reads/sec and Disk Writes/sec > counters, my goal is to have an output as follow: > > ./check_diskio_win.sh 1.1.1.1 C > > Disk Reads/sec is 5 ; Disk Writes/sec is 25 > > I'm able to accomplish this via script, but when I give it to nagios, as > check_command the output (web interface) is as follow: > > Disk Reads/sec is : Disk Writes/sec is > > what I do in the script is basically the below command and some parsing > (that works from shell script): > > check_nt -H $1 -v COUNTER? -l "\\PhysicalDisk(0 $2:)\\Disk > Reads/sec","PhysicalDisk(0 $2:) Disk Reads/sec is %.f " My guess is the shell is interpreting the "%" character in some way. Try escaping it like so .. Reads/sec is \%.f " but note that sometimes you need to escape a few times, as it might be some other level in the process that needs the backslash to appear intact. Try with two or even three backslashes like so.. Reads/sec is \\\%.f " The most number of backslashes I have needed in a similar situation was five! hth ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Tue Nov 8 11:10:21 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Tue, 8 Nov 2011 10:10:21 +0000 Subject: Scheduling check for next week in logs Message-ID: Hi - hope someone can clarify if this is a bug or not, I'm running Nagios 3.2.3 on SuSE, monitoring over 100 hosts and almost 1000 checks. I have a varied number of time periods defined simply because some hosts / services are offline or don't actually run 24x7 so are not neededto be alerted on. However I have one specific group of servers that use a specific time period and they continually log this: [Mon Nov 7 21:30:00 2011] Warning: Check of service 'RDP 3389' on host 'TDUKSQLT3' could not be rescheduled properly. Scheduling check for next week... [Mon Nov 7 21:30:00 2011] Warning: Check of service 'RDP 3389' on host 'TDUKVIDC01' could not be rescheduled properly. Scheduling check for next week... [Mon Nov 7 21:30:00 2011] Warning: Check of service 'TCP 1352' on host 'TDUKAPPS22' could not be rescheduled properly. Scheduling check for next week... [Mon Nov 7 21:30:00 2011] Warning: Check of service 'TCP 1352' on host 'TDUKAPPS20' could not be rescheduled properly. Scheduling check for next week... [Mon Nov 7 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS01' could not be rescheduled properly. Scheduling check for next week... etc. These last entries all appeared last night after I'd manully "Re-scheduled the next check of this service" via the GUI in the afternoon. The time period these servers use is defined as: define timeperiod{ timeperiod_name vmguesthours alias VMWare Guest OS Hours monday 21:30-06:30 tuesday 21:30-06:30 wednesday 21:30-06:30 thursday 21:30-06:30 friday 21:30-06:30 saturday 21:30-06:30 sunday 21:30-06:30 } There's nothing unusual about the hosts defined and the templates used, but below is an example of one anyway. define host{ use unix_host_template ; Name of host template to use icon_image win40.jpg host_name TDUKSQLT3 address 192.168.75.138 alias TDUKSQLT3 192.168.75.138 } define service{ use remote-service hostgroup_name vmwarehosts service_description RDP 3389 contact_groups dtns-admins24x7,intel-support check_period vmguesthours check_command check_tcp!3389 } define host{ notification_options d,u,r max_check_attempts 3 check_interval 1 active_checks_enabled 1 notification_period 24x7 name unix_host_template ; Template shared by hosts notifications_enabled 1 check_command check_fping contact_groups unix-admins-24x7 register 0 } I've had a look around for this and its been reported before here - http://tracker.nagios.org/view.php?id=31 - but it's not clear if this is meant to be resoloved or not? For me it certainly isn't. Any help would be greatly appreciated. Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 seun.ojedeji at gmail.com Tue Nov 8 15:38:39 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Tue, 8 Nov 2011 15:38:39 +0100 Subject: Analyse data from multiple nagios instances In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CEC@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CEC@LONPMAILBOX01.citrite.net> Message-ID: Hello James and all, I just installed check_mk and everything seem to go well with the installation, but when i try to login to the page via http i got the error msg bellow: Configuration Error*nagiosadmin* (None) *15:20* ------------------------------ Your web server cannot create the directory /var/lib/check_mk/web/nagiosadmin, or cannot set the group to nagios or cannot set the permissions to 0770. Please make sure that: - the base directory is writable by the web server. - Both Nagios and the web server are in the group nagios. Reason: [Errno 13] Permission denied: '/var/lib/check_mk/web/nagiosadmin' Any idea of how i can fix this permission problem? Regards On Wed, Nov 2, 2011 at 11:58 AM, James Osbourn wrote: > I am not doing any analysis; I am just using the monitoring tools. > Someone else would have to comment on this feature.**** > > ** ** > > James**** > > ** ** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 10:43 > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances* > *** > > ** ** > > Hello James, > > Thank you for providing this, i will work on it. Nevertheless, i will also > appreciate if anyone could suggest what tools i could use to achieve my > goals...i.e exporting data from nagios and analysing them on a central > location to present graphical representation. > > Thanks once again James. > > Cheers**** > > On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn > wrote:**** > > A brief overview is as follows, you will need to check each parts > documentation for exact details for your environment.**** > > **** > > Install a server with Nagios, or use one of your existing servers. > Install Check MK Multisite, there are some good instructions here > http://mathias-kettner.de/checkmk_multisite_setup.html**** > > **** > > You then need to install MK Live status on each of your Nagios servers for > the multisite server to connect to them. Update your Multisite config to > know about the different sites and then have a play and see what you get.* > *** > > **** > > James**** > > **** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 09:20 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances* > *** > > **** > > Hello James, > > Thanks a lot for responding, your solution is a very good place to start; > though it may not analyze but for knowledge sake could you share the > proceeds you followed to achieve this? > > Regards**** > > On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn > wrote:**** > > I have setup a Multisite MK server to pool all of my site Nagios servers > into a single view. I can see the status of all hosts/services from one > location and acknowledge and schedule outages etc from this interface. Any > graphing can be viewed, although this is a connection to the graph pages on > the individual site servers. I am not sure if this will allow for analysis > of the data as the specific state data is still stored on the site Nagios > servers.**** > > **** > > James**** > > **** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 08:53 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Analyse data from multiple nagios instances**** > > **** > > Dear all, > > I have different nagios setup in multiple locations and they are > independently working fine. However i need each of these nagios instances > to send historical data of a particular host to a central server for > analysis and graphical representations. Does anyone know a plugin or > software i could use to achieve my goal? > > Regards > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > **** > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > **** > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > University of Nigeria, Nsukka > web: **http://www.unn.edu.ng > Mobile: +2348035233535 > alt email: seun.ojedeji at unn.edu.ng* > > *you don't need a hero to succeed on the field....you need a team!***** > > ** ** > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------------------------ *Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 **alt email: seun.ojedeji at unn.edu.ng* *you don't need a hero to succeed on the field....you need a team!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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.AtLee at cfertech.com Tue Nov 8 15:45:58 2011 From: T.AtLee at cfertech.com (Tim AtLee) Date: Tue, 8 Nov 2011 07:45:58 -0700 Subject: Hostgroup tricks? Message-ID: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> Hello I have a hostgroup defined as: define hostgroup { hostgroup_name ping-servers alias Pingable hosts members * } I have recently added a host outside our firewall that has ping disabled. I have changed the host's check_command to be 'check_tcp!80' so that the host won't be offline permanently, but I am wondering if there is a way to exclude this host from the 'ping-servers' hostgroup in the host definition? Ideally, something like: define host { host_name outsidefirewallhost alias Host outside firewall address some.ip.address use generic-host hostgroup !ping-servers } This generates an error when I test the configuration. The only way I have been able to achieve this is to change the ping-servers hostgroup definition to exclude this individual host (*,!outsidefirewallhost), but I'd rather keep the exclusion define in the host, not in the "blanket rule". Maybe it's just me being OCD... but is this possible? Thanks, Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 james.osbourn at citrix.com Tue Nov 8 16:26:58 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Tue, 8 Nov 2011 15:26:58 +0000 Subject: Analyse data from multiple nagios instances In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CEC@LONPMAILBOX01.citrite.net> Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA43FC@LONPMAILBOX01.citrite.net> Have you added your web user to the Nagios group that you created? James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 08 November 2011 14:39 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James and all, I just installed check_mk and everything seem to go well with the installation, but when i try to login to the page via http i got the error msg bellow: Configuration Error nagiosadmin (None) 15:20 [http://unec-nms.unn.edu.ng/check_mk/images/mk_logo_small.gif] ________________________________ Your web server cannot create the directory /var/lib/check_mk/web/nagiosadmin, or cannot set the group to nagios or cannot set the permissions to 0770. Please make sure that: * the base directory is writable by the web server. * Both Nagios and the web server are in the group nagios. Reason: [Errno 13] Permission denied: '/var/lib/check_mk/web/nagiosadmin' Any idea of how i can fix this permission problem? Regards On Wed, Nov 2, 2011 at 11:58 AM, James Osbourn > wrote: I am not doing any analysis; I am just using the monitoring tools. Someone else would have to comment on this feature. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 10:43 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thank you for providing this, i will work on it. Nevertheless, i will also appreciate if anyone could suggest what tools i could use to achieve my goals...i.e exporting data from nagios and analysing them on a central location to present graphical representation. Thanks once again James. Cheers On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn > wrote: A brief overview is as follows, you will need to check each parts documentation for exact details for your environment. Install a server with Nagios, or use one of your existing servers. Install Check MK Multisite, there are some good instructions here http://mathias-kettner.de/checkmk_multisite_setup.html You then need to install MK Live status on each of your Nagios servers for the multisite server to connect to them. Update your Multisite config to know about the different sites and then have a play and see what you get. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 09:20 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn > wrote: I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojedeji at gmail.com] Sent: 02 November 2011 08:53 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ Seun Ojedeji, you don't need a hero to succeed on the field....you need a team! ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 alt email: seun.ojedeji at unn.edu.ng you don't need a hero to succeed on the field....you need a team! ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now! http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------------------------ Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 alt email: seun.ojedeji at unn.edu.ng you don't need a hero to succeed on the field....you need a team! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 mark.frost1 at pepsico.com Tue Nov 8 16:37:13 2011 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Tue, 8 Nov 2011 10:37:13 -0500 Subject: Hostgroup tricks? In-Reply-To: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> References: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> Message-ID: From: Tim AtLee [mailto:T.AtLee at cfertech.com] Sent: Tuesday, November 08, 2011 9:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostgroup tricks? Hello I have a hostgroup defined as: define hostgroup { hostgroup_name ping-servers alias Pingable hosts members * } I have recently added a host outside our firewall that has ping disabled. I have changed the host's check_command to be 'check_tcp!80' so that the host won't be offline permanently, but I am wondering if there is a way to exclude this host from the 'ping-servers' hostgroup in the host definition? Ideally, something like: define host { host_name outsidefirewallhost alias Host outside firewall address some.ip.address use generic-host hostgroup !ping-servers } This generates an error when I test the configuration. The only way I have been able to achieve this is to change the ping-servers hostgroup definition to exclude this individual host (*,!outsidefirewallhost), but I'd rather keep the exclusion define in the host, not in the "blanket rule". Maybe it's just me being OCD... but is this possible? Thanks, Tim Tim, I'm a little unclear about your question. Are you trying to alter the "Host Check Command" for a single host definition? That is, the method used by Nagios to determine if a host is up or not? If that's the case, you can just override the definition for that one host: define host { host_name outsidefirewallhost alias Host outside firewall address some.ip.address check_command check-tcp-port-80 use generic-host } Check the docs for information on precedence, but your "generic-host" inclusion will specify a check_command (usually ping or better yet fping), but defining a different value in the definition itself can override that for the specific definition. If that's not what you mean, and you want to change a specific service to check everything in that hostgroup except that one host, that would look something like define service { hostgroup_name ping-servers host_name !outsidefirewallhost service_description My Service check_command run-a-ping use generic-service } Hopefully I've understood your question... Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 bphelps at gls.com Tue Nov 8 16:42:37 2011 From: bphelps at gls.com (Brandon Phelps) Date: Tue, 08 Nov 2011 10:42:37 -0500 Subject: Hostgroup tricks? In-Reply-To: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> References: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> Message-ID: <4EB94DED.7050205@gls.com> The correct parameter for defining a host's hostgroups is "hostgroups", not "hostgroup". Try: define host { ... hostgroups !ping-servers } (Note the pural form, rather than singular) Brandon Phelps Global Linking Solutions O: (704) 973-6855 C: (704) 222-2103 E: bphelps at gls.com On 11/08/2011 09:45 AM, Tim AtLee wrote: > Hello > > I have a hostgroup defined as: > > define hostgroup { > > hostgroup_name ping-servers > > alias Pingable hosts > > members * > > } > > I have recently added a host outside our firewall that has ping > disabled. I have changed the host?s check_command to be ?check_tcp!80? > so that the host won?t be offline permanently, but I am wondering if > there is a way to exclude this host from the ?ping-servers? hostgroup in > the host definition? > > Ideally, something like: > > define host { > > host_name outsidefirewallhost > > alias Host outside firewall > > address some.ip.address > > use generic-host > > hostgroup !ping-servers > > } > > This generates an error when I test the configuration. The only way I > have been able to achieve this is to change the ping-servers hostgroup > definition to exclude this individual host (*,!outsidefirewallhost), but > I?d rather keep the exclusion define in the host, not in the ?blanket rule?. > > Maybe it?s just me being OCD? but is this possible? > > Thanks, > > Tim > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bphelps at gls.com Tue Nov 8 16:50:04 2011 From: bphelps at gls.com (Brandon Phelps) Date: Tue, 08 Nov 2011 10:50:04 -0500 Subject: Hostgroup tricks? In-Reply-To: <4EB94DED.7050205@gls.com> References: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> <4EB94DED.7050205@gls.com> Message-ID: <4EB94FAC.80603@gls.com> Actually it seems that the "hostgroups" parameter does not support negation. I would go with Mark's answer instead, as that seems to work fine in my tests. -Brandon On 11/08/2011 10:42 AM, Brandon Phelps wrote: > The correct parameter for defining a host's hostgroups is "hostgroups", > not "hostgroup". > > Try: > > define host { > ... > hostgroups !ping-servers > } > > (Note the pural form, rather than singular) > > Brandon Phelps > Global Linking Solutions > O: (704) 973-6855 > C: (704) 222-2103 > E: bphelps at gls.com > > On 11/08/2011 09:45 AM, Tim AtLee wrote: >> Hello >> >> I have a hostgroup defined as: >> >> define hostgroup { >> >> hostgroup_name ping-servers >> >> alias Pingable hosts >> >> members * >> >> } >> >> I have recently added a host outside our firewall that has ping >> disabled. I have changed the host?s check_command to be ?check_tcp!80? >> so that the host won?t be offline permanently, but I am wondering if >> there is a way to exclude this host from the ?ping-servers? hostgroup in >> the host definition? >> >> Ideally, something like: >> >> define host { >> >> host_name outsidefirewallhost >> >> alias Host outside firewall >> >> address some.ip.address >> >> use generic-host >> >> hostgroup !ping-servers >> >> } >> >> This generates an error when I test the configuration. The only way I >> have been able to achieve this is to change the ping-servers hostgroup >> definition to exclude this individual host (*,!outsidefirewallhost), but >> I?d rather keep the exclusion define in the host, not in the ?blanket rule?. >> >> Maybe it?s just me being OCD? but is this possible? >> >> Thanks, >> >> Tim >> >> >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Tue Nov 8 17:10:44 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Tue, 8 Nov 2011 17:10:44 +0100 Subject: Hostgroup tricks? In-Reply-To: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> References: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> Message-ID: <201111081710.44673.rosenski@wave-computer.de> Hi Tim, I don't have a direct reply, but perhaps a hint in another direction to solve your problem. Personally, I don't like negations and I don't recommend them. I left the hostgroup empty and assigned all hostgroups in the host definition. This looks like define hostgroup{ hostgroup_name hgrp-icmp alias ICMP } define host{ use tpl-host-linux host_name 127.0.0.1 alias Nagios address 127.0.0.1 hostgroups +hgrp-icmp } Nagios will parse your config and will add this host to this hostgroup. Perhaps this can help you Axel Am Dienstag 08 November 2011, 15:45:58 schrieb Tim AtLee: > Hello > > I have a hostgroup defined as: > define hostgroup { > hostgroup_name ping-servers > alias Pingable hosts > members * > } > > I have recently added a host outside our firewall that has ping disabled. > I have changed the host's check_command to be 'check_tcp!80' so that the > host won't be offline permanently, but I am wondering if there is a way to > exclude this host from the 'ping-servers' hostgroup in the host > definition? > > Ideally, something like: > define host { > host_name outsidefirewallhost > alias Host outside firewall > address some.ip.address > use generic-host > > hostgroup !ping-servers > } > > This generates an error when I test the configuration. The only way I have > been able to achieve this is to change the ping-servers hostgroup > definition to exclude this individual host (*,!outsidefirewallhost), but > I'd rather keep the exclusion define in the host, not in the "blanket > rule". > > Maybe it's just me being OCD... but is this possible? > > Thanks, > > Tim -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.AtLee at cfertech.com Tue Nov 8 17:16:16 2011 From: T.AtLee at cfertech.com (Tim AtLee) Date: Tue, 8 Nov 2011 09:16:16 -0700 Subject: Hostgroup tricks? In-Reply-To: References: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> Message-ID: <0421E521817FC542AF7BA8F20E099B8101149316E3@exchsrv.cfertech.com> Hi Mark Sorry for the lack of clarity. Learned a valuable lesson in "don't email before coffee"... :) I was successful in altering the Host Check Command for the individual host - that was clear from the documentation. I am trying to remove this host from the "ping-servers" without altering the definition for the service or the hostgroup. So right now, the service and hostgroup's are defined as: define service { hostgroup_name ping-servers service_description PING check_command check_ping!50.0,20%!100.0,60% use generic-service,graphed-service } define hostgroup { hostgroup_name ping-servers alias Pingable hosts members * } And the new host, outsidefirewallhost, I would like to exclude from the 'ping-servers' service - but without modifying the definitions for the service or the hostrgroup. I have tried Brandon Phelps' suggestion, but as he found out, Nagios doesn't like the negation in the host configuration. I have been successful with this: define hostgroup { hostgroup_name ping-servers alias Pingable hosts members *,!outsidefirewallhost } Should I just get over my personal hang-ups and implement it this way? Thanks again, Tim From: Frost, Mark {PBC} [mailto:mark.frost1 at pepsico.com] Sent: Tuesday, November 08, 2011 8:37 AM To: Nagios Users List Subject: Re: [Nagios-users] Hostgroup tricks? From: Tim AtLee [mailto:T.AtLee at cfertech.com] Sent: Tuesday, November 08, 2011 9:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostgroup tricks? Hello I have a hostgroup defined as: define hostgroup { hostgroup_name ping-servers alias Pingable hosts members * } I have recently added a host outside our firewall that has ping disabled. I have changed the host's check_command to be 'check_tcp!80' so that the host won't be offline permanently, but I am wondering if there is a way to exclude this host from the 'ping-servers' hostgroup in the host definition? Ideally, something like: define host { host_name outsidefirewallhost alias Host outside firewall address some.ip.address use generic-host hostgroup !ping-servers } This generates an error when I test the configuration. The only way I have been able to achieve this is to change the ping-servers hostgroup definition to exclude this individual host (*,!outsidefirewallhost), but I'd rather keep the exclusion define in the host, not in the "blanket rule". Maybe it's just me being OCD... but is this possible? Thanks, Tim Tim, I'm a little unclear about your question. Are you trying to alter the "Host Check Command" for a single host definition? That is, the method used by Nagios to determine if a host is up or not? If that's the case, you can just override the definition for that one host: define host { host_name outsidefirewallhost alias Host outside firewall address some.ip.address check_command check-tcp-port-80 use generic-host } Check the docs for information on precedence, but your "generic-host" inclusion will specify a check_command (usually ping or better yet fping), but defining a different value in the definition itself can override that for the specific definition. If that's not what you mean, and you want to change a specific service to check everything in that hostgroup except that one host, that would look something like define service { hostgroup_name ping-servers host_name !outsidefirewallhost service_description My Service check_command run-a-ping use generic-service } Hopefully I've understood your question... Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 gmontagner at sorint.it Tue Nov 8 17:14:24 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Tue, 08 Nov 2011 17:14:24 +0100 Subject: Hostgroup tricks? In-Reply-To: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> References: <0421E521817FC542AF7BA8F20E099B81011493167A@exchsrv.cfertech.com> Message-ID: <1320768864.2153.29.camel@ragnarok.entirelyunlike.net> Hi Tim, if you want to exclude this host from the ping-servers hostgroup, you should really exclude it from the hostgroup itself, i.e.: define hostgroup{ hostgroup_name ping-servers alias Pingable hosts members *,!outsidefirewallhost } This should do the trick. Cheers, Giacomo On mar, 2011-11-08 at 07:45 -0700, Tim AtLee wrote: > Hello > > > > I have a hostgroup defined as: > > define hostgroup { > > hostgroup_name ping-servers > > alias Pingable hosts > > members * > > } > > > > I have recently added a host outside our firewall that has ping > disabled. I have changed the host?s check_command to be ?check_tcp! > 80? so that the host won?t be offline permanently, but I am wondering > if there is a way to exclude this host from the ?ping-servers? > hostgroup in the host definition? > > > > Ideally, something like: > > define host { > > host_name outsidefirewallhost > > alias Host outside firewall > > address some.ip.address > > use generic-host > > > > hostgroup !ping-servers > > } ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From corey at sequestered.net Tue Nov 8 23:18:02 2011 From: corey at sequestered.net (Corey Quinn) Date: Tue, 8 Nov 2011 14:18:02 -0800 Subject: Checking External URLs Message-ID: <152D239F-EE84-4D1C-A0C1-8143FB1374A8@sequestered.net> What's the canonically "proper" way to check an external website (that I don't control) within Nagios? WHat I've done historically has been to define a dummy "urlhost" that I then hang various check_http checks off of, but that seems wrong somehow. In talking to other folks in #nagios on freenode, another approach is defining it as: define host{ use web-server host_name s3.amazonaws.com hostgroups prod-URL address s3.amazonaws.com check_command check_http!-f follow contact_groups admins-email } works, but then there's a warning thrown during pre-flight due to the lack of services affiliated with this "host." What's the "correct" way to pull this off? -- Corey / KB1JWQ ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 8 23:44:36 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 8 Nov 2011 22:44:36 +0000 Subject: Checking External URLs In-Reply-To: <152D239F-EE84-4D1C-A0C1-8143FB1374A8@sequestered.net> References: <152D239F-EE84-4D1C-A0C1-8143FB1374A8@sequestered.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF0081218@WPSDGQHH.OPR.STATEFARM.ORG> Couldn't do a host alive check that just checks port 80 instead of ping, and then have services with check_http for URL's you want to check? Dan -----Original Message----- From: Corey Quinn [mailto:corey at sequestered.net] Sent: Tuesday, November 08, 2011 4:18 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking External URLs What's the canonically "proper" way to check an external website (that I don't control) within Nagios? WHat I've done historically has been to define a dummy "urlhost" that I then hang various check_http checks off of, but that seems wrong somehow. In talking to other folks in #nagios on freenode, another approach is defining it as: define host{ use web-server host_name s3.amazonaws.com hostgroups prod-URL address s3.amazonaws.com check_command check_http!-f follow contact_groups admins-email } works, but then there's a warning thrown during pre-flight due to the lack of services affiliated with this "host." What's the "correct" way to pull this off? -- Corey / KB1JWQ ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jimavery.me.uk Tue Nov 8 23:50:42 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 8 Nov 2011 22:50:42 +0000 Subject: Checking External URLs In-Reply-To: <152D239F-EE84-4D1C-A0C1-8143FB1374A8@sequestered.net> References: <152D239F-EE84-4D1C-A0C1-8143FB1374A8@sequestered.net> Message-ID: On 8 November 2011 22:18, Corey Quinn wrote: > What's the canonically "proper" way to check an external website (that I don't control) within Nagios? ?WHat I've done historically has been to define a dummy "urlhost" that I then hang various check_http checks off of, but that seems wrong somehow. I don't think there is a 'proper' way. I would think you're probably best off thinking about the parent relationships though. If you lose contact with all your external websites, then what is the furthest thing that might have gone down? Is that the customer-facing interface of your ISP's router maybe? I would hang your external web service checks on that. Obviously if you don't own these external sites then it's polite to check them infrequently and ask the site owner if it's okay. Personally I think there's no real substitute for setting up a monitoring system or two elsewhere out there in the internet if you want to be really sure a site is available to customers. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aimanparvaiz at gmail.com Wed Nov 9 01:52:57 2011 From: aimanparvaiz at gmail.com (aiman parvaiz) Date: Tue, 8 Nov 2011 16:52:57 -0800 Subject: check service frequency based on service status Message-ID: Hi everyone Am trying to detect disk thrashing by monitoring si, so from the vmstat command. I am monitoring other services using nagios and service check happens after every 5 minutes. For this thrashing service I want that nagios should check it after every 20 minutes and if the status returned is not OK(ie warning or critical) then thrashing service should be checked after every 3 minutes till the status returned by the service becomes OK. The service check time for all other service remains unchanged. I am new to Nagios and any help on this would be really appreciated. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 kim at conviva.com Wed Nov 9 01:55:45 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Wed, 9 Nov 2011 00:55:45 +0000 Subject: Next check jumps from 5min to 24h In-Reply-To: <20111031182300.Horde._4gaf1wlEB5OrposD1cW3CA@mail.linuz.in> References: <20111031182300.Horde._4gaf1wlEB5OrposD1cW3CA@mail.linuz.in> Message-ID: Surely this could be avoided by using UTC like many operations do? C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | From: Aravind M D > Reply-To: Nagios Users List > Date: Mon, 31 Oct 2011 18:23:00 +0530 To: Nagios Users List > Subject: Re: [Nagios-users] Next check jumps from 5min to 24h Quoting David Ribeiro >: Hi All, I had faced the same problem today morning below link had helped me to resolve the issue. http://blog.centreon.com/post/2009/10/26/Nagios-disfunctional-due-to-time-change Rgds, Aravind M D > Hy all, > > I had the same problem on my supervision with a Nagios 3.2.0 from > Ubuntu Repository. > I'm in France, my supervision stop Sunday at 23h00. > > Regards, > > David > > ----- Mail original ----- > De: "Deborah Martin" > > ?: "Nagios-Users" > > Envoy?: Lundi 31 Octobre 2011 12:34:45 > Objet: Re: [Nagios-users] Next check jumps from 5min to 24h > > Folks, > > I had exactly the same problem with the same version on SLES10 SP2, > when I came in this morning and realised that the last_check time was > wrong for most checks. > > I had to jump start Nagios by disabling all active checks and > reenabling them. > > This is weird problem but wondered if it was anything to do with the > clocks changing over the weekend in the UK ? > Perhaps it isn't if people in a non-UK timezone had the same problem ? > > Regards, > Deborah > -----Original Message----- > From: MAD [mailto:mad at b-care.net] > Sent: 31 October 2011 11:28 > To: Nagios-Users > Subject: [Nagios-users] Next check jumps from 5min to 24h > > Hi list, > > Something strange happened last night. At about 23:00 the 30th of > October, all checks (hosts and services) were scheduled to run the > 31st of October at 23:00 instead of the usual 5min later. I had to > rescheduled all checks manually this morning to restart my monitoring. > > I'm running Nagios 3.2.0 > > Have someone heard about a similar issue? > > Thanks in advance, > > Marc-Andr? > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ > Apps for the BlackBerry® PlayBook™. Discover just how easy > and simple it is! http://p.sf.net/sfu/android-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 > > > Complimentary Events and Webinars on In-Memory, Massively Parallel > Processing and 'In the Cloud' - for more information click here > > 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 > > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-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 > > > > > 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. > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-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 ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World? now supports Android? Apps for the BlackBerry? PlayBook?. Discover just how easy and simple it is! http://p.sf.net/sfu/android-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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 kim at conviva.com Wed Nov 9 02:21:01 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Wed, 9 Nov 2011 01:21:01 +0000 Subject: way check that content does NOT exist on webpage? Message-ID: There was an out of the box way to check that certain content did not exist on a webpage in Xymon, but check_http appears to not have this as an option for Nagios. Is there another way to do this easily or should I just script it up? I'd like to check that the word 'unknown' never appears on a certain dynamic page. Additionally, will this play nicely with an XML page? I dislike re-inventing the wheel if I don't have to, though this seems easy enough, but I thought I'd ask. C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kim at conviva.com Wed Nov 9 02:26:55 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Wed, 9 Nov 2011 01:26:55 +0000 Subject: way check that content does NOT exist on webpage? In-Reply-To: References: Message-ID: Strike that. I think check_http --invert-regex is what I want. C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | On 11/8/11 5:21 PM, "Kimberly McKinnis" wrote: >There was an out of the box way to check that certain content did not >exist on a webpage in Xymon, but check_http appears to not have this as an >option for Nagios. Is there another way to do this easily or should I just >script it up? I'd like to check that the word 'unknown' never appears on a >certain dynamic page. Additionally, will this play nicely with an XML >page? > >I dislike re-inventing the wheel if I don't have to, though this seems >easy enough, but I thought I'd ask. > > > >C O N V I V A >Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | >Mobile: 724.612.2716 | >2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | >www.conviva.com | > > > > >-------------------------------------------------------------------------- >---- >RSA(R) Conference 2012 >Save $700 by Nov 18 >Register now >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjaminbondtate at gmail.com Wed Nov 9 03:06:07 2011 From: benjaminbondtate at gmail.com (Benjamin) Date: Tue, 08 Nov 2011 21:06:07 -0500 Subject: How to route data from multiple nagios core nodes to a nagiosxi node? Message-ID: I have about ten nagios core machines that I currently monitor collectively using MNTOS. Is there a way to feed the data from my nagios core machines to a nagiosXI machine that makes it possible to use the nagiosXI features like the visualization/dashboards/reporting for the services/hosts being monitored by the nagios core nodes? I basically want to replace MNTOS w/ a nagiosXI machine ? so that I can utilize its features as a dashboard and reporting node for all the data I receive at each nagios core server. Basically, I want to set up a hub and spoke w/ a nagiosXI machine at the hub and all my nagios core boxes as spokes. I looked into DNX but this looks like it distributes the checks in a different way. Any ideas? Thanks, Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Wed Nov 9 09:12:52 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 09 Nov 2011 09:12:52 +0100 Subject: How to route data from multiple nagios core nodes to a nagiosxi node? In-Reply-To: References: Message-ID: <4EBA3604.70801@univie.ac.at> Benjamin wrote: > I have about ten nagios core machines that I currently monitor > collectively using MNTOS. Is there a way to feed the data from my > nagios core machines to a nagiosXI machine that makes it possible to > use the nagiosXI features like the visualization/dashboards/reporting > for the services/hosts being monitored by the nagios core nodes? I > basically want to replace MNTOS w/ a nagiosXI machine --- so that I > can utilize its features as a dashboard and reporting node for all the > data I receive at each nagios core server. > > Basically, I want to set up a hub and spoke w/ a nagiosXI machine at > the hub and all my nagios core boxes as spokes. > I looked into DNX but this looks like it distributes the checks in a > different way. Any ideas? better to be asked at nagios.com/support > > Thanks, > > Ben > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- 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 Icinga Core& IDOUtils Developer http://www.icinga.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 a31modela at hotmail.com Wed Nov 9 09:26:39 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 9 Nov 2011 03:26:39 -0500 Subject: try it out for yourself... Message-ID: Hola friend. despite the circumstances I stayed positive this came at perfect timing for me this showed that money is power I just had to share it with you http://leosta.home.pl/JustinMurphy11.html see you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 seun.ojedeji at gmail.com Wed Nov 9 12:35:54 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 9 Nov 2011 12:35:54 +0100 Subject: Analyse data from multiple nagios instances In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA43FC@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CEC@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA43FC@LONPMAILBOX01.citrite.net> Message-ID: Thanks James, that was the problem. But i think i may have had a different understanding of what check_mk does as after i logged into it, i was expecting to see the hosts created on my nagios, but its empty! How do i populate the check_mk? Cheers! On Tue, Nov 8, 2011 at 4:26 PM, James Osbourn wrote: > Have you added your web user to the Nagios group that you created?**** > > ** ** > > James**** > > ** ** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 08 November 2011 14:39 > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances* > *** > > ** ** > > Hello James and all,**** > > ** ** > > I just installed check_mk and everything seem to go well with the > installation, but when i try to login to the page via http i got the error > msg bellow:**** > > ** ** > > *Configuration Error* > > *nagiosadmin* (None) *15:20* **** > ------------------------------ > > Your web server cannot create the directory > /var/lib/check_mk/web/nagiosadmin, or cannot set the group to nagios or > cannot set the permissions to 0770. Please make sure that:**** > > - the base directory is writable by the web server.**** > - Both Nagios and the web server are in the group nagios.**** > > Reason: [Errno 13] Permission denied: '/var/lib/check_mk/web/nagiosadmin'* > *** > > Any idea of how i can fix this permission problem?**** > > ** ** > > Regards**** > > On Wed, Nov 2, 2011 at 11:58 AM, James Osbourn > wrote:**** > > I am not doing any analysis; I am just using the monitoring tools. > Someone else would have to comment on this feature.**** > > **** > > James**** > > **** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 10:43**** > > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances* > *** > > **** > > Hello James, > > Thank you for providing this, i will work on it. Nevertheless, i will also > appreciate if anyone could suggest what tools i could use to achieve my > goals...i.e exporting data from nagios and analysing them on a central > location to present graphical representation. > > Thanks once again James. > > Cheers**** > > On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn > wrote:**** > > A brief overview is as follows, you will need to check each parts > documentation for exact details for your environment.**** > > **** > > Install a server with Nagios, or use one of your existing servers. > Install Check MK Multisite, there are some good instructions here > http://mathias-kettner.de/checkmk_multisite_setup.html**** > > **** > > You then need to install MK Live status on each of your Nagios servers for > the multisite server to connect to them. Update your Multisite config to > know about the different sites and then have a play and see what you get.* > *** > > **** > > James**** > > **** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 09:20 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances* > *** > > **** > > Hello James, > > Thanks a lot for responding, your solution is a very good place to start; > though it may not analyze but for knowledge sake could you share the > proceeds you followed to achieve this? > > Regards**** > > On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn > wrote:**** > > I have setup a Multisite MK server to pool all of my site Nagios servers > into a single view. I can see the status of all hosts/services from one > location and acknowledge and schedule outages etc from this interface. Any > graphing can be viewed, although this is a connection to the graph pages on > the individual site servers. I am not sure if this will allow for analysis > of the data as the specific state data is still stored on the site Nagios > servers.**** > > **** > > James**** > > **** > > *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] > *Sent:* 02 November 2011 08:53 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Analyse data from multiple nagios instances**** > > **** > > Dear all, > > I have different nagios setup in multiple locations and they are > independently working fine. However i need each of these nagios instances > to send historical data of a particular host to a central server for > analysis and graphical representations. Does anyone know a plugin or > software i could use to achieve my goal? > > Regards > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > **** > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > **you don't need a hero to succeed on the field....you need a team!***** > > **** > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > University of Nigeria, Nsukka > web: **http://www.unn.edu.ng > Mobile: +2348035233535 > alt email: seun.ojedeji at unn.edu.ng* > > *you don't need a hero to succeed on the field....you need a team!***** > > **** > > > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > > > **** > > ** ** > > -- > ------------------------------------------------------------------------** > ** > > *Seun Ojedeji, > University of Nigeria, Nsukka > web: **http://www.unn.edu.ng > Mobile: +2348035233535 > alt email: seun.ojedeji at unn.edu.ng* > > *you don't need a hero to succeed on the field....you need a team!***** > > ** ** > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------------------------ *Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 **alt email: seun.ojedeji at unn.edu.ng* *you don't need a hero to succeed on the field....you need a team!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 trm.nagios at gmail.com Wed Nov 9 12:52:03 2011 From: trm.nagios at gmail.com (trm asn) Date: Wed, 9 Nov 2011 17:22:03 +0530 Subject: Alert Notification Message-ID: Hi List, Is there any way to send a notification , when Host/service has been added or deleted from Nagios. /\ Tarak -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 seun.ojedeji at gmail.com Wed Nov 9 14:16:03 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Wed, 9 Nov 2011 14:16:03 +0100 Subject: Analyse data from multiple nagios instances In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3C96@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CC7@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA3CEC@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B61CEA43FC@LONPMAILBOX01.citrite.net> Message-ID: Ha! now i get it...it seems it takes some time before it populates! Everything is working fine now. Thanks On Wed, Nov 9, 2011 at 12:35 PM, Seun Ojedeji wrote: > Thanks James, that was the problem. But i think i may have had a different > understanding of what check_mk does as after i logged into it, i was > expecting to see the hosts created on my nagios, but its empty! How do i > populate the check_mk? > > Cheers! > > On Tue, Nov 8, 2011 at 4:26 PM, James Osbourn wrote: > >> Have you added your web user to the Nagios group that you created?**** >> >> ** ** >> >> James**** >> >> ** ** >> >> *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] >> *Sent:* 08 November 2011 14:39 >> >> *To:* Nagios Users List >> *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances >> **** >> >> ** ** >> >> Hello James and all,**** >> >> ** ** >> >> I just installed check_mk and everything seem to go well with the >> installation, but when i try to login to the page via http i got the error >> msg bellow:**** >> >> ** ** >> >> *Configuration Error* >> >> *nagiosadmin* (None) *15:20* **** >> ------------------------------ >> >> Your web server cannot create the directory >> /var/lib/check_mk/web/nagiosadmin, or cannot set the group to nagios or >> cannot set the permissions to 0770. Please make sure that:**** >> >> - the base directory is writable by the web server.**** >> - Both Nagios and the web server are in the group nagios.**** >> >> Reason: [Errno 13] Permission denied: '/var/lib/check_mk/web/nagiosadmin' >> **** >> >> Any idea of how i can fix this permission problem?**** >> >> ** ** >> >> Regards**** >> >> On Wed, Nov 2, 2011 at 11:58 AM, James Osbourn >> wrote:**** >> >> I am not doing any analysis; I am just using the monitoring tools. >> Someone else would have to comment on this feature.**** >> >> **** >> >> James**** >> >> **** >> >> *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] >> *Sent:* 02 November 2011 10:43**** >> >> >> *To:* Nagios Users List >> *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances >> **** >> >> **** >> >> Hello James, >> >> Thank you for providing this, i will work on it. Nevertheless, i will >> also appreciate if anyone could suggest what tools i could use to achieve >> my goals...i.e exporting data from nagios and analysing them on a central >> location to present graphical representation. >> >> Thanks once again James. >> >> Cheers**** >> >> On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn >> wrote:**** >> >> A brief overview is as follows, you will need to check each parts >> documentation for exact details for your environment.**** >> >> **** >> >> Install a server with Nagios, or use one of your existing servers. >> Install Check MK Multisite, there are some good instructions here >> http://mathias-kettner.de/checkmk_multisite_setup.html**** >> >> **** >> >> You then need to install MK Live status on each of your Nagios servers >> for the multisite server to connect to them. Update your Multisite config >> to know about the different sites and then have a play and see what you get. >> **** >> >> **** >> >> James**** >> >> **** >> >> *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] >> *Sent:* 02 November 2011 09:20 >> *To:* Nagios Users List >> *Subject:* Re: [Nagios-users] Analyse data from multiple nagios instances >> **** >> >> **** >> >> Hello James, >> >> Thanks a lot for responding, your solution is a very good place to start; >> though it may not analyze but for knowledge sake could you share the >> proceeds you followed to achieve this? >> >> Regards**** >> >> On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn >> wrote:**** >> >> I have setup a Multisite MK server to pool all of my site Nagios servers >> into a single view. I can see the status of all hosts/services from one >> location and acknowledge and schedule outages etc from this interface. Any >> graphing can be viewed, although this is a connection to the graph pages on >> the individual site servers. I am not sure if this will allow for analysis >> of the data as the specific state data is still stored on the site Nagios >> servers.**** >> >> **** >> >> James**** >> >> **** >> >> *From:* Seun Ojedeji [mailto:seun.ojedeji at gmail.com] >> *Sent:* 02 November 2011 08:53 >> *To:* nagios-users at lists.sourceforge.net >> *Subject:* [Nagios-users] Analyse data from multiple nagios instances**** >> >> **** >> >> Dear all, >> >> I have different nagios setup in multiple locations and they are >> independently working fine. However i need each of these nagios instances >> to send historical data of a particular host to a central server for >> analysis and graphical representations. Does anyone know a plugin or >> software i could use to achieve my goal? >> >> Regards >> -- >> ------------------------------------------------------------------------* >> *** >> >> *Seun Ojedeji, >> **you don't need a hero to succeed on the field....you need a team!***** >> >> **** >> >> >> >> ------------------------------------------------------------------------------ >> RSA® Conference 2012 >> Save $700 by Nov 18 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null*** >> * >> >> >> >> >> -- >> ------------------------------------------------------------------------* >> *** >> >> *Seun Ojedeji, >> **you don't need a hero to succeed on the field....you need a team!***** >> >> **** >> >> >> >> ------------------------------------------------------------------------------ >> RSA® Conference 2012 >> Save $700 by Nov 18 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null*** >> * >> >> >> >> >> -- >> ------------------------------------------------------------------------* >> *** >> >> *Seun Ojedeji, >> University of Nigeria, Nsukka >> web: **http://www.unn.edu.ng >> Mobile: +2348035233535 >> alt email: seun.ojedeji at unn.edu.ng* >> >> *you don't need a hero to succeed on the field....you need a team!***** >> >> **** >> >> >> >> ------------------------------------------------------------------------------ >> RSA® Conference 2012 >> Save $700 by Nov 18 >> Register now! >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null*** >> * >> >> >> >> **** >> >> ** ** >> >> -- >> ------------------------------------------------------------------------* >> *** >> >> *Seun Ojedeji, >> University of Nigeria, Nsukka >> web: **http://www.unn.edu.ng >> Mobile: +2348035233535 >> alt email: seun.ojedeji at unn.edu.ng* >> >> *you don't need a hero to succeed on the field....you need a team!***** >> >> ** ** >> >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > ------------------------------------------------------------------------ > > *Seun Ojedeji, > University of Nigeria, Nsukka > web: http://www.unn.edu.ng > Mobile: +2348035233535 > **alt email: seun.ojedeji at unn.edu.ng* > > *you don't need a hero to succeed on the field....you need a team!* > > > -- ------------------------------------------------------------------------ *Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 **alt email: seun.ojedeji at unn.edu.ng* *you don't need a hero to succeed on the field....you need a team!* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Wed Nov 9 14:46:18 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 09 Nov 2011 13:46:18 +0000 Subject: Alert Notification In-Reply-To: References: Message-ID: <4EBA842A.2000301@flatto.net> Not in nagios , you can write a wrapper or a cron job that does a copy of the old and new config and alerts about changes. Assaf trm asn wrote: > Hi List, > > Is there any way to send a notification , when Host/service has been > added or deleted from Nagios. > > > /\ > Tarak > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 9 14:48:02 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 09 Nov 2011 13:48:02 +0000 Subject: check service frequency based on service status In-Reply-To: References: Message-ID: <4EBA8492.3050207@flatto.net> What you need is an event handler combined with the external commands Take a look at the documentation about those two topics . Assaf aiman parvaiz wrote: > Hi everyone > Am trying to detect disk thrashing by monitoring si, so from the > vmstat command. I am monitoring other services using nagios and > service check happens after every 5 minutes. For this thrashing > service I want that nagios should check it after every 20 minutes and > if the status returned is not OK(ie warning or critical) then > thrashing service should be checked after every 3 minutes till the > status returned by the service becomes OK. The service check time for > all other service remains unchanged. > > I am new to Nagios and any help on this would be really appreciated. > > Thanks > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kim at conviva.com Wed Nov 9 22:33:49 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Wed, 9 Nov 2011 21:33:49 +0000 Subject: check_http -L writes raw html (a href) but does not render link in browser Message-ID: I'm using the stock Nagios 3 package from aptitude on Ubuntu. I wrote a new check using check_http, but the -L isn't entirely doing what I'd expect. Do I need to set something else somewhere in Nagios to get browser renderable code? I've tried both Firefox and Safari on MacOSX Lion. My check: define command{ command_name check-livepass-gateways command_line /usr/lib/nagios/plugins/check_http -L -H -u -t 5 -R 'unknown' --invert-regex } My check spits out the raw html code instead of actually making it a link: HTTP OK: HTTP/1.1 200 OK - 13878 bytes in 0.304 second response time C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 10 05:50:32 2011 From: mysqlstudent at gmail.com (Alex) Date: Wed, 9 Nov 2011 23:50:32 -0500 Subject: Logging issues Message-ID: Hi, I have a fedora15 server as a client and another fedora15 server as a server and having some trouble with "connection refused" messages, but don't see anything in the logs to indicate what the problem might be. It seems all the nrpe services are being rejected, despite nrpe running successfully: Nov 9 23:40:18 fc14 nrpe[2157]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Nov 9 23:40:18 fc14 nrpe[2158]: Starting up daemon Nov 9 23:40:18 fc14 nrpe[2158]: Listening for connections on port 5666 Nov 9 23:40:18 fc14 nrpe[2158]: Allowing connections from: 127.0.0.1,192.168.1.100,64.XX.YY.2 I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching the server and no firewall rules are involved. Other services, such as checking port 25, work successfully. How can I configure nrpe to log attempts to communicate with it to the logs? I've set debug=1 and log_facility=daemon, but it still doesn't record any activity. I've included my /etc/nagios/nrpe.cfg file from the client below in hopes it will help troubleshoot this: log_facility=daemon pid_file=/var/run/nrpe/nrpe.pid server_port=5666 server_address=127.0.0.1 nrpe_user=nrpe nrpe_group=nrpe allowed_hosts=127.0.0.1,64.XX.YY.2 dont_blame_nrpe=0 debug=1 command_timeout=60 connection_timeout=300 include_dir=/etc/nrpe.d/ command[check_disk_boot]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /boot command[check_disk_home]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /home command[check_disk_root]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p / command[check_mdstat_boot]=/usr/lib64/nagios/plugins/check_mdstat md0 command[check_mdstat_root]=/usr/lib64/nagios/plugins/check_mdstat md1 command[check_mdstat_home]=/usr/lib64/nagios/plugins/check_mdstat md2 command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 35,30,25 -c 30,25,20 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 220 command[check_mailq_pre]=/usr/lib64/nagios/plugins/check_mailq -w 4 -c 6 command[check_dns]=/usr/lib64/nagios/plugins/check_dns -H example.com -s 192.168.1.1 -a 8.8.8.8 command[check_procs_named]=/usr/lib64/nagios/plugins/check_procs -w 1:7 -c 1:10 -C named -u named command[check_procs_master]=/usr/lib64/nagios/plugins/check_procs -w 1:1 -c 1:1 -C master -u root command[check_procs_sshd]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1: -C sshd command[check_procs_Z]=/usr/lib64/nagios/plugins/check_procs -w 4 -c 6 -s Z command[check_procs_D]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 20 -s D command[check_procs_total]=/usr/lib64/nagios/plugins/check_procs -w 1:210 -c 1:230 command[check_ntp]=/usr/lib64/nagios/plugins/check_ntp -H localhost command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 Thanks for any ideas. Alex ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Nov 10 06:40:11 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 10 Nov 2011 06:40:11 +0100 Subject: check_http -L writes raw html (a href) but does not render link in browser In-Reply-To: References: Message-ID: <103ACBBE-9AE1-4268-A302-14B9653D2365@ederdrom.de> Am 09.11.2011 um 22:33 schrieb Kimberly McKinnis: > I'm using the stock Nagios 3 package from aptitude on Ubuntu. I wrote a > new check using check_http, but the -L isn't entirely doing what I'd > expect. Do I need to set something else somewhere in Nagios to get browser > renderable code? I've tried both Firefox and Safari on MacOSX Lion. > > My check: > define command{ > command_name check-livepass-gateways > command_line /usr/lib/nagios/plugins/check_http -L -H > -u -t 5 -R 'unknown' --invert-regex > } > > > > My check spits out the raw html code instead of actually making it a link: > HREF="obfuscated URL" > target="_blank">HTTP OK: HTTP/1.1 200 OK - 13878 bytes in 0.304 > second response time cgi.cfg: # ESCAPE HTML TAGS # This option determines whether HTML tags in host and service # status output is escaped in the web interface. If enabled, # your plugin output will not be able to contain clickable links. escape_html_tags=1 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosenski at wave-computer.de Thu Nov 10 08:33:06 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Thu, 10 Nov 2011 08:33:06 +0100 Subject: Logging issues In-Reply-To: References: Message-ID: <201111100833.06716.rosenski@wave-computer.de> Hi Alex, Am Donnerstag 10 November 2011, 05:50:32 schrieb Alex: > I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching > the server and no firewall rules are involved. Other services, such as > checking port 25, work successfully. [...] > server_address=127.0.0.1 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd You bound nrpe on your loopback interface. You have to enter the IP of your network interface connected to the rest of the world and restart nrpe. Regards, Axel > nrpe_user=nrpe > nrpe_group=nrpe > allowed_hosts=127.0.0.1,64.XX.YY.2 > > dont_blame_nrpe=0 > debug=1 > command_timeout=60 > connection_timeout=300 > include_dir=/etc/nrpe.d/ > command[check_disk_boot]=/usr/lib64/nagios/plugins/check_disk -w 20% > -c 10% -p /boot > command[check_disk_home]=/usr/lib64/nagios/plugins/check_disk -w 20% > -c 10% -p /home > command[check_disk_root]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p / command[check_mdstat_boot]=/usr/lib64/nagios/plugins/check_mdstat md0 > command[check_mdstat_root]=/usr/lib64/nagios/plugins/check_mdstat md1 > command[check_mdstat_home]=/usr/lib64/nagios/plugins/check_mdstat md2 > command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 35,30,25 -c > 30,25,20 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs > -w 5 -c 10 -s Z > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c > 220 command[check_mailq_pre]=/usr/lib64/nagios/plugins/check_mailq -w 4 -c > 6 command[check_dns]=/usr/lib64/nagios/plugins/check_dns -H example.com -s > 192.168.1.1 -a 8.8.8.8 > command[check_procs_named]=/usr/lib64/nagios/plugins/check_procs -w > 1:7 -c 1:10 -C named -u named > command[check_procs_master]=/usr/lib64/nagios/plugins/check_procs -w > 1:1 -c 1:1 -C master -u root > command[check_procs_sshd]=/usr/lib64/nagios/plugins/check_procs -w 1: > -c 1: -C sshd > command[check_procs_Z]=/usr/lib64/nagios/plugins/check_procs -w 4 -c 6 -s Z > command[check_procs_D]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 20 -s > D command[check_procs_total]=/usr/lib64/nagios/plugins/check_procs -w > 1:210 -c 1:230 > command[check_ntp]=/usr/lib64/nagios/plugins/check_ntp -H localhost > command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 > -c 10 -s Z > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c > 200 > > Thanks for any ideas. > Alex > > --------------------------------------------------------------------------- > --- RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bphelps at gls.com Thu Nov 10 20:02:02 2011 From: bphelps at gls.com (Brandon Phelps) Date: Thu, 10 Nov 2011 14:02:02 -0500 Subject: Hosts without any contacts or contactgroups Message-ID: <4EBC1FAA.6030102@gls.com> What is the best practice for defining a host without any contacts or contactgroups? We use a custom application to monitor nagios which (among other things) serves as our notifier, so we have no need for nagios-based contacts, etc. Simply leaving out the "contacts" and "contact_groups" directives works, but generates a warning for every host we have, which I would like to avoid. Thanks, -- Brandon ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 10 20:08:47 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 10 Nov 2011 19:08:47 +0000 Subject: Hosts without any contacts or contactgroups In-Reply-To: <4EBC1FAA.6030102@gls.com> References: <4EBC1FAA.6030102@gls.com> Message-ID: <4288A518A157EC4C8873FEE74F778BF00836BF@WPSDGQHH.OPR.STATEFARM.ORG> I have a user called Nobody with no contact times and no contact information but it's enough to make the system happy. Dan -----Original Message----- From: Brandon Phelps [mailto:bphelps at gls.com] Sent: Thursday, November 10, 2011 1:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hosts without any contacts or contactgroups What is the best practice for defining a host without any contacts or contactgroups? We use a custom application to monitor nagios which (among other things) serves as our notifier, so we have no need for nagios-based contacts, etc. Simply leaving out the "contacts" and "contact_groups" directives works, but generates a warning for every host we have, which I would like to avoid. Thanks, -- Brandon ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bphelps at gls.com Thu Nov 10 20:30:11 2011 From: bphelps at gls.com (Brandon Phelps) Date: Thu, 10 Nov 2011 14:30:11 -0500 Subject: Hosts without any contacts or contactgroups In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00836BF@WPSDGQHH.OPR.STATEFARM.ORG> References: <4EBC1FAA.6030102@gls.com> <4288A518A157EC4C8873FEE74F778BF00836BF@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4EBC2643.4000003@gls.com> That's what I've got now (below) but it just seems messy, maybe it's just me! define timeperiod { timeperiod_name int_tp_none alias Internal Timeperiod None } define contact { contact_name nobody alias Pseudo Contact for hosts with no contacts service_notification_period int_tp_none host_notification_period int_tp_none service_notification_commands notify-by-epager host_notification_commands host-notify-by-epager } On 11/10/2011 02:08 PM, Daniel Wittenberg wrote: > I have a user called Nobody with no contact times and no contact information but it's enough to make the system happy. > > Dan > > -----Original Message----- > From: Brandon Phelps [mailto:bphelps at gls.com] > Sent: Thursday, November 10, 2011 1:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hosts without any contacts or contactgroups > > What is the best practice for defining a host without any contacts or > contactgroups? We use a custom application to monitor nagios which > (among other things) serves as our notifier, so we have no need for > nagios-based contacts, etc. > > Simply leaving out the "contacts" and "contact_groups" directives works, > but generates a warning for every host we have, which I would like to avoid. > > Thanks, > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Thu Nov 10 20:32:24 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 10 Nov 2011 11:32:24 -0800 Subject: How to route data from multiple nagios core nodes to a nagiosxi node? In-Reply-To: References: Message-ID: <4EBC26C8.7070703@5dninja.net> On 11/8/11 6:06 PM, Benjamin wrote: > I have about ten nagios core machines that I currently monitor > collectively using MNTOS. Is there a way to feed the data from my > nagios core machines to a nagiosXI machine that makes it possible to > use the nagiosXI features like the visualization/dashboards/reporting > for the services/hosts being monitored by the nagios core nodes? I > basically want to replace MNTOS w/ a nagiosXI machine ? so that I can > utilize its features as a dashboard and reporting node for all the > data I receive at each nagios core server. > > Basically, I want to set up a hub and spoke w/ a nagiosXI machine at > the hub and all my nagios core boxes as spokes. > I looked into DNX but this looks like it distributes the checks in a > different way. Any ideas? I'm not as familiar with XI as I'd like, but based on the demos and the docs, I think NSCA will do just fine. I believe the configuration would be exactly the same as with a normal Nagios Core install. -- Mike Lindsey ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Fri Nov 11 10:30:23 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 11 Nov 2011 09:30:23 +0000 Subject: Nagios Core and SMS alerts (or lack of) through Nagios Message-ID: Hi all, Im at my wits end. Spent 2 days now trying to get Nagios to SMS me through gnokii but a lunar eclipse is a more frequent event! So i have Ubuntu 11.04 installed using postfix to email me alerts (works flawlessly) Now i also want a text message as a failover incase my Exchange server or internet line goes down. I have installed and configured gnokii to what i think is at a functioning level. I have a Nokia 6301 mobile hooked up to Ubuntu via USB cable. I can send a text message out through the phone via the CLI no issue at all with both my admin user logged in and also when i log in as the nagios user so i know i have the correct permissions on the ttyACM0 port that is assigned to the 6301. Will Nagios send an SMS - will it f*?$!! Here is my command.cfg relevant part # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/bin/printf "%.120s" "***** Nagios ***** $NOTIFICATIONTYPE$: Host $HOSTALIAS$ is $HOSTSTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/bin/printf "%.120" "***** Nagios ***** $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } Here is my contact.cfg define contact{ contact_name MYNAME use generic-contact alias MYNAME host_notification_options d,u,r,f service_notification_options w,u,c,r,f email MYEMAIL pager +44XXXXXXXXX host_notification_period 24x7 service_notification_period 24x7 host_notification_commands notify-host-by-email,notify-host-by-sms service_notification_commands notify-service-by-email,notify-service-by-sms Here is my templates.cfg define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s host_notification_options d,u,r,f,s service_notification_commands notify-service-by-email, notify-service-by-sms host_notification_commands notify-host-by-email, notify-host-by-sms register 0 } what can be going on - why will nagios not SMS me? Its got to be a nagios config issue and not gnokii error as I can send text through CLI fine, Please help me, im going insane Thanks Kind Regards Andrew T: 01386 834000 F: 01386 834100 Andrew at fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 david.ribeiro at altitudeinfra.fr Fri Nov 11 12:28:09 2011 From: david.ribeiro at altitudeinfra.fr (David Ribeiro) Date: Fri, 11 Nov 2011 12:28:09 +0100 (CET) Subject: Nagios Core and SMS alerts (or lack of) through Nagios In-Reply-To: References: Message-ID: <984921684.540841.1321010889722.JavaMail.root@zm-mbs01.altitudetelecom.fr> Hi Andrew, # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/bin/printf "%.120s" "***** Nagios ***** $NOTIFICATIONTYPE$: Host $HOSTALIAS$ is $HOSTSTATE$ " | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/bin/printf "%.120" "***** Nagios ***** $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ " | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } Maybe the last " ? David Ribeiro De: "Andrew Thompson" ?: nagios-users at lists.sourceforge.net Envoy?: Vendredi 11 Novembre 2011 10:30:23 Objet: [Nagios-users] Nagios Core and SMS alerts (or lack of) through Nagios Hi all, Im at my wits end. Spent 2 days now trying to get Nagios to SMS me through gnokii but a lunar eclipse is a more frequent event! So i have Ubuntu 11.04 installed using postfix to email me alerts (works flawlessly) Now i also want a text message as a failover incase my Exchange server or internet line goes down. I have installed and configured gnokii to what i think is at a functioning level. I have a Nokia 6301 mobile hooked up to Ubuntu via USB cable. I can send a text message out through the phone via the CLI no issue at all with both my admin user logged in and also when i log in as the nagios user so i know i have the correct permissions on the ttyACM0 port that is assigned to the 6301. Will Nagios send an SMS - will it f*?$!! Here is my command.cfg relevant part # 'notify-host-by-sms' command definition define command{ command_name notify-host-by-sms command_line /usr/bin/printf "%.120s" "***** Nagios ***** $NOTIFICATIONTYPE$: Host $HOSTALIAS$ is $HOSTSTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line /usr/bin/printf "%.120" "***** Nagios ***** $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ | /usr/bin/gnokii --sendsms $CONTACTPAGER$ } Here is my contact.cfg define contact{ contact_name MYNAME use generic-contact alias MYNAME host_notification_options d,u,r,f service_notification_options w,u,c,r,f email MYEMAIL pager +44XXXXXXXXX host_notification_period 24x7 service_notification_period 24x7 host_notification_commands notify-host-by-email,notify-host-by-sms service_notification_commands notify-service-by-email,notify-service-by-sms Here is my templates.cfg define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s host_notification_options d,u,r,f,s service_notification_commands notify-service-by-email, notify-service-by-sms host_notification_commands notify-host-by-email, notify-host-by-sms register 0 } what can be going on ? why will nagios not SMS me? Its got to be a nagios config issue and not gnokii error as I can send text through CLI fine, Please help me, im going insane Thanks Kind Regards Andrew T: 01386 834000 F: 01386 834100 Andrew at fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 mguthrie at nagios.com Fri Nov 11 16:28:06 2011 From: mguthrie at nagios.com (Mike Guthrie) Date: Fri, 11 Nov 2011 09:28:06 -0600 Subject: How to route data from multiple nagios core nodes to a nagiosxi node? In-Reply-To: <4EBC26C8.7070703@5dninja.net> References: <4EBC26C8.7070703@5dninja.net> Message-ID: <4EBD3F06.4050605@nagios.com> On 11/10/2011 1:32 PM, Mike Lindsey wrote: > On 11/8/11 6:06 PM, Benjamin wrote: >> I have about ten nagios core machines that I currently monitor >> collectively using MNTOS. Is there a way to feed the data from my >> nagios core machines to a nagiosXI machine that makes it possible to >> use the nagiosXI features like the visualization/dashboards/reporting >> for the services/hosts being monitored by the nagios core nodes? I >> basically want to replace MNTOS w/ a nagiosXI machine ? so that I can >> utilize its features as a dashboard and reporting node for all the >> data I receive at each nagios core server. >> >> Basically, I want to set up a hub and spoke w/ a nagiosXI machine at >> the hub and all my nagios core boxes as spokes. >> I looked into DNX but this looks like it distributes the checks in a >> different way. Any ideas? > I'm not as familiar with XI as I'd like, but based on the demos and the > docs, I think NSCA will do just fine. I believe the configuration would > be exactly the same as with a normal Nagios Core install. > If you want to simply forward all of your results to a Nagios XI machine, you can define an OCSP command for all of your services and forward them along to the XI box. Nagios XI has a feature in the Admin->Unconfigured Objects menu that allows you to automatically add passive hosts and services that are inbound. Here are some docs with more details. http://nagios.sourceforge.net/docs/3_0/distributed.html http://assets.nagios.com/downloads/nagiosxi/guides/administrator/advanced.php#passivechecks If you've got additional Nagios XI specific questions, go ahead and post them to our forum. http://support.nagios.com/forum/viewforum.php?f=6 -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Fri Nov 11 16:39:05 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Fri, 11 Nov 2011 15:39:05 +0000 Subject: service checks could not be rescheduled properly. Message-ID: Hi - does anyone know the answer to the following errors I'm getting in the nagios.log for a handful of hosts that have a specific timeperiod for checks set. [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS02' could not be rescheduled properly. Scheduling check for next week... [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE TCP 4099' on host 'TDUKUBS01' could not be rescheduled properly. Scheduling check for next week... Obviously this is causing major issues as checks are just not being carried out as expected, the hosts / services are defined as follows: define host{ use unix_host_template ; Name of host template to use icon_image win40.jpg host_name TDUKUBS01 address 192.168.75.84 alias TDUKUBS01 192.168.75.84 } define service{ use ubs-service hostgroup_name ubsdealservers service_description DEAL SERVER SERVICE TCP 4099 check_command check_ubs!4099 check_period ubs4099hours } define service{ name ubs-service is_volatile 0 max_check_attempts 5 normal_check_interval 1 notification_interval 5 retry_check_interval 1 contact_groups dtns-ooh active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile register 0 } define timeperiod{ timeperiod_name ubs4099hours alias UBS 4099 Dealserver Monitoring Hours monday 23:46-20:30 tuesday 23:46-20:30 wednesday 23:46-20:30 thursday 23:46-20:30 friday 23:46-20:30 } It all looks ok to me, if I manually re-schedule the check above it will run fine but when it comes to the check being carried out as defined by the timeperiod above again it will not run and then get scheduled for the following week. Any help would be appreciated. Thanks - Julian. Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 bphelps at gls.com Fri Nov 11 16:54:23 2011 From: bphelps at gls.com (Brandon Phelps) Date: Fri, 11 Nov 2011 10:54:23 -0500 Subject: service checks could not be rescheduled properly. In-Reply-To: References: Message-ID: <4EBD452F.8020505@gls.com> Check out this bug report on the nagios.org bug tracker: http://tracker.nagios.org/view.php?id=31 On 11/11/2011 10:39 AM, Julian_Grunnell at tdwh.co.uk wrote: > > Hi - does anyone know the answer to the following errors I'm getting in > the nagios.log for a handful of hosts that have a specific timeperiod > for checks set. > > [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE > TCP 4099' on host 'TDUKUBS02' could not be rescheduled properly. > Scheduling check for next week... > [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE > TCP 4099' on host 'TDUKUBS01' could not be rescheduled properly. > Scheduling check for next week... > > Obviously this is causing major issues as checks are just not being > carried out as expected, the hosts / services are defined as follows: > > define host{ > use unix_host_template ; Name of host template to use > icon_image win40.jpg > host_name TDUKUBS01 > address 192.168.75.84 > alias TDUKUBS01 192.168.75.84 > } > > define service{ > use ubs-service > hostgroup_name ubsdealservers > service_description DEAL SERVER SERVICE TCP 4099 > check_command check_ubs!4099 > check_period ubs4099hours > } > > define service{ > name ubs-service > is_volatile 0 > max_check_attempts 5 > normal_check_interval 1 > notification_interval 5 > retry_check_interval 1 > contact_groups dtns-ooh > active_checks_enabled 1 ; Active service checks are enabled > passive_checks_enabled 1 ; Passive service checks are enabled/accepted > parallelize_check 1 ; Active service checks should be parallelized > (disabling this can lead to major performance problems) > obsess_over_service 1 ; We should obsess over this service (if necessary) > check_freshness 0 ; Default is to NOT check service 'freshness' > notifications_enabled 1 ; Service notifications are enabled > event_handler_enabled 1 ; Service event handler is enabled > flap_detection_enabled 1 ; Flap detection is enabled > failure_prediction_enabled 1 ; Failure prediction is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information across program > restarts > retain_nonstatus_information 1 ; Retain non-status information across > program restarts > is_volatile 0 ; The service is not volatile > register 0 > } > > define timeperiod{ > timeperiod_name ubs4099hours > alias UBS 4099 Dealserver Monitoring Hours > monday 23:46-20:30 > tuesday 23:46-20:30 > wednesday 23:46-20:30 > thursday 23:46-20:30 > friday 23:46-20:30 > } > > It all looks ok to me, if I manually re-schedule the check above it will > run fine but when it comes to the check being carried out as defined by > the timeperiod above again it will not run and then get scheduled for > the following week. > > Any help would be appreciated. > > Thanks - Julian. > > > Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse > T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 > > > -------------------------------------------------------------------------------- > > > Consider the environment. Please don't print this e-mail unless you > really need to. > > Confidentiality: This email and its attachments are intended for the > above named only and may be confidential. If they have come to you in > error you must take no action based on them, nor must you copy or show > them to anyone; please reply to this email and highlight the error. > > Viruses: Although we have taken steps to ensure that this email and > attachments are free from any virus, we advise that in keeping with good > computing practice the recipient should ensure that they are actually > virus-free. > > Brokerage services provided by TD Waterhouse Investor Services (Europe) > Limited (a subsidiary of The Toronto-Dominion Bank). Authorised and > regulated by the Financial Services Authority (FSA registered number > 141282), member of the London Stock Exchange and the PLUS market. > Incorporated in England and Wales under registration number 2101863. > Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. > Banking services provided by TD Waterhouse Bank N.V. authorised and > regulated by De Nederlandsche Bank and the Financial Services Authority > for UK Business (FSA registered number 216791). Incorporated in the > Netherlands and registered as a branch in England and Wales under branch > registration number BR006780. > > > -------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.machado1 at gmail.com Fri Nov 11 17:11:53 2011 From: g.machado1 at gmail.com (Gustavo) Date: Fri, 11 Nov 2011 14:11:53 -0200 Subject: nagios timeout checks Message-ID: hello, this is my first email.... I've just installed nagios 3.2.3 And i would like to know if is there a way to configurate nagios to send time-out cheks to other group of users. The problem is that if some times the monitoring service works fine... but once or twice a day it does time out exception. Can i config a way to if the monitoring works fine send normally the email, if it happends a time out exception send this erro for me to see what happends. thakou in advanced and sorry for my bad english, hope you undarstand :) -- -- Atenciosamente, Gustavo de Araujo Lima Machado Telefone: +55 +21 *********** Celular: +55+21 84588122 E-Mail: g.machado1 at gmail.com.br @gmachado1 Resid?ncia : -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 jim at jimavery.me.uk Fri Nov 11 17:43:43 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 11 Nov 2011 16:43:43 +0000 Subject: nagios timeout checks In-Reply-To: References: Message-ID: On 11 November 2011 16:11, Gustavo wrote: > > hello, > this is my first email.... > I've just installed nagios 3.2.3 > And i would like to know if is there a way to configurate nagios to send time-out cheks to other group of users. > The problem is that if some times the monitoring service works fine... but once or twice a day it does time out exception. > Can i config a way to if the monitoring works fine send normally the email, if it happends a time out exception send this erro for me to see what happends. > > > thakou in advanced and sorry for my bad english, ?hope you undarstand ??:) If the timeout errors result in an UNKNOWN state, then you can configure your ordinary users (for example) to receive only WARNING, CRITICAL and RECOVERY notifications, but your Nagios administrator users only to receive UNKNOWN and FLAPPING notifications. That is set for all notifications for that contact though. For example: define contact { contact_name luciano_lanza alias ordinary user Luciano Lanza host_notification_options d,r service_notification_options w,c,r email llanza at hotmael.com } define contact { contact_name gustavo_machado alias Nagios Admin G. Machado host_notification_options u,f service_notification_options u,f email gmachado at hotmael.com } Note that the check_nt plugin will only result in UNKNOWN on timeout if you specify the "-u" or "--unknown-timeout" option. Unfortunately some other plugins do set status to UNKNOWN on timeout but others don't. With some checks, it helps to set max_check_attempts to 3 or more so that if the plugin times out only once or twice then Nagios will not send a notification. Cheers, and welcome! Jim ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 11 17:50:18 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 11 Nov 2011 17:50:18 +0100 Subject: nagios timeout checks In-Reply-To: References: Message-ID: <4EBD524A.4080009@univie.ac.at> On 11.11.2011 17:11, Gustavo wrote: > hello, > this is my first email.... > I've just installed nagios 3.2.3 > And i would like to know if is there a way to configurate nagios to > send time-out cheks to other group of users. > > The problem is that if some times the monitoring service works fine... > but once or twice a day it does time out exception. if it's a timeout generated catched by alarm signal on the core, there might be a possibility. but still this would require some code patching in nagios itsself. > > Can i config a way to if the monitoring works fine send normally the > email, if it happends a time out exception send this erro for me to > see what happends. below [1] is a mail to nagios-devel about 2 years ago (one of those long lasting patches for nagios never been applied), which allows to change the default state. if you happen to change that to unknown, you could assign special contacts only to be notified on unknown state - beware: all other unknowns get to them too - and therefore being notified on service check timeouts. a native vanilla solution might be a wrapper around the notification script to check if $SERVICEOUTPUT$ contains "Timeout" or similar, and check that against $NOTIFICATIONRECEPIENTS$. current problem is that $NOTIFICATIONRECIPIENTS$ macro holds the wrong information about notified contacts (instead all contacts are placed in there). if core devs resolve #98 (patch already sent - see [0]) this might be a possible solution to create a proxy wrapper and only pass timeout notifications to some contacts based on the notification receipients. kind regards, michael [0] http://tracker.nagios.org/view.php?id=98 [1] > -------- Original Message -------- > Subject: [Nagios-devel] [PATCH] add service_check_timeout_state > configuration variable > Date: Tue, 09 Feb 2010 13:34:36 -0500 > From: Bill McGonigle > Reply-To: Nagios Developers List > Organization: BFC Computing, LLC > To: nagios-devel at lists.sourceforge.net > > Hi, all, > > This patch adds a variable called 'service_check_timeout_state' which > allows the admin to define the state that is returned when a service > check times out. > > I look after a handful of nagios installations and the #1 complaint is > of 'false alarms', which typically result from the machine that nagios > is running on getting bogged down by some unrelated process (backups, > etc., nagios doesn't usually get its own machine in a small business) > and thus a 'critical' state is thrown, and too often everybody gets > paged in the middle of the night (we page on critical). > > Nagios has had the #ifdef SERVICE_CHECK_TIMEOUTS_RETURN_UNKNOWN > available for re-compiling, which works, but then those users are unable > to keep up with their distro's updates and it may be beyond the skill of > many. > > This patch moves that idea into a variable, allows any of four states to > be chosen ('critical' remaining the default), and does away with the > #ifdef (which should be obsolete now). > > I've been running with my in-house nagios set to 'u', and so far no > late-nite false alarms, though I can't say it's had extensive field > testing. This is also the first time I've done any nagios hacking > (though I don't do much in c these days, the code was very easy to > follow - kudos). > > Here's some suggested text for the sample config file: > > ---8<---8<---8<---- > > # SERVICE CHECK TIMEOUT STATE > # This setting determines the state Nagios will report when a > # service check times out - that is does not respond within > # service_check_timeout seconds. This can be useful if a > # machine is running at too high a load and you do not want > # to consider a failed service check to be critical (the default). > # Valid settings are: > # c - Critical (default) > # u - Unknown > # w - Warning > # o - OK > > service_check_timeout_state=c > > ---8<---8<---8<---- > > and the patch follows (the format I have in my rpm file, not sure how to > use git yet). > > Thanks, > -Bill > > > ---8<---8<---8<---- > > diff -ur nagios-3.2.0/base/config.c nagios-3.2.0-bfc/base/config.c > --- nagios-3.2.0/base/config.c 2009-05-17 08:54:28.000000000 -0400 > +++ nagios-3.2.0-bfc/base/config.c 2010-02-08 18:47:21.000000000 -0500 > @@ -73,6 +73,7 @@ > extern int log_passive_checks; > > extern int service_check_timeout; > +extern int service_check_timeout_state; > extern int host_check_timeout; > extern int event_handler_timeout; > extern int notification_timeout; > @@ -722,6 +723,23 @@ > break; > } > } > + > + else if(!strcmp(variable,"service_check_timeout_state")){ > + > + if(!strcmp(value,"o")) > + service_check_timeout_state=STATE_OK; > + else if(!strcmp(value,"w")) > + service_check_timeout_state=STATE_WARNING; > + else if(!strcmp(value,"c")) > + service_check_timeout_state=STATE_CRITICAL; > + else if(!strcmp(value,"u")) > + service_check_timeout_state=STATE_UNKNOWN; > + else{ > + asprintf(&error_message,"Illegal value for > service_check_timeout_state"); > + error=TRUE; > + break; > + } > + } > > else if(!strcmp(variable,"host_check_timeout")){ > > diff -ur nagios-3.2.0/base/nagios.c nagios-3.2.0-bfc/base/nagios.c > --- nagios-3.2.0/base/nagios.c 2009-08-12 14:28:10.000000000 -0400 > +++ nagios-3.2.0-bfc/base/nagios.c 2010-02-08 18:36:34.000000000 -0500 > @@ -100,6 +100,7 @@ > unsigned long syslog_options=0; > > int service_check_timeout=DEFAULT_SERVICE_CHECK_TIMEOUT; > +int service_check_timeout_state=STATE_CRITICAL; > int host_check_timeout=DEFAULT_HOST_CHECK_TIMEOUT; > int event_handler_timeout=DEFAULT_EVENT_HANDLER_TIMEOUT; > int notification_timeout=DEFAULT_NOTIFICATION_TIMEOUT; > diff -ur nagios-3.2.0/base/utils.c nagios-3.2.0-bfc/base/utils.c > --- nagios-3.2.0/base/utils.c 2009-08-11 12:53:04.000000000 -0400 > +++ nagios-3.2.0-bfc/base/utils.c 2010-02-08 18:48:31.000000000 -0500 > @@ -115,6 +115,7 @@ > extern unsigned long syslog_options; > > extern int service_check_timeout; > +extern int service_check_timeout_state; > extern int host_check_timeout; > extern int event_handler_timeout; > extern int notification_timeout; > @@ -1905,11 +1906,7 @@ > /* get the current time */ > gettimeofday(&end_time,NULL); > > -#ifdef SERVICE_CHECK_TIMEOUTS_RETURN_UNKNOWN > - check_result_info.return_code=STATE_UNKNOWN; > -#else > - check_result_info.return_code=STATE_CRITICAL; > -#endif > + check_result_info.return_code=service_check_timeout_state; > check_result_info.finish_time=end_time; > check_result_info.early_timeout=TRUE; > > ---8<---8<---8<---- > > -- 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& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjm399 at nyu.edu Fri Nov 11 17:30:16 2011 From: rjm399 at nyu.edu (Robert J Molerio) Date: Fri, 11 Nov 2011 11:30:16 -0500 Subject: limt privilages on fusion Message-ID: Hi guys, Is there a way to NOT have a user access any nagios XI servers from a nagios Fusion server? I set up a test user and when I log in as hiom and navigate over to the server credentials page he can log into the XI servers as the nagiosadmin. -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 office: 212-998-1110 email:robert.molerio at nyu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Nov 11 18:34:02 2011 From: mysqlstudent at gmail.com (Alex) Date: Fri, 11 Nov 2011 12:34:02 -0500 Subject: Logging issues In-Reply-To: <201111100833.06716.rosenski@wave-computer.de> References: <201111100833.06716.rosenski@wave-computer.de> Message-ID: Hi, > Am Donnerstag 10 November 2011, 05:50:32 schrieb Alex: >> I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching >> the server and no firewall rules are involved. Other services, such as >> checking port 25, work successfully. > [...] >> server_address=127.0.0.1 ... > You bound nrpe on your loopback interface. > You have to enter the IP of your network interface connected to the rest of > the world and restart nrpe. Yes, I was experimenting and realized this afterwards. The real problem turned out to be an incorrect firewall rule blocking access. The problem I'm still having now, however, is with logging on the client. I have debug=1, but there is nothing written to syslog. It writes the startup messages, but never any messages indicating the server had queried it: Nov 10 20:02:58 fc14 nrpe[606]: Caught SIGTERM - shutting down... Nov 10 20:02:58 fc14 nrpe[606]: Daemon shutdown Nov 10 20:02:58 fc14 nrpe[9330]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Nov 10 20:02:58 fc14 nrpe[9331]: Starting up daemon Nov 10 20:02:58 fc14 nrpe[9331]: Listening for connections on port 5666 Nov 10 20:02:58 fc14 nrpe[9331]: Allowing connections from: 127.0.0.1,64.XX.XX.2 Is there something further that needs to be done for it to log other status messages? Thanks, Alex ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 14 12:49:22 2011 From: Corcoran at flair4it.co.uk (Corcoran Smith) Date: Mon, 14 Nov 2011 11:49:22 +0000 Subject: check_openmanage plugin: " Couldn't run command ..." Message-ID: Hi, First message, so please excuse any failures in format, etc! Got two issues with two boxes (out of 160!) using check_openmanage: 1) Couldn't run command 'c:\pro... ' etc 2) U nrecognized character xA8: marked by <-- HERE after <-- HERE near column 1 at /loader/HASH(0xa7c42c)/UNIVERSAL.pm line 1. both are using the windows exe Any thoughts please? Corcoran This email and any attachments are strictly confidential and intended solely for the addressee. They may contain information, which is covered by legal, professional or other privilege. If you are not the intended addressee, you must not copy, use, distribute, forward, store, disclose the email or the attachments, or use them for any purpose or disclose their contents to any other person; to do so may be unlawful. If you have received this transmission in error, please notify us as soon as possible and delete the message and attachments from all places in your computer where they are stored. Any opinions, conclusions or other information in this message are those of the individual sender and not necessarily the company. Any information contained in this message that does not relate to official business of Flair4IT shall be understood as neither given nor endorsed by it. Please be aware that email is not a secure form of communication. Messages sent via this medium may be subject to delays, non-delivery and unauthorised interference. Although we have scanned this email and any attachments for viruses, it is your responsibility to ensure that they are actually virus free. Flair4IT Limited: Registered in England, Company No. 05449439 Registered office: 8 Pipe Lane Bristol BS1 4AJ ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Mon Nov 14 13:32:10 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Mon, 14 Nov 2011 12:32:10 +0000 Subject: service checks could not be rescheduled properly. In-Reply-To: <4EBD452F.8020505@gls.com> References: <4EBD452F.8020505@gls.com> Message-ID: Hi - thanks, should have said this is one of the first posts I read. Lots of mentions of NTPD and it should be fixed / still doesn't work. And in my case whether I enable NTPD or not makes no difference. My checks for specific hosts are still getting rescheduled for next week. I run multiple Nagios instances and its only affecting this one - and annoyingly these checks are some of the most important but just happen to need to run at specific times of the day. Any other help / ideas would be appreciated. Thanks - J. Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 Brandon Phelps 11/11/2011 16:03 Please respond to Nagios Users List To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] service checks could not be rescheduled properly. Check out this bug report on the nagios.org bug tracker: http://tracker.nagios.org/view.php?id=31 On 11/11/2011 10:39 AM, Julian_Grunnell at tdwh.co.uk wrote: > > Hi - does anyone know the answer to the following errors I'm getting in > the nagios.log for a handful of hosts that have a specific timeperiod > for checks set. > > [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE > TCP 4099' on host 'TDUKUBS02' could not be rescheduled properly. > Scheduling check for next week... > [Wed Nov 9 23:46:00 2011] Warning: Check of service 'DEAL SERVER SERVICE > TCP 4099' on host 'TDUKUBS01' could not be rescheduled properly. > Scheduling check for next week... > > Obviously this is causing major issues as checks are just not being > carried out as expected, the hosts / services are defined as follows: > > define host{ > use unix_host_template ; Name of host template to use > icon_image win40.jpg > host_name TDUKUBS01 > address 192.168.75.84 > alias TDUKUBS01 192.168.75.84 > } > > define service{ > use ubs-service > hostgroup_name ubsdealservers > service_description DEAL SERVER SERVICE TCP 4099 > check_command check_ubs!4099 > check_period ubs4099hours > } > > define service{ > name ubs-service > is_volatile 0 > max_check_attempts 5 > normal_check_interval 1 > notification_interval 5 > retry_check_interval 1 > contact_groups dtns-ooh > active_checks_enabled 1 ; Active service checks are enabled > passive_checks_enabled 1 ; Passive service checks are enabled/accepted > parallelize_check 1 ; Active service checks should be parallelized > (disabling this can lead to major performance problems) > obsess_over_service 1 ; We should obsess over this service (if necessary) > check_freshness 0 ; Default is to NOT check service 'freshness' > notifications_enabled 1 ; Service notifications are enabled > event_handler_enabled 1 ; Service event handler is enabled > flap_detection_enabled 1 ; Flap detection is enabled > failure_prediction_enabled 1 ; Failure prediction is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information across program > restarts > retain_nonstatus_information 1 ; Retain non-status information across > program restarts > is_volatile 0 ; The service is not volatile > register 0 > } > > define timeperiod{ > timeperiod_name ubs4099hours > alias UBS 4099 Dealserver Monitoring Hours > monday 23:46-20:30 > tuesday 23:46-20:30 > wednesday 23:46-20:30 > thursday 23:46-20:30 > friday 23:46-20:30 > } > > It all looks ok to me, if I manually re-schedule the check above it will > run fine but when it comes to the check being carried out as defined by > the timeperiod above again it will not run and then get scheduled for > the following week. > > Any help would be appreciated. > > Thanks - Julian. > > > Julian Grunnell | Unix Analyst, Infrastructure | TD Waterhouse > T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527 > > > -------------------------------------------------------------------------------- > > > Consider the environment. Please don't print this e-mail unless you > really need to. > > Confidentiality: This email and its attachments are intended for the > above named only and may be confidential. If they have come to you in > error you must take no action based on them, nor must you copy or show > them to anyone; please reply to this email and highlight the error. > > Viruses: Although we have taken steps to ensure that this email and > attachments are free from any virus, we advise that in keeping with good > computing practice the recipient should ensure that they are actually > virus-free. > > Brokerage services provided by TD Waterhouse Investor Services (Europe) > Limited (a subsidiary of The Toronto-Dominion Bank). Authorised and > regulated by the Financial Services Authority (FSA registered number > 141282), member of the London Stock Exchange and the PLUS market. > Incorporated in England and Wales under registration number 2101863. > Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. > Banking services provided by TD Waterhouse Bank N.V. authorised and > regulated by De Nederlandsche Bank and the Financial Services Authority > for UK Business (FSA registered number 216791). Incorporated in the > Netherlands and registered as a branch in England and Wales under branch > registration number BR006780. > > > -------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 maillist at ricafrente.com Tue Nov 15 02:56:46 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Tue, 15 Nov 2011 09:56:46 +0800 Subject: Nagios Sending Notifications to Contacts not in Escalation Config (Bug?) Message-ID: Hi guys! I am now officially baffled on how Nagios handles service escalations and notifications. I'm using Nagios 3.2.3 on SLES 10 SP3 and my current setup is this: service_escalation.cfg: define serviceescalation { service_description http_80 host_name apache02 first_notification 1 last_notification 5 notification_interval 60 escalation_period Office_Hours contact_groups unix-sms, dba-email, dev-email } define serviceescalation { service_description http_80 host_name apache02 first_notification 6 last_notification 8 notification_interval 90 escalation_period Office_Hours contact_groups unix-sms, dba-email, dev-email, unix-supervisor, dev-supervisor } define serviceescalation { service_description http_80 host_name apache02 first_notification 1 last_notification 0 notification_interval 60 escalation_period 24x7 contact_groups unix-admins-email } The users defined in the service_escalation.cfg have their contacts.cfg configured like this: define contact{ contact_name unix-sms alias Team UNIX host_notification_period Early_Morning service_notification_period Early_Morning host_notification_options u,d,r service_notification_options w,c,u,r host_notification_commands host-notify-by-epager service_notification_commands notify-by-epager email unix at email.org } define contact{ contact_name unix-supervisor alias Team UNIX Supervisor host_notification_period Early_Morning service_notification_period Early_Morning host_notification_options u,d,r service_notification_options w,c,u,r host_notification_commands host-notify-by-epager service_notification_commands notify-by-epager email unixsupervisor at email.org } timeperiod.cfg looks like this: define timeperiod{ timeperiod_name Office_Hours alias Office_Hours sunday 09:00-20:00 monday 09:00-20:00 tuesday 09:00-20:00 wednesday 09:00-20:00 thursday 09:00-20:00 friday 09:00-20:00 saturday 09:00-20:00 } define timeperiod{ timeperiod_name Early_Morning alias Early_Morning sunday 07:00-22:10 monday 07:00-22:10 tuesday 07:00-22:10 wednesday 07:00-22:10 thursday 07:00-22:10 friday 07:00-22:10 saturday 07:00-22:10 } With these configurations in place, http_80 service goes down at 10pm every night (scheduled downtime). I am expecting that notifications starting from 10pm onwards will go *only* to unix-admins-email because of the service_escalation.cfg file. And it happily did, at least for the critical notifications. Now the fun part comes in. The recovery notification was sent to the unix-sms, dba-email, dev-email, unix-supervisor, dev-supervisor groups at 7:03am, when it returned to OK status, which is weird because the critical notifications from 10pm to 6am (next day) was sent only and only to the unix-admins-email group. Plus, I read from the Nagios docs that it will not send recovery notifications to those who did not receive the critical/warning/unknown notifications in the first place. So my questions are: Why did Nagios send the recovery alert to the supervisors, who did not know that the service was down in the first place because they did not receive the critical alert? Did Nagios took their defined timeperiods into consideration when it send the recovery alert? TIA! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 joydeep at infoservices.in Tue Nov 15 08:46:02 2011 From: joydeep at infoservices.in (J. Bakshi (জ বকসী)) Date: Tue, 15 Nov 2011 13:16:02 +0530 Subject: ngios3 + http require authentication and mysql issue Message-ID: <20111115131602.78ec4718@shiva.selfip.org> Dear list, I have installed nagios3 on a debin squeeze box. The apache running here is protected bu authentication. I have aded the following definition ` ` ` ` ` ` # Define a service to check HTTP define service{ use generic-service ; Name of service template to use host_name localhost service_description HTTP check_command check_http2!192.168.2.100!admin:password } # Define a service to check HTTPS define service{ use generic-service ; Name of service template to use host_name localhost service_description HTTPS check_command check_https!443!192.168.2.100!admin:password } ` ` ` ` ` ` But nagios reports error at the front end as [ HTTP WARNING: HTTP/1.1 401 Authorization Required - 746 bytes in 0.007 second response time ] More over the Mysql check is also not working. I have the following definition ` ` ` define service{ use generic-service ; Name of service template to use host_name localhost service_description MYSQL check_command check_mysql!root!password } ` ` ` ` the userid/password all are correct , though nagios reports [ Access denied for user 'nagios'@'localhost' (using password: YES) ] So it is not taking the parameters at all !!! Any help is very much welcome. Thanks ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 15 10:08:56 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 15 Nov 2011 10:08:56 +0100 Subject: configuration tool Message-ID: <004501cca376$3a5529f0$aeff7dd0$@it.net> Hi all I am using following configurations: Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), node ?2? running mysql Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql I?d like to use one of the configuration tool (one on each site , or one for all the sites it will depend if it is possible), but I am not sure that ?NConf?, ?NagiosQL?, etc. can support this configuration. For example, I read that ?NConf? require Nagios Core and Mysql both in the same server, is it true ? May you give me any info? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 at fulgent.co.uk Tue Nov 15 11:20:29 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Tue, 15 Nov 2011 10:20:29 +0000 Subject: How to limit the amout of SMS notifications? Message-ID: Hi all, I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. Down hosts are notified to me via email and SMS at the moment. What I would like to so is limit the amount of SMS messages that are sent from my Nokia phone connected to my Ubuntu box. As it stands I allow 3 checks 1 minute apart before I am alerted via email - after that I am alerted via email every 5 minutes until recovery. I have just implemented the phone to SMS alerts aswell but I want to limit the amount of texts as I don't want a text every 5 minutes until recovery for sanity reasons and also cost reasons! This is what I would like to happen If a host goes down: Email and SMS to be sent out on the 3rd failed check to the host (So 1st alert is sent out after 3 minutes of the host being down.) Then...... I want to be alerted via email every 5 minutes until the host recovers But...... I only want 2 more SMS after the initial SMS, 5 minutes apart and then no more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 minutes of the host being down, then a recovery SMS. Is this possible? Thanks in advance Kind Regards Andrew T: 01386 834000 F: 01386 834100 Andrew at fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 dey.ranjib at gmail.com Tue Nov 15 11:28:10 2011 From: dey.ranjib at gmail.com (ranjib dey) Date: Tue, 15 Nov 2011 15:58:10 +0530 Subject: configuration tool In-Reply-To: <004501cca376$3a5529f0$aeff7dd0$@it.net> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> Message-ID: you can try chef or puppet. On Tue, Nov 15, 2011 at 2:38 PM, Marco Borsani wrote: > Hi all**** > > ** ** > > I am using following configurations:**** > > ** ** > > Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), > node ?2? running mysql**** > > Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info > with send_nsca to site A), node ?2? running mysql**** > > Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info > with send_nsca to site A), node ?2? running mysql**** > > ** ** > > I?d like to use one of the configuration tool (one on each site , or one > for all the sites?it will depend if it is possible), but I am not sure that > ?NConf?, ?NagiosQL?, etc. can support this configuration.**** > > For example, I read that ?NConf? require Nagios Core and Mysql both in the > same server, is it true ?**** > > ** ** > > May you give me any info?**** > > ** ** > > 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 ?**** > > ** ** > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Tue Nov 15 11:42:36 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 15 Nov 2011 11:42:36 +0100 Subject: configuration tool In-Reply-To: <004501cca376$3a5529f0$aeff7dd0$@it.net> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> Message-ID: I use NagioSQL and it supports remote configuration. Ciao, Giorgio Il giorno 15/nov/2011, alle ore 10:08, "Marco Borsani" ha scritto: > Hi all > > I am using following configurations: > > Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), node ?2? running mysql > Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql > Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql > > I?d like to use one of the configuration tool (one on each site , or one for all the sites?it will depend if it is possible), but I am not sure that ?NConf?, ?NagiosQL?, etc. can support this configuration. > For example, I read that ?NConf? require Nagios Core and Mysql both in the same server, is it true ? > > May you give me any info? > > 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 ? > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 rjm399 at nyu.edu Tue Nov 15 12:43:50 2011 From: rjm399 at nyu.edu (Robert J Molerio) Date: Tue, 15 Nov 2011 06:43:50 -0500 Subject: Active Directory plunging for Nagios Fusion Message-ID: Anyone aware of a plugin for Fusion? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 Tue Nov 15 13:35:04 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 15 Nov 2011 12:35:04 -0000 (UTC) Subject: How to limit the amout of SMS notifications? In-Reply-To: References: Message-ID: Hi Have you looked at service escalations ? http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#serviceescalation This might give you the tool to limit the amount of alerts to send . Assaf ----- Original Message ----- From: "Andrew Thompson" To: nagios-users at lists.sourceforge.net Sent: Tuesday, 15 November, 2011 10:20:29 AM Subject: [Nagios-users] How to limit the amout of SMS notifications? Hi all, I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. Down hosts are notified to me via email and SMS at the moment. What I would like to so is limit the amount of SMS messages that are sent from my Nokia phone connected to my Ubuntu box. As it stands I allow 3 checks 1 minute apart before I am alerted via email ? after that I am alerted via email every 5 minutes until recovery. I have just implemented the phone to SMS alerts aswell but I want to limit the amount of texts as I don?t want a text every 5 minutes until recovery for sanity reasons and also cost reasons! This is what I would like to happen If a host goes down: Email and SMS to be sent out on the 3 rd failed check to the host (So 1 st alert is sent out after 3 minutes of the host being down.) Then?? I want to be alerted via email every 5 minutes until the host recovers But?? I only want 2 more SMS after the initial SMS, 5 minutes apart and then no more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 minutes of the host being down, then a recovery SMS. Is this possible? Thanks in advance Kind Regards Andrew T: 01386 834000 F: 01386 834100 Andrew at fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 at fulgent.co.uk Tue Nov 15 15:50:20 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Tue, 15 Nov 2011 14:50:20 +0000 Subject: How to limit the amout of SMS notifications? Message-ID: Thanks Assaf I can a quick look at those but I didn't think it suited my needs. Now I have had a play I have come up with the following (rules have slightly changed) Now I want the following Notification No.................Time Host Down...................Notification Method .........1................................3 min.....................................Email............ .........2................................8 min.....................................Email............ .........3...............................13 min....................................Email, SMS.. .........4...............................18 min....................................Email............ .........5...............................23 min....................................Email............ .........6...............................28 min....................................Email............ .........RECOVER.....................?????.....................................Email, SMS.. I have managed it with the following escalations define hostescalation{ host_name.....................................Test Switch first_notification.............................1 last_notification.............................5 notification_interval.......................5 contact_groups.............................admin email escalation_options........................d,r } define hostescalation{ host_name.....................................Test Switch first_notification.............................3 last_notification.............................3 notification_interval.......................5 contact_groups.............................admin sms escalation_options........................d,r } define hostescalation{ host_name.....................................Test Switch first_notification.............................6 last_notification.............................0 notification_interval.......................0 contact_groups.............................admin email escalation_options........................d,r } I get 6 emails as I should at N1-6, I get the SMS at N3. I also get the recovery email but I don't get the recovery SMS. Is this because I told it not to text me again after N3, and this also includes recovery alerts? Thanks Kind Regards Andrew From: Andrew Thompson Sent: 15 November 2011 10:20 To: 'nagios-users at lists.sourceforge.net' Subject: How to limit the amout of SMS notifications? Hi all, I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. Down hosts are notified to me via email and SMS at the moment. What I would like to so is limit the amount of SMS messages that are sent from my Nokia phone connected to my Ubuntu box. As it stands I allow 3 checks 1 minute apart before I am alerted via email - after that I am alerted via email every 5 minutes until recovery. I have just implemented the phone to SMS alerts aswell but I want to limit the amount of texts as I don't want a text every 5 minutes until recovery for sanity reasons and also cost reasons! This is what I would like to happen If a host goes down: Email and SMS to be sent out on the 3rd failed check to the host (So 1st alert is sent out after 3 minutes of the host being down.) Then...... I want to be alerted via email every 5 minutes until the host recovers But...... I only want 2 more SMS after the initial SMS, 5 minutes apart and then no more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 minutes of the host being down, then a recovery SMS. Is this possible? Thanks in advance Kind Regards Andrew T: 01386 834000 F: 01386 834100 Andrew at fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 dermot.duffy at brandtone.ie Tue Nov 15 16:42:57 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Tue, 15 Nov 2011 15:42:57 +0000 Subject: Nagios RAC Plugin setup Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E15A0@pemexmbx12.hosting.local> Hi, I have recently configured nagios for monitoring all of my production servers and it works fine but now I need to monitor my Oracle RAC servers. I have downloaded the following plugin (check_oracle_cluster) and have created an executable file on one of my RAC servers. http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-ORACLE-CLUSTER-%22RAC%22/details [root at dubdb1 libexec]# ./check_oracle_cluster -n dubdb1 check_oracle_cluster Version 0.81 usage: check_oracle_cluster -n [options] Global Options: -n -- node Options: -a -- ASM -l -- LISTENER -g -- GSD -o -- ONS -v -- VIP Ex. check_oracle_cluster -n dbnode1 -a [root at mvdbs1 libexec]# ./check_oracle_cluster -n dubdb1 -l ORACLE_CLUSTER_lsnr WARNING: UNKNOW problem(s) Can anyone please advise how to correctly configure this? OS: RHEL 5 Nagios Ver: 3.2.1 Nagios-plugins-1.4.11 Thanks, D. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 sigmund.brandstaetter at hp.com Tue Nov 15 19:09:59 2011 From: sigmund.brandstaetter at hp.com (Brandstaetter, Sigmund) Date: Tue, 15 Nov 2011 18:09:59 +0000 Subject: Using SMS notification on RedHat with smstools Message-ID: Hi Guys, I wonder if anybody can point me to a link for good manual on how to go about getting SMS Notification to work on a Redhat Box (5.7) using smstools. Nagios Version is: Nagios Core 3.3.1 USB Device used to send SMS: Huwai USB Stick I found a few but unfortunately nothing really recent. Thanks a lot cheers Sigmund -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6218 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 anders at kvistmail.dk Tue Nov 15 19:13:44 2011 From: anders at kvistmail.dk (Anders Kvist) Date: Tue, 15 Nov 2011 19:13:44 +0100 Subject: object inheritance - overwrite custom variables? Message-ID: <4EC2ABD8.1000600@kvistmail.dk> Hey I have tried to use object inheritance in my nagios config, but a few things are bugging me: I have a linux-server which uses generic-server and sets up default settings for all my linux servers. I have some templates for tasks, in this case: storage, kvm and hardware. They only add the hostgroup (and gets services this way) and have some custom variables. Here is an example: define host{ name storage-server hostgroups +storage-servers register 0 __PROCS_WARN 500 __PROCS_CRIT 750 } A kvm host is defined with 'use linux-server,kvm-server,hardware-server' and storage host with 'use linux-server,storage-server,hardware-server'. Here is an example of a storage host: define host{ use linux-server,storage-server,hardware-server host_name storage01.domain.tld alias storage01 address xxx.xxx.xxx.xxx } Hostgroups work fine (even tough the lists of hostgroups on a host in the webinterface isn't in the same order as the use-line), but custom variables doesn't. I have a __PROCS_WARN and __PROCS_CRIT in linux-servers with a default number of max processes before warning and critical - this needs to be overwritten for kvm-server and storage-server, because they have more processes - but the one from linux-server is used in both cases... What do I need to do to make this work as expected? /Anders ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kim at conviva.com Tue Nov 15 19:57:45 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Tue, 15 Nov 2011 18:57:45 +0000 Subject: check_http -L writes raw html (a href) but does not render link in browser In-Reply-To: <103ACBBE-9AE1-4268-A302-14B9653D2365@ederdrom.de> References: <103ACBBE-9AE1-4268-A302-14B9653D2365@ederdrom.de> Message-ID: Aha. Thank you muchly! On 11/9/11 9:40 PM, "Joerg Linge" wrote: > >Am 09.11.2011 um 22:33 schrieb Kimberly McKinnis: > >> I'm using the stock Nagios 3 package from aptitude on Ubuntu. I wrote a >> new check using check_http, but the -L isn't entirely doing what I'd >> expect. Do I need to set something else somewhere in Nagios to get >>browser >> renderable code? I've tried both Firefox and Safari on MacOSX Lion. >> >> My check: >> define command{ >> command_name check-livepass-gateways >> command_line /usr/lib/nagios/plugins/check_http -L -H >> -u -t 5 -R 'unknown' --invert-regex >> } >> >> >> >> My check spits out the raw html code instead of actually making it a >>link: >> > HREF="obfuscated URL" >> target="_blank">HTTP OK: HTTP/1.1 200 OK - 13878 bytes in 0.304 >> second response time > >cgi.cfg: > ># ESCAPE HTML TAGS ># This option determines whether HTML tags in host and service ># status output is escaped in the web interface. If enabled, ># your plugin output will not be able to contain clickable links. > >escape_html_tags=1 > >-------------------------------------------------------------------------- >---- >RSA(R) Conference 2012 >Save $700 by Nov 18 >Register now >http://p.sf.net/sfu/rsa-sfdev2dev1 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kim at conviva.com Tue Nov 15 20:11:07 2011 From: kim at conviva.com (Kimberly McKinnis) Date: Tue, 15 Nov 2011 19:11:07 +0000 Subject: Using SMS notification on RedHat with smstools In-Reply-To: References: Message-ID: I'm interested in finding out more, as we are currently building something custom to do this. Sigmund, have you used something else to do this previously? C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | From: "Brandstaetter, Sigmund" > Reply-To: Nagios Users List > Date: Tue, 15 Nov 2011 18:09:59 +0000 To: "nagios-users at lists.sourceforge.net" > Subject: [Nagios-users] Using SMS notification on RedHat with smstools Hi Guys, I wonder if anybody can point me to a link for good manual on how to go about getting SMS Notification to work on a Redhat Box (5.7) using smstools. Nagios Version is: Nagios Core 3.3.1 USB Device used to send SMS: Huwai USB Stick I found a few but unfortunately nothing really recent. Thanks a lot cheers Sigmund ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 sigmund.brandstaetter at hp.com Tue Nov 15 22:15:43 2011 From: sigmund.brandstaetter at hp.com (Brandstaetter, Sigmund) Date: Tue, 15 Nov 2011 21:15:43 +0000 Subject: Using SMS notification on RedHat with smstools In-Reply-To: References: Message-ID: Actually we did use teamtilt before but the client does not want to pay for it anymore :D I used SMS with Nagios before, though that was on a Debian Box using sms-cient, no problem with that. Sigmund Brandstaetter UNIX Systems Engineer ES APJ ITO Delivery HP Enterprise Services 63.922.433.1898 sun mobile | 632.397.3125 telephone | sigmund.brandstaetter at hp.com www.hp.com HP LOGO The information transmitted is intended solely for the individual or entity to which it is addressed and may contain Hewlett Packard Company confidential and/or privileged materil. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. From: Kimberly McKinnis [mailto:kim at conviva.com] Sent: Wednesday, November 16, 2011 03:11 To: Nagios Users List Subject: Re: [Nagios-users] Using SMS notification on RedHat with smstools I'm interested in finding out more, as we are currently building something custom to do this. Sigmund, have you used something else to do this previously? C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | kim at conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | From: "Brandstaetter, Sigmund" Reply-To: Nagios Users List Date: Tue, 15 Nov 2011 18:09:59 +0000 To: "nagios-users at lists.sourceforge.net" Subject: [Nagios-users] Using SMS notification on RedHat with smstools Hi Guys, I wonder if anybody can point me to a link for good manual on how to go about getting SMS Notification to work on a Redhat Box (5.7) using smstools. Nagios Version is: Nagios Core 3.3.1 USB Device used to send SMS: Huwai USB Stick I found a few but unfortunately nothing really recent. Thanks a lot cheers Sigmund ---------------------------------------------------------------------------- -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1__________________________________________ _____ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 1496 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6218 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 yuehung.liu at gmail.com Wed Nov 16 02:02:21 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 16 Nov 2011 09:02:21 +0800 Subject: How to limit the amout of SMS notifications? In-Reply-To: References: Message-ID: how about have another definition: define hostescalation{ host_name.....................................Test Switch first_notification.............................7 last_notification.............................0 notification_interval.......................5 contact_groups.............................admin sms escalation_options........................r } On Tue, Nov 15, 2011 at 10:50 PM, Andrew Thompson wrote: > Thanks Assaf > > > > I can a quick look at those but I didn?t think it suited my needs. > > > > Now I have had a play I have come up with the following > > > > (rules have slightly changed) > > > > Now I want the following > > > > Notification No.................Time Host > Down...................Notification Method > .........1................................3 > min.....................................Email............ > .........2................................8 > min.....................................Email............ > .........3...............................13 > min....................................Email, SMS.. > .........4...............................18 > min....................................Email............ > .........5...............................23 > min....................................Email............ > .........6...............................28 > min....................................Email............ > .........RECOVER.....................?????.....................................Email, > SMS.. > > > > > > I have managed it with the following escalations > > > > define hostescalation{ > host_name.....................................Test Switch > first_notification.............................1 > last_notification.............................5 > notification_interval.......................5 > contact_groups.............................admin email > escalation_options........................d,r > } > > define hostescalation{ > host_name.....................................Test Switch > first_notification.............................3 > last_notification.............................3 > notification_interval.......................5 > contact_groups.............................admin sms > escalation_options........................d,r > > } > > define hostescalation{ > host_name.....................................Test Switch > first_notification.............................6 > last_notification.............................0 > notification_interval.......................0 > contact_groups.............................admin email > escalation_options........................d,r > > } > > > > > > I get 6 emails as I should at N1-6, I get the SMS at N3. > > I also get the recovery email but I don?t get the recovery SMS. > > > > Is this because I told it not to text me again after N3, and this also > includes recovery alerts? > > > > Thanks > > > > > > > > > > > > Kind Regards > > Andrew > > > > From: Andrew Thompson > Sent: 15 November 2011 10:20 > To: 'nagios-users at lists.sourceforge.net' > Subject: How to limit the amout of SMS notifications? > > > > Hi all, > > > > I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. > > > > I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) > by PING only. > > > > Down hosts are notified to me via email and SMS at the moment. > > > > What I would like to so is limit the amount of SMS messages that are sent > from my Nokia phone connected to my Ubuntu box. > > > > As it stands I allow 3 checks 1 minute apart before I am alerted via email ? > after that I am alerted via email every 5 minutes until recovery. > > > > I have just implemented the phone to SMS alerts aswell but I want to limit > the amount of texts as I don?t want a text every 5 minutes until recovery > for sanity reasons and also cost reasons! > > > > This is what I would like to happen If a host goes down: > > > > Email and SMS to be sent out on the 3rd failed check to the host (So 1st > alert is sent out after 3 minutes of the host being down.) > > > > Then?? > > > > I want to be alerted via email every 5 minutes until the host recovers > > > > But?? > > > > I only want 2 more SMS after the initial SMS, 5 minutes apart and then no > more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 > minutes of the host being down, then a recovery SMS. > > > > Is this possible? > > > > Thanks in advance > > > > > > > > > > Kind Regards > > Andrew > > > > T: 01386 834000 > F: 01386 834100 > > Andrew at fulgent.co.uk > www.fulgent.co.uk > > > > Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, > WR11 8JJ. This communication contains information which is confidential and > may also be privileged or protected by copyright. It is for the exclusive > use of the addressee. If you are not the addressee please note that any > distribution, reproduction, copying, publication or use of this > communication or the information is prohibited. If you have received this > communication in error, please telephone us immediately and also delete the > communication from your computer. > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Nov 16 02:15:23 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 16 Nov 2011 09:15:23 +0800 Subject: object inheritance - overwrite custom variables? In-Reply-To: <4EC2ABD8.1000600@kvistmail.dk> References: <4EC2ABD8.1000600@kvistmail.dk> Message-ID: When you use multiple inheritance sources, Nagios will use the variable/value from the first source that is specified in the use directive. On Wed, Nov 16, 2011 at 2:13 AM, Anders Kvist wrote: > Hey > > I have tried to use object inheritance in my nagios config, but a few > things are bugging me: > > I have a linux-server which uses generic-server and sets up default > settings for all my linux servers. I have some templates for tasks, in > this case: storage, kvm and hardware. They only add the hostgroup (and > gets services this way) and have some custom variables. Here is an example: > > define host{ > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ? storage-server > ? ? ? ?hostgroups ? ? ? ? ? ? ? ? ? ? ? +storage-servers > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ? 0 > > ? ? ? ?__PROCS_WARN ? ? ? ? ? ? ? ? ? ? 500 > ? ? ? ?__PROCS_CRIT ? ? ? ? ? ? ? ? ? ? 750 > ? ? ? ?} > > A kvm host is defined with 'use linux-server,kvm-server,hardware-server' > and storage host with 'use linux-server,storage-server,hardware-server'. > Here is an example of a storage host: > > define host{ > ? ? ? ? use ? ? ? ? ? ? linux-server,storage-server,hardware-server > ? ? ? ? host_name ? ? ? storage01.domain.tld > ? ? ? ? alias ? ? ? ? ? storage01 > ? ? ? ? address ? ? ? ? xxx.xxx.xxx.xxx > } > > > Hostgroups work fine (even tough the lists of hostgroups on a host in > the webinterface isn't in the same order as the use-line), but custom > variables doesn't. I have a __PROCS_WARN and __PROCS_CRIT in > linux-servers with a default number of max processes before warning and > critical - this needs to be overwritten for kvm-server and > storage-server, because they have more processes - but the one from > linux-server is used in both cases... > > What do I need to do to make this work as expected? > > /Anders > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders at kvistmail.dk Wed Nov 16 09:28:21 2011 From: anders at kvistmail.dk (Anders Kvist) Date: Wed, 16 Nov 2011 09:28:21 +0100 Subject: object inheritance - overwrite custom variables? In-Reply-To: References: <4EC2ABD8.1000600@kvistmail.dk> Message-ID: <4EC37425.4000304@kvistmail.dk> Thanks! So simple :D /Anders On 2011-11-16 02:15, Yueh-Hung Liu wrote: > When you use multiple inheritance sources, Nagios will use the > variable/value from the first source that is specified in the use > directive. > > > On Wed, Nov 16, 2011 at 2:13 AM, Anders Kvist wrote: >> Hey >> >> I have tried to use object inheritance in my nagios config, but a few >> things are bugging me: >> >> I have a linux-server which uses generic-server and sets up default >> settings for all my linux servers. I have some templates for tasks, in >> this case: storage, kvm and hardware. They only add the hostgroup (and >> gets services this way) and have some custom variables. Here is an example: >> >> define host{ >> name storage-server >> hostgroups +storage-servers >> register 0 >> >> __PROCS_WARN 500 >> __PROCS_CRIT 750 >> } >> >> A kvm host is defined with 'use linux-server,kvm-server,hardware-server' >> and storage host with 'use linux-server,storage-server,hardware-server'. >> Here is an example of a storage host: >> >> define host{ >> use linux-server,storage-server,hardware-server >> host_name storage01.domain.tld >> alias storage01 >> address xxx.xxx.xxx.xxx >> } >> >> >> Hostgroups work fine (even tough the lists of hostgroups on a host in >> the webinterface isn't in the same order as the use-line), but custom >> variables doesn't. I have a __PROCS_WARN and __PROCS_CRIT in >> linux-servers with a default number of max processes before warning and >> critical - this needs to be overwritten for kvm-server and >> storage-server, because they have more processes - but the one from >> linux-server is used in both cases... >> >> What do I need to do to make this work as expected? >> >> /Anders >> >> ------------------------------------------------------------------------------ >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 16 11:15:31 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 16 Nov 2011 11:15:31 +0100 Subject: R: configuration tool In-Reply-To: References: <004501cca376$3a5529f0$aeff7dd0$@it.net> Message-ID: <008d01cca448$b200a8d0$1601fa70$@it.net> Well, I read the docs, I installed nagiosql, but I can?t access via web Actually I have installed NagiosQL in a server with both Nagios and Mysql (under /usr/local/nagios/nagiosql dir). Could be a web server problem because the httpd logs tell me that it searchs nagiosql inside the usr/local/nagios/share dir. I don?t find any info regarding the web server configuration..any idea? Regards Marco Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: marted? 15 novembre 2011 11:43 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] configuration tool I use NagioSQL and it supports remote configuration. Ciao, Giorgio Il giorno 15/nov/2011, alle ore 10:08, "Marco Borsani" ha scritto: Hi all I am using following configurations: Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), node ?2? running mysql Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql I?d like to use one of the configuration tool (one on each site , or one for all the sites?it will depend if it is possible), but I am not sure that ?NConf?, ?NagiosQL?, etc. can support this configuration. For example, I read that ?NConf? require Nagios Core and Mysql both in the same server, is it true ? May you give me any info? 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 ? ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -------------- 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 AHKAPLAN at PARTNERS.ORG Wed Nov 16 18:40:33 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 16 Nov 2011 12:40:33 -0500 Subject: Monitoring a Microsoft SQL Server Message-ID: Hi there -- I am trying to monitor several Microsoft SQL Server 2008R2 systems, and I am experimenting with several plugins. The first plugin that I am testing is the check_mssql plugin. I am having problems gaining access to the server, and I am not sure where the syntax error is in the command. The command syntax that is being used is the following: ./check_mssql -H -U -P The username being entered is a domain user account. The name is used either by itself or as \. All attempts have resulted in the following error: CRITICAL: Could not connect to as . Another plugin that I am testing is the check_mssql_health plugin. Using the command syntax shown below: ./check_mssql_health --hostname= --username= --password= --mode=connection-time The username here is the same as that used in the previous plugin. The connection attempts all failed with the following error message appearing on-screen: CRITICAL - cannot connect to 172.27.45.252. DBI connect(';host=172.27.45.252;port=1433','ahk',...) failed: (no error string) at ./check_mssql_health line 2175 Has anyone had success working with either of these plugins, and if so, what would be the correct syntax to use here? Also, the SQL servers all have the OpMon agent installed on them as a means to monitor disk space usage, and other services. Does OpMon have the means, or is there a plugin that can be installed on the Windows servers that would enable the monitoring of the SQL servers? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 mikec at aggregateknowledge.com Wed Nov 16 22:33:49 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Wed, 16 Nov 2011 13:33:49 -0800 Subject: Presumed service dependencies? Message-ID: <4EC42C3D.3060708@aggregateknowledge.com> Is there a way to tell Nagios that I want all services on a host to be dependent on that host without having to write a separate servicedependency for every single service? I can't even conceive of a situation where, when a host is down, I still want to get notified for all of its services being down too. Hopefully I'm just missing something simple... Ideally I'd like to set this globally, in fact. Thanks, Mike ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spookza at gmail.com Thu Nov 17 08:43:24 2011 From: spookza at gmail.com (Spook ZA) Date: Thu, 17 Nov 2011 09:43:24 +0200 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: Hi. On 16 November 2011 19:40, Kaplan, Andrew H. wrote: > I am trying to monitor several Microsoft SQL Server 2008R2 systems, and I am experimenting with several plugins. > > The first plugin that I am testing is the check_mssql plugin. I am having problems gaining access to the server, > and I am not sure where the syntax error is in the command. The command syntax that is being used is the following: > > ./check_mssql -H -U -P > > The username being entered is a domain user account. The name is used either by itself or as \. > All attempts have resulted in the following error: > > CRITICAL: Could not connect to as . > > Another plugin that I am testing is the check_mssql_health plugin. Using the command syntax shown below: > > ./check_mssql_health --hostname= --username= --password= --mode=connection-time You may have to escape the backslash - i.e. domain\\username I have not used these plugins as yet but have had similar issues in other areas when trying to connect to a windows platform. > > The username here is the same as that used in the previous plugin. The connection attempts all failed with the > following error message appearing on-screen: > > CRITICAL - cannot connect to 172.27.45.252. DBI connect(';host=172.27.45.252;port=1433','ahk',...) > failed: (no error string) at ./check_mssql_health line 2175 > > Has anyone had success working with either of these plugins, and if so, what would be the correct syntax to use here? > Regards, Andy. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 17 10:00:05 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 17 Nov 2011 09:00:05 +0000 Subject: Presumed service dependencies? In-Reply-To: <4EC42C3D.3060708@aggregateknowledge.com> References: <4EC42C3D.3060708@aggregateknowledge.com> Message-ID: On Wed, Nov 16, 2011 at 9:33 PM, Mike Chesnut wrote: > Is there a way to tell Nagios that I want all services on a host to be > dependent on that host without having to write a separate > servicedependency for every single service? I can't even conceive of a > situation where, when a host is down, I still want to get notified for > all of its services being down too. > > Hopefully I'm just missing something simple... Ideally I'd like to set > this globally, in fact. > > Unless i am missing something that is the default behaviour, or at least how it works for us =) Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Thanks, > Mike > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 elkourchali at gmail.com Thu Nov 17 11:40:27 2011 From: elkourchali at gmail.com (Mohammed EL KOURCHALI) Date: Thu, 17 Nov 2011 10:40:27 +0000 Subject: Need plugin to retrieve a variable status of snmp trap using passive service Message-ID: Hi all, I'm looking for a plugin or script to retrieve variable value from snmp trap using passive service. My remote device send snmp traps with many variables, so i wont too assign each variable to one passive service. I try duplicating snmp traps on snmptt-XX.conf and use snmptt MATCH expression, but i had a strange behavior; my service doesn't receive anything. Thank you so much for your help, elkourchali nagios-junior -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Nov 17 12:21:40 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 17 Nov 2011 12:21:40 +0100 Subject: R: configuration tool In-Reply-To: References: <004501cca376$3a5529f0$aeff7dd0$@it.net> Message-ID: <009601cca51b$1a426280$4ec72780$@it.net> Now , web pages are ok. Have anybody installed nagiosql and MySQL in different hosts ? I think to install nagiosql in the same server than Nagios and keeping MySQL DB in the other ? but I have some grant problem (?Access denied for user root at ip-address? during the creation of NagiosQL MySQL user). Marco Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: marted? 15 novembre 2011 11:43 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] configuration tool I use NagioSQL and it supports remote configuration. Ciao, Giorgio Il giorno 15/nov/2011, alle ore 10:08, "Marco Borsani" ha scritto: Hi all I am using following configurations: Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), node ?2? running mysql Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql I?d like to use one of the configuration tool (one on each site , or one for all the sites?it will depend if it is possible), but I am not sure that ?NConf?, ?NagiosQL?, etc. can support this configuration. For example, I read that ?NConf? require Nagios Core and Mysql both in the same server, is it true ? May you give me any info? 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 ? ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Thu Nov 17 12:38:20 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 17 Nov 2011 12:38:20 +0100 Subject: R: configuration tool In-Reply-To: <009601cca51b$1a426280$4ec72780$@it.net> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> <009601cca51b$1a426280$4ec72780$@it.net> Message-ID: <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> It's just a MySQL right access problem. Please, describe what you are doing, step by step, so we can debug and help you. As a first hint I suggest you to create on mysql db a user ''root'@'yournagiosqlwebserverip' W?rth a GRANT ALL ON *.* Then on mysql server issue a 'flush privileges' Then, ho on with nagiosql installation and at the end remote from mysql server the root'@'yournagiosqlwebserverip' and flush again the privileges. Ciao, Giorgio Il giorno 17/nov/2011, alle ore 12:21, "Marco Borsani" ha scritto: > Now , web pages are ok. > > Have anybody installed nagiosql and MySQL in different hosts ? > > I think to install nagiosql in the same server than Nagios and keeping MySQL DB in the other ? but I have some grant problem (?Access denied for user root at ip-address? during the creation of NagiosQL MySQL user). > > Marco > > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: marted? 15 novembre 2011 11:43 > A: Nagios Users List > Cc: NAGIOS > Oggetto: Re: [Nagios-users] configuration tool > > I use NagioSQL and it supports remote configuration. > > Ciao, > > Giorgio > > Il giorno 15/nov/2011, alle ore 10:08, "Marco Borsani" ha scritto: > > Hi all > > I am using following configurations: > > Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), node ?2? running mysql > Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql > Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql > > I?d like to use one of the configuration tool (one on each site , or one for all the sites?it will depend if it is possible), but I am not sure that ?NConf?, ?NagiosQL?, etc. can support this configuration. > For example, I read that ?NConf? require Nagios Core and Mysql both in the same server, is it true ? > > May you give me any info? > > 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 ? > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Nov 17 14:24:23 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 17 Nov 2011 14:24:23 +0100 Subject: R: R: configuration tool In-Reply-To: <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> <009601cca51b$1a426280$4ec72780$@it.net> <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> Message-ID: <00b901cca52c$3ec629a0$bc527ce0$@it.net> I agree, because I have No problem if I install nagiosql in the MySQL server. I already add a couple of user with grant as follow: On MySQL Server MySQL> create user root@ ; MySQL> grant all on mysql.* to root@?' identified by 'password'; MySQL> grant all on db_nagiosql_v3.* to root@?' identified by 'password'; MySQL> flush privileges ; but I still received : Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: gioved? 17 novembre 2011 12:38 A: Marco Borsani Cc: Nagios Users List Oggetto: Re: R: [Nagios-users] configuration tool It's just a MySQL right access problem. Please, describe what you are doing, step by step, so we can debug and help you. As a first hint I suggest you to create on mysql db a user ''root'@'yournagiosqlwebserverip' W?rth a GRANT ALL ON *.* Then on mysql server issue a 'flush privileges' Then, ho on with nagiosql installation and at the end remote from mysql server the root'@'yournagiosqlwebserverip' and flush again the privileges. Ciao, Giorgio Il giorno 17/nov/2011, alle ore 12:21, "Marco Borsani" ha scritto: Now , web pages are ok. Have anybody installed nagiosql and MySQL in different hosts ? I think to install nagiosql in the same server than Nagios and keeping MySQL DB in the other ? but I have some grant problem (?Access denied for user root at ip-address? during the creation of NagiosQL MySQL user). Marco Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: marted? 15 novembre 2011 11:43 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] configuration tool I use NagioSQL and it supports remote configuration. Ciao, Giorgio Il giorno 15/nov/2011, alle ore 10:08, "Marco Borsani" ha scritto: Hi all I am using following configurations: Site A: 2 server in cluster ? node ?1? running nagios 3.3.1 (and NSCA), node ?2? running mysql Site B: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql Site C: 2 server in cluster ? node ?1? running nagios 3.3.1 (send info with send_nsca to site A), node ?2? running mysql I?d like to use one of the configuration tool (one on each site , or one for all the sites?it will depend if it is possible), but I am not sure that ?NConf?, ?NagiosQL?, etc. can support this configuration. For example, I read that ?NConf? require Nagios Core and Mysql both in the same server, is it true ? May you give me any info? 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 ? ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 48306 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Thu Nov 17 14:38:50 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 17 Nov 2011 14:38:50 +0100 (CET) Subject: R: R: configuration tool In-Reply-To: <00b901cca52c$3ec629a0$bc527ce0$@it.net> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> <009601cca51b$1a426280$4ec72780$@it.net> <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> <00b901cca52c$3ec629a0$bc527ce0$@it.net> Message-ID: Hi, > MySQL> grant all on mysql.* to root@???' identified by > 'password'; Try MySQL> grant all on *.* to root@% identified by 'password'; It will allow connection as root from ANY host/hostname and will give ALL privileges on ALL databases. As I told before: REMOVE this user as soon as you complete NagioSQL installation. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.duffy at brandtone.ie Thu Nov 17 15:16:02 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 14:16:02 +0000 Subject: Oracle plugin Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> Hi, I have installed the "check_oracle_instance" plugin but I am having some issues with sqlplus. http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details The nagios compiles correctly so the config is good however when I attempt to connect to the db via my nagios server I get the following: # which sqlplus /usr/bin/sqlplus # sqlplus username/passowrd at ip_address:port/SSID #substituted with my own credentials sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root The lib is available: # find / -name libsqlplus.so /usr/local/instantclient_10_2/libsqlplus.so # ll /usr/local/instantclient_10_2/libsqlplus.so -rwxrwxrwx 1 root root 865995 Nov 17 12:05 /usr/local/instantclient_10_2/libsqlplus.so Any ideas how I can resolve this? R, D. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 ismael.puerto at seres.es Thu Nov 17 15:55:49 2011 From: ismael.puerto at seres.es (Ismael Puerto) Date: Thu, 17 Nov 2011 15:55:49 +0100 Subject: Oracle plugin In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> Message-ID: <4EC52075.501@seres.es> ln -s/usr/local/instantclient_10_2/libsqlplus.so/usr/lib/libsqlplus.so On 11/17/2011 03:16 PM, Dermot Duffy wrote: > > Hi, > > > > I have installed the "check_oracle_instance" plugin but I am having > some issues with sqlplus. > > > > http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details > > > > The nagios compiles correctly so the config is good however when I > attempt to connect to the db via my nagios server I get the following: > > > > # which sqlplus > > /usr/bin/sqlplus > > > > # sqlplus username/passowrd at ip_address:port/SSID > #substituted with my own credentials > > sqlplus: error while loading shared libraries: libsqlplus.so: cannot > open shared object file: No such file or directory > > You have new mail in /var/spool/mail/root > > > > The lib is available: > > # find / -name libsqlplus.so > > /usr/local/instantclient_10_2/libsqlplus.so > > > > # ll /usr/local/instantclient_10_2/libsqlplus.so > > -rwxrwxrwx 1 root root 865995 Nov 17 12:05 > /usr/local/instantclient_10_2/libsqlplus.so > > > > Any ideas how I can resolve this? > > > > R, > > D. > > > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Thu Nov 17 16:17:26 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 17 Nov 2011 10:17:26 -0500 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: Hi there -- Thanks for your reply. I tried your suggestion on the two plugins, and here are the results. When the command syntax for check_mssql was the following: ./check_mssql -H -U \\ -P or ./check_mssql -H -U '\\' -P The error message displayed on-screen was: UNKNOWN: Invalid characters in the username. Using a similar command syntax with check_mssql_health: ./check_mssql_health --hostname= --username=\\ --password= --mode=connection-time Resulted in the following: CRITICAL - cannot connect to 172.27.45.6. DBI connect(';host=;port=1433','\',...) failed: (no error string) at ./check_mssql_health line 2175 One thought came to mind: It is possible the port that is the target of either script, 1433, may not be the correct one. Is there a way to determine what port the SQL server has open? -----Original Message----- From: Spook ZA [mailto:spookza at gmail.com] Sent: Thursday, November 17, 2011 2:43 AM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server Hi. On 16 November 2011 19:40, Kaplan, Andrew H. wrote: > I am trying to monitor several Microsoft SQL Server 2008R2 systems, and I am experimenting with several plugins. > > The first plugin that I am testing is the check_mssql plugin. I am having problems gaining access to the server, > and I am not sure where the syntax error is in the command. The command syntax that is being used is the following: > > ./check_mssql -H -U -P > > The username being entered is a domain user account. The name is used either by itself or as \. > All attempts have resulted in the following error: > > CRITICAL: Could not connect to as . > > Another plugin that I am testing is the check_mssql_health plugin. Using the command syntax shown below: > > ./check_mssql_health --hostname= --username= --password= --mode=connection-time You may have to escape the backslash - i.e. domain\\username I have not used these plugins as yet but have had similar issues in other areas when trying to connect to a windows platform. > > The username here is the same as that used in the previous plugin. The connection attempts all failed with the > following error message appearing on-screen: > > CRITICAL - cannot connect to 172.27.45.252. DBI connect(';host=172.27.45.252;port=1433','ahk',...) > failed: (no error string) at ./check_mssql_health line 2175 > > Has anyone had success working with either of these plugins, and if so, what would be the correct syntax to use here? > Regards, Andy. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.duffy at brandtone.ie Thu Nov 17 16:20:11 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 15:20:11 +0000 Subject: Oracle plugin In-Reply-To: <4EC52075.501@seres.es> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <4EC52075.501@seres.es> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local> Hi, Thanks for the feedback but it unfortunately makes no difference..... # ln -s /usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so # # sqlplus username/passowrd at ip_address:port/SSID sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 17 November 2011 14:56 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin ln -s/usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so On 11/17/2011 03:16 PM, Dermot Duffy wrote: Hi, I have installed the "check_oracle_instance" plugin but I am having some issues with sqlplus. http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details The nagios compiles correctly so the config is good however when I attempt to connect to the db via my nagios server I get the following: # which sqlplus /usr/bin/sqlplus # sqlplus username/passowrd at ip_address:port/SSID #substituted with my own credentials sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root The lib is available: # find / -name libsqlplus.so /usr/local/instantclient_10_2/libsqlplus.so # ll /usr/local/instantclient_10_2/libsqlplus.so -rwxrwxrwx 1 root root 865995 Nov 17 12:05 /usr/local/instantclient_10_2/libsqlplus.so Any ideas how I can resolve this? R, D. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Steve.Onotsky at broadridge.com Thu Nov 17 15:57:49 2011 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Thu, 17 Nov 2011 09:57:49 -0500 Subject: Oracle plugin In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> Message-ID: <30A417B62E7EE448B3864ADC881CEFD61307F6E0@missemsa01.bsg.ad.adp.com> >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] >Sent: Thursday, November 17, 2011 9:16 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Oracle plugin ># sqlplus username/passowrd at ip_address:port/SSID?? ??????????????? #substituted with my own credentials >sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory >You have new mail in /var/spool/mail/root > >The lib is available: ># find / -name libsqlplus.so >/usr/local/instantclient_10_2/libsqlplus.so > ># ll /usr/local/instantclient_10_2/libsqlplus.so >-rwxrwxrwx 1 root root 865995 Nov 17 12:05 /usr/local/instantclient_10_2/libsqlplus.so > >Any ideas how I can resolve this? Is /usr/local/instantclient_10_2 part of LIBPATH (possibly LD_LIBRARY_PATH)? \sao This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.duffy at brandtone.ie Thu Nov 17 16:31:43 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 15:31:43 +0000 Subject: Oracle plugin In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD61307F6E0@missemsa01.bsg.ad.adp.com> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <30A417B62E7EE448B3864ADC881CEFD61307F6E0@missemsa01.bsg.ad.adp.com> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E4DAD@pemexmbx12.hosting.local> Yes the check_oracle_instance file sets the path as follows: $ENV{"LD_LIBRARY_PATH"} = "/usr/local/instantclient_10_2/"; R, D. -----Original Message----- From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 17 November 2011 14:58 To: Nagios Users List Subject: Re: [Nagios-users] Oracle plugin >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] >Sent: Thursday, November 17, 2011 9:16 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Oracle plugin ># sqlplus username/passowrd at ip_address:port/SSID?? ??????????????? >#substituted with my own credentials >sqlplus: error while loading shared libraries: libsqlplus.so: cannot >open shared object file: No such file or directory You have new mail in >/var/spool/mail/root > >The lib is available: ># find / -name libsqlplus.so >/usr/local/instantclient_10_2/libsqlplus.so > ># ll /usr/local/instantclient_10_2/libsqlplus.so >-rwxrwxrwx 1 root root 865995 Nov 17 12:05 >/usr/local/instantclient_10_2/libsqlplus.so > >Any ideas how I can resolve this? Is /usr/local/instantclient_10_2 part of LIBPATH (possibly LD_LIBRARY_PATH)? \sao This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.duffy at brandtone.ie Thu Nov 17 16:33:06 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 15:33:06 +0000 Subject: Oracle plugin In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD61307F6E0@missemsa01.bsg.ad.adp.com> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <30A417B62E7EE448B3864ADC881CEFD61307F6E0@missemsa01.bsg.ad.adp.com> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E4DB9@pemexmbx12.hosting.local> I now get the following: # ldd /usr/bin/sqlplus /usr/bin/sqlplus: error while loading shared libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not little-endian -----Original Message----- From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 17 November 2011 14:58 To: Nagios Users List Subject: Re: [Nagios-users] Oracle plugin >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] >Sent: Thursday, November 17, 2011 9:16 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Oracle plugin ># sqlplus username/passowrd at ip_address:port/SSID?? ??????????????? >#substituted with my own credentials >sqlplus: error while loading shared libraries: libsqlplus.so: cannot >open shared object file: No such file or directory You have new mail in >/var/spool/mail/root > >The lib is available: ># find / -name libsqlplus.so >/usr/local/instantclient_10_2/libsqlplus.so > ># ll /usr/local/instantclient_10_2/libsqlplus.so >-rwxrwxrwx 1 root root 865995 Nov 17 12:05 >/usr/local/instantclient_10_2/libsqlplus.so > >Any ideas how I can resolve this? Is /usr/local/instantclient_10_2 part of LIBPATH (possibly LD_LIBRARY_PATH)? \sao This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jimavery.me.uk Thu Nov 17 16:34:39 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 17 Nov 2011 15:34:39 +0000 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: On 17 November 2011 15:17, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I tried your suggestion on the two plugins, and here are > the results. > > When the command syntax for check_mssql was the following: > > ./check_mssql -H -U \\ -P > > or > > ./check_mssql -H -U '\\' -P > > The error message displayed on-screen was: > > UNKNOWN: Invalid characters in the username. The check_mssql plugin is way too fussy about what characters it will allow in host names and user names. On my system I edited the plugin to remove the if/else sections entirely below the comments "// Validate the hostname" and "// Validate the username". hth, Jim ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 16:45:55 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 17 Nov 2011 16:45:55 +0100 Subject: I: R: R: configuration tool References: <004501cca376$3a5529f0$aeff7dd0$@it.net> <009601cca51b$1a426280$4ec72780$@it.net> <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> <00b901cca52c$3ec629a0$bc527ce0$@it.net> Message-ID: <012d01cca540$04997e80$0dcc7b80$@it.net> Nothing happen, I still have same problem. Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: gioved? 17 novembre 2011 14:39 A: Marco Borsani Cc: 'Giorgio Zarrelli'; 'Nagios Users List' Oggetto: Re: R: R: [Nagios-users] configuration tool Hi, > MySQL> grant all on mysql.* to root@???' identified > MySQL> by > 'password'; Try MySQL> grant all on *.* to root@% identified by 'password'; It will allow connection as root from ANY host/hostname and will give ALL privileges on ALL databases. As I told before: REMOVE this user as soon as you complete NagioSQL installation. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ismael.puerto at seres.es Thu Nov 17 16:57:09 2011 From: ismael.puerto at seres.es (Ismael Puerto) Date: Thu, 17 Nov 2011 16:57:09 +0100 Subject: Oracle plugin In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <4EC52075.501@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local> Message-ID: <4EC52ED5.4010908@seres.es> Do yo have ORACLE_LIB? #echo $ORACLE_LIB On 11/17/2011 04:20 PM, Dermot Duffy wrote: > > Hi, > > > > Thanks for the feedback but it unfortunately makes no difference..... > > > > # ln -s /usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so > > # > > # sqlplus username/passowrd at ip_address:port/SSID > > sqlplus: error while loading shared libraries: libclntsh.so.11.1: > cannot open shared object file: No such file or directory > > You have new mail in /var/spool/mail/root > > > > > > *From:*Ismael Puerto [mailto:ismael.puerto at seres.es] > *Sent:* 17 November 2011 14:56 > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Oracle plugin > > > > ln -s/usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so > > On 11/17/2011 03:16 PM, Dermot Duffy wrote: > > Hi, > > > > I have installed the "check_oracle_instance" plugin but I am having > some issues with sqlplus. > > > > http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details > > > > The nagios compiles correctly so the config is good however when I > attempt to connect to the db via my nagios server I get the following: > > > > # which sqlplus > > /usr/bin/sqlplus > > > > # sqlplus username/passowrd at ip_address:port/SSID > #substituted with my own credentials > > sqlplus: error while loading shared libraries: libsqlplus.so: cannot > open shared object file: No such file or directory > > You have new mail in /var/spool/mail/root > > > > The lib is available: > > # find / -name libsqlplus.so > > /usr/local/instantclient_10_2/libsqlplus.so > > > > # ll /usr/local/instantclient_10_2/libsqlplus.so > > -rwxrwxrwx 1 root root 865995 Nov 17 12:05 > /usr/local/instantclient_10_2/libsqlplus.so > > > > Any ideas how I can resolve this? > > > > R, > > D. > > > > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 dermot.duffy at brandtone.ie Thu Nov 17 17:05:15 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 16:05:15 +0000 Subject: Oracle plugin In-Reply-To: <4EC52ED5.4010908@seres.es> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <4EC52075.501@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local> <4EC52ED5.4010908@seres.es> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local> No, oracle is not installed on this box. Am trying to connect from the nagios server to the oracle db server via sqlplus. From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 17 November 2011 15:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin Do yo have ORACLE_LIB? #echo $ORACLE_LIB On 11/17/2011 04:20 PM, Dermot Duffy wrote: Hi, Thanks for the feedback but it unfortunately makes no difference..... # ln -s /usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so # # sqlplus username/passowrd at ip_address:port/SSID sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 17 November 2011 14:56 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin ln -s/usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so On 11/17/2011 03:16 PM, Dermot Duffy wrote: Hi, I have installed the "check_oracle_instance" plugin but I am having some issues with sqlplus. http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details The nagios compiles correctly so the config is good however when I attempt to connect to the db via my nagios server I get the following: # which sqlplus /usr/bin/sqlplus # sqlplus username/passowrd at ip_address:port/SSID #substituted with my own credentials sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root The lib is available: # find / -name libsqlplus.so /usr/local/instantclient_10_2/libsqlplus.so # ll /usr/local/instantclient_10_2/libsqlplus.so -rwxrwxrwx 1 root root 865995 Nov 17 12:05 /usr/local/instantclient_10_2/libsqlplus.so Any ideas how I can resolve this? R, D. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Thu Nov 17 17:23:04 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 17 Nov 2011 17:23:04 +0100 Subject: check_openmanage plugin: " Couldn't run command ..." In-Reply-To: (Corcoran Smith's message of "Mon, 14 Nov 2011 11:49:22 +0000") References: Message-ID: <15tobwan2fr.fsf@tux.uio.no> Corcoran Smith writes: > First message, so please excuse any failures in format, etc! > > Got two issues with two boxes (out of 160!) using check_openmanage: > > 1) Couldn't run command 'c:\pro... ' etc > 2) U nrecognized character xA8: marked by <-- HERE after <-- HERE near column 1 at /loader/HASH(0xa7c42c)/UNIVERSAL.pm line 1. > > both are using the windows exe Hi Corcoran, I'll need more data to debug the first issue, e.g. the full error message from the plugin. Unless they appear on the same server(?), in which case issue 1 is probably caused by issue 2. Regarding issue 2, I've seen this once before. A disk was so damaged that OMSA failed while getting info from it, and gave an error message like above: "unrecognized character...". This output is not something that the plugin doesn't expect and couldn't possibly prepare for, so it throws an error. You need to identify the failed component, it probably needs to be replaced. Try running 'omreport' commands to find it. Start with 'omreport storage pdisk controller=0'. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ismael.puerto at seres.es Thu Nov 17 17:29:56 2011 From: ismael.puerto at seres.es (Ismael Puerto) Date: Thu, 17 Nov 2011 17:29:56 +0100 Subject: Oracle plugin In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <4EC52075.501@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local> <4EC52ED5.4010908@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local> Message-ID: <4EC53684.7010200@seres.es> For your info: This is the library necessary for execute sqlplus [root at openbravo ~]# ldd /usr/oracle/product/11.2.0/bin/sqlplus linux-vdso.so.1 => (0x00007fffe74b3000) libsqlplus.so => /usr/oracle/product/11.2.0/lib/libsqlplus.so (0x00002b93dc626000) libclntsh.so.11.1 => /usr/oracle/product/11.2.0/lib/libclntsh.so.11.1 (0x00002b93dc80d000) libnnz11.so => /usr/oracle/product/11.2.0/lib/libnnz11.so (0x00002b93df148000) libdl.so.2 => /lib64/libdl.so.2 (0x000000312f200000) libm.so.6 => /lib64/libm.so.6 (0x000000312f600000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000000312fa00000) libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003132a00000) libc.so.6 => /lib64/libc.so.6 (0x000000312ee00000) libaio.so.1 => /usr/lib64/libaio.so.1 (0x00002b93df521000) /lib64/ld-linux-x86-64.so.2 (0x000000312ea00000) On 11/17/2011 05:05 PM, Dermot Duffy wrote: > > No, oracle is not installed on this box. Am trying to connect from > the nagios server to the oracle db server via sqlplus. > > > > *From:*Ismael Puerto [mailto:ismael.puerto at seres.es] > *Sent:* 17 November 2011 15:57 > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Oracle plugin > > > > Do yo have ORACLE_LIB? > > #echo $ORACLE_LIB > > On 11/17/2011 04:20 PM, Dermot Duffy wrote: > > Hi, > > > > Thanks for the feedback but it unfortunately makes no difference..... > > > > # ln -s /usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so > > # > > # sqlplus username/passowrd at ip_address:port/SSID > > sqlplus: error while loading shared libraries: libclntsh.so.11.1: > cannot open shared object file: No such file or directory > > You have new mail in /var/spool/mail/root > > > > > > *From:*Ismael Puerto [mailto:ismael.puerto at seres.es] > *Sent:* 17 November 2011 14:56 > *To:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Oracle plugin > > > > ln -s/usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so > > On 11/17/2011 03:16 PM, Dermot Duffy wrote: > > Hi, > > > > I have installed the "check_oracle_instance" plugin but I am having > some issues with sqlplus. > > > > http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details > > > > The nagios compiles correctly so the config is good however when I > attempt to connect to the db via my nagios server I get the following: > > > > # which sqlplus > > /usr/bin/sqlplus > > > > # sqlplus username/passowrd at ip_address:port/SSID > #substituted with my own credentials > > sqlplus: error while loading shared libraries: libsqlplus.so: cannot > open shared object file: No such file or directory > > You have new mail in /var/spool/mail/root > > > > The lib is available: > > # find / -name libsqlplus.so > > /usr/local/instantclient_10_2/libsqlplus.so > > > > # ll /usr/local/instantclient_10_2/libsqlplus.so > > -rwxrwxrwx 1 root root 865995 Nov 17 12:05 > /usr/local/instantclient_10_2/libsqlplus.so > > > > Any ideas how I can resolve this? > > > > R, > > D. > > > > > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 dermot.duffy at brandtone.ie Thu Nov 17 17:48:30 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 16:48:30 +0000 Subject: Oracle plugin In-Reply-To: <4EC53684.7010200@seres.es> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local> <4EC52075.501@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local> <4EC52ED5.4010908@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local> <4EC53684.7010200@seres.es> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> I brought the sqlplus binary across from the db server but I get the following error.. # ldd /usr/local/instantclient_10_2/sqlplus /usr/local/instantclient_10_2/sqlplus: error while loading shared libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not little-endian Is there any way to load these shared libraries onto the nagios server? From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 17 November 2011 16:30 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin For your info: This is the library necessary for execute sqlplus [root at openbravo ~]# ldd /usr/oracle/product/11.2.0/bin/sqlplus linux-vdso.so.1 => (0x00007fffe74b3000) libsqlplus.so => /usr/oracle/product/11.2.0/lib/libsqlplus.so (0x00002b93dc626000) libclntsh.so.11.1 => /usr/oracle/product/11.2.0/lib/libclntsh.so.11.1 (0x00002b93dc80d000) libnnz11.so => /usr/oracle/product/11.2.0/lib/libnnz11.so (0x00002b93df148000) libdl.so.2 => /lib64/libdl.so.2 (0x000000312f200000) libm.so.6 => /lib64/libm.so.6 (0x000000312f600000) libpthread.so.0 => /lib64/libpthread.so.0 (0x000000312fa00000) libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003132a00000) libc.so.6 => /lib64/libc.so.6 (0x000000312ee00000) libaio.so.1 => /usr/lib64/libaio.so.1 (0x00002b93df521000) /lib64/ld-linux-x86-64.so.2 (0x000000312ea00000) On 11/17/2011 05:05 PM, Dermot Duffy wrote: No, oracle is not installed on this box. Am trying to connect from the nagios server to the oracle db server via sqlplus. From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 17 November 2011 15:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin Do yo have ORACLE_LIB? #echo $ORACLE_LIB On 11/17/2011 04:20 PM, Dermot Duffy wrote: Hi, Thanks for the feedback but it unfortunately makes no difference..... # ln -s /usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so # # sqlplus username/passowrd at ip_address:port/SSID sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root From: Ismael Puerto [mailto:ismael.puerto at seres.es] Sent: 17 November 2011 14:56 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin ln -s/usr/local/instantclient_10_2/libsqlplus.so /usr/lib/libsqlplus.so On 11/17/2011 03:16 PM, Dermot Duffy wrote: Hi, I have installed the "check_oracle_instance" plugin but I am having some issues with sqlplus. http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details The nagios compiles correctly so the config is good however when I attempt to connect to the db via my nagios server I get the following: # which sqlplus /usr/bin/sqlplus # sqlplus username/passowrd at ip_address:port/SSID #substituted with my own credentials sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory You have new mail in /var/spool/mail/root The lib is available: # find / -name libsqlplus.so /usr/local/instantclient_10_2/libsqlplus.so # ll /usr/local/instantclient_10_2/libsqlplus.so -rwxrwxrwx 1 root root 865995 Nov 17 12:05 /usr/local/instantclient_10_2/libsqlplus.so Any ideas how I can resolve this? R, D. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 arpouncey at ualr.edu Thu Nov 17 18:14:53 2011 From: arpouncey at ualr.edu (Alton Pouncey) Date: Thu, 17 Nov 2011 11:14:53 -0600 Subject: prevent access to disable all notifications Message-ID: Recently we had an incident where the Notifications had been disabled from the Tactical Monitoring Overview page (see the attached file for the page). I would like to restrict access to the Monitoring Features section at the bottom of the page. I have tested this with one of our users by removing that user from the "authorized_for_all_services" and the "authorized_for_all_hosts" portions of the cgi.cfg file but this did not work. The user was still able to access the Notifications area at the bottom of the page and disable system-wide notifications. How can I restrict access to this portion of the Tactical Overview page? Thanks for your help, Alton Pouncey, II -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_pic.png Type: image/png Size: 178532 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Steve.Onotsky at broadridge.com Thu Nov 17 18:40:25 2011 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Thu, 17 Nov 2011 12:40:25 -0500 Subject: Oracle plugin In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local><4EC52075.501@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local><4EC52ED5.4010908@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local><4EC53684.7010200@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> Message-ID: <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] >Sent: Thursday, November 17, 2011 11:49 AM >To: Nagios Users List >Subject: Re: [Nagios-users] Oracle plugin > >I brought the sqlplus binary across from the db server but I get the following error.. > ># ldd /usr/local/instantclient_10_2/sqlplus >/usr/local/instantclient_10_2/sqlplus: error while loading shared libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not little-endian > >Is there any way to load these shared libraries onto the nagios server? There is, but you'll save yourself a lot of heartache if you just installed the Oracle client on your Nagios machine. IIRC you can obtain it from Oracle as part of your maintenance, gratis... \sao This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.duffy at brandtone.ie Thu Nov 17 19:15:14 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Thu, 17 Nov 2011 18:15:14 +0000 Subject: Oracle plugin In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local><4EC52075.501@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local><4EC52ED5.4010908@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local><4EC53684.7010200@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E4E71@pemexmbx12.hosting.local> I actually have oracle client installed: # rpm -qa | grep sqlplus oracle-instantclient11.2-sqlplus-11.2.0.3.0-1 I have now brought across the shared objects from the db server and symbolically linked them to /usr/lib. I now get the following when attempting to connect...... # /usr/local/instantclient_10_2/sqlplus /@:1521/SSID Error 6 initializing SQL*Plus Message file sp1.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory -----Original Message----- From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 17 November 2011 17:40 To: Nagios Users List Subject: Re: [Nagios-users] Oracle plugin >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] >Sent: Thursday, November 17, 2011 11:49 AM >To: Nagios Users List >Subject: Re: [Nagios-users] Oracle plugin > >I brought the sqlplus binary across from the db server but I get the following error.. > ># ldd /usr/local/instantclient_10_2/sqlplus >/usr/local/instantclient_10_2/sqlplus: error while loading shared libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not little-endian > >Is there any way to load these shared libraries onto the nagios server? There is, but you'll save yourself a lot of heartache if you just installed the Oracle client on your Nagios machine. IIRC you can obtain it from Oracle as part of your maintenance, gratis... \sao This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 19:39:27 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 17 Nov 2011 19:39:27 +0100 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: Please let us know if you get it working - I might have to add such a check soon as well. To answer your question: 1433 is the standard port of MSSQL so that should be ok. You can launch nmap or a simple telnet to double-check that. On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery wrote: > On 17 November 2011 15:17, Kaplan, Andrew H. > wrote: > > Hi there -- > > > > Thanks for your reply. I tried your suggestion on the two plugins, and > here are > > the results. > > > > When the command syntax for check_mssql was the following: > > > > ./check_mssql -H -U \\ -P > > > > or > > > > ./check_mssql -H -U '\\' -P > > > > The error message displayed on-screen was: > > > > UNKNOWN: Invalid characters in the username. > > > The check_mssql plugin is way too fussy about what characters it will > allow in host names and user names. On my system I edited the plugin > to remove the if/else sections entirely below the comments "// > Validate the hostname" and "// Validate the username". > > hth, > > Jim > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Thu Nov 17 20:59:30 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 17 Nov 2011 14:59:30 -0500 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: Hi there -- I tried connecting to port 1433 of the SQL server, and the connection was refused. It appears that efforts to connect via the default port will not work in this case. I took the liberty of running the nestat -abn command syntax on the console of the SQL server, and searched for all references to the sqlservr.exe binary. The results are shown below: Active Connections [sqlservr.exe] TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED [sqlservr.exe] TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED [sqlservr.exe] TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED [sqlservr.exe] TCP 192.168.125.1:139 0.0.0.0:0 LISTENING [sqlservr.exe] TCP [::]:58477 [::]:0 LISTENING [sqlservr.exe] TCP [::]:62502 [::]:0 LISTENING [sqlservr.exe] TCP [::]:65249 [::]:0 LISTENING [sqlservr.exe] TCP [::1]:58751 [::]:0 LISTENING [sqlservr.exe] TCP [::1]:62005 [::1]:62006 ESTABLISHED [sqlservr.exe] UDP 0.0.0.0:123 *:* If the default port, 1433, is not reachable would one the above ports be the alternate means of connecting to the server? ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, November 17, 2011 1:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server Please let us know if you get it working - I might have to add such a check soon as well. To answer your question: 1433 is the standard port of MSSQL so that should be ok. You can launch nmap or a simple telnet to double-check that. On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery wrote: On 17 November 2011 15:17, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I tried your suggestion on the two plugins, and here are > the results. > > When the command syntax for check_mssql was the following: > > ./check_mssql -H -U \\ -P > > or > > ./check_mssql -H -U '\\' -P > > The error message displayed on-screen was: > > UNKNOWN: Invalid characters in the username. The check_mssql plugin is way too fussy about what characters it will allow in host names and user names. On my system I edited the plugin to remove the if/else sections entirely below the comments "// Validate the hostname" and "// Validate the username". hth, Jim ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Nov 17 21:33:21 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 17 Nov 2011 21:33:21 +0100 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: The other ports don't appear like typical MSSQL ports. Do you have by any chance the Windows firewall still active? Maybe the port is being blocked there? http://support.microsoft.com/kb/968872 Or do you use a named instance? I found this information on http://benchmarkitconsulting.com/colin-stasiuk/2009/02/02/what-tcp-port-is-sql-server-running-under/: "If you have a named instance the TCP port is dynamically configured." I've never seen this in a practical way before though. On Thu, Nov 17, 2011 at 8:59 PM, Kaplan, Andrew H. wrote: > ** > Hi there -- > > I tried connecting to port 1433 of the SQL server, and the connection was > refused. It appears that efforts to connect via the default > port will not work in this case. I took the liberty of running the nestat > -abn command syntax on the console of the SQL server, and > searched for all references to the sqlservr.exe binary. The results are > shown below: > > > Active Connections > > [sqlservr.exe] > > TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING > > [sqlservr.exe] > > TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING > > [sqlservr.exe] > > TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING > > [sqlservr.exe] > > TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING > > [sqlservr.exe] > > TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING > > [sqlservr.exe] > > TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED > > [sqlservr.exe] > > TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED > > [sqlservr.exe] > > TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED > > [sqlservr.exe] > > TCP 192.168.125.1:139 0.0.0.0:0 LISTENING > > [sqlservr.exe] > > TCP [::]:58477 [::]:0 LISTENING > > [sqlservr.exe] > > TCP [::]:62502 [::]:0 LISTENING > > [sqlservr.exe] > > TCP [::]:65249 [::]:0 LISTENING > > [sqlservr.exe] > > TCP [::1]:58751 [::]:0 LISTENING > > [sqlservr.exe] > > TCP [::1]:62005 [::1]:62006 ESTABLISHED > > [sqlservr.exe] > > UDP 0.0.0.0:123 *:* > > > > If the default port, 1433, is not reachable would one the above ports be > the alternate means of connecting to the server? > > > > > > > ------------------------------ > *From:* Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > *Sent:* Thursday, November 17, 2011 1:39 PM > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Monitoring a Microsoft SQL Server > > Please let us know if you get it working - I might have to add such a > check soon as well. > > To answer your question: 1433 is the standard port of MSSQL so that should > be ok. You can launch nmap or a simple telnet to double-check that. > > On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery wrote: > >> On 17 November 2011 15:17, Kaplan, Andrew H. >> wrote: >> > Hi there -- >> > >> > Thanks for your reply. I tried your suggestion on the two plugins, and >> here are >> > the results. >> > >> > When the command syntax for check_mssql was the following: >> > >> > ./check_mssql -H -U \\ -P >> > >> > or >> > >> > ./check_mssql -H -U '\\' -P >> > >> > The error message displayed on-screen was: >> > >> > UNKNOWN: Invalid characters in the username. >> >> >> The check_mssql plugin is way too fussy about what characters it will >> allow in host names and user names. On my system I edited the plugin >> to remove the if/else sections entirely below the comments "// >> Validate the hostname" and "// Validate the username". >> >> hth, >> >> Jim >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > The information in this e-mail is intended only for the person to whom it > is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Thu Nov 17 22:02:02 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Thu, 17 Nov 2011 22:02:02 +0100 Subject: I: R: R: configuration tool In-Reply-To: <012d01cca540$04997e80$0dcc7b80$@it.net> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> <009601cca51b$1a426280$4ec72780$@it.net> <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> <00b901cca52c$3ec629a0$bc527ce0$@it.net> <012d01cca540$04997e80$0dcc7b80$@it.net> Message-ID: <4F1B89BF-B4F6-4C76-87F9-910D86359CAE@linux.it> So, you are not Connecting as root from nagiosql Please paste here The nagiosql install screenshot and The result of use mysql ; Select user,host,password from user; Ciao, Giorgio Il giorno 17/nov/2011, alle ore 16:45, "Marco Borsani" ha scritto: > Nothing happen, I still have same problem. > > Marco > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: gioved? 17 novembre 2011 14:39 > A: Marco Borsani > Cc: 'Giorgio Zarrelli'; 'Nagios Users List' > Oggetto: Re: R: R: [Nagios-users] configuration tool > > Hi, > >> MySQL> grant all on mysql.* to root@???' identified >> MySQL> by >> 'password'; > > Try > > MySQL> grant all on *.* to root@% identified by 'password'; > > It will allow connection as root from ANY host/hostname and will give ALL privileges on ALL databases. > > As I told before: REMOVE this user as soon as you complete NagioSQL installation. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Nov 17 23:54:35 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 17 Nov 2011 17:54:35 -0500 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: Hi there -- I made some progress on my end. To start off, I confirmed the firewall is disabled on the SQL server. I then investigated the possibility that a named instance was being used on the server. It turns out that is the case. I then went to the SQL Server Configuration Manager utility/Network Configuration, and made note of the TCP Dynamic Ports value. Using that information, I entered the following command syntax: check_mssql -H --username sa --password --port The result was the following: OK: Connect time=0.006639 seconds. I then tried to run the check_mssql_health plugin using the syntaxes shown below: ./check_mssql_health --hostname= --username=sa --password= --port= --mode=connection-time ./check_mssql_health --hostname --username sa --password --port --mode connection-time The error message that I encountered in both cases was the following: CRITICAL - cannot connect to . DBI connect(';host=;port=62502','sa',...) failed: (no error string) at /usr/local/nagios/libexec/check_mssql_health line 2175 If I can get the latter plugin to work, that will enable more extensive checking of the server. What could be the problem here? Thanks. ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, November 17, 2011 3:33 PM To: Kaplan, Andrew H. Cc: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server The other ports don't appear like typical MSSQL ports. Do you have by any chance the Windows firewall still active? Maybe the port is being blocked there? http://support.microsoft.com/kb/968872 Or do you use a named instance? I found this information on http://benchmarkitconsulting.com/colin-stasiuk/2009/02/02/what-tcp-port-is-sql-s erver-running-under/: "If you have a named instance the TCP port is dynamically configured." I've never seen this in a practical way before though. On Thu, Nov 17, 2011 at 8:59 PM, Kaplan, Andrew H. wrote: Hi there -- I tried connecting to port 1433 of the SQL server, and the connection was refused. It appears that efforts to connect via the default port will not work in this case. I took the liberty of running the nestat -abn command syntax on the console of the SQL server, and searched for all references to the sqlservr.exe binary. The results are shown below: Active Connections [sqlservr.exe] TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED [sqlservr.exe] TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED [sqlservr.exe] TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED [sqlservr.exe] TCP 192.168.125.1:139 0.0.0.0:0 LISTENING [sqlservr.exe] TCP [::]:58477 [::]:0 LISTENING [sqlservr.exe] TCP [::]:62502 [::]:0 LISTENING [sqlservr.exe] TCP [::]:65249 [::]:0 LISTENING [sqlservr.exe] TCP [::1]:58751 [::]:0 LISTENING [sqlservr.exe] TCP [::1]:62005 [::1]:62006 ESTABLISHED [sqlservr.exe] UDP 0.0.0.0:123 *:* If the default port, 1433, is not reachable would one the above ports be the alternate means of connecting to the server? ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, November 17, 2011 1:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server Please let us know if you get it working - I might have to add such a check soon as well. To answer your question: 1433 is the standard port of MSSQL so that should be ok. You can launch nmap or a simple telnet to double-check that. On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery wrote: On 17 November 2011 15:17, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I tried your suggestion on the two plugins, and here are > the results. > > When the command syntax for check_mssql was the following: > > ./check_mssql -H -U \\ -P > > or > > ./check_mssql -H -U '\\' -P > > The error message displayed on-screen was: > > UNKNOWN: Invalid characters in the username. The check_mssql plugin is way too fussy about what characters it will allow in host names and user names. On my system I edited the plugin to remove the if/else sections entirely below the comments "// Validate the hostname" and "// Validate the username". hth, Jim ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Fri Nov 18 10:11:27 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 18 Nov 2011 10:11:27 +0100 Subject: R: I: R: R: configuration tool In-Reply-To: <4F1B89BF-B4F6-4C76-87F9-910D86359CAE@linux.it> References: <004501cca376$3a5529f0$aeff7dd0$@it.net> <009601cca51b$1a426280$4ec72780$@it.net> <6DB7CCA0-B68E-4FB0-9BA1-72C802D2899E@linux.it> <00b901cca52c$3ec629a0$bc527ce0$@it.net> <012d01cca540$04997e80$0dcc7b80$@it.net> <4F1B89BF-B4F6-4C76-87F9-910D86359CAE@linux.it> Message-ID: <007601cca5d2$13b891c0$3b29b540$@it.net> I am connecting as root .. also using a tool like TOAD. But I still can't perform any admin tasks remotely (via command line or web tool). MySQL> Select user,host,password from user; +------+------------------+--------------------------------------------------------------+ | user | host | password | +------+------------------+--------------------------------------------------------------+ | root | localhost | *FAA8329A4686D5A4F44ECEA789A1BF7B76373F5E | | root | | *FAA8329A4686D5A4F44ECEA789A1BF7B76373F5E | | root | 127.0.0.1 | *FAA8329A4686D5A4F44ECEA789A1BF7B76373F5E | | | localhost | | | | | | | root | | *FAA8329A4686D5A4F44ECEA789A1BF7B76373F5E | | root | | *FAA8329A4686D5A4F44ECEA789A1BF7B76373F5E | | root | % | *FAA8329A4686D5A4F44ECEA789A1BF7B76373F5E | +------+------------------+--------------------------------------------------------------+ Thanks Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: gioved? 17 novembre 2011 22:02 A: Nagios Users List Cc: NAGIOS Oggetto: Re: [Nagios-users] I: R: R: configuration tool So, you are not Connecting as root from nagiosql Please paste here The nagiosql install screenshot and The result of use mysql ; Select user,host,password from user; Ciao, Giorgio Il giorno 17/nov/2011, alle ore 16:45, "Marco Borsani" ha scritto: > Nothing happen, I still have same problem. > > Marco > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: gioved 17 novembre 2011 14:39 > A: Marco Borsani > Cc: 'Giorgio Zarrelli'; 'Nagios Users List' > Oggetto: Re: R: R: [Nagios-users] configuration tool > > Hi, > >> MySQL> grant all on mysql.* to root@?' identified by >> 'password'; > > Try > > MySQL> grant all on *.* to root@% identified by 'password'; > > It will allow connection as root from ANY host/hostname and will give ALL privileges on ALL databases. > > As I told before: REMOVE this user as soon as you complete NagioSQL installation. > > > ---------------------------------------------------------------------- > -------- All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermot.duffy at brandtone.ie Fri Nov 18 13:16:43 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Fri, 18 Nov 2011 12:16:43 +0000 Subject: Oracle plugin In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local><4EC52075.501@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local><4EC52ED5.4010908@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local><4EC53684.7010200@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E4F83@pemexmbx12.hosting.local> I have successfully installed the oracleclient and connected to the db - used a different version in the end (downgraded to 10_2_ and it worked fine). My "check_oracle_instant" script however is posting out the following errors. libexec]# ./check_oracle_instant perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_UK" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). sh: sqlplus: command not found Unable to connect to ORACLE !!! I have got the sqlplus & LD_LIB paths set correctly: #!/usr/bin/perl $host = $ARGV[0]; $port = $ARGV[1]; $service_name = $ARGV[2]; $user = $ARGV[3]; $pass = $ARGV[4]; $ORACLE_HOME = "/root/instantclientdir"; ### point this to your sqlplus binary my $sqlplus = "/root/instantclientdir/bin/sqlplus"; ### point this to your sqlplus directory $ENV{"LD_LIBRARY_PATH"} = "/root/instantclientdir/lib"; .......any ideas on how to resolve this? -----Original Message----- From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] Sent: 17 November 2011 17:40 To: Nagios Users List Subject: Re: [Nagios-users] Oracle plugin >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] >Sent: Thursday, November 17, 2011 11:49 AM >To: Nagios Users List >Subject: Re: [Nagios-users] Oracle plugin > >I brought the sqlplus binary across from the db server but I get the following error.. > ># ldd /usr/local/instantclient_10_2/sqlplus >/usr/local/instantclient_10_2/sqlplus: error while loading shared libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not little-endian > >Is there any way to load these shared libraries onto the nagios server? There is, but you'll save yourself a lot of heartache if you just installed the Oracle client on your Nagios machine. IIRC you can obtain it from Oracle as part of your maintenance, gratis... \sao This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Fri Nov 18 18:21:50 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Fri, 18 Nov 2011 09:21:50 -0800 Subject: Presumed service dependencies? In-Reply-To: References: <4EC42C3D.3060708@aggregateknowledge.com> Message-ID: <4EC6942E.7010803@aggregateknowledge.com> On 11/17/2011 01:00 AM, mail at catsnest.co.uk wrote: > > > On Wed, Nov 16, 2011 at 9:33 PM, Mike Chesnut > > wrote: > > Is there a way to tell Nagios that I want all services on a host to be > dependent on that host without having to write a separate > servicedependency for every single service? I can't even conceive of a > situation where, when a host is down, I still want to get notified for > all of its services being down too. > > Hopefully I'm just missing something simple... Ideally I'd like to set > this globally, in fact. > > > Unless i am missing something that is the default behaviour, or at least > how it works for us =) I think what happens is something like this: 1. Nagios polls the host, it's UP 2. Host goes down 3. Nagios polls the services, they're DOWN I suppose the way to address this would be to set it to not alert until the service has failed twice (and presume the host will be checked again in between those two service checks). Is that what most people do? Or is there a better way? Thanks, Mike ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From minh.ramsden at gmail.com Fri Nov 18 20:32:45 2011 From: minh.ramsden at gmail.com (Minh R.) Date: Fri, 18 Nov 2011 19:32:45 +0000 (UTC) Subject: MSSQL CRITICAL - Error: Provider cannot be found. It may not be properly installed References: <4CE67F0A.7070206@ljnet.dk> Message-ID: > Leif J. ljnet.dk> writes: > > > On a brand new Windows 2008R2 and MSSQL 2008R2 I have installed > NSClient++ and put check_mssql_nt but when I try to connect to the > localhost I'm getting: MSSQL CRITICAL - Error: Provider cannot > be found. It may not be properly installed > What can it be ? I have looked several sites and have not yet > figured it out why. > /Leif > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > > _______________________________________________ > Nagios-users mailing list > Nagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I'm having the same issue. I have added the check_mssql_nt.exe file to the \NSClient++\scripts\ folder, un-commented the NRPEListener.dll in the nsc.ini file, allowed arguments under "COMMAND ARGUMENT PROCESSING" in the nsc.ini file, and added the following line to the "[External Scripts]" section of my client server's NSC.ini file: check_mssql_connection=scripts\check_mssql_nt.exe /H:$ARG1$ /D:$ARG2$ /U:$ARG3$ /P:$ARG4$ Then I run the following command from the Nagios server as a test: ./check_nrpe -H sqlservername -c check_mssql_connection -a sqlservername sqldatabasename username password The error returned is: MSSQL CRITICAL - Error: Provider cannot be found. It may not be properly installed Does anyone have any ideas? ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Nov 18 23:13:46 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 18 Nov 2011 17:13:46 -0500 Subject: Monitoring a Microsoft SQL Server In-Reply-To: References: Message-ID: Hi there -- I finally got both the check_mssql and check_mssql_health scripts to work with the server in question. Listed below are the notes that I took during the testing process. I hope they are of use, and if there are any questions, please feel free to contact me at your convenience. Thanks again to everyone for the help. NOTE: The SQL Server in this scenario uses named instances, which result in dynamic TCP/IP ports being used rather than static ones. The ports can be identified by running the SQL Server Configuration Manager utility. Once the utility is open, go to the SQL Server Network Configuration section. Select the database in question from the list of Protocols for... entries. Double-click on the TCP/IP option listed in the right pane. Select the IP Addresses tab of the window that appears on-screen. Scroll down to the IPAll section, and make note of the value that is listed next to the TCP Dynamic Ports field. That value is what will be used in the command syntax when running the script. The user account, sa, along with its password will be needed to successfully access the database. The command syntax, with the resulting output is shown below. check_mssql -H --username sa --password --port OK: Connect time=0.022503 seconds. When using the check_mssql_health plugin, the first thing that needs to be done is to add an entry of the SQL server to the /etc/freetds/freetds.conf file. This file is used by the plugin to connect to the server. An excerpt of the file is shown below: # [name of sql server] <- name of the server used in the command syntax host = or port = <- TCP Dynamic port used by the server instance tds version = 7.0 An example of the command syntax that is used to connect to the server is the following: /usr/local/nagios/libexec/check_mssql_health --server= --username=sa --password= --port= --mode=connection-time The output of the above command is shown below: OK - 0.06 seconds to connect as sa | connection_time=0.06;1;5 ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, November 17, 2011 3:33 PM To: Kaplan, Andrew H. Cc: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server The other ports don't appear like typical MSSQL ports. Do you have by any chance the Windows firewall still active? Maybe the port is being blocked there? http://support.microsoft.com/kb/968872 Or do you use a named instance? I found this information on http://benchmarkitconsulting.com/colin-stasiuk/2009/02/02/what-tcp-port-is-sql-s erver-running-under/: "If you have a named instance the TCP port is dynamically configured." I've never seen this in a practical way before though. On Thu, Nov 17, 2011 at 8:59 PM, Kaplan, Andrew H. wrote: Hi there -- I tried connecting to port 1433 of the SQL server, and the connection was refused. It appears that efforts to connect via the default port will not work in this case. I took the liberty of running the nestat -abn command syntax on the console of the SQL server, and searched for all references to the sqlservr.exe binary. The results are shown below: Active Connections [sqlservr.exe] TCP 0.0.0.0:58477 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 0.0.0.0:62502 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 0.0.0.0:65249 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:58751 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:62503 0.0.0.0:0 LISTENING [sqlservr.exe] TCP 127.0.0.1:63954 127.0.0.1:63955 ESTABLISHED [sqlservr.exe] TCP 192.168.40.114:62502 192.168.40.122:50342 ESTABLISHED [sqlservr.exe] TCP 192.168.40.114:62502 192.168.40.125:60257 ESTABLISHED [sqlservr.exe] TCP 192.168.125.1:139 0.0.0.0:0 LISTENING [sqlservr.exe] TCP [::]:58477 [::]:0 LISTENING [sqlservr.exe] TCP [::]:62502 [::]:0 LISTENING [sqlservr.exe] TCP [::]:65249 [::]:0 LISTENING [sqlservr.exe] TCP [::1]:58751 [::]:0 LISTENING [sqlservr.exe] TCP [::1]:62005 [::1]:62006 ESTABLISHED [sqlservr.exe] UDP 0.0.0.0:123 *:* If the default port, 1433, is not reachable would one the above ports be the alternate means of connecting to the server? ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, November 17, 2011 1:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Monitoring a Microsoft SQL Server Please let us know if you get it working - I might have to add such a check soon as well. To answer your question: 1433 is the standard port of MSSQL so that should be ok. You can launch nmap or a simple telnet to double-check that. On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery wrote: On 17 November 2011 15:17, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I tried your suggestion on the two plugins, and here are > the results. > > When the command syntax for check_mssql was the following: > > ./check_mssql -H -U \\ -P > > or > > ./check_mssql -H -U '\\' -P > > The error message displayed on-screen was: > > UNKNOWN: Invalid characters in the username. The check_mssql plugin is way too fussy about what characters it will allow in host names and user names. On my system I edited the plugin to remove the if/else sections entirely below the comments "// Validate the hostname" and "// Validate the username". hth, Jim ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 mail at catsnest.co.uk Sat Nov 19 12:17:53 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Sat, 19 Nov 2011 11:17:53 +0000 Subject: Presumed service dependencies? In-Reply-To: <4EC6942E.7010803@aggregateknowledge.com> References: <4EC42C3D.3060708@aggregateknowledge.com> <4EC6942E.7010803@aggregateknowledge.com> Message-ID: On Fri, Nov 18, 2011 at 5:21 PM, Mike Chesnut wrote: > On 11/17/2011 01:00 AM, mail at catsnest.co.uk wrote: > > > > > > On Wed, Nov 16, 2011 at 9:33 PM, Mike Chesnut > > > > wrote: > > > > Is there a way to tell Nagios that I want all services on a host to > be > > dependent on that host without having to write a separate > > servicedependency for every single service? I can't even conceive > of a > > situation where, when a host is down, I still want to get notified > for > > all of its services being down too. > > > > Hopefully I'm just missing something simple... Ideally I'd like to > set > > this globally, in fact. > > > > > > Unless i am missing something that is the default behaviour, or at least > > how it works for us =) > > I think what happens is something like this: > > 1. Nagios polls the host, it's UP > 2. Host goes down > 3. Nagios polls the services, they're DOWN > > I suppose the way to address this would be to set it to not alert until > the service has failed twice (and presume the host will be checked again > in between those two service checks). Is that what most people do? Or > is there a better way? > > Nagios will do a host check if the service fails The standard set up is for a check to hard fail (and notify) only after mutiple failed checks... have a look at "max_check_attempts" in the manual. -- Ritchie Thanks, > Mike > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 michaels at fring.com Sun Nov 20 15:52:17 2011 From: michaels at fring.com (Michael Sverdlik) Date: Sun, 20 Nov 2011 16:52:17 +0200 Subject: External command-id CHANGE_SVC_CHECK_COMMAND not working Message-ID: <754CEFADFC65654BAC484896D31C2C030566C24C7E@exchangesrv2007.ONEFONE.MSDOMAIN> Hi, System Info: Nagios Core 3.2.3 (also checked on 3.3.1) Ubuntu 10.4 LTS It looks like Nagios ignores CHANGE_SVC_CHECK_COMMAND that I'm sending to command file. Here a test script I did which _worked_ as should (comment for the service added): #!/bin/sh now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/echo "[$now] ADD_SVC_COMMENT;server.com;service;0;nagiosadmin;this is a test" > $commandfile However when I try to do almost exactly the same with CHANGE_SVC_CHECK_COMMAND, nothing happens: #!/bin/sh now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/echo "[$now] CHANGE_SVC_CHECK_COMMAND;server.com;service;check_service" > $commandfile I can see command received both in nagios log and debug log: Nagios log [1321800018] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;server.com;service;check_service Nagios debug log [1321800018.303659] [128.1] [pid=31683] External Command Type: 128 [1321800018.303671] [128.1] [pid=31683] Command Entry Time: 1321800018 [1321800018.303681] [128.1] [pid=31683] Command Arguments: server.com;service;check_service Note: server,service and command names were changed. I also checked same scenario on Nagios 3.3.1 with same results. Any advice/ideas? Thanks, Michael. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Sun Nov 20 19:30:21 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Sun, 20 Nov 2011 13:30:21 -0500 Subject: check_nis plugin not getting responses Message-ID: Hi there -- We are running a Nagios 3.3.1 server, which is being deployed to replace an older 3.1.2 server. Part of the process involved importing the plugins that were in use on the old server to the new one via the Nconf utility. One such item is the check_nis plugin. This plugin has been proven to work without issue on the older Nagios server, so it was thought it should be able to work like the others on the new server. The plugin does appear to run without errors on the new server, but when it queries the NIS server, it gets the following error message: NIS CRITICAL - domain not answering I have checked the syslog.log log file of the target NIS server for any reference for errors pertaining to the plugin, but there were none. I did a similar check on the Nagios server, but there were no entries as such in the nagios.log, messages, or syslog files. I also did a restart of the nrpe daemon on the client to see if that would make a difference, but it did not appear to do so, neither did running the plugin from the command line yield the desired results. Does anyone have any idea as to why the script is no longer working? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Sun Nov 20 19:44:44 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Sun, 20 Nov 2011 13:44:44 -0500 Subject: check_nis plugin not getting responses In-Reply-To: References: Message-ID: Hi there -- I found the answer to the problem: I had not installed the NIS package on the Nagios server. The package includes the ypbind binary which is needed for the check_nis plugin to operate. Once the ypbind binary was in place, the check of the NIS server was successful. ________________________________ From: Kaplan, Andrew H. Sent: Sunday, November 20, 2011 1:30 PM To: Nagios Users List Subject: [Nagios-users] check_nis plugin not getting responses Hi there -- We are running a Nagios 3.3.1 server, which is being deployed to replace an older 3.1.2 server. Part of the process involved importing the plugins that were in use on the old server to the new one via the Nconf utility. One such item is the check_nis plugin. This plugin has been proven to work without issue on the older Nagios server, so it was thought it should be able to work like the others on the new server. The plugin does appear to run without errors on the new server, but when it queries the NIS server, it gets the following error message: NIS CRITICAL - domain not answering I have checked the syslog.log log file of the target NIS server for any reference for errors pertaining to the plugin, but there were none. I did a similar check on the Nagios server, but there were no entries as such in the nagios.log, messages, or syslog files. I also did a restart of the nrpe daemon on the client to see if that would make a difference, but it did not appear to do so, neither did running the plugin from the command line yield the desired results. Does anyone have any idea as to why the script is no longer working? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 stuart.browne at ausregistry.com.au Sun Nov 20 23:20:37 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Mon, 21 Nov 2011 09:20:37 +1100 Subject: Oracle plugin In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E4F83@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local><4EC52075.501@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local><4EC52ED5.4010908@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local><4EC53684.7010200@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> <0B0CA225A9EAE8468E80AA7A88992CFE043E4F83@pemexmbx12.hosting.local> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB6A808D89F8@off-win2003-01.ausregistrygroup.local> Hi, One of the errors is saying you're not using $sqlplus variable for execution, but we can't see the code that actually does the executing (you probably just left off the $). The language isn't being set properly. Possibly this is the shell you're executing from doesn't have it, thus all the warnings from perl.. Setting a LANG= before executing should get rid of it. In any case given that you're executing a lot of shell scripts, why are you writing this in perl? A simple shell script would be quicker and cleaner. Stuart > -----Original Message----- > From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] > Sent: Friday, 18 November 2011 11:17 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Oracle plugin > > I have successfully installed the oracleclient and connected to the db - > used a different version in the end (downgraded to 10_2_ and it worked > fine). > > My "check_oracle_instant" script however is posting out the following > errors. > > libexec]# ./check_oracle_instant > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LANG = "en_UK" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > sh: sqlplus: command not found > Unable to connect to ORACLE !!! > > I have got the sqlplus & LD_LIB paths set correctly: > > #!/usr/bin/perl > > $host = $ARGV[0]; > $port = $ARGV[1]; > $service_name = $ARGV[2]; > $user = $ARGV[3]; > $pass = $ARGV[4]; > > $ORACLE_HOME = "/root/instantclientdir"; > > ### point this to your sqlplus binary > my $sqlplus = "/root/instantclientdir/bin/sqlplus"; > > ### point this to your sqlplus directory > $ENV{"LD_LIBRARY_PATH"} = "/root/instantclientdir/lib"; > > .......any ideas on how to resolve this? > > > -----Original Message----- > From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] > Sent: 17 November 2011 17:40 > To: Nagios Users List > Subject: Re: [Nagios-users] Oracle plugin > > >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] > >Sent: Thursday, November 17, 2011 11:49 AM > >To: Nagios Users List > >Subject: Re: [Nagios-users] Oracle plugin > > > >I brought the sqlplus binary across from the db server but I get the > following error.. > > > ># ldd /usr/local/instantclient_10_2/sqlplus > >/usr/local/instantclient_10_2/sqlplus: error while loading shared > libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not little- > endian > > > >Is there any way to load these shared libraries onto the nagios server? > > There is, but you'll save yourself a lot of heartache if you just > installed the Oracle client on your Nagios machine. IIRC you can obtain > it from Oracle as part of your maintenance, gratis... > > \sao > > > This message and any attachments are intended only for the use of the > addressee and may contain information that is privileged and confidential. > If the reader of the message is not the intended recipient or an > authorized representative of the intended recipient, you are hereby > notified that any dissemination of this communication is strictly > prohibited. If you have received this communication in error, please > notify us immediately by e-mail and delete the message and any attachments > from your system. > > -------------------------------------------------------------------------- > ---- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security threats, > fraudulent activity, and more. Splunk takes this data and makes sense of > it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------------------------------------------------------------------- > ---- > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 21 10:11:11 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 21 Nov 2011 10:11:11 +0100 Subject: External command-id CHANGE_SVC_CHECK_COMMAND not working In-Reply-To: <754CEFADFC65654BAC484896D31C2C030566C24C7E@exchangesrv2007.ONEFONE.MSDOMAIN> References: <754CEFADFC65654BAC484896D31C2C030566C24C7E@exchangesrv2007.ONEFONE.MSDOMAIN> Message-ID: <4ECA15AF.2000600@univie.ac.at> Michael Sverdlik wrote: > > Hi, > > System Info: > > Nagios Core 3.2.3 (also checked on 3.3.1) > > Ubuntu 10.4 LTS > > It looks like Nagios ignores CHANGE_SVC_CHECK_COMMAND that I'm sending > to command file. > > Here a test script I did which _/worked/_ as should (comment for the > service added): > > #!/bin/sh > > now=`date +%s` > > commandfile='/usr/local/nagios/var/rw/nagios.cmd' > > /bin/echo "[$now] > ADD_SVC_COMMENT;server.com;service;0;nagiosadmin;this is a test" > > $commandfile > > However when I try to do almost exactly the same with > CHANGE_SVC_CHECK_COMMAND, nothing happens: > > #!/bin/sh > > now=`date +%s` > > commandfile='/usr/local/nagios/var/rw/nagios.cmd' > > /bin/echo "[$now] > CHANGE_SVC_CHECK_COMMAND;server.com;service;check_service" > $commandfile > > I can see command received both in nagios log and debug log: > > Nagios log > > [1321800018] EXTERNAL COMMAND: > CHANGE_SVC_CHECK_COMMAND;server.com;service;check_service > > Nagios debug log > > [1321800018.303659] [128.1] [pid=31683] External Command Type: 128 > > [1321800018.303671] [128.1] [pid=31683] Command Entry Time: 1321800018 > > [1321800018.303681] [128.1] [pid=31683] Command Arguments: > server.com;service;check_service > > Note: server,service and command names were changed. > > I also checked same scenario on Nagios 3.3.1 with same results. > > Any advice/ideas? > http://www.nagios.org/projects/nagioscore/history/core-3x 3.0.6 adaptive check commands > > Thanks, > > Michael. > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 michaels at fring.com Mon Nov 21 10:48:50 2011 From: michaels at fring.com (Michael Sverdlik) Date: Mon, 21 Nov 2011 11:48:50 +0200 Subject: External command-id CHANGE_SVC_CHECK_COMMAND not working In-Reply-To: <4ECA15AF.2000600@univie.ac.at> References: <754CEFADFC65654BAC484896D31C2C030566C24C7E@exchangesrv2007.ONEFONE.MSDOMAIN> <4ECA15AF.2000600@univie.ac.at> Message-ID: <754CEFADFC65654BAC484896D31C2C030566C24D1E@exchangesrv2007.ONEFONE.MSDOMAIN> Thanks Michael. Too bad no word about it in the official docs... From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, November 21, 2011 11:11 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] External command-id CHANGE_SVC_CHECK_COMMAND not working Michael Sverdlik wrote: Hi, System Info: Nagios Core 3.2.3 (also checked on 3.3.1) Ubuntu 10.4 LTS It looks like Nagios ignores CHANGE_SVC_CHECK_COMMAND that I'm sending to command file. Here a test script I did which _worked_ as should (comment for the service added): #!/bin/sh now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/echo "[$now] ADD_SVC_COMMENT;server.com;service;0;nagiosadmin;this is a test" > $commandfile However when I try to do almost exactly the same with CHANGE_SVC_CHECK_COMMAND, nothing happens: #!/bin/sh now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/echo "[$now] CHANGE_SVC_CHECK_COMMAND;server.com;service;check_service" > $commandfile I can see command received both in nagios log and debug log: Nagios log [1321800018] EXTERNAL COMMAND: CHANGE_SVC_CHECK_COMMAND;server.com;service;check_service Nagios debug log [1321800018.303659] [128.1] [pid=31683] External Command Type: 128 [1321800018.303671] [128.1] [pid=31683] Command Entry Time: 1321800018 [1321800018.303681] [128.1] [pid=31683] Command Arguments: server.com;service;check_service Note: server,service and command names were changed. I also checked same scenario on Nagios 3.3.1 with same results. Any advice/ideas? http://www.nagios.org/projects/nagioscore/history/core-3x 3.0.6 adaptive check commands Thanks, Michael. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Nov 21 14:16:51 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 21 Nov 2011 14:16:51 +0100 (CET) Subject: importing files inside NagiosQL In-Reply-To: <00cc01cca84f$07a02400$16e06c00$@it.net> References: <00cc01cca84f$07a02400$16e06c00$@it.net> Message-ID: Hi, maybe some remnants from previous import tries? Purge MySQL db and try a new import, following the suggested (on import page) order of file processing. Giorgio > Hi all > > > > I am testing NagiosQL and try to import old configuration files inside its > DB. > > > > No warnings/errors without NagiosQL, but when I import the data inside the > DB I see strange situations: > > 1) ALL hosts/services keep only the first contact-groups associated > (usually are three or six) > > 2) Appear some inactive contacts (seven contacts) similar at existing > other , that are not anywhere in the original files. > > 3) Appear some inactive contact-groups (five contact-group) similar > at > existing other , that are not anywhere in the original files. > > 4) Appear some inactive hosts (ten hosts) similar at existing other , > that are not anywhere in the original files. > > 5) Appear some inactive contacts (twenty services) similar at > existing > other , that are not anywhere in the original files. > > > > Any idea ? > > 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 > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 21 14:10:56 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 21 Nov 2011 14:10:56 +0100 Subject: importing files inside NagiosQL Message-ID: <00cc01cca84f$07a02400$16e06c00$@it.net> Hi all I am testing NagiosQL and try to import old configuration files inside its DB. No warnings/errors without NagiosQL, but when I import the data inside the DB I see strange situations: 1) ALL hosts/services keep only the first contact-groups associated (usually are three or six) 2) Appear some inactive contacts (seven contacts) similar at existing other , that are not anywhere in the original files. 3) Appear some inactive contact-groups (five contact-group) similar at existing other , that are not anywhere in the original files. 4) Appear some inactive hosts (ten hosts) similar at existing other , that are not anywhere in the original files. 5) Appear some inactive contacts (twenty services) similar at existing other , that are not anywhere in the original files. Any idea ? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 jim at jimavery.me.uk Mon Nov 21 14:23:02 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 21 Nov 2011 13:23:02 +0000 Subject: importing files inside NagiosQL In-Reply-To: <00cc01cca84f$07a02400$16e06c00$@it.net> References: <00cc01cca84f$07a02400$16e06c00$@it.net> Message-ID: On 21 November 2011 13:10, Marco Borsani wrote: > I am testing NagiosQL and try to import old configuration files inside its > DB. > > > > No warnings/errors without NagiosQL, but when I import the data inside the > DB I see strange situations: > > 1)????? ALL hosts/services keep only the first contact-groups associated > (usually are three or six) > > 2)????? Appear some inactive contacts (seven contacts) similar at existing > other , that are not anywhere in the original files. > > 3)????? Appear some inactive contact-groups (five contact-group) similar at > existing other , that are not anywhere in the original files. > > 4)????? Appear some inactive hosts (ten hosts) similar at existing other , > that are not anywhere in the original files. > > 5)????? Appear some inactive contacts (twenty services) similar at existing > other , that are not anywhere in the original files. > > > > Any idea ? Have you applied the various hotfixes? http://www.nagiosql.org/forum/solved-issues/1940-hotfixes-for-311-issues.html Make sure you import the objects in the recommended order:- commands -> timeperiods -> contacttemplates -> contacts -> contactgroups -> hosttemplates -> hosts -> hostgroups -> servicetemplates -> services -> servicegroups I found I had to re-organise my Nagios config files so I could import them in the right order. Even so there were a few anomalies which I had to fix once I had imported in to NagiosQL. You are probably best off discussing issues with NagiosQL in the NagiosQL forum rather than here (or if you are using it as part of Nagios XI, then on the relevant forum for Nagios XI support). hth, Jim ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 21 14:43:03 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 21 Nov 2011 14:43:03 +0100 Subject: R: importing files inside NagiosQL In-Reply-To: References: <00cc01cca84f$07a02400$16e06c00$@it.net> Message-ID: <00ee01cca853$83d35980$8b7a0c80$@it.net> Well How can I purge the DB ? I performed a "Delete config files" .. is it enough ? I'm afraid not ... -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: luned? 21 novembre 2011 14:17 A: Nagios Users List Oggetto: Re: [Nagios-users] importing files inside NagiosQL Hi, maybe some remnants from previous import tries? Purge MySQL db and try a new import, following the suggested (on import page) order of file processing. Giorgio > Hi all > > > > I am testing NagiosQL and try to import old configuration files inside > its DB. > > > > No warnings/errors without NagiosQL, but when I import the data inside > the DB I see strange situations: > > 1) ALL hosts/services keep only the first contact-groups associated > (usually are three or six) > > 2) Appear some inactive contacts (seven contacts) similar at existing > other , that are not anywhere in the original files. > > 3) Appear some inactive contact-groups (five contact-group) similar > at > existing other , that are not anywhere in the original files. > > 4) Appear some inactive hosts (ten hosts) similar at existing other , > that are not anywhere in the original files. > > 5) Appear some inactive contacts (twenty services) similar at > existing > other , that are not anywhere in the original files. > > > > Any idea ? > > 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 > > > > ---------------------------------------------------------------------- > -------- All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d_____________________________________ > __________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 21 14:49:41 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 21 Nov 2011 14:49:41 +0100 Subject: R: importing files inside NagiosQL In-Reply-To: References: <00cc01cca84f$07a02400$16e06c00$@it.net> Message-ID: <00ef01cca854$70e50c00$52af2400$@it.net> You are right , I will post in the other forum :-p Just to answer your question regarding the importing sequence... I can't' follow exactly what you write , because I have some files those contain both contact, contact-groups, host, host-groups and services. So my import steps are four: Commands -> timeperiods -> ALL templates -> ALL other Regards Marco -----Messaggio originale----- Da: Jim Avery [mailto:jim at jimavery.me.uk] Inviato: luned? 21 novembre 2011 14:23 A: Nagios Users List Oggetto: Re: [Nagios-users] importing files inside NagiosQL On 21 November 2011 13:10, Marco Borsani wrote: > I am testing NagiosQL and try to import old configuration files inside > its DB. > > > > No warnings/errors without NagiosQL, but when I import the data inside > the DB I see strange situations: > > 1)????? ALL hosts/services keep only the first contact-groups > associated (usually are three or six) > > 2)????? Appear some inactive contacts (seven contacts) similar at > existing other , that are not anywhere in the original files. > > 3)????? Appear some inactive contact-groups (five contact-group) > similar at existing other , that are not anywhere in the original files. > > 4)????? Appear some inactive hosts (ten hosts) similar at existing > other , that are not anywhere in the original files. > > 5)????? Appear some inactive contacts (twenty services) similar at > existing other , that are not anywhere in the original files. > > > > Any idea ? Have you applied the various hotfixes? http://www.nagiosql.org/forum/solved-issues/1940-hotfixes-for-311-issues.htm l Make sure you import the objects in the recommended order:- commands -> timeperiods -> contacttemplates -> contacts -> contactgroups -> hosttemplates -> hosts -> hostgroups -> servicetemplates -> services -> servicegroups I found I had to re-organise my Nagios config files so I could import them in the right order. Even so there were a few anomalies which I had to fix once I had imported in to NagiosQL. You are probably best off discussing issues with NagiosQL in the NagiosQL forum rather than here (or if you are using it as part of Nagios XI, then on the relevant forum for Nagios XI support). hth, Jim ---------------------------------------------------------------------------- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 14:56:41 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 21 Nov 2011 14:56:41 +0100 (CET) Subject: R: importing files inside NagiosQL In-Reply-To: <00ee01cca853$83d35980$8b7a0c80$@it.net> References: <00cc01cca84f$07a02400$16e06c00$@it.net> <00ee01cca853$83d35980$8b7a0c80$@it.net> Message-ID: Hi, drop the database, then recreate it using the file nagiosQL_v31_db_mysql.sql you find in the install/sql directory. Giorgio > Well > > How can I purge the DB ? I performed a "Delete config files" .. is it > enough > ? I'm afraid not ... > > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: luned? 21 novembre 2011 14:17 > A: Nagios Users List > Oggetto: Re: [Nagios-users] importing files inside NagiosQL > > Hi, > > maybe some remnants from previous import tries? Purge MySQL db and try a > new > import, following the suggested (on import page) order of file processing. > > Giorgio > > > >> Hi all >> >> >> >> I am testing NagiosQL and try to import old configuration files inside >> its DB. >> >> >> >> No warnings/errors without NagiosQL, but when I import the data inside >> the DB I see strange situations: >> >> 1) ALL hosts/services keep only the first contact-groups associated >> (usually are three or six) >> >> 2) Appear some inactive contacts (seven contacts) similar at >> existing >> other , that are not anywhere in the original files. >> >> 3) Appear some inactive contact-groups (five contact-group) similar >> at >> existing other , that are not anywhere in the original files. >> >> 4) Appear some inactive hosts (ten hosts) similar at existing other >> , >> that are not anywhere in the original files. >> >> 5) Appear some inactive contacts (twenty services) similar at >> existing >> other , that are not anywhere in the original files. >> >> >> >> Any idea ? >> >> 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 >> >> >> >> ---------------------------------------------------------------------- >> -------- All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d_____________________________________ >> __________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ---------------------------------------------------------------------------- > -- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security threats, > fraudulent activity, and more. Splunk takes this data and makes sense of > it. > IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Nov 21 20:25:43 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 21 Nov 2011 14:25:43 -0500 Subject: e-mail notifications not being sent Message-ID: Hi there -- I completed the installation of Nagios 3.3.1, and I am going through the testing process. The server is able to successfully monitor our various clients, but e-mail notifications for critical conditions are not being sent to the intended recipient. The e-mail server that is on the Nagios server is the Postfix message transfer agent. The troubleshooting steps that I have taken so far are the following: 1. I have been able to send a test e-mail from the Nagios server to the intended recipient using two different mail commands. The test e-mail was done from the command line using the mail and mailx commands using the command syntax: mail < /etc/fstab mailx -s "test" < /etc/fstab 2. I checked the contacts.cfg file, and confirmed the intended recipient is listed with the correct address. 3. I checked the nagios.log, and there were entries that were similar to the following: [1321385615] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: PROBLEM\nHost: ... Date/Time: Tue Nov 15 14:33:35 EST 2011\n" | /bin/mail -..." resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I did a search for the mail binary, and there was none at that location. To correct the problem, I created a symbolic that pointed to the actual location of the mail binary which was located at the /usr/bin/ folder. 4. As far as I can tell, all hosts have e-mail notifications enabled on them. What other steps do I need to take in order to get e-mail notifications to work here? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Mon Nov 21 20:56:38 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 21 Nov 2011 20:56:38 +0100 Subject: [Nagios-users] [PATCH] reduce notification load; fix $NOTIFICATIONRECIPIENTS$ macro #98 In-Reply-To: <4EAFEE9D.5070201@univie.ac.at> References: <4EAFEE9D.5070201@univie.ac.at> Message-ID: <4ECAACF6.6090905@op5.se> On 11/01/2011 02:05 PM, Michael Friedrich wrote: > hi, > > recently we've been debugging on team icinga in the middle of > notifications and macros, and while investigating on a users problem, > we've digged a bit deeper into the notification viability checks, > resulting in deeper analysis of an Opsview patch to reduce the > notification load significantly by moving the viability checks from > the actual notification into the creation of the contacts notified, > passing only a list of 'qualified' contacts to the actual > notification logic. the only thing to remark over here is that the > checks against the valid notification_period now happen sooner, and > not actually when the notification is sent to each contact. > > while implementing that patch into current code (needs some macro > passing with current code), we did remember nagios bug #98 where the > $NOTIFICATIONRECEIPIENTS$ macro is demanded to be only populated with > the actual contacts to be notified, but not all of those assigned to > the host/service. while this is considered to be a real bug, further > investigation showed that thanks to the viability checks before > calling add_notification(), contacts won't be added to that macro as > the macro logic happens within that function too. > > so by applying the attached git patch, you will a. reduce > notification load and b. fix the $NOTIFICATIONRECEIPIENTS$ macro > holding all contacts, but not the viable contacts. > > since the code remains actually the same on icinga and nagios in this > stage, the tests can be found at the icinga dev tracker as usual. > https://dev.icinga.org/issues/1744 > https://dev.icinga.org/issues/2023 > I've started looking into this patch right now. It's good to get that issue (#98) fixed, but I fail to see any noticeable performance improvement. All contacts potentionally viable for being contacted are still looked at, but the difference with this patch is that it checks the viability before shipping it off to add_notification(), which does fix issue 98 but at the expense of quite a lot of code duplication. I'll see if I can improve on that a bit. > kudos to Opsview Team for their initial patch as well as Icinga > Development Team for the further analysis on the macro bug. > > feel free to apply, matches against latest HEAD. > Not anymore, but I get the gist of it so I'll do something with it that keeps the spirit of the patch, as it were. -- 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. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d From ck at claudiokuenzler.com Mon Nov 21 21:25:00 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 21 Nov 2011 21:25:00 +0100 Subject: e-mail notifications not being sent In-Reply-To: References: Message-ID: Maybe you have to replace the mail program by something on your system, e.g. /usr/bin/mailx. That's always one of the first things I change in a new Nagios installation. What OS are you using? Try to install the required programs (mail/mailx...) if they can't be found in your system. On Mon, Nov 21, 2011 at 8:25 PM, Kaplan, Andrew H. wrote: > ** > > Hi there -- > > I completed the installation of Nagios 3.3.1, and I am going through the > testing process. The server is able to successfully monitor > > our various clients, but e-mail notifications for critical conditions are > not being sent to the intended recipient. The e-mail server that > > is on the Nagios server is the Postfix message transfer agent. > > The troubleshooting steps that I have taken so far are the following: > > 1. I have been able to send a test e-mail from the Nagios server to the > intended recipient using two different mail commands. The test > > e-mail was done from the command line using the mail and mailx > commands using the command syntax: > > mail < /etc/fstab > mailx -s "test" < /etc/fstab > > 2. I checked the contacts.cfg file, and confirmed the intended recipient > is listed with the correct address. > > 3. I checked the nagios.log, and there were entries that were similar to > the following: > > [1321385615] Warning: Attempting to execute the command "/usr/bin/printf > "%b" "***** Nagios 2.6 *****\n\nNotification Type: PROBLEM\nHost: ... > Date/Time: Tue Nov 15 14:33:35 EST 2011\n" | > > /bin/mail -?" resulted in a return code of 127. Make sure > the script or binary you are trying to execute actually exists? > > I did a search for the mail binary, and there was none at that location. > To correct the problem, I created a symbolic that pointed to the actual > > location of the mail binary which was located at the /usr/bin/ folder. > > 4. As far as I can tell, all hosts have e-mail notifications enabled on > them. > > What other steps do I need to take in order to get e-mail notifications to > work here? > > Thanks. > > > > The information in this e-mail is intended only for the person to whom it > is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Mon Nov 21 22:17:20 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 21 Nov 2011 16:17:20 -0500 Subject: e-mail notifications not being sent In-Reply-To: References: Message-ID: Hi there -- I checked the nagios.log file, and the problem was due to the mail binary not being at the /bin folder. I created a symbolic link at that location to point to the /usr/bin/mail binary. Once that was done, notifications were sent to the recipient. As a follow-up, the address of the Nagios server is shown to be nagios at localdomain. I would like to change that to reflect the name of the server. What file(s) do I need to modify in order to make that happen? Thanks. ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Monday, November 21, 2011 3:25 PM To: Nagios Users List Subject: Re: [Nagios-users] e-mail notifications not being sent Maybe you have to replace the mail program by something on your system, e.g. /usr/bin/mailx. That's always one of the first things I change in a new Nagios installation. What OS are you using? Try to install the required programs (mail/mailx...) if they can't be found in your system. On Mon, Nov 21, 2011 at 8:25 PM, Kaplan, Andrew H. wrote: Hi there -- I completed the installation of Nagios 3.3.1, and I am going through the testing process. The server is able to successfully monitor our various clients, but e-mail notifications for critical conditions are not being sent to the intended recipient. The e-mail server that is on the Nagios server is the Postfix message transfer agent. The troubleshooting steps that I have taken so far are the following: 1. I have been able to send a test e-mail from the Nagios server to the intended recipient using two different mail commands. The test e-mail was done from the command line using the mail and mailx commands using the command syntax: mail < /etc/fstab mailx -s "test" < /etc/fstab 2. I checked the contacts.cfg file, and confirmed the intended recipient is listed with the correct address. 3. I checked the nagios.log, and there were entries that were similar to the following: [1321385615] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.6 *****\n\nNotification Type: PROBLEM\nHost: ... Date/Time: Tue Nov 15 14:33:35 EST 2011\n" | /bin/mail -..." resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I did a search for the mail binary, and there was none at that location. To correct the problem, I created a symbolic that pointed to the actual location of the mail binary which was located at the /usr/bin/ folder. 4. As far as I can tell, all hosts have e-mail notifications enabled on them. What other steps do I need to take in order to get e-mail notifications to work here? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Tue Nov 22 01:02:18 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 22 Nov 2011 01:02:18 +0100 Subject: [PATCH] reduce notification load; fix $NOTIFICATIONRECIPIENTS$ macro #98 In-Reply-To: <4ECAACF6.6090905@op5.se> References: <4EAFEE9D.5070201@univie.ac.at> <4ECAACF6.6090905@op5.se> Message-ID: <4ECAE68A.2090509@univie.ac.at> On 21.11.2011 20:56, Andreas Ericsson wrote: > On 11/01/2011 02:05 PM, Michael Friedrich wrote: >> hi, >> >> recently we've been debugging on team icinga in the middle of >> notifications and macros, and while investigating on a users problem, >> we've digged a bit deeper into the notification viability checks, >> resulting in deeper analysis of an Opsview patch to reduce the >> notification load significantly by moving the viability checks from >> the actual notification into the creation of the contacts notified, >> passing only a list of 'qualified' contacts to the actual >> notification logic. the only thing to remark over here is that the >> checks against the valid notification_period now happen sooner, and >> not actually when the notification is sent to each contact. >> >> while implementing that patch into current code (needs some macro >> passing with current code), we did remember nagios bug #98 where the >> $NOTIFICATIONRECEIPIENTS$ macro is demanded to be only populated with >> the actual contacts to be notified, but not all of those assigned to >> the host/service. while this is considered to be a real bug, further >> investigation showed that thanks to the viability checks before >> calling add_notification(), contacts won't be added to that macro as >> the macro logic happens within that function too. >> >> so by applying the attached git patch, you will a. reduce >> notification load and b. fix the $NOTIFICATIONRECEIPIENTS$ macro >> holding all contacts, but not the viable contacts. >> >> since the code remains actually the same on icinga and nagios in this >> stage, the tests can be found at the icinga dev tracker as usual. >> https://dev.icinga.org/issues/1744 >> https://dev.icinga.org/issues/2023 >> > > I've started looking into this patch right now. It's good to get that > issue (#98) fixed, but I fail to see any noticeable performance > improvement. All contacts potentionally viable for being contacted are > still looked at, but the difference with this patch is that it checks > the viability before shipping it off to add_notification(), which does > fix issue 98 but at the expense of quite a lot of code duplication. normally, all contacts would have been added to the notification_list in memory, even those not actually passing the viability checks. but at this stage of the code, nobody is aware of that so the list gets populated either way by calling add_notification(). /* add all individual contacts for this host */ ^^^ having that notification_list created, this remains fully linked in memory. let's say, you have a bunch of some 1k contacts for that service, and actually the alarm would hit only those in the nonworkhours or workhours timeperiod and only on critical, for the ops team e.g. so by looping through the notification_list, you will encounter *all* contacts for that host, only the duplicates have been removed. /* notify each contact (duplicates have been removed) */ then you'll fire up the actual notification with calling notify_contact_of_host - and actually in there, the current core checks the viability for the contact to be notified. you are right, if each contact gets notified 24x7 on all notification_options, the algorithm stays the same. but if you happen to have a lot of different contacts assigned to hosts and services, not getting notified each time a notification is triggered, the overall amount of looping through notification_list will be shorter and save some cpu cycles, and probably on larger systems, a bit more than just some as this means a reduction of the looping for each contact to be checked to be notified on the actual end-of-the-line. furthermore, where do you get the idea of code duplication from? the only changes made by this patch is actually moving the viability checks and therefore passing an additional function parameter which makes the diff a bit more bloated than it should be. > > I'll see if I can improve on that a bit. > >> kudos to Opsview Team for their initial patch as well as Icinga >> Development Team for the further analysis on the macro bug. >> >> feel free to apply, matches against latest HEAD. >> > > Not anymore, but I get the gist of it so I'll do something with it that > keeps the spirit of the patch, as it were. > -- 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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 10:31:39 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 22 Nov 2011 10:31:39 +0100 Subject: [Nagios-users] [PATCH] reduce notification load; fix $NOTIFICATIONRECIPIENTS$ macro #98 In-Reply-To: <4ECAE68A.2090509@univie.ac.at> References: <4EAFEE9D.5070201@univie.ac.at> <4ECAACF6.6090905@op5.se> <4ECAE68A.2090509@univie.ac.at> Message-ID: <4ECB6BFB.2020409@op5.se> On 11/22/2011 01:02 AM, Michael Friedrich wrote: > On 21.11.2011 20:56, Andreas Ericsson wrote: >> On 11/01/2011 02:05 PM, Michael Friedrich wrote: >>> hi, >>> >>> recently we've been debugging on team icinga in the middle of >>> notifications and macros, and while investigating on a users problem, >>> we've digged a bit deeper into the notification viability checks, >>> resulting in deeper analysis of an Opsview patch to reduce the >>> notification load significantly by moving the viability checks from >>> the actual notification into the creation of the contacts notified, >>> passing only a list of 'qualified' contacts to the actual >>> notification logic. the only thing to remark over here is that the >>> checks against the valid notification_period now happen sooner, and >>> not actually when the notification is sent to each contact. >>> >>> while implementing that patch into current code (needs some macro >>> passing with current code), we did remember nagios bug #98 where the >>> $NOTIFICATIONRECEIPIENTS$ macro is demanded to be only populated with >>> the actual contacts to be notified, but not all of those assigned to >>> the host/service. while this is considered to be a real bug, further >>> investigation showed that thanks to the viability checks before >>> calling add_notification(), contacts won't be added to that macro as >>> the macro logic happens within that function too. >>> >>> so by applying the attached git patch, you will a. reduce >>> notification load and b. fix the $NOTIFICATIONRECEIPIENTS$ macro >>> holding all contacts, but not the viable contacts. >>> >>> since the code remains actually the same on icinga and nagios in this >>> stage, the tests can be found at the icinga dev tracker as usual. >>> https://dev.icinga.org/issues/1744 >>> https://dev.icinga.org/issues/2023 >>> >> >> I've started looking into this patch right now. It's good to get that >> issue (#98) fixed, but I fail to see any noticeable performance >> improvement. All contacts potentionally viable for being contacted are >> still looked at, but the difference with this patch is that it checks >> the viability before shipping it off to add_notification(), which does >> fix issue 98 but at the expense of quite a lot of code duplication. > > normally, all contacts would have been added to the notification_list in > memory, even those not actually passing the viability checks. but at > this stage of the code, nobody is aware of that so the list gets > populated either way by calling add_notification(). > > /* add all individual contacts for this host */ > ^^^ > > having that notification_list created, this remains fully linked in > memory. let's say, you have a bunch of some 1k contacts for that > service, and actually the alarm would hit only those in the nonworkhours > or workhours timeperiod and only on critical, for the ops team e.g. > so by looping through the notification_list, you will encounter *all* > contacts for that host, only the duplicates have been removed. > > /* notify each contact (duplicates have been removed) */ > > then you'll fire up the actual notification with calling > notify_contact_of_host - and actually in there, the current core checks > the viability for the contact to be notified. > > you are right, if each contact gets notified 24x7 on all > notification_options, the algorithm stays the same. but if you happen to > have a lot of different contacts assigned to hosts and services, not > getting notified each time a notification is triggered, the overall > amount of looping through notification_list will be shorter and save > some cpu cycles, and probably on larger systems, a bit more than just > some as this means a reduction of the looping for each contact to be > checked to be notified on the actual end-of-the-line. > Right, but all contacts are still checked for viability, so the amount of looping is reduced once for all those who aren't viable, while the number of viability checks (which I presume is the expensive part) will remain the same. > furthermore, where do you get the idea of code duplication from? the > only changes made by this patch is actually moving the viability checks > and therefore passing an additional function parameter which makes the > diff a bit more bloated than it should be. > The fact that the patch introduces eight locations with identical code headed with "check now if contact can be notified". The proper way to do this would be to introduce create_recipient_list(), passing it all the variables it needs to produce a list of recipients that have duplicates removed *and* are viable for being contacted. If a lot of code still has to be duplicated (as in the patch), more helpers in the form of add_recipient_for_service(&mac, srv, cntct) would be nifty so the viability check can be moved there without breaking the abi for create_notification_list_from_{host,service}(). I'm in the middle of a release at $dayjob so I've had to postpone that until next week or so. I wouldn't mind if you beat me to 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. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d From ck at claudiokuenzler.com Tue Nov 22 10:56:38 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 22 Nov 2011 10:56:38 +0100 Subject: e-mail notifications not being sent In-Reply-To: References: Message-ID: Normally the mail binary takes the hostname into account. Verify the following files if you correctly have set up the hostname: /etc/hosts /etc/HOSTNAME You might also want to take a look at .mailrc if the hostname is still not shown. On Mon, Nov 21, 2011 at 10:17 PM, Kaplan, Andrew H. wrote: > ** > Hi there -- > > I checked the nagios.log file, and the problem was due to the mail binary > not being at the /bin folder. I created a symbolic link > at that location to point to the /usr/bin/mail binary. Once that was done, > notifications were sent to the recipient. > > As a follow-up, the address of the Nagios server is shown to be > nagios at localdomain. I would like to change that to reflect the > name of the server. What file(s) do I need to modify in order to make that > happen? > > Thanks. > > ------------------------------ > *From:* Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > *Sent:* Monday, November 21, 2011 3:25 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] e-mail notifications not being sent > > Maybe you have to replace the mail program by something on your system, > e.g. /usr/bin/mailx. > That's always one of the first things I change in a new Nagios > installation. > What OS are you using? Try to install the required programs > (mail/mailx...) if they can't be found in your system. > > On Mon, Nov 21, 2011 at 8:25 PM, Kaplan, Andrew H. wrote: > >> ** >> >> Hi there -- >> >> I completed the installation of Nagios 3.3.1, and I am going through the >> testing process. The server is able to successfully monitor >> >> our various clients, but e-mail notifications for critical conditions are >> not being sent to the intended recipient. The e-mail server that >> >> is on the Nagios server is the Postfix message transfer agent. >> >> The troubleshooting steps that I have taken so far are the following: >> >> 1. I have been able to send a test e-mail from the Nagios server to the >> intended recipient using two different mail commands. The test >> >> e-mail was done from the command line using the mail and mailx >> commands using the command syntax: >> >> mail < /etc/fstab >> mailx -s "test" < /etc/fstab >> >> 2. I checked the contacts.cfg file, and confirmed the intended recipient >> is listed with the correct address. >> >> 3. I checked the nagios.log, and there were entries that were similar to >> the following: >> >> [1321385615] Warning: Attempting to execute the command "/usr/bin/printf >> "%b" "***** Nagios 2.6 *****\n\nNotification Type: PROBLEM\nHost: ... >> Date/Time: Tue Nov 15 14:33:35 EST 2011\n" | >> >> /bin/mail -?" resulted in a return code of 127. Make >> sure the script or binary you are trying to execute actually exists? >> >> I did a search for the mail binary, and there was none at that location. >> To correct the problem, I created a symbolic that pointed to the actual >> >> location of the mail binary which was located at the /usr/bin/ folder. >> >> 4. As far as I can tell, all hosts have e-mail notifications enabled on >> them. >> >> What other steps do I need to take in order to get e-mail notifications >> to work here? >> >> Thanks. >> >> >> >> The information in this e-mail is intended only for the person to whom it >> is >> addressed. If you believe this e-mail was sent to you in error and the >> e-mail >> contains patient information, please contact the Partners Compliance >> HelpLine at >> http://www.partners.org/complianceline . If the e-mail was sent to you >> in error >> but does not contain patient information, please contact the sender and >> properly >> dispose of the e-mail. >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Tue Nov 22 12:58:53 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 22 Nov 2011 12:58:53 +0100 Subject: [Nagios-users] [PATCH] reduce notification load; fix $NOTIFICATIONRECIPIENTS$ macro #98 In-Reply-To: <4ECB6BFB.2020409@op5.se> References: <4EAFEE9D.5070201@univie.ac.at> <4ECAACF6.6090905@op5.se> <4ECAE68A.2090509@univie.ac.at> <4ECB6BFB.2020409@op5.se> Message-ID: <4ECB8E7D.8060105@univie.ac.at> On 22.11.2011 10:31, Andreas Ericsson wrote: > On 11/22/2011 01:02 AM, Michael Friedrich wrote: >> On 21.11.2011 20:56, Andreas Ericsson wrote: >>> On 11/01/2011 02:05 PM, Michael Friedrich wrote: >>>> hi, >>>> >>>> recently we've been debugging on team icinga in the middle of >>>> notifications and macros, and while investigating on a users problem, >>>> we've digged a bit deeper into the notification viability checks, >>>> resulting in deeper analysis of an Opsview patch to reduce the >>>> notification load significantly by moving the viability checks from >>>> the actual notification into the creation of the contacts notified, >>>> passing only a list of 'qualified' contacts to the actual >>>> notification logic. the only thing to remark over here is that the >>>> checks against the valid notification_period now happen sooner, and >>>> not actually when the notification is sent to each contact. >>>> >>>> while implementing that patch into current code (needs some macro >>>> passing with current code), we did remember nagios bug #98 where the >>>> $NOTIFICATIONRECEIPIENTS$ macro is demanded to be only populated with >>>> the actual contacts to be notified, but not all of those assigned to >>>> the host/service. while this is considered to be a real bug, further >>>> investigation showed that thanks to the viability checks before >>>> calling add_notification(), contacts won't be added to that macro as >>>> the macro logic happens within that function too. >>>> >>>> so by applying the attached git patch, you will a. reduce >>>> notification load and b. fix the $NOTIFICATIONRECEIPIENTS$ macro >>>> holding all contacts, but not the viable contacts. >>>> >>>> since the code remains actually the same on icinga and nagios in this >>>> stage, the tests can be found at the icinga dev tracker as usual. >>>> https://dev.icinga.org/issues/1744 >>>> https://dev.icinga.org/issues/2023 >>>> >>> >>> I've started looking into this patch right now. It's good to get that >>> issue (#98) fixed, but I fail to see any noticeable performance >>> improvement. All contacts potentionally viable for being contacted are >>> still looked at, but the difference with this patch is that it checks >>> the viability before shipping it off to add_notification(), which does >>> fix issue 98 but at the expense of quite a lot of code duplication. >> >> normally, all contacts would have been added to the notification_list in >> memory, even those not actually passing the viability checks. but at >> this stage of the code, nobody is aware of that so the list gets >> populated either way by calling add_notification(). >> >> /* add all individual contacts for this host */ >> ^^^ >> >> having that notification_list created, this remains fully linked in >> memory. let's say, you have a bunch of some 1k contacts for that >> service, and actually the alarm would hit only those in the nonworkhours >> or workhours timeperiod and only on critical, for the ops team e.g. >> so by looping through the notification_list, you will encounter *all* >> contacts for that host, only the duplicates have been removed. >> >> /* notify each contact (duplicates have been removed) */ >> >> then you'll fire up the actual notification with calling >> notify_contact_of_host - and actually in there, the current core checks >> the viability for the contact to be notified. >> >> you are right, if each contact gets notified 24x7 on all >> notification_options, the algorithm stays the same. but if you happen to >> have a lot of different contacts assigned to hosts and services, not >> getting notified each time a notification is triggered, the overall >> amount of looping through notification_list will be shorter and save >> some cpu cycles, and probably on larger systems, a bit more than just >> some as this means a reduction of the looping for each contact to be >> checked to be notified on the actual end-of-the-line. >> > > Right, but all contacts are still checked for viability, so the amount > of looping is reduced once for all those who aren't viable, while the > number of viability checks (which I presume is the expensive part) will > remain the same. from that point of view you are absolutely right. thanks for clarification. > >> furthermore, where do you get the idea of code duplication from? the >> only changes made by this patch is actually moving the viability checks >> and therefore passing an additional function parameter which makes the >> diff a bit more bloated than it should be. >> > > The fact that the patch introduces eight locations with identical code > headed with "check now if contact can be notified". > > The proper way to do this would be to introduce create_recipient_list(), > passing it all the variables it needs to produce a list of recipients > that have duplicates removed *and* are viable for being contacted. If a > lot of code still has to be duplicated (as in the patch), more helpers > in the form of add_recipient_for_service(&mac, srv, cntct) would be > nifty so the viability check can be moved there without breaking the > abi for create_notification_list_from_{host,service}(). i see. sounds like some hacky hours ;) > > I'm in the middle of a release at $dayjob so I've had to postpone that > until next week or so. I wouldn't mind if you beat me to it ;) hehe. you are not alone. i'm in the middle of release ($icinga) and preparations ($osmc) for next week, so maybe i'd just get onto some devs in nuremberg and we'll try hack together ;-) -- 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 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d From AHKAPLAN at PARTNERS.ORG Tue Nov 22 19:29:37 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 22 Nov 2011 13:29:37 -0500 Subject: problem with newly created checkcommand and service Message-ID: Hi there -- I am going through the motions of adding a new checkcommand, and service to the Nagios server. The command involves the check_mssql_health plugin which runs on the Nagios server. The plugin gets in information via queries to a particular port on the Microsoft SQL server. Here are its particulars: /usr/local/nagios/libexec/check_mssql_health --server= --username= --password= --port= --mode=connection-time The name of the checkcommand is: database_connection-time Once the checkcommand was created, so was the service. The configuration of the service in question, taken from the services.cfg file, is shown below: define service { service_description Database Connection Time check_command database_connection-time! host_name check_period 24x7 contact_groups nt-admins,linux-admins,admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service } To verify the new configuration would work, the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg was run to verify the configuration. It was here the error message: Checking services... Error: Service check command '_connection-time' specified in service 'Database Connection Time' for host '' not defined anywhere! I verified the syntax of the command in the checkcommands.cfg file, including the name given to the command. Why would Nagios think the service check command is not defined, and return this error? The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Wed Nov 23 08:26:27 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 23 Nov 2011 08:26:27 +0100 Subject: problem with newly created checkcommand and service In-Reply-To: References: Message-ID: Hi, Please show the command definition of database_connection-time. Furthermore in the service definition you use the following line: check_command database_connection-time! Didn't you want to pass arguments to the command? If they're already hardcoded in the command definition you can leave the exclamation mark off. On Tue, Nov 22, 2011 at 7:29 PM, Kaplan, Andrew H. wrote: > ** > > Hi there -- > > I am going through the motions of adding a new checkcommand, and service > to the Nagios server. The command involves > the check_mssql_health plugin which runs on the Nagios server. The plugin > gets in information via queries to a particular > > port on the Microsoft SQL server. Here are its particulars: > > */usr/local/nagios/libexec/check_mssql_health --server= > --username= --password= --port= > --mode=connection-time* > > The name of the checkcommand is:* database_connection-time > * > Once the checkcommand was created, so was the service. The configuration > of the service in question, taken from the > services.cfg file, is shown below: > > define service { > service_description Database Connection Time > check_command database_connection-time! > host_name > check_period 24x7 > contact_groups nt-admins,linux-admins,admins > event_handler_enabled 0 > active_checks_enabled 1 > passive_checks_enabled 0 > notifications_enabled 1 > check_freshness 0 > freshness_threshold 86400 > use generic-service > } > > To verify the new configuration would work, the command: > > */usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg* > > was run to verify the configuration. It was here the error message: > > *Checking services... > Error: Service check command '_connection-time' specified in > service 'Database Connection Time' for host '' not defined > anywhere!* > > I verified the syntax of the command in the checkcommands.cfg file, > including the name given to the command. Why would Nagios > > think the service check command is not defined, and return this error? > > > > > The information in this e-mail is intended only for the person to whom it > is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Wed Nov 23 14:35:57 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 23 Nov 2011 08:35:57 -0500 Subject: problem with newly created checkcommand andservice In-Reply-To: References: Message-ID: Hi there -- The command definition for database_connection-time is the following: define command { command_name database_connection-time command_line /usr/local/nagios/libexec/check_mssql_health --server= --username= --password= --port= --mode=connection-time There are arguments that are passed to the command. I did not remove the exclamation point due to another command that also has arguments passed to it. For example: define command { command_name check_nis_server command_line /usr/local/nagios/libexec/check_nis -H -d has the following definition in the services.cfg file: define service { service_description Check NIS Service check_command check_nis_server! host_name check_period 24x7 notification_period 24x7 contact_groups linux-admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service One thing I came across so far. I had imported the configuration files into the NConf utility database of the Nagios server. Among the files that were imported was the commands.cfg file. During the importation process, the commands.cfg file data was imported into a field called checkcommands. When the NConf utility was subsequently used to generate new files, a checkcommands.cfg file was among the them. This file, along with the original commands.cfg file, is located in the /usr/local/nagios/etc/objects directory. However, the nagios.cfg file does not reference it. One idea that I had was to remove the reference within nagios.cfg to commands.cfg, and replace it with a reference to checkcommands.cfg, and see what are the results. What do you think? ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Wednesday, November 23, 2011 2:26 AM To: Nagios Users List Subject: Re: [Nagios-users] problem with newly created checkcommand andservice Hi, Please show the command definition of database_connection-time. Furthermore in the service definition you use the following line: check_command database_connection-time! Didn't you want to pass arguments to the command? If they're already hardcoded in the command definition you can leave the exclamation mark off. On Tue, Nov 22, 2011 at 7:29 PM, Kaplan, Andrew H. wrote: Hi there -- I am going through the motions of adding a new checkcommand, and service to the Nagios server. The command involves the check_mssql_health plugin which runs on the Nagios server. The plugin gets in information via queries to a particular port on the Microsoft SQL server. Here are its particulars: /usr/local/nagios/libexec/check_mssql_health --server= --username= --password= --port= --mode=connection-time The name of the checkcommand is: database_connection-time Once the checkcommand was created, so was the service. The configuration of the service in question, taken from the services.cfg file, is shown below: define service { service_description Database Connection Time check_command database_connection-time! host_name check_period 24x7 contact_groups nt-admins,linux-admins,admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service } To verify the new configuration would work, the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg was run to verify the configuration. It was here the error message: Checking services... Error: Service check command '_connection-time' specified in service 'Database Connection Time' for host '' not defined anywhere! I verified the syntax of the command in the checkcommands.cfg file, including the name given to the command. Why would Nagios think the service check command is not defined, and return this error? The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Wed Nov 23 16:21:54 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 23 Nov 2011 16:21:54 +0100 Subject: problem with newly created checkcommand andservice In-Reply-To: References: Message-ID: Did you replace the $ARGX$ options by etc or did you really write them like this? The command definition should look like this: define command { command_name database_connection-time command_line /usr/local/nagios/libexec/check_mssql_health --server=$HOSTADDRESS$--username=$ARG1$--password= $ARG2$ --port=$ARG3$ --mode=connection-time } And the service should then pass the arguments to the command: define service { service_description Database Connection Time check_command database_connection-time!username!mypasswd!1433 host_name check_period 24x7 contact_groups nt-admins,linux-admins,admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service } With this you're passing three arguments to the command (username, password and port). The value for --server is automatically using the IP-Address (or DNS name) of your defined host ($HOSTADDRESS$). On Wed, Nov 23, 2011 at 2:35 PM, Kaplan, Andrew H. wrote: > ** > Hi there -- > > The command definition for database_connection-time is the following: > > define command { > command_name database > _connection-time > command_line > /usr/local/nagios/libexec/check_mssql_health --server=--username= > --password= --port= --mode=connection-time > > There are arguments that are passed to the command. I did not remove the > exclamation point due to another command that also has > arguments passed to it. For example: > > define command { > command_name check_nis_server > command_line > /usr/local/nagios/libexec/check_nis -H -d > > has the following definition in the services.cfg file: > > define service { > service_description Check NIS Service > check_command check_nis_server! > host_name > check_period 24x7 > notification_period 24x7 > contact_groups linux-admins > > event_handler_enabled 0 > active_checks_enabled 1 > passive_checks_enabled 0 > notifications_enabled 1 > check_freshness 0 > freshness_threshold 86400 > use generic-service > > One thing I came across so far. I had imported the configuration files > into the NConf utility database of the Nagios server. Among the files that > were imported was the > commands.cfg file. During the importation process, the commands.cfg file > data was imported into a field called checkcommands. When the NConf utility > was subsequently > used to generate new files, a checkcommands.cfg file was among the them. > > This file, along with the original commands.cfg file, is located in the > /usr/local/nagios/etc/objects directory. However, the nagios.cfg file does > not reference it. One idea that > I had was to remove the reference within nagios.cfg to commands.cfg, and > replace it with a reference to checkcommands.cfg, and see what are the > results. > > What do you think? > > > > > > > ------------------------------ > *From:* Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > *Sent:* Wednesday, November 23, 2011 2:26 AM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] problem with newly created checkcommand > andservice > > Hi, > > Please show the command definition of database_connection-time. > > Furthermore in the service definition you use the following line: > > check_command database_connection-time! > > Didn't you want to pass arguments to the command? If they're already > hardcoded in the command definition you can leave the exclamation mark off. > > On Tue, Nov 22, 2011 at 7:29 PM, Kaplan, Andrew H. wrote: > >> ** >> >> Hi there -- >> >> I am going through the motions of adding a new checkcommand, and service >> to the Nagios server. The command involves >> the check_mssql_health plugin which runs on the Nagios server. The plugin >> gets in information via queries to a particular >> >> port on the Microsoft SQL server. Here are its particulars: >> >> */usr/local/nagios/libexec/check_mssql_health --server= >> --username= --password= --port= >> --mode=connection-time* >> >> The name of the checkcommand is:* database_connection-time >> * >> Once the checkcommand was created, so was the service. The configuration >> of the service in question, taken from the >> services.cfg file, is shown below: >> >> define service { >> service_description Database Connection Time >> check_command database_connection-time! >> host_name >> check_period 24x7 >> contact_groups nt-admins,linux-admins,admins >> event_handler_enabled 0 >> active_checks_enabled 1 >> passive_checks_enabled 0 >> notifications_enabled 1 >> check_freshness 0 >> freshness_threshold 86400 >> use generic-service >> } >> >> To verify the new configuration would work, the command: >> >> */usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg* >> >> was run to verify the configuration. It was here the error message: >> >> *Checking services... >> Error: Service check command '_connection-time' specified >> in service 'Database Connection Time' for host '' not >> defined anywhere!* >> >> I verified the syntax of the command in the checkcommands.cfg file, >> including the name given to the command. Why would Nagios >> >> think the service check command is not defined, and return this error? >> >> >> >> >> The information in this e-mail is intended only for the person to whom it >> is >> addressed. If you believe this e-mail was sent to you in error and the >> e-mail >> contains patient information, please contact the Partners Compliance >> HelpLine at >> http://www.partners.org/complianceline . If the e-mail was sent to you >> in error >> but does not contain patient information, please contact the sender and >> properly >> dispose of the e-mail. >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 AHKAPLAN at PARTNERS.ORG Wed Nov 23 17:38:14 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 23 Nov 2011 11:38:14 -0500 Subject: problem with newly created checkcommandandservice In-Reply-To: References: Message-ID: Hi there -- I found the answer to the problem. Working in conjunction with you and another colleague, I noticed the checkcommands.cfg and commands.cfg files were both present in the objects directory. Additionally the two files were found to have the same command syntax with the exception of the former having the command reference in it. I then checked the nagios.cfg file, and there was a line referring to commands.cfg but not the checkcommands.cfg file. I changed the reference to point to the latter file, and that solved the problem. Thanks for the help in any event. ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Wednesday, November 23, 2011 10:22 AM To: Nagios Users List Subject: Re: [Nagios-users] problem with newly created checkcommandandservice Did you replace the $ARGX$ options by etc or did you really write them like this? The command definition should look like this: define command { command_name database_connection-time command_line /usr/local/nagios/libexec/check_mssql_health --server=$HOSTADDRESS$ --username=$ARG1$ --password=$ARG2$ --port=$ARG3$ --mode=connection-time } And the service should then pass the arguments to the command: define service { service_description Database Connection Time check_command database_connection-time!username!mypasswd!1433 host_name check_period 24x7 contact_groups nt-admins,linux-admins,admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service } With this you're passing three arguments to the command (username, password and port). The value for --server is automatically using the IP-Address (or DNS name) of your defined host ($HOSTADDRESS$). On Wed, Nov 23, 2011 at 2:35 PM, Kaplan, Andrew H. wrote: Hi there -- The command definition for database_connection-time is the following: define command { command_name database_connection-time command_line /usr/local/nagios/libexec/check_mssql_health --server= --username= --password= --port= --mode=connection-time There are arguments that are passed to the command. I did not remove the exclamation point due to another command that also has arguments passed to it. For example: define command { command_name check_nis_server command_line /usr/local/nagios/libexec/check_nis -H -d has the following definition in the services.cfg file: define service { service_description Check NIS Service check_command check_nis_server! host_name check_period 24x7 notification_period 24x7 contact_groups linux-admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service One thing I came across so far. I had imported the configuration files into the NConf utility database of the Nagios server. Among the files that were imported was the commands.cfg file. During the importation process, the commands.cfg file data was imported into a field called checkcommands. When the NConf utility was subsequently used to generate new files, a checkcommands.cfg file was among the them. This file, along with the original commands.cfg file, is located in the /usr/local/nagios/etc/objects directory. However, the nagios.cfg file does not reference it. One idea that I had was to remove the reference within nagios.cfg to commands.cfg, and replace it with a reference to checkcommands.cfg, and see what are the results. What do you think? ________________________________ From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Wednesday, November 23, 2011 2:26 AM To: Nagios Users List Subject: Re: [Nagios-users] problem with newly created checkcommand andservice Hi, Please show the command definition of database_connection-time. Furthermore in the service definition you use the following line: check_command database_connection-time! Didn't you want to pass arguments to the command? If they're already hardcoded in the command definition you can leave the exclamation mark off. On Tue, Nov 22, 2011 at 7:29 PM, Kaplan, Andrew H. wrote: Hi there -- I am going through the motions of adding a new checkcommand, and service to the Nagios server. The command involves the check_mssql_health plugin which runs on the Nagios server. The plugin gets in information via queries to a particular port on the Microsoft SQL server. Here are its particulars: /usr/local/nagios/libexec/check_mssql_health --server= --username= --password= --port= --mode=connection-time The name of the checkcommand is: database_connection-time Once the checkcommand was created, so was the service. The configuration of the service in question, taken from the services.cfg file, is shown below: define service { service_description Database Connection Time check_command database_connection-time! host_name check_period 24x7 contact_groups nt-admins,linux-admins,admins event_handler_enabled 0 active_checks_enabled 1 passive_checks_enabled 0 notifications_enabled 1 check_freshness 0 freshness_threshold 86400 use generic-service } To verify the new configuration would work, the command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg was run to verify the configuration. It was here the error message: Checking services... Error: Service check command '_connection-time' specified in service 'Database Connection Time' for host '' not defined anywhere! I verified the syntax of the command in the checkcommands.cfg file, including the name given to the command. Why would Nagios think the service check command is not defined, and return this error? The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 dermot.duffy at brandtone.ie Fri Nov 25 12:50:06 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Fri, 25 Nov 2011 11:50:06 +0000 Subject: Oracle plugin In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB6A808D89F8@off-win2003-01.ausregistrygroup.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E332E@pemexmbx13.hosting.local><4EC52075.501@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E498A@pemexmbx12.hosting.local><4EC52ED5.4010908@seres.es><0B0CA225A9EAE8468E80AA7A88992CFE043E4DE4@pemexmbx12.hosting.local><4EC53684.7010200@seres.es> <0B0CA225A9EAE8468E80AA7A88992CFE043E4E12@pemexmbx12.hosting.local> <30A417B62E7EE448B3864ADC881CEFD61307F998@missemsa01.bsg.ad.adp.com> <0B0CA225A9EAE8468E80AA7A88992CFE043E4F83@pemexmbx12.hosting.local> <8CEF048B9EC83748B1517DC64EA130FB6A808D89F8@off-win2003-01.ausregistrygroup.local> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E56FB@pemexmbx12.hosting.local> Hi, All variables are set correctly. I have set LANG variable also and it doesn't make any difference. I copied this script (check_oracle_instance) from the below link - are there any shell script equivalent??? http://exchange.nagios.org/directory/Plugins/Databases/Oracle/Check-Oracle-status-%26-health-without-install-Oracle-client/details R, D. -----Original Message----- From: Stuart Browne [mailto:stuart.browne at ausregistry.com.au] Sent: 20 November 2011 22:21 To: Nagios Users List Subject: Re: [Nagios-users] Oracle plugin Hi, One of the errors is saying you're not using $sqlplus variable for execution, but we can't see the code that actually does the executing (you probably just left off the $). The language isn't being set properly. Possibly this is the shell you're executing from doesn't have it, thus all the warnings from perl.. Setting a LANG= before executing should get rid of it. In any case given that you're executing a lot of shell scripts, why are you writing this in perl? A simple shell script would be quicker and cleaner. Stuart > -----Original Message----- > From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] > Sent: Friday, 18 November 2011 11:17 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Oracle plugin > > I have successfully installed the oracleclient and connected to the db > - used a different version in the end (downgraded to 10_2_ and it > worked fine). > > My "check_oracle_instant" script however is posting out the following > errors. > > libexec]# ./check_oracle_instant > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = (unset), > LANG = "en_UK" > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > sh: sqlplus: command not found > Unable to connect to ORACLE !!! > > I have got the sqlplus & LD_LIB paths set correctly: > > #!/usr/bin/perl > > $host = $ARGV[0]; > $port = $ARGV[1]; > $service_name = $ARGV[2]; > $user = $ARGV[3]; > $pass = $ARGV[4]; > > $ORACLE_HOME = "/root/instantclientdir"; > > ### point this to your sqlplus binary > my $sqlplus = "/root/instantclientdir/bin/sqlplus"; > > ### point this to your sqlplus directory $ENV{"LD_LIBRARY_PATH"} = > "/root/instantclientdir/lib"; > > .......any ideas on how to resolve this? > > > -----Original Message----- > From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] > Sent: 17 November 2011 17:40 > To: Nagios Users List > Subject: Re: [Nagios-users] Oracle plugin > > >From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] > >Sent: Thursday, November 17, 2011 11:49 AM > >To: Nagios Users List > >Subject: Re: [Nagios-users] Oracle plugin > > > >I brought the sqlplus binary across from the db server but I get the > following error.. > > > ># ldd /usr/local/instantclient_10_2/sqlplus > >/usr/local/instantclient_10_2/sqlplus: error while loading shared > libraries: /usr/lib/libclntsh.so.10.1: ELF file data encoding not > little- endian > > > >Is there any way to load these shared libraries onto the nagios server? > > There is, but you'll save yourself a lot of heartache if you just > installed the Oracle client on your Nagios machine. IIRC you can > obtain it from Oracle as part of your maintenance, gratis... > > \sao > > > This message and any attachments are intended only for the use of the > addressee and may contain information that is privileged and confidential. > If the reader of the message is not the intended recipient or an > authorized representative of the intended recipient, you are hereby > notified that any dissemination of this communication is strictly > prohibited. If you have received this communication in error, please > notify us immediately by e-mail and delete the message and any > attachments from your system. > > ---------------------------------------------------------------------- > ---- > ---- > All the data continuously generated in your IT infrastructure contains > a definitive record of customers, application performance, security > threats, fraudulent activity, and more. Splunk takes this data and > makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > ---- > ---- > All the data continuously generated in your IT infrastructure contains > a definitive record of customers, application performance, security > threats, fraudulent activity, and more. Splunk takes this data and > makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Fri Nov 25 17:06:16 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 25 Nov 2011 16:06:16 +0000 Subject: Is there a plugin available that will log into a website and navigate through it? Message-ID: Hi all, Is there a plugin out there in the wild that will login into a website with a provided user/pass and then navigate its way around the site clicking a few links and then log back out again? Got a site that id like to trawl to check its availability. www.site.com takes you to the login screen of where it asks for user/pass then a login button. www.site.com/mainmenu.aspx takes you to the main menu where you can click links to navigate around the site, including a log out link Id like to be able to get the plugin/script to input user/pass and hit the login button then click 2 links and return back to the main menu where it will hit the log out link. In the order of www.site.com www.site.com/mainmenu.aspx www.site.com/link1.aspx www.site.com/mainmenu.aspx www.site.com/link2.aspx www.site.com/mainmenu.aspx www.site.com/logout.aspx Anything available to do this? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 pitchfork at ederdrom.de Fri Nov 25 17:26:03 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 25 Nov 2011 17:26:03 +0100 Subject: Is there a plugin available that will log into a website and navigate through it? In-Reply-To: References: Message-ID: <0449F480-8AB6-4E41-8531-BDA0B1919E5C@ederdrom.de> Am 25.11.2011 um 17:06 schrieb Andrew Thompson: > Hi all, > > Is there a plugin out there in the wild that will login into a website with a provided user/pass and then navigate its way around the site clicking a few links and then log back out again? > > Got a site that id like to trawl to check its availability. > > www.site.com takes you to the login screen of where it asks for user/pass then a login button. > > www.site.com/mainmenu.aspx takes you to the main menu where you can click links to navigate around the site, including a log out link > > Id like to be able to get the plugin/script to input user/pass and hit the login button then click 2 links and return back to the main menu where it will hit the log out link. > > In the order of > > www.site.com > www.site.com/mainmenu.aspx > www.site.com/link1.aspx > www.site.com/mainmenu.aspx > www.site.com/link2.aspx > www.site.com/mainmenu.aspx > www.site.com/logout.aspx > > > Anything available to do this? Hi Andrew, webinject might be useful http://www.webinject.org/ Joerg ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at fulgent.co.uk Fri Nov 25 18:01:03 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 25 Nov 2011 17:01:03 +0000 Subject: Is there a plugin available that will log into a website and navigate through it? Message-ID: Joerg - thankyou that looks just the job! Kind Regards Andrew From: Andrew Thompson Sent: 25 November 2011 16:06 To: nagios-users at lists.sourceforge.net Subject: Is there a plugin available that will log into a website and navigate through it? Hi all, Is there a plugin out there in the wild that will login into a website with a provided user/pass and then navigate its way around the site clicking a few links and then log back out again? Got a site that id like to trawl to check its availability. www.site.com takes you to the login screen of where it asks for user/pass then a login button. www.site.com/mainmenu.aspx takes you to the main menu where you can click links to navigate around the site, including a log out link Id like to be able to get the plugin/script to input user/pass and hit the login button then click 2 links and return back to the main menu where it will hit the log out link. In the order of www.site.com www.site.com/mainmenu.aspx www.site.com/link1.aspx www.site.com/mainmenu.aspx www.site.com/link2.aspx www.site.com/mainmenu.aspx www.site.com/logout.aspx Anything available to do this? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 niall at makalumedia.com Fri Nov 25 19:02:31 2011 From: niall at makalumedia.com (Niall O Broin) Date: Fri, 25 Nov 2011 18:02:31 +0000 Subject: Is there a plugin available that will log into a website and navigate through it? In-Reply-To: References: Message-ID: On 25 Nov 2011, at 17:01, Andrew Thompson wrote: > Joerg ? thankyou that looks just the job! What was the plugin you were thanking Joerg for? I saw your question, but didn't see his reply. Maybe he replied off-list. Kindest regards, Niall O Broin ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Fri Nov 25 20:07:05 2011 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 25 Nov 2011 20:07:05 +0100 Subject: Is there a plugin available that will log into a website and navigate through it? In-Reply-To: References: Message-ID: <77D5C065-37DE-4C29-BA28-533BF4BC8EEA@ederdrom.de> Am 25.11.2011 um 19:02 schrieb Niall O Broin: > On 25 Nov 2011, at 17:01, Andrew Thompson wrote: > >> Joerg ? thankyou that looks just the job! > > What was the plugin you were thanking Joerg for? I saw your question, but didn't see his reply. Maybe he replied off-list. > No, the reply was on-list my suggestion was http://www.webinject.org/ Joerg ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Sat Nov 26 01:34:16 2011 From: jnichols at pbp.net (Jonathan Nichols) Date: Fri, 25 Nov 2011 18:34:16 -0600 Subject: filter test - ignore Message-ID: <3524B5D1-1E3E-4118-8458-64E63348642A@pbp.net> Testing. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nielsjende at googlemail.com Mon Nov 28 09:49:05 2011 From: nielsjende at googlemail.com (Niels Jende) Date: Mon, 28 Nov 2011 09:49:05 +0100 Subject: nagios3 on debian weetzy Message-ID: Hi there @ nagios-ML! I am new to nagios and I hope that you don't mind me having some basic questions. So, as the topic already says I am running a debian weetzy system and used apt-get to install nagios on that particular machine. The installation went, as supposed, fairly smooth and nagios is running on my local machine. Now, I want to monitor our SAN which is a MSA2312 for which I found that addon: http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-HP-MSA-%28Modular-Smart-Array%29-sensors/details In the Readme file it says, that their should be a directory /usr/home/nagios/ which isn't there. And now I don't know whether I have to create the directory or if I should leave the nagios installation as it is, cause it is running. If you recommend me leaving the installation as it is, in which directory do I have to install the above mentioned addon for the SAN? I hope none of you minds my question and I highly appreciate any help to get my SAN monitored! Thanks and regards Niels ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 28 14:29:33 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Mon, 28 Nov 2011 13:29:33 +0000 Subject: nagios3 on debian weetzy In-Reply-To: References: Message-ID: On Mon, Nov 28, 2011 at 8:49 AM, Niels Jende wrote: > Hi there @ nagios-ML! > > I am new to nagios and I hope that you don't mind me having some basic > questions. > > So, as the topic already says I am running a debian weetzy system and > used apt-get to install nagios on that particular machine. The > installation went, as supposed, fairly smooth and nagios is running on > my local machine. Now, I want to monitor our SAN which is a MSA2312 > for which I found that addon: > > http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-HP-MSA-%28Modular-Smart-Array%29-sensors/details > In the Readme file it says, that their should be a directory > /usr/home/nagios/ which isn't there. And now I don't know whether I > have to create the directory or if I should leave the nagios > installation as it is, cause it is running. > > Extra Plugins are normally stored in the same directory as the (default) NRPE plugins. Im not sure where that is in the default install for Debian but in general the $USER1$ variable will point to the plugins directory. $USER1$ is normally set in the resource.cfg file in your nagios config directory. I am being vague because Nagios is very flexible and can be set up in lots of diffrent ways but hopefuly this helps. Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > If you recommend me leaving the installation as it is, in which > directory do I have to install the above mentioned addon for the SAN? > > I hope none of you minds my question and I highly appreciate any help > to get my SAN monitored! > > Thanks and regards > Niels > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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-listas at gmx.net Tue Nov 29 01:49:51 2011 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Mon, 28 Nov 2011 21:49:51 -0300 Subject: Error building check_swap en OpenIndiana Message-ID: <20111129004951.GV16887@defiant.freesoftware> Hi all! I'm trying to compile Nagios plugins (nagios-plugins-1.4.15.tar.gz) on OpenIndiana (build 151a), but the compilation does not generate the check_swap plugin. When I do a "make config", I get the error shown below in the config.log: ----------------------------------------------------------------------- /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" configure:20249: checking whether swapctl is declared /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" | #ifndef swapctl | (void) swapctl; /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" ac_cv_have_decl_swapctl=no ----------------------------------------------------------------------- I get the same result with nagios-plugins-HEAD.tar.gz. Has anyone experienced this error and was able to resolve in any way? Thanks in advance. Regards, Daniel -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Nov 29 11:50:10 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 29 Nov 2011 11:50:10 +0100 Subject: Error building check_swap en OpenIndiana In-Reply-To: <20111129004951.GV16887@defiant.freesoftware> References: <20111129004951.GV16887@defiant.freesoftware> Message-ID: <4ED4B8E2.20402@op5.se> On 11/29/2011 01:49 AM, Daniel Bareiro wrote: > > Hi all! > > I'm trying to compile Nagios plugins (nagios-plugins-1.4.15.tar.gz) on > OpenIndiana (build 151a), but the compilation does not generate the > check_swap plugin. > > When I do a "make config", I get the error shown below in the > config.log: > > > ----------------------------------------------------------------------- > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" > configure:20249: checking whether swapctl is declared > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" > | #ifndef swapctl > | (void) swapctl; > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large files compilation environment" > ac_cv_have_decl_swapctl=no > ----------------------------------------------------------------------- > > I get the same result with nagios-plugins-HEAD.tar.gz. > > Has anyone experienced this error and was able to resolve in any way? > You may very well be the first to try to compile the nagios plugins on openindiana. Since it works properly on Solaris (which doesn't have the same constraints on the swapctl() call, obviously), you'll have to take it up with either openindiana or (more likely), the illumos devs. -- 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. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 30 09:23:18 2011 From: np121 at hotmail.com (Nick Price) Date: Wed, 30 Nov 2011 09:23:18 +0100 Subject: notification emails Message-ID: Hello I am not sure if this is a bug or config issue. I have a clean install of fedora 16 32 bit with a manual install of nagios 3.3.1 and nagios plugins 1.4.15. I see in the debug log Notification viability test failed. No notification will be sent out. I can send test emails from this server using sendmail and that bit works Is there a solution for this. Regards Nick ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 30 10:02:03 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Wed, 30 Nov 2011 09:02:03 +0000 Subject: Error building check_swap en OpenIndiana In-Reply-To: <20111129004951.GV16887@defiant.freesoftware> References: <20111129004951.GV16887@defiant.freesoftware> Message-ID: On Tue, Nov 29, 2011 at 12:49 AM, Daniel Bareiro wrote: > > Hi all! > > I'm trying to compile Nagios plugins (nagios-plugins-1.4.15.tar.gz) on > OpenIndiana (build 151a), but the compilation does not generate the > check_swap plugin. > > When I do a "make config", I get the error shown below in the > config.log: > > > I have not build on OpenIndiana but on Solaris I find using gmake is the only way forward. Not sure it will help with this issue but worth a try. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > ----------------------------------------------------------------------- > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large > files compilation environment" > configure:20249: checking whether swapctl is declared > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large > files compilation environment" > | #ifndef swapctl > | (void) swapctl; > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large > files compilation environment" > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large > files compilation environment" > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large > files compilation environment" > /usr/include/sys/swap.h:51:2: #error "Cannot use swapctl in the large > files compilation environment" > ac_cv_have_decl_swapctl=no > ----------------------------------------------------------------------- > > I get the same result with nagios-plugins-HEAD.tar.gz. > > Has anyone experienced this error and was able to resolve in any way? > > > Thanks in advance. > > Regards, > Daniel > -- > Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 > Powered by Debian GNU/Linux Lenny - Linux user #188.598 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAk7ULC8ACgkQZpa/GxTmHTflsACePTOQHqwVL2mR/uRpUJJILGO2 > yNsAnirWmKKalQ0G4ZSZd2Xyb+I+nIgk > =W0hF > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Patrick.Plattner at gkndriveline.com Wed Nov 30 10:59:00 2011 From: Patrick.Plattner at gkndriveline.com (Patrick Plattner) Date: Wed, 30 Nov 2011 10:59:00 +0100 Subject: unregister Message-ID: <047DAAF23F6A954F9A13521E21BC358F96FBD4@MAILSRV010.gkn.com> unregister ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 30 12:36:51 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 30 Nov 2011 12:36:51 +0100 Subject: notification emails In-Reply-To: References: Message-ID: Did you check the command which is used to send notifications in command.cfg or checkcommand.cfg ? Maybe you don't have the binary or you need to rename the command. By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken. On Wed, Nov 30, 2011 at 9:23 AM, Nick Price wrote: > Hello > > I am not sure if this is a bug or config issue. > > I have a clean install of fedora 16 32 bit with a manual install of nagios > 3.3.1 and nagios plugins 1.4.15. > > I see in the debug log > > Notification viability test failed. No notification will be sent out. > > I can send test emails from this server using sendmail and that bit works > > > Is there a solution for this. > > Regards > > Nick > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 at fulgent.co.uk Wed Nov 30 12:37:10 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Wed, 30 Nov 2011 11:37:10 +0000 Subject: Can you add custom commands to the 2 standard "notify-host-by-xxx" and "notify-service-by-xxx" commands? Message-ID: Hi all. Is it possible to add your own custom commands to add to the 2 standard notify commands? At the moment I have # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios says its broken *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\n$HOSTOUTPUT$\n\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios says its broken *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nInfo :$SERVICEOUTPUT$\n\n Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } This is fine for the hosts that I manage by PING. Now I have started to manage my websites for both availability and also to navigate through the site using 2 separate scripts. Id like separate notifications for the website checks as id like to add more text into the subject line. For eg if 1 of my sites has an issues and 1 of the pages it navigates for is not available or returns something different to what it should id like: # 'notify-website-service-by-email' command definition define command{ command_name notify-website-service-by-email command_line /usr/bin/printf "%b" "***** Nagios says its broken *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nInfo :$SERVICEOUTPUT$\n\n Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: Website content cannot be found at $HOSTALIAS$ and is in a $SERVICESTATE$ state**" $CONTACTEMAIL$ } But if I create this and add it to my Critical website template which tells it to to email the admin email contact group which has me and another admin in it then its going to send both the original "notify-service-by-email" and the new "notify-website-service-by-email Any way I can get around this. Apologies if it's a really simple answer by the way.... Thankyou -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Wed Nov 30 12:48:05 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 30 Nov 2011 11:48:05 -0000 (UTC) Subject: Can you add custom commands to the 2 standard "notify-host-by-xxx" and "notify-service-by-xxx" commands? In-Reply-To: References: Message-ID: <4288ba83-6a74-421d-805a-cdff9c87ad70@vhost1.heptagon.co.il> You can build a new contact group that is gets alert only from this commands . Or you can split the templates and build a new one that uses this alerting for the new service . You need to think of the process of the alerts and define what alerts to send . I know many people think that adding new (insert nagios item ) is trouble , but i found that if some thing "breaks" my conventions or is an exemption , it is best to "build" the templates for it and make it modular - as it is most likely will happen again , and that way you'll have the definition ready . Assaf ----- Original Message ----- From: "Andrew Thompson" To: nagios-users at lists.sourceforge.net Sent: Wednesday, 30 November, 2011 11:37:10 AM Subject: [Nagios-users] Can you add custom commands to the 2 standard "notify-host-by-xxx" and "notify-service-by-xxx" commands? Hi all. Is it possible to add your own custom commands to add to the 2 standard notify commands? At the moment I have # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios says its broken *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\n$HOSTOUTPUT$\n\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios says its broken *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nInfo :$SERVICEOUTPUT$\n\n Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } This is fine for the hosts that I manage by PING. Now I have started to manage my websites for both availability and also to navigate through the site using 2 separate scripts. Id like separate notifications for the website checks as id like to add more text into the subject line. For eg if 1 of my sites has an issues and 1 of the pages it navigates for is not available or returns something different to what it should id like: # 'notify-website-service-by-email' command definition define command{ command_name notify-website-service-by-email command_line /usr/bin/printf "%b" "***** Nagios says its broken *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nInfo :$SERVICEOUTPUT$\n\n Service: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: Website content cannot be found at $HOSTALIAS$ and is in a $SERVICESTATE$ state**" $CONTACTEMAIL$ } But if I create this and add it to my Critical website template which tells it to to email the admin email contact group which has me and another admin in it then its going to send both the original ?notify-service-by-email? and the new ?notify-website-service-by-email Any way I can get around this. Apologies if it?s a really simple answer by the way?. Thankyou ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 adam at adamsweet.org Wed Nov 30 15:50:05 2011 From: adam at adamsweet.org (Adam Sweet) Date: Wed, 30 Nov 2011 14:50:05 +0000 Subject: unregister In-Reply-To: <047DAAF23F6A954F9A13521E21BC358F96FBD4@MAILSRV010.gkn.com> References: <047DAAF23F6A954F9A13521E21BC358F96FBD4@MAILSRV010.gkn.com> Message-ID: <4ED6429D.7030608@adamsweet.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/11/11 09:59, Patrick Plattner wrote: > unregister Fail. (Good humour intended.) Regards, Adam Sweet - -- http://blog.adamsweet.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7WQp0ACgkQRi1ZcmvD37cVGACeLhirileVmmwy9xfwQBDV11dw LlYAn0Vqu5BE4BnObKyNpUZorU51YosC =PtTw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.ftl at gmail.com Wed Nov 30 18:25:27 2011 From: nagios.ftl at gmail.com (Nagios FTL) Date: Wed, 30 Nov 2011 17:25:27 +0000 Subject: New to Nagios - Why do i not recieve Service Alert notifications? In-Reply-To: References: Message-ID: Good afternoon, I am completely new to Nagios so please excuse me if this is a really silly question: I am currently testing before i start to add in real hosts. I am testing notifications at the moment and i have created a file for SWITCHES that i have put in a test switch that does not exist so always will be down and should trigger notification. I recieve Host Alert Emails in the output of Subject: ** PROBLEM Host Alert: Test Switch is DOWN ** ***** Nagios ***** Notification Type: PROBLEM Info: CRITICAL - Host Unreachable (192.168.1.208) Host: Test Switch Address: 192.168.1.208 State: DOWN Date/Time: Wed Nov 30 16:47:07 GMT 2011 But i never recieve a Service Alert email. I have tried disabling nofitications in the host template and only enabling notifications in the service template but then i recieve nothing at all. Here the whole of my switch.cfg that i am using for testing, Nagios likes it and reports Down and Critical statuses on it so it works but just doesnt send out service alert notifications. http://dl.dropbox.com/u/895609/Switch.cfg Could somebody help me as to why please? Thankyou very much -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 noc at fohnet.co.uk Wed Nov 30 19:36:04 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Wed, 30 Nov 2011 18:36:04 +0000 Subject: New to Nagios - Why do i not recieve Service Alert notifications? In-Reply-To: References: Message-ID: <20111130183604.GA5751@fohnet.co.uk> On Wed, Nov 30, 2011 at 05:25:27PM +0000, Nagios FTL wrote: > Good afternoon, > > I am completely new to Nagios so please excuse me if this is a really silly > question: > > I am currently testing before i start to add in real hosts. > > I am testing notifications at the moment and i have created a file for > SWITCHES that i have put in a test switch that does not exist so always > will be down and should trigger notification. > > I recieve Host Alert Emails in the output of > > Subject: ** PROBLEM Host Alert: Test Switch is DOWN ** > > ***** Nagios ***** > > Notification Type: PROBLEM > > Info: CRITICAL - Host Unreachable (192.168.1.208) > > Host: Test Switch > > Address: 192.168.1.208 > > State: DOWN > > Date/Time: Wed Nov 30 16:47:07 GMT 2011 > > > But i never recieve a Service Alert email. > > I have tried disabling nofitications in the host template and only enabling > notifications in the service template but then i recieve nothing at all. > > Here the whole of my switch.cfg that i am using for testing, Nagios likes > it and reports Down and Critical statuses on it so it works but just doesnt > send out service alert notifications. > > http://dl.dropbox.com/u/895609/Switch.cfg > > > Could somebody help me as to why please? > > > Thankyou very much If the host is in a DOWN state, by default nagios won't also send out service notifications for that host (kind of an in-built service dependency). In the default configuration, you'll only get service notifications when the host is up (the logic being that if a host is down, no services can be running on the host). Check the docs for notifications here: http://nagios.sourceforge.net/docs/3_0/notifications.html Also, if you've got predictive failure checking enabled, nagios will by default perform a host check on the first instance of a service going critical. If this is the behaviour that you want, then you may be able to do something with host/service dependencies: http://nagios.sourceforge.net/docs/3_0/dependencies.html Cheers, -- Richard Clark richard at fohnet.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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 Nov 30 21:09:47 2011 From: np121 at hotmail.com (Nick Price) Date: Wed, 30 Nov 2011 21:09:47 +0100 Subject: notification emails In-Reply-To: References: Message-ID: The defaults are there. I did echo 'this is a test' | /bin/mail -s test_email email at mydomain.com That went out Ok What to look at next From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Wednesday, November 30, 2011 12:37 To: Nagios Users List Subject: Re: [Nagios-users] notification emails Did you check the command which is used to send notifications in command.cfg or checkcommand.cfg ? Maybe you don't have the binary or you need to rename the command. By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken. On Wed, Nov 30, 2011 at 9:23 AM, Nick Price wrote: Hello I am not sure if this is a bug or config issue. I have a clean install of fedora 16 32 bit with a manual install of nagios 3.3.1 and nagios plugins 1.4.15. I see in the debug log Notification viability test failed. No notification will be sent out. I can send test emails from this server using sendmail and that bit works Is there a solution for this. Regards Nick ---------------------------------------------------------------------------- -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d -------------- 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