From mail at catsnest.co.uk Thu Dec 1 00:47:12 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Wed, 30 Nov 2011 23:47:12 +0000 Subject: unsubscribe In-Reply-To: <703B2F8D6D8A4A41B272A33AC9D5A4AB06C01267@MSOMAIL01.motosport.com> References: <703B2F8D6D8A4A41B272A33AC9D5A4AB06C01267@MSOMAIL01.motosport.com> Message-ID: Humm That request will not work! You could how ever follow the link that is included in every mail from the list: https://lists.sourceforge.net/lists/listinfo/nagios-users -- Ritchie On Wed, Nov 30, 2011 at 8:12 PM, DL-Systems Admin < robert.holmes at motosport.com> wrote: > Please remove me from this user list.**** > > > ------------------------------------------------------------------------------ > 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 Dec 1 01:23:59 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 30 Nov 2011 19:23:59 -0500 Subject: Changing the version of nagios that appears in the e-mail notifications Message-ID: Hi there -- We are running a Nagios 3.3.1 that had been successfully upgraded from the version 3.1.2 release. The e-mail notifications are working properly, but I did notice one unusual condition. The version of Nagios that is mentioned in the message indicates an earlier Nagios release. An excerpt from one such e-mail is shown below: ***** Nagios 2.6 ***** Notification Type: PROBLEM I would like to change the version that is displayed to reflect that of the release that is currently on the server. What file(s) do I need to modify in order to accomplish this? 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 benny at bennyvision.com Thu Dec 1 03:01:53 2011 From: benny at bennyvision.com (C. Bensend) Date: Wed, 30 Nov 2011 20:01:53 -0600 Subject: Changing the version of nagios that appears in the e-mail notifications In-Reply-To: References: Message-ID: > I would like to change the version that is displayed to reflect that of > the > release that is currently on the server. What file(s) do I > need to modify in order to accomplish this? Your email notifications are just another command, so you need to update the definition of that command. It may be in misccommands.cfg, but really, you're the only one that can answer that one as it could be in *any* of the config files. :) 'grep -r' would be your friend here. Benny -- "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision." -- Unknown ------------------------------------------------------------------------------ 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 yu.watanabe at jp.fujitsu.com Thu Dec 1 13:27:42 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 01 Dec 2011 21:27:42 +0900 Subject: Disk stat for fsusage.c is compiled in different route between nagios plug v 1.4 and 1.4.15 Message-ID: <201112011227.AA04565@S2007337.jp.fujitsu.com> Hi! I have found that the fsusage.c (where get_fs_usage is defined) is compiled differently in versions between nagios plugins 1.4 and 1.4.15. I have compiled both plugins on same platform. In 1.4, fsusage.c is compiled in the route where most of the stats are retrieved by 'full_read' 150 struct filsys fsd; 151 int fd; 152 153 if (! disk) 154 { 155 errno = 0; 156 return -1; 157 } 158 159 fd = open (disk, O_RDONLY); 160 if (fd < 0) 161 return -1; 162 lseek (fd, (off_t) SUPERBOFF, 0); 163 if (full_read (fd, (char *) &fsd, sizeof fsd) != sizeof fsd) 164 { 165 close (fd); 166 return -1; 167 } 168 close (fd); 'blocksize' is overlapped by 'statfs' 182 #ifdef STAT_STATFS2_BSIZE /* 4.3BSD, SunOS 4, HP-UX, AIX */ 185 struct statfs fsd; 186 187 if (statfs (path, &fsd) < 0) 188 return -1; 189 190 fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize); However , in v 1.4.15 , fsusage.c is compiled in the route where all the stats are retrieved by 'statfs' 171 #elif defined STAT_STATFS2_BSIZE /* 4.3BSD, SunOS 4, HP-UX, AIX */ 173 174 struct statfs fsd; 175 176 if (statfs (file, &fsd) < 0) 177 return -1; 178 179 fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize); then it goes into the route, 232 #if (defined STAT_STATVFS \ 233 || (!defined STAT_STATFS2_FS_DATA && !defined STAT_READ_FILSYS)) 234 236 fsp->fsu_blocks = PROPAGATE_ALL_ONES (fsd.f_blocks); 237 fsp->fsu_bfree = PROPAGATE_ALL_ONES (fsd.f_bfree); 238 fsp->fsu_bavail = PROPAGATE_TOP_BIT (fsd.f_bavail); 239 fsp->fsu_bavail_top_bit_set = EXTRACT_TOP_BIT (fsd.f_bavail) != 0; 240 fsp->fsu_files = PROPAGATE_ALL_ONES (fsd.f_files); 241 fsp->fsu_ffree = PROPAGATE_ALL_ONES (fsd.f_ffree); 242 243 #endif This difference cases the difference in the output. (v 1.4) DISK OK - free space: / 17211 MB (35%);| /=32385MB;34716;44635;0;49595 (v 1.4.15) DISK OK - free space: / 17210 MB (36% inode=98%);| /=29825MB;34716;44635;0;49595 This seems to be caused in the configure where all the compile options are decided. I am trying to figure out why there is a difference in the compile option. The inode prompts correctly in RHEL 4. It would be helpful if someone can give me a hand with this... Thanks, Yu ------------------------------------------------------------------------------ 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 james.osbourn at citrix.com Thu Dec 1 13:39:45 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Thu, 1 Dec 2011 12:39:45 +0000 Subject: monitor printer from Windows server Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. Thanks James ------------------------------------------------------------------------------ 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 Christian.Mies at it-novum.com Thu Dec 1 14:03:31 2011 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Thu, 1 Dec 2011 14:03:31 +0100 Subject: monitor printer from Windows server Message-ID: Hi, have you had a look at the Windows Counter, if there is a Value that will be interesting? The second way could be to 'Ping' the Printer and to use a Eventcorrelation Engine like openITCOCKPIT or NagiosBP? Regards, Christian i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Gesch?ftsf?hrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -----Urspr?ngliche Nachricht----- Von: James Osbourn [mailto:james.osbourn at citrix.com] Gesendet: Donnerstag, 1. Dezember 2011 13:40 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] monitor printer from Windows server I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. Thanks James ------------------------------------------------------------------------------ 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 Dec 1 15:10:37 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 1 Dec 2011 14:10:37 +0000 Subject: monitor printer from Windows server In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> Message-ID: On 1 December 2011 12:39, James Osbourn wrote: > I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. > > I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. > > Thanks > > James I query the windows performance counter for number of print jobs spooling. If a printer breaks then usually this counter starts ramping up quite rapidly as more and more print jobs get stuck in the queue. For example, the [external alias] section of your nsc.ini (assuming you use NSClient++), you can have:- alias_CheckCounter-PrintQJobs=CheckCounter "Counter:jobs=\Print Queue(_Total)\Jobs" ShowAll MaxWarn=250 MaxCrit=500 Then your service definition would look something like this:- define service { host_name printserver1,printserver2 service_description PrintQJobs use srv-pnp,generic-service check_command check_nrpe!-c PrintQJobs max_check_attempts 6 check_interval 15 retry_interval 5 contact_groups notify-admins notes Records the number of Active Jobs on a Print Server register 1 } And the command definition I use is just a generic one for any nrpe check like so:- define command {^M command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ register 1 } Our servers aren't quite as recent as Windows 7, but I guess the counter would still be the same. I hope that helps. 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 ck at claudiokuenzler.com Thu Dec 1 16:24:33 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 1 Dec 2011 16:24:33 +0100 Subject: notification emails In-Reply-To: References: Message-ID: Did you also do printf ?this is a test? | /bin/mail ?s test_email email at mydomain.com ? On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote: > 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**** > > ** ** > > > ------------------------------------------------------------------------------ > 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 mirko.stefanelli at gmail.com Thu Dec 1 16:42:45 2011 From: mirko.stefanelli at gmail.com (Mirko Stefanelli) Date: Thu, 01 Dec 2011 16:42:45 +0100 Subject: Problem on compiling ndoutils ver. 1.4b9 Message-ID: <4ED7A075.1060402@gmail.com> Hi to all, I have some problem on compiling ndoutils on server ubuntu 11.04 (X84_64), on this server are installe both nagios 3.3.1 and mysql server/client ver.5.1.54. I perform a search in order to find "libmysqlclient" and this library is available on the sistem: /usr/lib/libmysqlclient.so.16 When I run ./configure under dir of ndoutis source I got this messages: checking for mysql_config... no *** MySQL library could not be located... ************************** You chose to compile NDOutils with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. installed, use the --with-mysql=DIR argument to specify the location of the MySQL library, We assume mysql_config is in DIR/dir NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql=/usr/lib/mysql I have also create a soft link in order to have this library /usr/lib/libmysqlclient.so. has anyone had experience with this problem? Any idea? Regards, Mirko Stefanelli. ------------------------------------------------------------------------------ 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 Thu Dec 1 16:53:40 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 01 Dec 2011 16:53:40 +0100 Subject: Problem on compiling ndoutils ver. 1.4b9 In-Reply-To: <4ED7A075.1060402@gmail.com> References: <4ED7A075.1060402@gmail.com> Message-ID: <4ED7A304.7080704@univie.ac.at> On 01.12.2011 16:42, Mirko Stefanelli wrote: > Hi to all, > > I have some problem on compiling ndoutils on server ubuntu 11.04 > (X84_64), on this server are installe both nagios 3.3.1 and mysql > server/client ver.5.1.54. I perform a search in order to find > "libmysqlclient" and this library is available on the sistem: > > /usr/lib/libmysqlclient.so.16 > > When I run ./configure under dir of ndoutis source I got this messages: > > checking for mysql_config... no > > > *** MySQL library could not be located... ************************** > > You chose to compile NDOutils with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib argument to specify the > location of the MySQL library. > installed, use the --with-mysql=DIR argument to specify the > location of the MySQL library, We assume mysql_config is in DIR/dir > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > TIP: Try the following.... > ./configure --with-mysql=/usr/lib/mysql > > I have also create a soft link in order to have this library > /usr/lib/libmysqlclient.so. > > has anyone had experience with this problem? try to add the mysql header locations to configure as well. and i would the default for the libs expecting to be --with-mysql-lib instead. > > Any idea? > > Regards, > Mirko Stefanelli. > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ 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 Mike.Clark at masergy.com Thu Dec 1 19:30:39 2011 From: Mike.Clark at masergy.com (Mike Clark) Date: Thu, 1 Dec 2011 12:30:39 -0600 Subject: Get a clear event for Socket Timeouts Message-ID: <8A4C8E742859C047B46E586637A10CC80FD985BFFC@MAILBOXSERVER.add0.masergy.com> We have Nagios 3.0.6 and are using NRPE to monitor remote servers. I've also got IBM Tivoli Netcool and we have Nagios sending traps to Netcool so the NOC will call the server team when something fails. All of the services in Nagios are sending traps perfectly and I get an OK trap that I use to clear the problem in Netcool when it comes in so everything is working great except for Socket Timeouts. I've been digging around in the Nagios log and I don't see that it ever sends an event that a socket timeout has cleared, but if I look at the web or in the status.dat file, they state will show it's clear. Is there something I'm missing in a configuration file that will have it send socket timeout clears as a notification ( or more accurately, as an event handler). _______________________________________ Mike Clark Sr. Manager, NMS Engineering Email Mike.Clark at masergy.com [cid:image001.jpg at 01CCB024.3CD0F460] Global Networking Redefined www.masergy.com "nanos gigantum humeris insidentes" Bernard of Chartres "nankurunaisa" George Miyagusuku -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2392 bytes Desc: image001.jpg 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 Dec 1 20:20:37 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Thu, 1 Dec 2011 20:20:37 +0100 Subject: monitor printer from Windows server In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> Message-ID: Besides of course the Spooler Service, you should also monitor the Windows Event Log. I've experienced a lot of driver issues on an old Windows print server which temporarily caused the affected printer(s) to appear as 'offline'. Such problems appeared in the event log as Warnings with the message content something about the driver. That was on a Windows Server 2003, but I think such driver problems are still logged to the Event Log. On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery wrote: > On 1 December 2011 12:39, James Osbourn wrote: > > I have a Windows 7 server acting as a print server and I would like to > check the status of these printers and make sure that they are still online > etc. > > > > I cannot seem to find a way of checking printers shared from a Windows > machine, does anyone have any suggestions or references that I could use. > > > > Thanks > > > > James > > > I query the windows performance counter for number of print jobs > spooling. If a printer breaks then usually this counter starts > ramping up quite rapidly as more and more print jobs get stuck in the > queue. > > For example, the [external alias] section of your nsc.ini (assuming > you use NSClient++), you can have:- > > alias_CheckCounter-PrintQJobs=CheckCounter "Counter:jobs=\Print > Queue(_Total)\Jobs" ShowAll MaxWarn=250 MaxCrit=500 > > Then your service definition would look something like this:- > > define service { > host_name printserver1,printserver2 > service_description PrintQJobs > use srv-pnp,generic-service > check_command check_nrpe!-c PrintQJobs > max_check_attempts 6 > check_interval 15 > retry_interval 5 > contact_groups notify-admins > notes Records the number of Active > Jobs on a Print Server > register 1 > } > > And the command definition I use is just a generic one for any nrpe > check like so:- > > define command {^M > command_name check_nrpe > command_line $USER1$/check_nrpe -H > $HOSTADDRESS$ -u $ARG1$ > register 1 > } > > Our servers aren't quite as recent as Windows 7, but I guess the > counter would still be the same. > > I hope that helps. > > 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 RWerner at pomwonderful.com Thu Dec 1 20:52:14 2011 From: RWerner at pomwonderful.com (Werner, Robert) Date: Thu, 1 Dec 2011 19:52:14 +0000 Subject: monitor printer from Windows server In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> Message-ID: <3D480E2907FD164191FE65820A669FFF02E9E6A7@POM-LA-MBX01.pomwonderful.com> I've had good luck using System.Printing from Powershell and then running the scripts from NSClient++. I just wrote the PowerShell Scripts to use the standard nagios plugin status codes. I used the following links to develop the PowerShell scripts: http://gallery.technet.microsoft.com/scriptcenter/PrintServerManagementps1-7676ed28 http://msdn.microsoft.com/en-us/library/system.printing.aspx If there is interest, I'll ask my boss about sharing the PowerShell scripts. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, December 01, 2011 11:21 AM To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server Besides of course the Spooler Service, you should also monitor the Windows Event Log. I've experienced a lot of driver issues on an old Windows print server which temporarily caused the affected printer(s) to appear as 'offline'. Such problems appeared in the event log as Warnings with the message content something about the driver. That was on a Windows Server 2003, but I think such driver problems are still logged to the Event Log. On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery > wrote: On 1 December 2011 12:39, James Osbourn > wrote: > I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. > > I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. > > Thanks > > James I query the windows performance counter for number of print jobs spooling. If a printer breaks then usually this counter starts ramping up quite rapidly as more and more print jobs get stuck in the queue. For example, the [external alias] section of your nsc.ini (assuming you use NSClient++), you can have:- alias_CheckCounter-PrintQJobs=CheckCounter "Counter:jobs=\Print Queue(_Total)\Jobs" ShowAll MaxWarn=250 MaxCrit=500 Then your service definition would look something like this:- define service { host_name printserver1,printserver2 service_description PrintQJobs use srv-pnp,generic-service check_command check_nrpe!-c PrintQJobs max_check_attempts 6 check_interval 15 retry_interval 5 contact_groups notify-admins notes Records the number of Active Jobs on a Print Server register 1 } And the command definition I use is just a generic one for any nrpe check like so:- define command {^M command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ register 1 } Our servers aren't quite as recent as Windows 7, but I guess the counter would still be the same. I hope that helps. 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 victor at owlbydesign.com Thu Dec 1 21:08:40 2011 From: victor at owlbydesign.com (Victor Carpetto) Date: Thu, 1 Dec 2011 15:08:40 -0500 Subject: How to always send notify on ack Message-ID: Hi, Is there an option to prevent users from suppressing notifications on acknowledgement? The default option for natstamon is to not send a notification, which is not ideal. Is there a way to lock the option to always send out? Thanks, Victor ------------------------------------------------------------------------------ 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 henti at geekware.co.za Thu Dec 1 22:27:31 2011 From: henti at geekware.co.za (Henti Smith) Date: Thu, 1 Dec 2011 23:27:31 +0200 Subject: How to always send notify on ack In-Reply-To: References: Message-ID: On Thu, Dec 1, 2011 at 10:08 PM, Victor Carpetto wrote: > Hi, Hi, > Is there an option to prevent users from suppressing notifications on acknowledgement? ?The default option for natstamon is to not send a notification, which is not ideal. ?Is there a way to lock the option to always send out? That would be counter productive. The point of notification is to direct attention to a state change. Once you've acknowledged the problem there is no need to notify you of it again, It would be the same as wanting your phone to continue ringing after you have answered it. It's possible I'm missing something, but what would be the benefit of this configuration if possible ? Henti ------------------------------------------------------------------------------ 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 Fri Dec 2 08:55:47 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 2 Dec 2011 08:55:47 +0100 Subject: nagiosgraf install prereq Message-ID: <005701ccb0c7$d372d340$7a5879c0$@it.net> I run : #> yum install perl-rrdtool perl-GD #> ./install.pl --check-prereq And receive 2 errors: -------------------------------------------------------------- ./install.pl --check-prereq checking required PERL modules Carp...1.11 CGI... ***FAIL*** Data::Dumper...2.124 File::Basename...2.77 File::Find...1.14 MIME::Base64...3.08 POSIX...1.17 RRDs...1.3008 Time::HiRes... ***FAIL*** checking optional PERL modules GD...2.44 checking nagios installation found nagios at /usr/local/nagios/bin/nagios checking web server installation found apache at /usr/sbin/httpd *** one or more problems were detected! -------------------------------------------------------------- I don't understand, what I have to install again ? Thanks Marco -------------- 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 nielsjende at googlemail.com Fri Dec 2 09:10:30 2011 From: nielsjende at googlemail.com (Niels Jende) Date: Fri, 2 Dec 2011 09:10:30 +0100 Subject: nagios and nsclient++ wont work Message-ID: Hi there, I guess that here are alot users who have made it working...Nagios on a debian system to monitor a Win2003 Standard Server. For testing purposes both machines are virtualized, the Debian is in a VirtualBox and the W2K3Std Server is virtualized with VmWare. I'm just saying that to be as precise as somehow possible. So, I downloaded the latest stable nsclient++ on the W2K3 from sourceforge, as it is suggested. I walked through the install process as stated in the Reference Manual, but the nsclient seems to be misconfigured, because I get errors once I run nsclient++ /test. Neither do I get the Systray Icon in the systray. I said nsclient++ Systray install to get it installed and there the client didn't complain about whatsoever. And the nsclient doesnt complain once I start him, but as said the /test option shows errors: ######################################################### C:\Programme\NSClient++>nsclient++ /test Launching test mode - client mode d NSClient++.cpp(1216) Enabling debug mode... d NSClient++.cpp(557) Attempting to start NSCLient++ - 0.3.9.327 2011-08-16 NSCore not loaded... Archiving crash dumps in: C:\Dokumente und Einstellungen\gms\Lokale Einstellunge n\Anwendungsdaten\NSClient++\crash dumps d NSClient++.cpp(1007) Loading plugin: CheckDisk... d NSClient++.cpp(1007) Loading plugin: Event log Checker.... d NSClient++.cpp(1007) Loading plugin: Helper function... d NSClient++.cpp(1007) Loading plugin: Check NSCP... d NSClient++.cpp(1007) Loading plugin: CheckSystem... d \PDHCollector.cpp(73) Autodetected w2k or later, using w2k PDH counters. d NSClient++.cpp(1007) Loading plugin: CheckWMI... d \PDHCollector.cpp(110) Using index to retrive counternames d NSClient++.cpp(1007) Loading plugin: File logger... l \FileLogger.cpp(87) Log path is: C:\Programme\NSClient++\\nsclient.log d \PDHCollector.cpp(130) Found countername: CPU: \Prozessor(_total)\Prozessor zeit (%) d NSClient++.cpp(1007) Loading plugin: NRPE server (w/ SSL)... d \PDHCollector.cpp(131) Found countername: UPTIME: \System\Systembetriebszeit d \NRPEListener.cpp(92) Loading all commands (from NRPE) d \PDHCollector.cpp(132) Found countername: MCL: \Speicher\Zusagegrenze d \NRPEListener.cpp(122) Starting NRPE socket... d \PDHCollector.cpp(133) Found countername: MCB: \Speicher\Zugesicherte Bytes d NSClient++.cpp(1007) Loading plugin: NSCAAgent (w/ encryption)... d \Socket.h(683) Bound to: 0.0.0.0:5666 d \NSCAThread.cpp(77) Time difference for NSCA server is: 0 d \NSCAThread.cpp(87) Only reporting: ok,warning,critical,unknown d \NSCAThread.cpp(119) Autodetected hostname: SRV_TEL d NSClient++.cpp(1007) Loading plugin: NSClient server... d \NSCAThread.cpp(188) Drifting: 0 d NSClient++.cpp(1007) Loading plugin: SystemTray... d \Socket.h(683) Bound to: 0.0.0.0:12489 d NSClient++.cpp(709) NSCLient++ - 0.3.9.327 2011-08-16 Started! d \TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are n ot on Vista... l NSClient++.cpp(461) Using settings from: INI-file l NSClient++.cpp(462) Enter command to inject or exit to terminate... ############################################################### Has anyone got an idea what I've done wrong? Thanks 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 np121 at hotmail.com Fri Dec 2 09:14:15 2011 From: np121 at hotmail.com (Nick Price) Date: Fri, 2 Dec 2011 09:14:15 +0100 Subject: notification emails In-Reply-To: References: Message-ID: Yes printf works I had the same version of Nagios with the same config files working OK with fedora 14 It is only when I installed it on fedora 16 the notifications don't work I think it's a bug within Nagios Did you also do printf 'this is a test' | /bin/mail -s test_email email at mydomain.com ? On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote: 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 ---------------------------------------------------------------------------- -- 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 zarrelli at linux.it Fri Dec 2 09:20:58 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 2 Dec 2011 09:20:58 +0100 (CET) Subject: nagiosgraf install prereq In-Reply-To: <005701ccb0c7$d372d340$7a5879c0$@it.net> References: <005701ccb0c7$d372d340$7a5879c0$@it.net> Message-ID: <085ea4ba555985349bb5409003dd7f74.squirrel@picard.linux.it> Hi, in console, as root, execute the following commands: perl -MCPAN -e 'install CGI' perl -MCPAN -e 'install Time::HiRes' > CGI... ***FAIL*** > > > Time::HiRes... ***FAIL*** > > checking optional PERL modules ------------------------------------------------------------------------------ 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 Fri Dec 2 10:19:22 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 2 Dec 2011 10:19:22 +0100 Subject: R: nagiosgraf install prereq In-Reply-To: <085ea4ba555985349bb5409003dd7f74.squirrel@picard.linux.it> References: <005701ccb0c7$d372d340$7a5879c0$@it.net> <085ea4ba555985349bb5409003dd7f74.squirrel@picard.linux.it> Message-ID: <009a01ccb0d3$80ac3820$8204a860$@it.net> Well perl -MCPAN -e 'install CGI' --> work correctly perl -MCPAN -e 'install Time::HiRes' --> give me following error message: Can't locate object method "install" via package "Time" at -e line 1. Any idea? Marco -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: venerd? 2 dicembre 2011 09:21 A: Nagios Users List Oggetto: Re: [Nagios-users] nagiosgraf install prereq Hi, in console, as root, execute the following commands: perl -MCPAN -e 'install CGI' perl -MCPAN -e 'install Time::HiRes' > CGI... ***FAIL*** > > > Time::HiRes... ***FAIL*** > > checking optional PERL modules ---------------------------------------------------------------------------- -- 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 mail at catsnest.co.uk Fri Dec 2 10:22:50 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Fri, 2 Dec 2011 09:22:50 +0000 Subject: notification emails In-Reply-To: References: Message-ID: On Fri, Dec 2, 2011 at 8:14 AM, Nick Price wrote: > Yes printf works**** > > I had the same version of Nagios with the same config files working OK > with fedora 14**** > > It is only when I installed it on fedora 16 the notifications don?t work** > ** > > I think it?s a bug within Nagios**** > > ** ** > > ** > I doubt that its a bug in Nagios, as Nagios just uses your system's commands to send notifications. What is your notification config? can you run the commands the notification uses as the Nagios user? Is there some security such as SE Linux running? You could try adding logging to the Notification command eg add a ">> /var/tmp/Notification.log" or instead of the Notification command being a direct command, make a script for it instead. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> > ** > > ** ** > > Did you also do > > printf ?this is a test? | /bin/mail ?s test_email email at mydomain.com > > ?**** > > On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote:**** > > 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**** > > **** > > > > ------------------------------------------------------------------------------ > 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 Fri Dec 2 10:23:54 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 02 Dec 2011 10:23:54 +0100 Subject: notification emails In-Reply-To: References: Message-ID: <4ED8992A.9060409@univie.ac.at> On 02.12.2011 09:14, Nick Price wrote: > > Yes printf works > > I had the same version of Nagios with the same config files working OK > with fedora 14 > > It is only when I installed it on fedora 16 the notifications don't work > > I think it's a bug within Nagios > nagios just calls the command forking into a shell, so i'd rather guess this will be affected by turned on selinux. provide the output of # getenforce > Did you also do > > printf 'this is a test' | /bin/mail --s test_email > email at mydomain.com > > ? > > On Wed, Nov 30, 2011 at 9:09 PM, Nick Price > wrote: > > 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 > > > ------------------------------------------------------------------------------ > 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 -- 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 Fri Dec 2 10:24:41 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 2 Dec 2011 10:24:41 +0100 Subject: R: nagiosgraf install prereq In-Reply-To: <009a01ccb0d3$80ac3820$8204a860$@it.net> References: <005701ccb0c7$d372d340$7a5879c0$@it.net> <085ea4ba555985349bb5409003dd7f74.squirrel@picard.linux.it> <009a01ccb0d3$80ac3820$8204a860$@it.net> Message-ID: <2EFEA62F-9719-4721-AC33-B48110EC2811@linux.it> perl -MCPAN -e shell Then at The prompt: install Time::HiRes Ciao, Giorgio Il giorno 02/dic/2011, alle ore 10:19, "Marco Borsani" ha scritto: > Well > > perl -MCPAN -e 'install CGI' --> work correctly > > perl -MCPAN -e 'install Time::HiRes' --> give me following error message: > Can't locate object method "install" via package "Time" at -e line 1. > > Any idea? > Marco > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: venerd? 2 dicembre 2011 09:21 > A: Nagios Users List > Oggetto: Re: [Nagios-users] nagiosgraf install prereq > > Hi, > > in console, as root, execute the following commands: > > perl -MCPAN -e 'install CGI' > > perl -MCPAN -e 'install Time::HiRes' > > > > > >> CGI... ***FAIL*** >> >> >> Time::HiRes... ***FAIL*** >> >> checking optional PERL modules > > > > ---------------------------------------------------------------------------- > -- > 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 spookza at gmail.com Fri Dec 2 10:39:26 2011 From: spookza at gmail.com (Spook ZA) Date: Fri, 2 Dec 2011 11:39:26 +0200 Subject: nagios and nsclient++ wont work In-Reply-To: References: Message-ID: Hi. On 2 December 2011 10:10, Niels Jende wrote: > > Hi there, > > I guess that here are alot users who have made it working...Nagios on > a debian system to monitor a Win2003 Standard Server. > > > > d NSClient++.cpp(1007) Loading plugin: SystemTray... > d \Socket.h(683) Bound to: 0.0.0.0:12489 > d NSClient++.cpp(709) NSCLient++ - 0.3.9.327 2011-08-16 Started! > d \TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are n > ot on Vista... > l NSClient++.cpp(461) Using settings from: INI-file > l NSClient++.cpp(462) Enter command to inject or exit to terminate... > ############################################################### > > Has anyone got an idea what I've done wrong? > Personally speaking, I don't see any real need to use the system tray plugin. The agent is installed on a server ... how often do you stay logged into a server watching the screen? Servers are meant to run services that are remotely accessed, thus I connect to them and access the services (including the NSClient agent remotely). So I have never included the System Tray interface and NSClient works very well without it. I deploy identical configs from a tried and trusted config file to every windows machine I manage and it just works out of the box :). The test mode will allow you to debug the config file on a development machine. Once that is working you can run nsclient as a service and connect to it remotely without having to go near the machine(s). Regards, Andy. PS. These are my personal opinions and mileage may vary from person to person and installation to 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 np121 at hotmail.com Fri Dec 2 11:30:47 2011 From: np121 at hotmail.com (Nick Price) Date: Fri, 2 Dec 2011 11:30:47 +0100 Subject: notification emails In-Reply-To: References: Message-ID: Ok I am getting in the debug log Notification viability test failed. No notification will be sent. What is this and how to troubleshoot it. I can send emails from command line. Selinux is disabled From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: Friday, December 02, 2011 10:23 To: Nagios Users List Subject: Re: [Nagios-users] notification emails On Fri, Dec 2, 2011 at 8:14 AM, Nick Price wrote: Yes printf works I had the same version of Nagios with the same config files working OK with fedora 14 It is only when I installed it on fedora 16 the notifications don?t work I think it?s a bug within Nagios I doubt that its a bug in Nagios, as Nagios just uses your system's commands to send notifications. What is your notification config? can you run the commands the notification uses as the Nagios user? Is there some security such as SE Linux running? You could try adding logging to the Notification command eg add a ">> /var/tmp/Notification.log" or instead of the Notification command being a direct command, make a script for it instead. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Did you also do printf ?this is a test? | /bin/mail ?s test_email email at mydomain.com ? On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote: 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 ------------------------------------------------------------------------------ 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 ck at claudiokuenzler.com Fri Dec 2 12:13:32 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Fri, 2 Dec 2011 12:13:32 +0100 Subject: notification emails In-Reply-To: References: Message-ID: Did you by accident disable the notifications? On the Nagios web interface, click on Tactical Overview. At the end of the page (Monitoring Features) check that Notifications are green/enabled. It would make sense as you don't have SELinux and all commands seem to work from command-line (you also checked them with your Nagios user, not root, right?). On Fri, Dec 2, 2011 at 11:30 AM, Nick Price wrote: > Ok**** > > ** ** > > I am getting in the debug log**** > > ** ** > > Notification viability test failed. No notification will be sent.**** > > ** ** > > What is this and how to troubleshoot it.**** > > ** ** > > I can send emails from command line.**** > > Selinux is disabled**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] > *Sent:* Friday, December 02, 2011 10:23 > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] notification emails**** > > ** ** > > ** ** > > On Fri, Dec 2, 2011 at 8:14 AM, Nick Price wrote:**** > > Yes printf works**** > > I had the same version of Nagios with the same config files working OK > with fedora 14**** > > It is only when I installed it on fedora 16 the notifications don?t work** > ** > > I think it?s a bug within Nagios**** > > **** > > I doubt that its a bug in Nagios, as Nagios just uses your system's > commands to send notifications. > What is your notification config? can you run the commands the > notification uses as the Nagios user? > Is there some security such as SE Linux running? > > You could try adding logging to the Notification command eg add a ">> > /var/tmp/Notification.log" > > or instead of the Notification command being a direct command, make a > script for it instead. > > Ritchie, > > -- > <-- http://23.me.uk/2 --> > <--Time flies like an arrow; fruit flies like a banana. --> > **** > > **** > > **** > > Did you also do > > printf ?this is a test? | /bin/mail ?s test_email email at mydomain.com > > ?**** > > On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote:**** > > 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**** > > **** > > > > ------------------------------------------------------------------------------ > 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 james.osbourn at citrix.com Fri Dec 2 12:31:35 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Fri, 2 Dec 2011 11:31:35 +0000 Subject: monitor printer from Windows server In-Reply-To: <3D480E2907FD164191FE65820A669FFF02E9E6A7@POM-LA-MBX01.pomwonderful.com> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> <3D480E2907FD164191FE65820A669FFF02E9E6A7@POM-LA-MBX01.pomwonderful.com> Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2186E1@LONPMAILBOX01.citrite.net> Hi Robert, This sounds like the kind of thing that I am interested in. I have not done any powershell scripting before so would be very interested in seeing what you have if you are able to release it; as well as your integration with NSClient and Nagios. Thanks James From: Werner, Robert [mailto:RWerner at pomwonderful.com] Sent: 01 December 2011 19:52 To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server I've had good luck using System.Printing from Powershell and then running the scripts from NSClient++. I just wrote the PowerShell Scripts to use the standard nagios plugin status codes. I used the following links to develop the PowerShell scripts: http://gallery.technet.microsoft.com/scriptcenter/PrintServerManagementps1-7676ed28 http://msdn.microsoft.com/en-us/library/system.printing.aspx If there is interest, I'll ask my boss about sharing the PowerShell scripts. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, December 01, 2011 11:21 AM To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server Besides of course the Spooler Service, you should also monitor the Windows Event Log. I've experienced a lot of driver issues on an old Windows print server which temporarily caused the affected printer(s) to appear as 'offline'. Such problems appeared in the event log as Warnings with the message content something about the driver. That was on a Windows Server 2003, but I think such driver problems are still logged to the Event Log. On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery > wrote: On 1 December 2011 12:39, James Osbourn > wrote: > I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. > > I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. > > Thanks > > James I query the windows performance counter for number of print jobs spooling. If a printer breaks then usually this counter starts ramping up quite rapidly as more and more print jobs get stuck in the queue. For example, the [external alias] section of your nsc.ini (assuming you use NSClient++), you can have:- alias_CheckCounter-PrintQJobs=CheckCounter "Counter:jobs=\Print Queue(_Total)\Jobs" ShowAll MaxWarn=250 MaxCrit=500 Then your service definition would look something like this:- define service { host_name printserver1,printserver2 service_description PrintQJobs use srv-pnp,generic-service check_command check_nrpe!-c PrintQJobs max_check_attempts 6 check_interval 15 retry_interval 5 contact_groups notify-admins notes Records the number of Active Jobs on a Print Server register 1 } And the command definition I use is just a generic one for any nrpe check like so:- define command {^M command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ register 1 } Our servers aren't quite as recent as Windows 7, but I guess the counter would still be the same. I hope that helps. 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 np121 at hotmail.com Fri Dec 2 12:36:34 2011 From: np121 at hotmail.com (Nick Price) Date: Fri, 2 Dec 2011 12:36:34 +0100 Subject: notification emails In-Reply-To: References: Message-ID: No its still activated I even copied the configs from the old server. It seems it's just fedora 16 that has the problem. This version of Nagios works fine with fedora 16. I looked on tactical view Everything is enabled except SSH localhost From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Friday, December 02, 2011 12:14 To: Nagios Users List Subject: Re: [Nagios-users] notification emails Did you by accident disable the notifications? On the Nagios web interface, click on Tactical Overview. At the end of the page (Monitoring Features) check that Notifications are green/enabled. It would make sense as you don't have SELinux and all commands seem to work from command-line (you also checked them with your Nagios user, not root, right?). On Fri, Dec 2, 2011 at 11:30 AM, Nick Price wrote: Ok I am getting in the debug log Notification viability test failed. No notification will be sent. What is this and how to troubleshoot it. I can send emails from command line. Selinux is disabled From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: Friday, December 02, 2011 10:23 To: Nagios Users List Subject: Re: [Nagios-users] notification emails On Fri, Dec 2, 2011 at 8:14 AM, Nick Price wrote: Yes printf works I had the same version of Nagios with the same config files working OK with fedora 14 It is only when I installed it on fedora 16 the notifications don't work I think it's a bug within Nagios I doubt that its a bug in Nagios, as Nagios just uses your system's commands to send notifications. What is your notification config? can you run the commands the notification uses as the Nagios user? Is there some security such as SE Linux running? You could try adding logging to the Notification command eg add a ">> /var/tmp/Notification.log" or instead of the Notification command being a direct command, make a script for it instead. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Did you also do printf 'this is a test' | /bin/mail -s test_email email at mydomain.com ? On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote: 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 ---------------------------------------------------------------------------- -- 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 michael.friedrich at univie.ac.at Fri Dec 2 12:53:32 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 02 Dec 2011 12:53:32 +0100 Subject: notification emails In-Reply-To: References: Message-ID: <4ED8BC3C.6030002@univie.ac.at> On 02.12.2011 12:36, Nick Price wrote: > > No its still activated > > I even copied the configs from the old server. > > It seems it's just fedora 16 that has the problem. > > This version of Nagios works fine with fedora 16. > > I looked on tactical view > > Everything is enabled except SSH localhost > > *From:*Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > *Sent:* Friday, December 02, 2011 12:14 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] notification emails > > Did you by accident disable the notifications? > > On the Nagios web interface, click on Tactical Overview. > At the end of the page (Monitoring Features) check that Notifications > are green/enabled. > > It would make sense as you don't have SELinux and all commands seem to > work from command-line (you also checked them with your Nagios user, > not root, right?). > > On Fri, Dec 2, 2011 at 11:30 AM, Nick Price > wrote: > > Ok > > I am getting in the debug log > > Notification viability test failed. No notification will be sent. > > What is this and how to troubleshoot it. > > I can send emails from command line. > > Selinux is disabled > > *From:*mail at catsnest.co.uk > [mailto:mail at catsnest.co.uk ] > *Sent:* Friday, December 02, 2011 10:23 > > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] notification emails > > On Fri, Dec 2, 2011 at 8:14 AM, Nick Price > wrote: > > Yes printf works > > I had the same version of Nagios with the same config files working OK > with fedora 14 > > It is only when I installed it on fedora 16 the notifications don't work > > I think it's a bug within Nagios > > I doubt that its a bug in Nagios, as Nagios just uses your system's > commands to send notifications. > What is your notification config? can you run the commands the > notification uses as the Nagios user? > Is there some security such as SE Linux running? > > You could try adding logging to the Notification command eg add a ">> > /var/tmp/Notification.log" > > or instead of the Notification command being a direct command, make a > script for it instead. > > Ritchie, > > -- > <-- http://23.me.uk/2 --> > <--Time flies like an arrow; fruit flies like a banana. --> > > Did you also do > > printf 'this is a test' | /bin/mail --s test_email > email at mydomain.com > > ? > > On Wed, Nov 30, 2011 at 9:09 PM, Nick Price > wrote: > > 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. > the contact, which will be shown some lines above (always post a complete debug log for a notification!), did not pass the viability tests. this can be notification_options, notification_period, notifications_disabled, etc. so to conclude with, i'd highly advise you to 1/ post the contact object definition from the objects.cache 2/ post the complete service object definition from the objects.cache 3/ post the complete debug for this service and contact notification > > 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 > > > ------------------------------------------------------------------------------ > 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 -- 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 alexanderyt at gmail.com Fri Dec 2 14:17:06 2011 From: alexanderyt at gmail.com (Alexander Tiurin) Date: Fri, 2 Dec 2011 16:17:06 +0300 Subject: A question about "initial_state" Message-ID: Hello! I added "initial_state u" to passive service template definition, but after restart Nagios, all passive service checks have the status "PENDING" , not "UNKNOWN" define service{ name passive-service retain_status_information 0 retain_nonstatus_information 0 active_checks_enabled 0 passive_checks_enabled 1 flap_detection_enabled 0 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 check_freshness 1 freshness_threshold 15 ; seconds initial_state u contact_groups admins check_command check_dummy!0 notification_interval 60 notification_period 24x7 notification_options w,u,c,r stalking_options w,c,u register 0 } Whats wrong? nagios3-3.2.0-4ubuntu2.2 -------------- 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 Dec 2 15:25:08 2011 From: m.borsani at it.net (Marco Borsani) Date: Fri, 2 Dec 2011 15:25:08 +0100 Subject: R: R: nagiosgraf install prereq In-Reply-To: <2EFEA62F-9719-4721-AC33-B48110EC2811@linux.it> References: <005701ccb0c7$d372d340$7a5879c0$@it.net> <085ea4ba555985349bb5409003dd7f74.squirrel@picard.linux.it> <009a01ccb0d3$80ac3820$8204a860$@it.net> <2EFEA62F-9719-4721-AC33-B48110EC2811@linux.it> Message-ID: <011501ccb0fe$3786baa0$a6942fe0$@it.net> Yes, thanks. I did it few minutes ago ! ;-) -----Messaggio originale----- Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] Inviato: venerd? 2 dicembre 2011 10:25 A: Marco Borsani Cc: Nagios Users List Oggetto: Re: R: [Nagios-users] nagiosgraf install prereq perl -MCPAN -e shell Then at The prompt: install Time::HiRes Ciao, Giorgio Il giorno 02/dic/2011, alle ore 10:19, "Marco Borsani" ha scritto: > Well > > perl -MCPAN -e 'install CGI' --> work correctly > > perl -MCPAN -e 'install Time::HiRes' --> give me following error message: > Can't locate object method "install" via package "Time" at -e line 1. > > Any idea? > Marco > > -----Messaggio originale----- > Da: Giorgio Zarrelli [mailto:zarrelli at linux.it] > Inviato: venerd 2 dicembre 2011 09:21 > A: Nagios Users List > Oggetto: Re: [Nagios-users] nagiosgraf install prereq > > Hi, > > in console, as root, execute the following commands: > > perl -MCPAN -e 'install CGI' > > perl -MCPAN -e 'install Time::HiRes' > > > > > >> CGI... ***FAIL*** >> >> >> Time::HiRes... ***FAIL*** >> >> checking optional PERL modules > > > > ---------------------------------------------------------------------- > ------ > -- > 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 nagios at flatto.net Fri Dec 2 15:47:11 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 02 Dec 2011 14:47:11 -0000 (UTC) Subject: nagios and nsclient++ wont work In-Reply-To: References: Message-ID: <3d088ed0-93df-4a6e-a8fa-4454cc64fa2b@vhost1.heptagon.co.il> I am trying to understand what you are saying is not working , as the log snippet does not say anything about tests coming from the Nagios server , if it is about the Tray icon,the answer is in the log : "\TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are not on Vista... " So what are you trying to do ?? ----- Original Message ----- From: "Niels Jende" To: nagios-users at lists.sourceforge.net Sent: Friday, 2 December, 2011 8:10:30 AM Subject: [Nagios-users] nagios and nsclient++ wont work Hi there, I guess that here are alot users who have made it working...Nagios on a debian system to monitor a Win2003 Standard Server. For testing purposes both machines are virtualized, the Debian is in a VirtualBox and the W2K3Std Server is virtualized with VmWare. I'm just saying that to be as precise as somehow possible. So, I downloaded the latest stable nsclient++ on the W2K3 from sourceforge, as it is suggested. I walked through the install process as stated in the Reference Manual, but the nsclient seems to be misconfigured, because I get errors once I run nsclient++ /test. Neither do I get the Systray Icon in the systray. I said nsclient++ Systray install to get it installed and there the client didn't complain about whatsoever. And the nsclient doesnt complain once I start him, but as said the /test option shows errors: ######################################################### C:\Programme\NSClient++>nsclient++ /test Launching test mode - client mode d NSClient++.cpp(1216) Enabling debug mode... d NSClient++.cpp(557) Attempting to start NSCLient++ - 0.3.9.327 2011-08-16 NSCore not loaded... Archiving crash dumps in: C:\Dokumente und Einstellungen\gms\Lokale Einstellunge n\Anwendungsdaten\NSClient++\crash dumps d NSClient++.cpp(1007) Loading plugin: CheckDisk... d NSClient++.cpp(1007) Loading plugin: Event log Checker.... d NSClient++.cpp(1007) Loading plugin: Helper function... d NSClient++.cpp(1007) Loading plugin: Check NSCP... d NSClient++.cpp(1007) Loading plugin: CheckSystem... d \PDHCollector.cpp(73) Autodetected w2k or later, using w2k PDH counters. d NSClient++.cpp(1007) Loading plugin: CheckWMI... d \PDHCollector.cpp(110) Using index to retrive counternames d NSClient++.cpp(1007) Loading plugin: File logger... l \FileLogger.cpp(87) Log path is: C:\Programme\NSClient++\\nsclient.log d \PDHCollector.cpp(130) Found countername: CPU: \Prozessor(_total)\Prozessor zeit (%) d NSClient++.cpp(1007) Loading plugin: NRPE server (w/ SSL)... d \PDHCollector.cpp(131) Found countername: UPTIME: \System\Systembetriebszeit d \NRPEListener.cpp(92) Loading all commands (from NRPE) d \PDHCollector.cpp(132) Found countername: MCL: \Speicher\Zusagegrenze d \NRPEListener.cpp(122) Starting NRPE socket... d \PDHCollector.cpp(133) Found countername: MCB: \Speicher\Zugesicherte Bytes d NSClient++.cpp(1007) Loading plugin: NSCAAgent (w/ encryption)... d \Socket.h(683) Bound to: 0.0.0.0:5666 d \NSCAThread.cpp(77) Time difference for NSCA server is: 0 d \NSCAThread.cpp(87) Only reporting: ok,warning,critical,unknown d \NSCAThread.cpp(119) Autodetected hostname: SRV_TEL d NSClient++.cpp(1007) Loading plugin: NSClient server... d \NSCAThread.cpp(188) Drifting: 0 d NSClient++.cpp(1007) Loading plugin: SystemTray... d \Socket.h(683) Bound to: 0.0.0.0:12489 d NSClient++.cpp(709) NSCLient++ - 0.3.9.327 2011-08-16 Started! d \TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are n ot on Vista... l NSClient++.cpp(461) Using settings from: INI-file l NSClient++.cpp(462) Enter command to inject or exit to terminate... ############################################################### Has anyone got an idea what I've done wrong? Thanks 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 ------------------------------------------------------------------------------ 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 at flatto.net Fri Dec 2 15:59:38 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 02 Dec 2011 14:59:38 -0000 (UTC) Subject: A question about "initial_state" In-Reply-To: References: Message-ID: <436a00d0-371b-4425-9b77-2d406198d02d@vhost1.heptagon.co.il> Since this is a passive state , until it gets a state submissions from the NSCA it will be in a Pending state . The initial_state directive is for Active services AFAIK. ----- Original Message ----- From: "Alexander Tiurin" To: nagios-users at lists.sourceforge.net Sent: Friday, 2 December, 2011 1:17:06 PM Subject: [Nagios-users] A question about "initial_state" Hello! I added "initial_state u" to passive service template definition, but after restart Nagios, all passive service checks have the status "PENDING" , not "UNKNOWN" define service{ name passive-service retain_status_information 0 retain_nonstatus_information 0 active_checks_enabled 0 passive_checks_enabled 1 flap_detection_enabled 0 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 check_freshness 1 freshness_threshold 15 ; seconds initial_state u contact_groups admins check_command check_dummy!0 notification_interval 60 notification_period 24x7 notification_options w,u,c,r stalking_options w,c,u register 0 } Whats wrong? nagios3-3.2.0-4ubuntu2.2 ------------------------------------------------------------------------------ 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 miskobs at yahoo.com Fri Dec 2 18:15:00 2011 From: miskobs at yahoo.com (Bratislav Stojkovic) Date: Fri, 2 Dec 2011 09:15:00 -0800 (PST) Subject: Re2: Message-ID: <1322846100.11084.yint-ygo-j2me@web160720.mail.bf1.yahoo.com> If you read this message, it?s very important! http://rioual.com/index721m--.php?yvyaolID=31 Fri, 2 Dec 2011 18:15:00 ____________ "Let him do the weeping and you take and give them to the poor.Gus offered them to Grace, who also refused, shaking her head." (c) Brytni wallcard ------------------------------------------------------------------------------ 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 a.smith at ukgrid.net Fri Dec 2 19:14:26 2011 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Fri, 02 Dec 2011 18:14:26 +0000 Subject: Passive monitoring multiple servers with 1 NAT IP Message-ID: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> Hi, in the case where I want to monitor several servers in a remote office where all outbound traffic from that office originates from a single IP (NAT) is there any way I can monitor those with Nagios without putting a Nagios server in the remote office? On the face of it it would seem impossible as Nagios identifies hosts by their IP (and therefore each needs a unique IP) but would be good to get that confirmed or otherwise, thanks for any ideas,?Andy. -------------- 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 nielsjende at googlemail.com Fri Dec 2 22:32:00 2011 From: nielsjende at googlemail.com (Niels Jende) Date: Fri, 2 Dec 2011 22:32:00 +0100 Subject: nagios and nsclient++ wont work In-Reply-To: <3d088ed0-93df-4a6e-a8fa-4454cc64fa2b@vhost1.heptagon.co.il> References: <3d088ed0-93df-4a6e-a8fa-4454cc64fa2b@vhost1.heptagon.co.il> Message-ID: Hi Spook, Hi Assaf! First of all thanks for your reply. You bith have asked me what I need that Systray Icon for...well, to be honest I don't need it, but my Bosses want to have it :-/ So, I have to make sure that the icon is in the Systray. By the way is anyone of you both running nagios on debian? Spook you said, that you do deploy nsclient on several installations with some sort of a basic/standard setup - ini File...would you mind to let me have a look at that file...for learning/understanding purposes? Thanks a lot to both of you Regards Niels P.S.: Sorry for not quoting, but its hard to do that on a Blackberry :-( 2011/12/2 Assaf Flatto : > I am trying to understand what you are saying is not working , as the log snippet does not say anything about tests coming from the Nagios server , if it is about the Tray icon,the ?answer is in the log : > "\TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are not on Vista... " > > So what are you trying to do ?? > > > > ----- Original Message ----- > From: "Niels Jende" > To: nagios-users at lists.sourceforge.net > Sent: Friday, 2 December, 2011 8:10:30 AM > Subject: [Nagios-users] nagios and nsclient++ wont work > > Hi there, > > I guess that here are alot users who have made it working...Nagios on > a debian system to monitor a Win2003 Standard Server. > > For testing purposes both machines are virtualized, the Debian is in a > VirtualBox and the W2K3Std Server is virtualized with VmWare. I'm just > saying that to be as precise as somehow possible. > > So, I downloaded the latest stable nsclient++ on the W2K3 from > sourceforge, as it is suggested. I walked through the install process > as stated in the Reference Manual, but the nsclient seems to be > misconfigured, because I get errors once I run nsclient++ /test. > Neither do I get the Systray Icon in the systray. I said nsclient++ > Systray install to get it installed and there the client didn't > complain about whatsoever. And the nsclient doesnt complain once I > start him, but as said the /test option shows errors: > ######################################################### > C:\Programme\NSClient++>nsclient++ /test > Launching test mode - client mode > d NSClient++.cpp(1216) Enabling debug mode... > d NSClient++.cpp(557) Attempting to start NSCLient++ - 0.3.9.327 2011-08-16 > NSCore not loaded... > Archiving crash dumps in: C:\Dokumente und Einstellungen\gms\Lokale Einstellunge > n\Anwendungsdaten\NSClient++\crash dumps > d NSClient++.cpp(1007) Loading plugin: CheckDisk... > d NSClient++.cpp(1007) Loading plugin: Event log Checker.... > d NSClient++.cpp(1007) Loading plugin: Helper function... > d NSClient++.cpp(1007) Loading plugin: Check NSCP... > d NSClient++.cpp(1007) Loading plugin: CheckSystem... > d \PDHCollector.cpp(73) Autodetected w2k or later, using w2k PDH counters. > d NSClient++.cpp(1007) Loading plugin: CheckWMI... > d \PDHCollector.cpp(110) Using index to retrive counternames > d NSClient++.cpp(1007) Loading plugin: File logger... > l \FileLogger.cpp(87) Log path is: C:\Programme\NSClient++\\nsclient.log > d \PDHCollector.cpp(130) Found countername: CPU: ? ?\Prozessor(_total)\Prozessor > zeit (%) > d NSClient++.cpp(1007) Loading plugin: NRPE server (w/ SSL)... > d \PDHCollector.cpp(131) Found countername: UPTIME: \System\Systembetriebszeit > d \NRPEListener.cpp(92) Loading all commands (from NRPE) > d \PDHCollector.cpp(132) Found countername: MCL: ? ?\Speicher\Zusagegrenze > d \NRPEListener.cpp(122) Starting NRPE socket... > d \PDHCollector.cpp(133) Found countername: MCB: ? ?\Speicher\Zugesicherte Bytes > > d NSClient++.cpp(1007) Loading plugin: NSCAAgent (w/ encryption)... > d \Socket.h(683) Bound to: 0.0.0.0:5666 > d \NSCAThread.cpp(77) Time difference for NSCA server is: 0 > d \NSCAThread.cpp(87) Only reporting: ok,warning,critical,unknown > d \NSCAThread.cpp(119) Autodetected hostname: SRV_TEL > d NSClient++.cpp(1007) Loading plugin: NSClient server... > d \NSCAThread.cpp(188) Drifting: 0 > d NSClient++.cpp(1007) Loading plugin: SystemTray... > d \Socket.h(683) Bound to: 0.0.0.0:12489 > d NSClient++.cpp(709) NSCLient++ - 0.3.9.327 2011-08-16 Started! > d \TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are n > ot on Vista... > l NSClient++.cpp(461) Using settings from: INI-file > l NSClient++.cpp(462) Enter command to inject or exit to terminate... > ############################################################### > > Has anyone got an idea what I've done wrong? > > Thanks > 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 > > ------------------------------------------------------------------------------ > 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 Sat Dec 3 00:25:48 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 2 Dec 2011 23:25:48 +0000 Subject: Passive monitoring multiple servers with 1 NAT IP In-Reply-To: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> References: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> Message-ID: On 2 December 2011 18:14, wrote: > Hi, > > in the case where I want to monitor several servers in a remote office where > all outbound traffic from that office originates from a single IP (NAT) is > there any way I can monitor those with Nagios without putting a Nagios > server in the remote office? > On the face of it it would seem impossible as Nagios identifies hosts by > their IP (and therefore each needs a unique IP) but would be good to get > that confirmed or otherwise, Yes you can do that no problem. Send the checks to the Nagios server using send_nsca and configure all the hosts in Nagios with passive host and service checks. You can use freshness checking to alert you if no checks have been received at all lately from the remote host. The send_nsca transmission identifies the host to Nagios so it won't matter if the address is NATted. Note that for the active check in Nagios you will need to use check_dummy or similar so that if the freshness check fails then Nagios will run this and alert you to the fact the freshness check has failed. I normally use something like .. check_dummy!3 "UNKNOWN: Nagios didn't receive a check result lately from the server!" You haven't said if the servers are Unix, Windows or what. If Windows, then it's easy to configure the NSClient++ agent to send checks using NSCA. If Unix or linux you will need to install send_nsca and the relevant plugins and run the checks from cron, maybe using the nsca_wrapper script which you'll find on Nagios Exchange. You will of course need to configure NSCA on your Nagios server to receive the incoming checks. 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 spookza at gmail.com Sat Dec 3 10:42:25 2011 From: spookza at gmail.com (Spook ZA) Date: Sat, 3 Dec 2011 11:42:25 +0200 Subject: nagios and nsclient++ wont work In-Reply-To: References: <3d088ed0-93df-4a6e-a8fa-4454cc64fa2b@vhost1.heptagon.co.il> Message-ID: Hi On 2 December 2011 23:32, Niels Jende wrote: > Hi Spook, Hi Assaf! > > First of all thanks for your reply. You bith have asked me what I need > that Systray Icon for...well, to be honest I don't need it, but my > Bosses want to have it :-/ So, I have to make sure that the icon is in > the Systray. Try look at http://www.nsclient.org/nscp/wiki/FAQ#a7.SystemTraydoesnotwork > > By the way is anyone of you both running nagios on debian? I run on CentOS - a derivative of RedHat > > Spook you said, that you do deploy nsclient on several installations > with some sort of a basic/standard setup - ini File...would you mind > to let me have a look at that file...for learning/understanding > purposes? The NSC.ini config file is very well commented and the NSClient++ wiki provides a great source of information. > > Thanks a lot to both of you > Regards > Niels > > P.S.: Sorry for not quoting, but its hard to do that on a Blackberry :-( > > 2011/12/2 Assaf Flatto : >> I am trying to understand what you are saying is not working , as the log snippet does not say anything about tests coming from the Nagios server , if it is about the Tray icon,the ?answer is in the log : >> "\TrayIcon.cpp(53) Failed to load: ChangeWindowMessageFilter aparently we are not on Vista... " >> My config is very simple and works for me as I only use NSCLient type checking (although I have NRPE enabled also just in case), you may have other requirements: This config file has been trimmed down so as not to make the email too long. You will have to compare it against one of your NSC.ini files. Please note I have shared_session=0 and commented out since I do not use the tray. This area may be of special interest to you as per the URL above. [modules] FileLogger.dll CheckSystem.dll CheckDisk.dll NSClientListener.dll NRPEListener.dll ;SysTray.dll CheckEventLog.dll CheckHelpers.dll ;CheckWMI.dll ; CheckExternalScripts.dll ; [Settings] ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. password=knockknock use_file=1 allowed_hosts=192.168.11.170 ; ; # USE SHARED MEMORY CHANNELS ; This is the "new" way for using the system tray based on an IPC framework on top shared memmory channels and events. ; It is brand new and (probably has bugs) so dont enable this unless for testing! ; If set to 1 shared channels will be created and system tray icons created and such and such... ;shared_session=0 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) ;debug=1 ; ;# LOG FILE ; The file to print log statements to ;file=nsclient.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S ; ;# LOG ROOT FOLDER ; The root folder to use for logging. ; exe = the folder where the executable is located ; local-app-data = local application data (probably a better choice then the old default) ;root_folder=exe [NSClient] port=12489 [NRPE] port=5666 allow_arguments=1 [Check System] check_all_services[SERVICE_AUTO_START]=started [External Script] [External Scripts] [External Alias] alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED alias_service=checkServiceState CheckAll alias_process=checkProcState $ARG1$=started alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical alias_up=checkUpTime MinWarn=1d MinWarn=1h alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%" alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_event_log=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log2=CheckEventLog file=application file=system filter=new filter=in MaxWarn=1 MaxCrit=1 filter+generated=<2d "filter+eventSource==Service Control Manager" filter+severity==error truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" ; [includes] [NSCA Agent] [NSCA Commands] [NRPE Handlers] ;[LUA Scripts] 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 np121 at hotmail.com Sat Dec 3 12:58:59 2011 From: np121 at hotmail.com (Nick Price) Date: Sat, 3 Dec 2011 12:58:59 +0100 Subject: notification emails In-Reply-To: <4ED8BC3C.6030002@univie.ac.at> References: <4ED8BC3C.6030002@univie.ac.at> Message-ID: Stupid I forgot that bit Did chmod 5777 sendmail and it works now Thanks for the help From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Friday, December 02, 2011 12:54 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] notification emails On 02.12.2011 12:36, Nick Price wrote: No its still activated I even copied the configs from the old server. It seems it's just fedora 16 that has the problem. This version of Nagios works fine with fedora 16. I looked on tactical view Everything is enabled except SSH localhost From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Friday, December 02, 2011 12:14 To: Nagios Users List Subject: Re: [Nagios-users] notification emails Did you by accident disable the notifications? On the Nagios web interface, click on Tactical Overview. At the end of the page (Monitoring Features) check that Notifications are green/enabled. It would make sense as you don't have SELinux and all commands seem to work from command-line (you also checked them with your Nagios user, not root, right?). On Fri, Dec 2, 2011 at 11:30 AM, Nick Price wrote: Ok I am getting in the debug log Notification viability test failed. No notification will be sent. What is this and how to troubleshoot it. I can send emails from command line. Selinux is disabled From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: Friday, December 02, 2011 10:23 To: Nagios Users List Subject: Re: [Nagios-users] notification emails On Fri, Dec 2, 2011 at 8:14 AM, Nick Price wrote: Yes printf works I had the same version of Nagios with the same config files working OK with fedora 14 It is only when I installed it on fedora 16 the notifications don't work I think it's a bug within Nagios I doubt that its a bug in Nagios, as Nagios just uses your system's commands to send notifications. What is your notification config? can you run the commands the notification uses as the Nagios user? Is there some security such as SE Linux running? You could try adding logging to the Notification command eg add a ">> /var/tmp/Notification.log" or instead of the Notification command being a direct command, make a script for it instead. Ritchie, -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> Did you also do printf 'this is a test' | /bin/mail -s test_email email at mydomain.com ? On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote: 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. the contact, which will be shown some lines above (always post a complete debug log for a notification!), did not pass the viability tests. this can be notification_options, notification_period, notifications_disabled, etc. so to conclude with, i'd highly advise you to 1/ post the contact object definition from the objects.cache 2/ post the complete service object definition from the objects.cache 3/ post the complete debug for this service and contact notification 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 ---------------------------------------------------------------------------- -- 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 -- 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 a.smith at ukgrid.net Sat Dec 3 18:46:18 2011 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Sat, 03 Dec 2011 17:46:18 +0000 Subject: Passive monitoring multiple servers with 1 NAT IP In-Reply-To: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> References: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> Message-ID: <20111203174618.41311e2979l4cihw@webmail2.ukgrid.net> Quoting Jim Avery: > The send_nsca transmission identifies the host to Nagios so it won't matter if the address is NATted. Hi Jim, ok great if its possible, however I did try setting this up and it didnt seem to work. I am using the NSClient++ on Windows servers, and under the NSCA section I have defined what is described as "LOCAL HOST NAME" correctly on each client. However when both clients are configured on the Nagios server updates are received to one and not the other, which makes me think its just asscoiating all inbound messages with the first matching IP (I have defined each host with an IP, I guess that is required too isnt it?), If it isn't to do with the host definition having an IP defined then maybe I made some other config mistake, I can double check it all on Monday. thanks 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 ck at claudiokuenzler.com Sat Dec 3 19:37:14 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Sat, 3 Dec 2011 19:37:14 +0100 Subject: notification emails In-Reply-To: References: <4ED8BC3C.6030002@univie.ac.at> Message-ID: So much to what I wrote a few days ago...: you also checked them with your Nagios user, not root, right? But at least it works now ;-) On Sat, Dec 3, 2011 at 12:58 PM, Nick Price wrote: > Stupid I forgot that bit**** > > ** ** > > Did chmod 5777 sendmail and it works now**** > > ** ** > > Thanks for the help**** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Friday, December 02, 2011 12:54 > *To:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] notification emails**** > > ** ** > > On 02.12.2011 12:36, Nick Price wrote: **** > > No its still activated**** > > **** > > I even copied the configs from the old server.**** > > **** > > It seems it?s just fedora 16 that has the problem. **** > > **** > > This version of Nagios works fine with fedora 16.**** > > **** > > I looked on tactical view**** > > **** > > Everything is enabled except SSH localhost**** > > **** > > **** > > *From:* Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > > *Sent:* Friday, December 02, 2011 12:14 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] notification emails**** > > **** > > Did you by accident disable the notifications? > > On the Nagios web interface, click on Tactical Overview. > At the end of the page (Monitoring Features) check that Notifications are > green/enabled. > > It would make sense as you don't have SELinux and all commands seem to > work from command-line (you also checked them with your Nagios user, not > root, right?).**** > > On Fri, Dec 2, 2011 at 11:30 AM, Nick Price wrote:**** > > Ok**** > > **** > > I am getting in the debug log**** > > **** > > Notification viability test failed. No notification will be sent.**** > > **** > > What is this and how to troubleshoot it.**** > > **** > > I can send emails from command line.**** > > Selinux is disabled**** > > **** > > **** > > **** > > **** > > **** > > *From:* mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] > *Sent:* Friday, December 02, 2011 10:23**** > > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] notification emails**** > > **** > > **** > > On Fri, Dec 2, 2011 at 8:14 AM, Nick Price wrote:**** > > Yes printf works**** > > I had the same version of Nagios with the same config files working OK > with fedora 14**** > > It is only when I installed it on fedora 16 the notifications don?t work** > ** > > I think it?s a bug within Nagios**** > > **** > > I doubt that its a bug in Nagios, as Nagios just uses your system's > commands to send notifications. > What is your notification config? can you run the commands the > notification uses as the Nagios user? > Is there some security such as SE Linux running? > > You could try adding logging to the Notification command eg add a ">> > /var/tmp/Notification.log" > > or instead of the Notification command being a direct command, make a > script for it instead. > > Ritchie, > > -- > <-- http://23.me.uk/2 --> > <--Time flies like an arrow; fruit flies like a banana. --> > **** > > **** > > **** > > Did you also do > > printf ?this is a test? | /bin/mail ?s test_email email at mydomain.com > > ?**** > > On Wed, Nov 30, 2011 at 9:09 PM, Nick Price wrote:**** > > 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.**** > > > the contact, which will be shown some lines above (always post a complete > debug log for a notification!), did not pass the viability tests. this can > be notification_options, notification_period, notifications_disabled, etc. > so to conclude with, i'd highly advise you to > > 1/ post the contact object definition from the objects.cache > 2/ post the complete service object definition from the objects.cache > 3/ post the complete debug for this service and contact notification > > > > **** > > > 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**** > > **** > > > > ------------------------------------------------------------------------------ > 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**** > > > > > **** > > -- **** > > 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 > -------------- 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 Sat Dec 3 20:01:10 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 3 Dec 2011 19:01:10 +0000 Subject: Passive monitoring multiple servers with 1 NAT IP In-Reply-To: <20111203174618.41311e2979l4cihw@webmail2.ukgrid.net> References: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> <20111203174618.41311e2979l4cihw@webmail2.ukgrid.net> Message-ID: On 3 December 2011 17:46, wrote: > ? ok great if its possible, however I did try setting this up and it > didnt seem to work. > I am using the NSClient++ on Windows servers, and under the NSCA > section I have defined what is described as "LOCAL HOST NAME" > correctly on each client. However when both clients are configured on > the Nagios server updates are received to one and not the other, which > makes me think its just asscoiating all inbound messages with the > first matching IP (I have defined each host with an IP, I guess that > is required too isnt it?), The 'address' directive in the host definition is mandatory, yes, but you can put anything in there you like. If you are not doing any active checks (and the active checks you might end up doing are check_dummy anyway), then you can put what you like in there - it won't be used for anything. > If it isn't to do with the host definition having an IP defined then > maybe I made some other config mistake, I can double check it all on > Monday. It sounds like it's probably some simple problem with the config on the host which isn't working, yes. Sometimes it helps to get nsca (on the Nagios server) to write some debug to syslog. I can't remember off-hand how to do that, but it's probably found in /usr/local/nagios/etc/nsca.ini or similar or if not, in the xinetd entry for nsca which if I recall is in /etc/xinetd.d/nsca . Check the nsclient.log file on the Windows system too, and make sure there's nothing obvious in there. Upper/Lower case is important for the host name so what you have in the Nagios host definition must match what the agent is sending. ------------------------------------------------------------------------------ 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 at flatto.net Mon Dec 5 09:08:05 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 05 Dec 2011 08:08:05 +0000 Subject: Passive monitoring multiple servers with 1 NAT IP In-Reply-To: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> References: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> Message-ID: <4EDC7BE5.3000407@flatto.net> On 02/12/11 18:14, a.smith at ukgrid.net wrote: > > Hi, > > in the case where I want to monitor several servers in a remote office > where all outbound traffic from that office originates from a single > IP (NAT) is there any way I can monitor those with Nagios without > putting a Nagios server in the remote office? > On the face of it it would seem impossible as Nagios identifies hosts > by their IP (and therefore each needs a unique IP) but would be good > to get that confirmed or otherwise, > > thanks for any ideas, Andy. > > > I've had a similar situation in one of my projects ,and it is solvable in one of 2 methods : 1 ) if you NAT server is a linux box - use the nrpe on that box to "trigger " the checks to all other boxes in the network and send back to the Nagios box. 2) Port forwarding - assign each machine a port and configure the host with the custom macro _NRPEPORT and thus the firewall send a query on the port to the assigned hosts in the NAT listing . Assaf ------------------------------------------------------------------------------ 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 mirko.stefanelli at gmail.com Mon Dec 5 12:54:01 2011 From: mirko.stefanelli at gmail.com (Mirko Stefanelli) Date: Mon, 05 Dec 2011 12:54:01 +0100 Subject: [SOLVED] Re: Problem on compiling ndoutils ver. 1.4b9 In-Reply-To: <4ED7A304.7080704@univie.ac.at> References: <4ED7A075.1060402@gmail.com> <4ED7A304.7080704@univie.ac.at> Message-ID: <4EDCB0D9.7050504@gmail.com> Il 01/12/2011 16.53, Michael Friedrich ha scritto: > On 01.12.2011 16:42, Mirko Stefanelli wrote: >> Hi to all, >> >> I have some problem on compiling ndoutils on server ubuntu 11.04 >> (X84_64), on this server are installe both nagios 3.3.1 and mysql >> server/client ver.5.1.54. I perform a search in order to find >> "libmysqlclient" and this library is available on the sistem: >> >> /usr/lib/libmysqlclient.so.16 >> >> When I run ./configure under dir of ndoutis source I got this messages: >> >> checking for mysql_config... no >> >> >> *** MySQL library could not be located... ************************** >> >> You chose to compile NDOutils with MySQL support, but I was unable to >> locate the MySQL library on your system. If the library is >> installed, use the --with-mysql-lib argument to specify the >> location of the MySQL library. >> installed, use the --with-mysql=DIR argument to specify the >> location of the MySQL library, We assume mysql_config is in DIR/dir >> NOTE: After you install the necessary libraries on your system: >> 1. Make sure /etc/ld.so.conf has an entry for the directory in >> which the MySQL libraries are installed. >> 2. Run 'ldconfig' to update the run-time linker options. >> 3. Run 'make devclean' in the NDBXT distribution to clean out >> any old references to your previous compile. >> 4. Rerun the configure script. >> >> TIP: Try the following.... >> ./configure --with-mysql=/usr/lib/mysql >> >> I have also create a soft link in order to have this library >> /usr/lib/libmysqlclient.so. >> >> has anyone had experience with this problem? > try to add the mysql header locations to configure as well. and i would > the default for the libs expecting to be --with-mysql-lib instead. > >> Any idea? >> >> Regards, >> Mirko Stefanelli. >> >> ------------------------------------------------------------------------------ >> 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 > Hi to all, I have solved problem. apt-get install libmysqlclient16-dev now its works fine. Regards, MIrko. ------------------------------------------------------------------------------ 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 Dec 5 17:55:58 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Dec 2011 11:55:58 -0500 Subject: disabling e-mail notifications for nagiosadmin account Message-ID: Hi there -- We are running Nagios 3.3.1, and have a two contacts set up for the e-mail notifications. One of the contacts is the nagiosadmin user. This is the user account that was first setup during the initial installation of the application. When the account was set up it was configured with the e-mail address of one of our network administrators. A second account was set up that was based on the administrator's login account along with his e-mail address. When notifications are sent out, he gets two notifications for each event due to both contacts having the same e-mail address. We want to prevent the e-mail notifications being sent to the nagiosadmin account with the administrator getting only one notification per event as the intended result. One thought was to set up a dummy account on the Nagios server as a solution, and another idea was to set up a flag in the contacts.cfg file, but we are not sure what the would be the correct syntax for the latter. What would be the best solution 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 work at paul.dubuc.org Mon Dec 5 21:31:48 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 05 Dec 2011 15:31:48 -0500 Subject: timeperiod definition for election day? Message-ID: <4EDD2A34.7070103@paul.dubuc.org> I didn't see this in the documentation, but I wonder if there is a way to specify a timeperiod for the first weekday after another weekday. For example, election day in the U.S. is on the 1st Tuesday after the 1st Monday of November. We have a similar need do define a timeperiod for the 1st Sunday after the 1st Saturday of every month. Must we do this by entering all the specific dates for these in the coming year(s), or is there a simpler, no maintenance way of doing it? Thanks, Paul Dubuc ------------------------------------------------------------------------------ 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 work at paul.dubuc.org Mon Dec 5 21:51:08 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Mon, 05 Dec 2011 15:51:08 -0500 Subject: disabling e-mail notifications for nagiosadmin account In-Reply-To: References: Message-ID: <4EDD2EBC.7070508@paul.dubuc.org> Kaplan, Andrew H. wrote: > Hi there -- > > We are running Nagios 3.3.1, and have a two contacts set up for the e-mail > notifications. One of the contacts > is the nagiosadmin user. This is the user account that was first setup during > the initial installation of the application. > > When the account was set up it was configured with the e-mail address of one > of our network administrators. > > A second account was set up that was based on the administrator's login > account along with his e-mail address. > When notifications are sent out, he gets two notifications for each event due > to both contacts having the same > e-mail address. > > We want to prevent the e-mail notifications being sent to the nagiosadmin > account with the administrator getting > only one notification per event as the intended result. One thought was to set > up a dummy account on the Nagios > server as a solution, and another idea was to set up a flag in the > contacts.cfg file, but we are not sure what the > would be the correct syntax for the latter. > > What would be the best solution here? > > Thanks. nagiosadmin doesn't need to be a notification contact. You can remove it from any contact lists in your contacts.cfg. If you want that user to still be able to see everything and run all commands from the Nagios display you can put it in the "authorized_for_*" lists in your cgi.cfg if its not already there. Paul Dubuc ------------------------------------------------------------------------------ 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 Dec 5 21:55:33 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Mon, 5 Dec 2011 21:55:33 +0100 Subject: disabling e-mail notifications for nagiosadmin account In-Reply-To: <4EDD2EBC.7070508@paul.dubuc.org> References: <4EDD2EBC.7070508@paul.dubuc.org> Message-ID: <415FB87C-BED7-465B-A74F-33C63F343E2B@linux.it> Leave the contact, remove the email address Ciao, Giorgio Il giorno 05/dic/2011, alle ore 21:51, "Paul M. Dubuc" ha scritto: > Kaplan, Andrew H. wrote: >> Hi there -- >> >> We are running Nagios 3.3.1, and have a two contacts set up for the e-mail >> notifications. One of the contacts >> is the nagiosadmin user. This is the user account that was first setup during >> the initial installation of the application. >> >> When the account was set up it was configured with the e-mail address of one >> of our network administrators. >> >> A second account was set up that was based on the administrator's login >> account along with his e-mail address. >> When notifications are sent out, he gets two notifications for each event due >> to both contacts having the same >> e-mail address. >> >> We want to prevent the e-mail notifications being sent to the nagiosadmin >> account with the administrator getting >> only one notification per event as the intended result. One thought was to set >> up a dummy account on the Nagios >> server as a solution, and another idea was to set up a flag in the >> contacts.cfg file, but we are not sure what the >> would be the correct syntax for the latter. >> >> What would be the best solution here? >> >> Thanks. > > nagiosadmin doesn't need to be a notification contact. You can remove it from > any contact lists in your contacts.cfg. If you want that user to still be > able to see everything and run all commands from the Nagios display you can > put it in the "authorized_for_*" lists in your cgi.cfg if its not already there. > > Paul Dubuc > > ------------------------------------------------------------------------------ > 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 Mon Dec 5 23:04:15 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 5 Dec 2011 22:04:15 +0000 Subject: timeperiod definition for election day? In-Reply-To: <4EDD2A34.7070103@paul.dubuc.org> References: <4EDD2A34.7070103@paul.dubuc.org> Message-ID: On 5 December 2011 20:31, Paul M. Dubuc wrote: > I didn't see this in the documentation, but I wonder if there is a way to > specify a timeperiod for the first weekday after another weekday. ?For > example, election day in the U.S. is on the 1st Tuesday after the 1st Monday > of November. ?We have a similar need do define a timeperiod for the 1st Sunday > after the 1st Saturday of every month. > > Must we do this by entering all the specific dates for these in the coming > year(s), or is there a simpler, no maintenance way of doing it? > > Thanks, > Paul Dubuc I was pondering about this sort of thing the other day when I was updating our bank holiday list. I think what's really needed is an equivalent of ntp, but for bank holidays so you have have a central repository of bank holiday information and have any servers that are interested poll it once in a while. That would be nothing to do with Nagios per se of course, but would be useful to Nagios and lots of other applications. Maybe someone has already done such a thing and I've not heard of it yet? ------------------------------------------------------------------------------ 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 Dec 6 00:44:01 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Dec 2011 00:44:01 +0100 Subject: [Nagios-users] timeperiod definition for election day? In-Reply-To: <4EDD2A34.7070103@paul.dubuc.org> References: <4EDD2A34.7070103@paul.dubuc.org> Message-ID: <4EDD5741.1070805@op5.se> On 12/05/2011 09:31 PM, Paul M. Dubuc wrote: > I didn't see this in the documentation, but I wonder if there is a way to > specify a timeperiod for the first weekday after another weekday. For > example, election day in the U.S. is on the 1st Tuesday after the 1st Monday > of November. We have a similar need do define a timeperiod for the 1st Sunday > after the 1st Saturday of every month. > > Must we do this by entering all the specific dates for these in the coming > year(s), or is there a simpler, no maintenance way of doing it? > You have to do that manually. I couldn't even imagine what the syntax would look like to support it, but if you've got a patch I'd gladly take a look at it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ 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 RWerner at pomwonderful.com Tue Dec 6 01:15:56 2011 From: RWerner at pomwonderful.com (Werner, Robert) Date: Tue, 6 Dec 2011 00:15:56 +0000 Subject: monitor printer from Windows server In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2186E1@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> <3D480E2907FD164191FE65820A669FFF02E9E6A7@POM-LA-MBX01.pomwonderful.com> <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2186E1@LONPMAILBOX01.citrite.net> Message-ID: <3D480E2907FD164191FE65820A669FFF02EA1B84@POM-LA-MBX01.pomwonderful.com> James, I've asked my boss and I will let you know. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: James Osbourn [mailto:james.osbourn at citrix.com] Sent: Friday, December 02, 2011 3:32 AM To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server Hi Robert, This sounds like the kind of thing that I am interested in. I have not done any powershell scripting before so would be very interested in seeing what you have if you are able to release it; as well as your integration with NSClient and Nagios. Thanks James From: Werner, Robert [mailto:RWerner at pomwonderful.com] Sent: 01 December 2011 19:52 To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server I've had good luck using System.Printing from Powershell and then running the scripts from NSClient++. I just wrote the PowerShell Scripts to use the standard nagios plugin status codes. I used the following links to develop the PowerShell scripts: http://gallery.technet.microsoft.com/scriptcenter/PrintServerManagementps1-7676ed28 http://msdn.microsoft.com/en-us/library/system.printing.aspx If there is interest, I'll ask my boss about sharing the PowerShell scripts. -- Robert G. Werner Oracle Apps Systems Administrator rwerner at pomwonderful.com 559.521.5089 From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: Thursday, December 01, 2011 11:21 AM To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server Besides of course the Spooler Service, you should also monitor the Windows Event Log. I've experienced a lot of driver issues on an old Windows print server which temporarily caused the affected printer(s) to appear as 'offline'. Such problems appeared in the event log as Warnings with the message content something about the driver. That was on a Windows Server 2003, but I think such driver problems are still logged to the Event Log. On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery > wrote: On 1 December 2011 12:39, James Osbourn > wrote: > I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. > > I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. > > Thanks > > James I query the windows performance counter for number of print jobs spooling. If a printer breaks then usually this counter starts ramping up quite rapidly as more and more print jobs get stuck in the queue. For example, the [external alias] section of your nsc.ini (assuming you use NSClient++), you can have:- alias_CheckCounter-PrintQJobs=CheckCounter "Counter:jobs=\Print Queue(_Total)\Jobs" ShowAll MaxWarn=250 MaxCrit=500 Then your service definition would look something like this:- define service { host_name printserver1,printserver2 service_description PrintQJobs use srv-pnp,generic-service check_command check_nrpe!-c PrintQJobs max_check_attempts 6 check_interval 15 retry_interval 5 contact_groups notify-admins notes Records the number of Active Jobs on a Print Server register 1 } And the command definition I use is just a generic one for any nrpe check like so:- define command {^M command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ register 1 } Our servers aren't quite as recent as Windows 7, but I guess the counter would still be the same. I hope that helps. 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 Jochen.Bern at LINworks.de Tue Dec 6 09:21:54 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Tue, 06 Dec 2011 09:21:54 +0100 Subject: [Nagios-users] timeperiod definition for election day? In-Reply-To: <4EDD5741.1070805@op5.se> References: <4EDD2A34.7070103@paul.dubuc.org> <4EDD5741.1070805@op5.se> Message-ID: <4EDDD0A2.2050008@LINworks.de> Am I missing something, or would this On 12/06/2011 12:44 AM, Andreas Ericsson wrote: > On 12/05/2011 09:31 PM, Paul M. Dubuc wrote: >> For example, election day in the U.S. is on the 1st Tuesday after >> the 1st Monday of November. be equivalent to "the Tuesday between 02-Nov and 08-Nov", which, in turn, > I couldn't even imagine what the syntax would > look like to support it should (!) be equivalent to define timeperiod { timeperiod_name Election Day alias Shouldnt you be out there voting for someone november 2 - 8 00:00-24:00 exclude AllButTuesdays } define timeperiod { timeperiod_name AllButTuesdays alias Everyone can hate MONDAYS ... sunday 00:00-24:00 monday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } ? Kind regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ From mad at b-care.net Tue Dec 6 11:13:41 2011 From: mad at b-care.net (MAD) Date: Tue, 06 Dec 2011 11:13:41 +0100 Subject: Passive checks are stalled despite freshness check set Message-ID: <4EDDEAD5.9030507@b-care.net> Hi list, I have a small problem with Nagios's service freshness checks. I'm probably missing something but I don't see what. I have created several passive checks, waiting for SNMP traps and triggering CRITICAL states on reception. I set freshness threshold to 15min (900s) to reset the service to an OK state. Here is my configuration: define service { ... check_command reset_ok_state max_checks_attempts 1 passive_checks_enabled 1 active_check_enabled 0 freshness_threshold 900 check_freshness 1 ... } define command { command_name reset_ok_state command line $USER1$/check_dummy 0 "Last alert received at `date -d '1970-01-01 UTC + $LASTSERVICESTATECHANGE$ seconds'`" } Everything works fine for some days but, after a while, freshness stops to be checked and I have to restart Nagios in order to trigger the freshness check again. Then I get in the Nagios log that my service is stale for several hours and that Nagios is scheduling an immediat check. I'm running Nagios v3.2.3 on an Ubuntu server 11.04. Does somebody already see a similar behaviour? Is there some flaw(s) in my configuration? Thanks in advance, Marc-Andr? ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 6 12:18:11 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Dec 2011 12:18:11 +0100 Subject: [Nagios-users] timeperiod definition for election day? In-Reply-To: <4EDDD0A2.2050008@LINworks.de> References: <4EDD2A34.7070103@paul.dubuc.org> <4EDD5741.1070805@op5.se> <4EDDD0A2.2050008@LINworks.de> Message-ID: <4EDDF9F3.4000508@op5.se> On 12/06/2011 09:21 AM, Jochen Bern wrote: > Am I missing something, or would this > > On 12/06/2011 12:44 AM, Andreas Ericsson wrote: >> On 12/05/2011 09:31 PM, Paul M. Dubuc wrote: >>> For example, election day in the U.S. is on the 1st Tuesday after >>> the 1st Monday of November. > > be equivalent to "the Tuesday between 02-Nov and 08-Nov", which, in turn, > >> I couldn't even imagine what the syntax would >> look like to support it > > should (!) be equivalent to > > define timeperiod { > timeperiod_name Election Day > alias Shouldnt you be out there voting for someone > november 2 - 8 00:00-24:00 > exclude AllButTuesdays > } > define timeperiod { > timeperiod_name AllButTuesdays > alias Everyone can hate MONDAYS ... > sunday 00:00-24:00 > monday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > ? > You're right. That's a high quality thinking hat you've got there :) -- 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. ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ From nielsjende at googlemail.com Tue Dec 6 14:05:24 2011 From: nielsjende at googlemail.com (Niels Jende) Date: Tue, 6 Dec 2011 14:05:24 +0100 Subject: monitor printer from Windows server In-Reply-To: <3D480E2907FD164191FE65820A669FFF02EA1B84@POM-LA-MBX01.pomwonderful.com> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2185B5@LONPMAILBOX01.citrite.net> <3D480E2907FD164191FE65820A669FFF02E9E6A7@POM-LA-MBX01.pomwonderful.com> <09051C7A8945F944AB7AC4E86BEB1ED5B6FF2186E1@LONPMAILBOX01.citrite.net> <3D480E2907FD164191FE65820A669FFF02EA1B84@POM-LA-MBX01.pomwonderful.com> Message-ID: Hi Robert, 2011/12/6 Werner, Robert : > James,? I?ve asked my boss and I will let you know. > it would be awesome if you could ahre the script with the nagios community. Hope your boss doesn't mind Regards from Austria Niels ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Tue Dec 6 17:02:11 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 06 Dec 2011 11:02:11 -0500 Subject: [Nagios-users] timeperiod definition for election day? In-Reply-To: <4EDDD0A2.2050008@LINworks.de> References: <4EDD2A34.7070103@paul.dubuc.org> <4EDD5741.1070805@op5.se> <4EDDD0A2.2050008@LINworks.de> Message-ID: <4EDE3C83.1060004@paul.dubuc.org> Jochen Bern wrote: > Am I missing something, or would this > > On 12/06/2011 12:44 AM, Andreas Ericsson wrote: >> On 12/05/2011 09:31 PM, Paul M. Dubuc wrote: >>> For example, election day in the U.S. is on the 1st Tuesday after >>> the 1st Monday of November. > > be equivalent to "the Tuesday between 02-Nov and 08-Nov", which, in turn, > >> I couldn't even imagine what the syntax would >> look like to support it > > should (!) be equivalent to > > define timeperiod { > timeperiod_name Election Day > alias Shouldnt you be out there voting for someone > november 2 - 8 00:00-24:00 > exclude AllButTuesdays > } > define timeperiod { > timeperiod_name AllButTuesdays > alias Everyone can hate MONDAYS ... > sunday 00:00-24:00 > monday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > ? > > Kind regards, > J. Bern Amazing. Thanks! But until the problem with the 'exclude' directive is fixed (see the known issue under 3.2.0 - 08/12/2009 at http://www.nagios.org/projects/nagioscore/history/core-3x), we might want to do it this way: define timeperiod { timeperiod_name Election Day alias Shouldnt you be out there voting for someone november 2 - 8 00:00-24:00 use AllButTuesdays } define timeperiod { name AllButTuesdays # so 'use' will work above timeperiod_name AllButTuesdays alias Everyone can hate MONDAYS ... sunday 00:00-00:00 monday 00:00-00:00 wednesday 00:00-00:00 thursday 00:00-00:00 friday 00:00-00:00 saturday 00:00-00:00 } Do you think this will also work? ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ From Jochen.Bern at LINworks.de Tue Dec 6 17:37:06 2011 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Tue, 06 Dec 2011 17:37:06 +0100 Subject: [Nagios-users] timeperiod definition for election day? In-Reply-To: <4EDE3C83.1060004@paul.dubuc.org> References: <4EDD2A34.7070103@paul.dubuc.org> <4EDD5741.1070805@op5.se> <4EDDD0A2.2050008@LINworks.de> <4EDE3C83.1060004@paul.dubuc.org> Message-ID: <4EDE44B2.7060609@LINworks.de> On 12/06/2011 05:02 PM, Paul M. Dubuc wrote: > Jochen Bern wrote: >> Am I missing something, or would this >> be equivalent to "the Tuesday between 02-Nov and 08-Nov", which, in turn, >> should (!) be equivalent to >> >> define timeperiod { >> timeperiod_name Election Day >> alias Shouldnt you be out there voting for someone >> november 2 - 8 00:00-24:00 >> exclude AllButTuesdays >> } > > Amazing. Thanks! But until the problem with the 'exclude' directive is fixed > (see the known issue under 3.2.0 - 08/12/2009 at > http://www.nagios.org/projects/nagioscore/history/core-3x) Hence the stress on "should". :-} > we might want to do it this way: > define timeperiod { > timeperiod_name Election Day > alias Shouldnt you be out there voting for someone > november 2 - 8 00:00-24:00 > use AllButTuesdays > } > Do you think this will also work? The description of how templates work is based on the assumption that within every definition, there's a set of possible statements that are perpendicular to / independent of each other and that every one of these is individually either inherited as-is from the template, expanded (additive inheritance) from the template, or overwritten outright. This does not hold for timeperiods, as, e.g., "December 6th" and "first Tuesday in December" may or may not refer to the same day. I wouldn't dare predict how the current code, much less the future code after fixing the abovementioned bug, does/will/should handle such cases. Having that said, I *would* expect "use AllButTuesdays" to *add* the time intervals of AllButTuesdays to the timeperiod, rather than *substracting* them like "exclude AllButTuesdays" should. Kind regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ From dermot.duffy at brandtone.ie Tue Dec 6 18:02:30 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Tue, 6 Dec 2011 17:02:30 +0000 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E6831@pemexmbx12.hosting.local> Hi, I have installed the following on a RHEL 5.4 blade server: - nagios-3.2.1 - nagios-plugins-1.4.11 - nrpe-2.12 Install went smoothly, compiled without error. Now trying to connect to my nagios server and get the following: # /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Port appears to be listening: [root at node2 ~]# netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN [root at node2 ~]# netstat -plan | grep 5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 22482/xinetd Messages log shows the following: 2011-12-06T16:54:22.553812+00:00 node2 xinetd[2154]: libwrap refused connection to nrpe (libwrap=nrpe) from 127.0.0.1 2011-12-06T16:54:22.553834+00:00 node2 xinetd[2154]: FAIL: nrpe libwrap from=127.0.0.1 2011-12-06T16:54:22.554039+00:00 node2 xinetd[22482]: START: nrpe pid=2154 from=127.0.0.1 2011-12-06T16:54:22.554104+00:00 node2 xinetd[22482]: EXIT: nrpe status=0 pid=2154 duration=0(sec) My /etc/xinetd.d/nrpe is configured correctly as I have got several other servers (same spec) working fine. I get the following from my nagios server when trying to telnet the port: [root at nagios_server]# telnet node2 5666 Trying 192.168.235.50... Connected to ocmp2.brandtone.lan (192.168.235.50). Escape character is '^]'. Connection closed by foreign host. R, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [Description: Description: Description: Description: Brandtone Side Bar logo cropped] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4052 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Dec 6 18:24:19 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Tue, 6 Dec 2011 17:24:19 +0000 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E6843@pemexmbx12.hosting.local> Issue Resolved. TCP_wrappers was the culprit. R, D. From: Dermot Duffy Sent: 06 December 2011 17:04 To: nagios-users at lists.sourceforge.net Subject: CHECK_NRPE: Error - Could not complete SSL handshake Hi, I have installed the following on a RHEL 5.4 blade server: - nagios-3.2.1 - nagios-plugins-1.4.11 - nrpe-2.12 Install went smoothly, compiled without error. Now trying to connect to my nagios server and get the following: # /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Port appears to be listening: [root at node2 ~]# netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN [root at node2 ~]# netstat -plan | grep 5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 22482/xinetd Messages log shows the following: 2011-12-06T16:54:22.553812+00:00 node2 xinetd[2154]: libwrap refused connection to nrpe (libwrap=nrpe) from 127.0.0.1 2011-12-06T16:54:22.553834+00:00 node2 xinetd[2154]: FAIL: nrpe libwrap from=127.0.0.1 2011-12-06T16:54:22.554039+00:00 node2 xinetd[22482]: START: nrpe pid=2154 from=127.0.0.1 2011-12-06T16:54:22.554104+00:00 node2 xinetd[22482]: EXIT: nrpe status=0 pid=2154 duration=0(sec) My /etc/xinetd.d/nrpe is configured correctly as I have got several other servers (same spec) working fine. I get the following from my nagios server when trying to telnet the port: [root at nagios_server]# telnet node2 5666 Trying 192.168.235.50... Connected to ocmp2.brandtone.lan (192.168.235.50). Escape character is '^]'. Connection closed by foreign host. R, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [Description: Description: Description: Description: Brandtone Side Bar logo cropped] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4052 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Christian.Mies at it-novum.com Wed Dec 7 08:31:52 2011 From: Christian.Mies at it-novum.com (Mies, Christian) Date: Wed, 7 Dec 2011 08:31:52 +0100 Subject: check_esx3 and ESX5i... Message-ID: Hi List, the check_esx3 Plugin send some interesting Output: CHECK_ESX3.PL CRITICAL - cpu usage=-0.01 % This Service Output is shown if the ESXi Server has nothing to do. Any Ideas for that? Regards Christian i.A. Christian Mies Senior Consultant Tel: +49 (661) 103-874 (-333) Fax: +49 (661) 103-17874 (-334) mailto:Christian.Mies at it-novum.com it-novum GmbH . Edelzeller Strasse 44 . 36043 Fulda . http://www.it-novum.com Handelsregister Amtsgericht Fulda, HRB 1934 . Geschaftsfuhrer: Michael Kienle . Sitz der Gesellschaft: Fulda Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: itnovum.png Type: image/png Size: 21467 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Dec 7 09:19:53 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 07 Dec 2011 09:19:53 +0100 Subject: check_esx3 and ESX5i... In-Reply-To: References: Message-ID: <4EDF21A9.7080700@univie.ac.at> Mies, Christian wrote: > > Hi List, > > the check_esx3 Plugin send some interesting Output: > your mail sends some interesting output too - embedded images. > /CHECK_ESX3.PL CRITICAL - cpu usage=-0.01 % / > > This Service Output is shown if the ESXi Server has nothing to do. Any > Ideas for that? > "nothing to do" is a very vague description. can i borrow your crystal ball? forgot mine at home. > Regards > > Christian > > > it-novum GmbH* > > i.A. Christian Mies*** > Senior Consultant > > Tel: +49 (661) 103-874 > Fax: +49 (661) 103-17874 > Christian.Mies at it-novum.com > > > ITNLogo > > it-novum GmbH ? Edelzeller Stra?e 44 ? 36043 Fulda? > http://www.it-novum.com > Handelsregister Amtsgericht Fulda, HRB 1934 ? Gesch?ftsf?hrer: Michael > Kienle ? Sitz der Gesellschaft: Fulda > > Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der > eigentliche Empf?nger sein sollten, informieren Sie bitte sofort den > Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte > Vervielf?ltigung oder Weiterleitung dieser Mail ist strengstens verboten. > This e-mail may contain confidential and/or priviledged information. > If you are not the intended recepient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. > Any unauthorised copying, disclosure or distribution of material in > this e-mail is strictly forbidden. > > > > > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 7 12:48:13 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 7 Dec 2011 12:48:13 +0100 Subject: check_esx3 and ESX5i... In-Reply-To: References: Message-ID: If I understand you correctly you wonder about the negative value? This happens to me from time to time as well, especially with the Network Usage. It's not related to ESXi 5 (the same happened already to ESXi 4.x) by the way. I've set a retry_check_interval to at least 3 mins for checks related to check_esx3.pl. At the second check or at least a minute later the result is correct. On Wed, Dec 7, 2011 at 8:31 AM, Mies, Christian wrote: > Hi List,**** > > ** ** > > the check_esx3 Plugin send some interesting Output:**** > > ** ** > > *CHECK_ESX3.PL CRITICAL - cpu usage=-0.01 % * > > ** ** > > This Service Output is shown if the ESXi Server has nothing to do. Any > Ideas for that?**** > > ** ** > > Regards**** > > Christian**** > > ** ** > > it-novum GmbH* > > i.A. Christian Mies*** > Senior Consultant > > Tel: +49 (661) 103-874 > Fax: +49 (661) 103-17874 > Christian.Mies at it-novum.com**** > > [image: ITNLogo]** > > **it-novum GmbH ? Edelzeller Stra?e 44 ? 36043 Fulda ? > http://www.it-novum.com > Handelsregister Amtsgericht Fulda, HRB 1934 ? Gesch?ftsf?hrer: Michael > Kienle ? Sitz der Gesellschaft: Fulda > > Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche > Empf?nger sein sollten, informieren Sie bitte sofort den Absender oder > vernichten umgehend diese Mail. Jegliche unerlaubte Vervielf?ltigung oder > Weiterleitung dieser Mail ist strengstens verboten. > This e-mail may contain confidential and/or priviledged information. If > you are not the intended recepient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorised copying, disclosure or distribution of material in this e-mail > is strictly forbidden. > > > > > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point > of > discussion for anyone considering optimizing the pricing and packaging > model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 a.smith at ukgrid.net Wed Dec 7 20:55:17 2011 From: a.smith at ukgrid.net (a.smith at ukgrid.net) Date: Wed, 07 Dec 2011 19:55:17 +0000 Subject: Passive monitoring multiple servers with 1 NAT IP (SOLVED) In-Reply-To: <20111203174618.41311e2979l4cihw@webmail2.ukgrid.net> References: <20111202181426.10976brwkxwhj8ws@webmail2.ukgrid.net> <20111203174618.41311e2979l4cihw@webmail2.ukgrid.net> Message-ID: <20111207195517.122374usl2ep3skc@webmail2.ukgrid.net> Hi, thanks to those who replied, the issue is now resolved. I had 2 clients configured on the Nagios server with the same IP, as soon as I changed those IPs on the server side to invented IPs that were different everything started to work as expected, cheers Andy. ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 9 13:08:01 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 9 Dec 2011 12:08:01 +0000 Subject: Anybody help setting up Anag on an Android phone? Message-ID: Trying to get the aNag app set up on my Samsung Galaxy. However when I add my Nagios instance it always throws back the same error: HttpResponseException: Not Found (time and date) I can access my nagios web interface over the internet by going to http://nagios.company.co.uk/nagios just fine I pop that into Anag and it refuses it with above error Have tried: http://nagios.company.co.uk/nagios http://nagios.company.co.uk/nagios/cgi-bin (which example says to use) http://LANip/nagios http://LANip/nagios/cgi-bin **LANip - phone is connected to same LAN as Nagios box None of them work If I try to go to http://nagios.company.co.uk/nagios/cgi-bin in a web browser directly I get Forbidden - You don't have permission to access /nagios/cgi-bin/ on this server. I can use the firefox add on just fine found here so my server must be accepting and set up right? https://addons.mozilla.org/en-US/firefox/addon/nagios-checker/ Anybody got this successfully setup on there phones and can offer me any assistance please? Thankyou -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Fri Dec 9 13:20:10 2011 From: seun.ojedeji at gmail.com (Seun Ojedeji) Date: Fri, 9 Dec 2011 13:20:10 +0100 Subject: Anybody help setting up Anag on an Android phone? In-Reply-To: References: Message-ID: Did you put the username and password that has permission to to view the status map. By default nagiosadmin has such access. On the other hand i use nagroid, you may want to try that too. Regards sent from google nexus On Dec 9, 2011 1:13 PM, "Andrew Thompson" wrote: > Trying to get the aNag app set up on my Samsung Galaxy.**** > > ** ** > > However when I add my Nagios instance it always throws back the same error: > **** > > ** ** > > HttpResponseException: Not Found (time and date)**** > > ** ** > > I can access my nagios web interface over the internet by going to > http://nagios.company.co.uk/nagios just fine**** > > ** ** > > I pop that into Anag and it refuses it with above error**** > > ** ** > > Have tried:**** > > ** ** > > http://nagios.company.co.uk/nagios**** > > http://nagios.company.co.uk/nagios/cgi-bin (which example says to use)**** > > http://LANip/nagios**** > > http://LANip/nagios/cgi-bin**** > > ** ** > > **LANip ? phone is connected to same LAN as Nagios box**** > > ** ** > > None of them work**** > > ** ** > > If I try to go to http://nagios.company.co.uk/nagios/cgi-bin in a web > browser directly I get Forbidden - You don't have permission to access > /nagios/cgi-bin/ on this server.**** > > ** ** > > I can use the firefox add on just fine found here so my server must be > accepting and set up right? **** > > https://addons.mozilla.org/en-US/firefox/addon/nagios-checker/**** > > ** ** > > ** ** > > Anybody got this successfully setup on there phones and can offer me any > assistance please?**** > > ** ** > > Thankyou**** > > ** ** > > ** ** > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point > of > discussion for anyone considering optimizing the pricing and packaging > model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 kuhlmeier at riege.com Fri Dec 9 13:41:42 2011 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Fri, 09 Dec 2011 13:41:42 +0100 Subject: SELinux and RHEL6.2 preventing disk checks via NRPE Message-ID: <4EE20206.8020104@riege.com> Hello, after upgrading to RHEL6.2 I have problems checking some filesystems. Always the same three FS on all hosts, others work fine. /boot /home /var/log/audit $ ./check_nrpe -H backup -c check_fs_boot DISK CRITICAL - /boot is not accessible: Permission denied Now I disable SELinux and it works! $ ./check_nrpe -H backup -c check_fs_boot DISK OK - free space: /boot 36 MB (39% inode=99%);| /boot=55MB;96;;0;96 Although not a single line is logged on the monitored host, neither in messages nor in audit.log I already had a local policy created for the nrpe daemon when RHEL6 was introduced, as somehow many checks failed, although the user nrpe was running in was allowed to perform all checks, the nrpe daemon itself couldn't. I'll attach the policy, although at one point I gave up and just set the entire process to permissive mode. (note that I tried to extend rights on boot filesystem in this policy already, although it would seem to be unnecessary) Anybody experiencing something alike or any suggestions about how to handle nrpe and RHEL6(.2) in a better way than I am? Regards, Dennis -- .............................................................. Riege Software International GmbH Phone: +49 2159 91480 Mollsfeld 10 Fax: +49 2159 914811 40670 Meerbusch Web: www.riege.com Germany E-Mail: kuhlmeier at riege.com -- -- Commercial Register: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege VAT Reg No.: DE120585842 Gabriele Riege Johannes Riege .............................................................. YOU CARE FOR FREIGHT, WE CARE FOR YOU -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nrpesudo.te URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Fri Dec 9 14:13:16 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 09 Dec 2011 14:13:16 +0100 Subject: SELinux and RHEL6.2 preventing disk checks via NRPE In-Reply-To: <4EE20206.8020104@riege.com> (Dennis Kuhlmeier's message of "Fri, 09 Dec 2011 13:41:42 +0100") References: <4EE20206.8020104@riege.com> Message-ID: <15tzkf1x503.fsf@tux.uio.no> Dennis Kuhlmeier writes: > Hello, > > after upgrading to RHEL6.2 I have problems checking some > filesystems. Always the same three FS on all hosts, others work fine. > > /boot > /home > /var/log/audit > > $ ./check_nrpe -H backup -c check_fs_boot > DISK CRITICAL - /boot is not accessible: Permission denied > > Now I disable SELinux and it works! > $ ./check_nrpe -H backup -c check_fs_boot > DISK OK - free space: /boot 36 MB (39% inode=99%);| /boot=55MB;96;;0;96 > > Although not a single line is logged on the monitored host, neither > in messages nor in audit.log > > I already had a local policy created for the nrpe daemon when RHEL6 > was introduced, as somehow many checks failed, although the user > nrpe was running in was allowed to perform all checks, the nrpe > daemon itself couldn't. I'll attach the policy, although at one > point I gave up and just set the entire process to permissive mode. > (note that I tried to extend rights on boot filesystem in this > policy already, although it would seem to be unnecessary) > > Anybody experiencing something alike or any suggestions about how to > handle nrpe and RHEL6(.2) in a better way than I am? RHEL6 has the following labels for use with Nagios plugins: # grep nagios /etc/selinux/targeted/contexts/files/file_contexts | grep plugin_exec | cut -d: -f3 | sort -u nagios_admin_plugin_exec_t nagios_checkdisk_plugin_exec_t nagios_mail_plugin_exec_t nagios_services_plugin_exec_t nagios_system_plugin_exec_t nagios_unconfined_plugin_exec_t Try setting the confined types first, e.g.: chcon -t nagios_checkdisk_plugin_exec_t /path/to/check_fs_boot If none of them works properly, you have nagios_unconfined_plugin_exec_t as a last resort. When you find one that works, make it permanent with: semanage fcontext -a -t '/path/to/check_fs_boot' You may also have to set proper labels on the path leading up to the actual plugin. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Fri Dec 9 14:52:38 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Fri, 9 Dec 2011 08:52:38 -0500 Subject: 'unreachable' question Message-ID: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> We're trying to filter out some flaky services giving us too-frequent 'No data was received from host'. Will removing 'u' from notification_options eliminate this, or are they two different things? Thanks much... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Fri Dec 9 15:26:23 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Fri, 9 Dec 2011 14:26:23 +0000 Subject: Anybody help setting up Anag on an Android phone? Message-ID: Thanks for the suggestion Seon, Its all sorted now - my phone automatically chages Nagios in the url to a capital N. Changed it to lower case and my phone now checks in with Nagios. Simple things huh.............. :) 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 -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 Fri Dec 9 15:50:25 2011 From: ae at op5.se (Andreas Ericsson) Date: Fri, 09 Dec 2011 15:50:25 +0100 Subject: 'unreachable' question In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> Message-ID: <4EE22031.8030002@op5.se> On 12/09/2011 02:52 PM, Boyer, Timothy A. wrote: > We?re trying to filter out some flaky services giving us too-frequent > ?No data was received from host?. Will removing ?u? from > notification_options eliminate this, or are they two different > things? Thanks much? > The 'u' in services has nothing to do with unreachable hosts. It only affects notifications being sent on 'unknown' status. It certainly sounds as though your plugins might want to return just that if they can't get the data though, assuming they're not checking network services, ofcourse. So the answer is actually; "Removing 'u' from notification_options of services, or from service_notification_options of contacts, will prevent notifications from being sent on UNKNOWN states." HTH -- 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. ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 9 16:55:28 2011 From: Corcoran at flair4it.co.uk (Corcoran Smith) Date: Fri, 9 Dec 2011 15:55:28 +0000 Subject: 'unreachable' question In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> Message-ID: Hi Timothy - try setting the timeout values higher in nsc.ini on the windows clients. corcoran Flair4IT 0845 299 0811 www.flair4it.co.uk support at flair4it.co.uk Fact: All of our technical staff are Microsoft Certified Please click here view our disclaimer online From: Boyer, Timothy A. [mailto:Timothy.Boyer at opm.gov] Sent: 09 December 2011 13:53 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] 'unreachable' question We're trying to filter out some flaky services giving us too-frequent 'No data was received from host'. Will removing 'u' from notification_options eliminate this, or are they two different things? Thanks much... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ -------------- 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 cbeattie at geninfo.com Fri Dec 9 17:00:52 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Fri, 9 Dec 2011 11:00:52 -0500 Subject: 'unreachable' question In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> Message-ID: <4EE230B4.1050804@geninfo.com> On 12/9/2011 8:52 AM, Boyer, Timothy A. wrote: > We?re trying to filter out some flaky services giving us too-frequent > ?No data was received from host?. Will removing ?u? from > notification_options eliminate this, or are they two different things? Have you got flap detection enabled? Nagios can temporarily suppress notifications for a host or service if it changes states too frequently, and automatically re-enable them when the host or service calms down. If you prefer to just use a bigger hammer, you can increase the service's max_check_attempts and hope one comes back OK. Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Fri Dec 9 19:10:41 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Fri, 9 Dec 2011 13:10:41 -0500 Subject: 'unreachable' question In-Reply-To: <4EE22031.8030002@op5.se> References: <0F3D91EA70124C468301FF70A8ED16D402AEEBD1F2@BOYV7EXVS1.opm.gov> <4EE22031.8030002@op5.se> Message-ID: <0F3D91EA70124C468301FF70A8ED16D402AEEBD20A@BOYV7EXVS1.opm.gov> It does - thanks very much for the replies, everyone. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Friday, December 09, 2011 9:50 AM To: Nagios Users List Cc: Boyer, Timothy A. Subject: Re: [Nagios-users] 'unreachable' question On 12/09/2011 02:52 PM, Boyer, Timothy A. wrote: > We?re trying to filter out some flaky services giving us too-frequent > ?No data was received from host?. Will removing ?u? from > notification_options eliminate this, or are they two different > things? Thanks much? > The 'u' in services has nothing to do with unreachable hosts. It only affects notifications being sent on 'unknown' status. It certainly sounds as though your plugins might want to return just that if they can't get the data though, assuming they're not checking network services, ofcourse. So the answer is actually; "Removing 'u' from notification_options of services, or from service_notification_options of contacts, will prevent notifications from being sent on UNKNOWN states." HTH -- 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. ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adaugherity at tamu.edu Sat Dec 10 00:02:35 2011 From: adaugherity at tamu.edu (Daugherity, Andrew W) Date: Fri, 9 Dec 2011 23:02:35 +0000 Subject: check_openmanage spec file fixes for SUSE Message-ID: (Resending as apparently my first attempt didn't make it through.) First of all, thanks for making this plugin. It works well and is very handy. As requested in the documentation, I am sending this to the nagios-users list rather than directly to the author. With some minor modifications, the package builds properly on SUSE. There are two main Nagios packaging differences from RedHat: 1) All Nagios plugins are installed to /usr/lib/nagios/plugins, even on 64-bit (there is no /usr/lib64/nagios directory). This may not make the most sense, but it is what is, and being consistent with other Nagios packages is good. 2) Non-binary plugin RPMs (e.g. Perl scripts only) use noarch, while binary plugins use the corresponding arch. For examples of both, browse the build service repo at http://download.opensuse.org/repositories/server:/monitoring/SLE_11.1/ . Being a Perl script, check_openmanage falls under the former. This is easily solved with an %if block to make a universal RPM spec: ==== BEGIN PATCH ==== --- nagios-plugins-openmanage.spec.orig 2011-10-05 10:00:18.000000000 -0500 +++ nagios-plugins-openmanage.spec 2011-12-01 15:02:10.000000000 -0600 @@ -5,6 +5,16 @@ # No binaries here, do not build a debuginfo package %global debug_package %{nil} +# SUSE installs Nagios plugins under /usr/lib, even on 64-bit +# It also uses noarch for non-binary Nagios plugins +%if %{defined suse_version} +%global nagiospluginsdir /usr/lib/nagios/plugins +BuildArch: noarch +%else +%global nagiospluginsdir %{_libdir}/nagios/plugins +%endif + + Name: nagios-plugins-openmanage Version: 3.7.3 Release: 1%{?dist} ==== END PATCH ==== I also tested building on CentOS 5 to make sure nothing broke there, and indeed, nothing changed there. Thanks, Andrew Daugherity Systems Analyst Division of Research, Texas A&M University ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 10:35:02 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 12 Dec 2011 10:35:02 +0100 Subject: too many lines in archive log Message-ID: <00f701ccb8b1$591eba90$0b5c2fb0$@it.net> Hi all Probably I made some errors in the passive checks configuration .. The main Nagios server has 132 passive hosts and 400 passive services configured (only 30 active hosts and 60 active services), received from two remote Nagios systems. In each archive file I have more than 420.000 lines (compared to another Nagios server with about 20.000, with no passive checks configured). I see many and many rows like : [1323564139] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; [1323564139] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT; . And [1323564137] PASSIVE HOST CHECK: [1323564137] PASSIVE SERVICE CHECK: Is it normal ? What can I check/modify to reduce the logs ? In this situation it is impossible use the ?Event Log? menu (and my HD will be full soon L ) 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 -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Dec 12 11:33:49 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Dec 2011 11:33:49 +0100 Subject: too many lines in archive log In-Reply-To: <00f701ccb8b1$591eba90$0b5c2fb0$@it.net> References: <00f701ccb8b1$591eba90$0b5c2fb0$@it.net> Message-ID: <4EE5D88D.7040506@op5.se> On 12/12/2011 10:35 AM, Marco Borsani wrote: > Hi all > > Probably I made some errors in the passive checks configuration .. > > The main Nagios server has 132 passive hosts and 400 passive services > configured (only 30 active hosts and 60 active services), received from two > remote Nagios systems. > > > > In each archive file I have more than 420.000 lines (compared to another > Nagios server with about 20.000, with no passive checks configured). > > > > I see many and many rows like : > > [1323564139] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; ? > > [1323564139] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT; ? > > ????. > > And > > [1323564137] PASSIVE HOST CHECK: ? > > [1323564137] PASSIVE SERVICE CHECK: ? > > > > Is it normal ? > Yes. > What can I check/modify to reduce the logs ? > Set log_external_commands=0 in your nagios.cfg file. That should cut your logs in half, roughly. You could also send in the passive checks less frequently. -- 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. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 11:56:56 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 12 Dec 2011 11:56:56 +0100 Subject: R: too many lines in archive log In-Reply-To: <4EE5D88D.7040506@op5.se> References: <00f701ccb8b1$591eba90$0b5c2fb0$@it.net> <4EE5D88D.7040506@op5.se> Message-ID: <011701ccb8bc$c9d147c0$5d73d740$@it.net> I'd like to send in the passive checks less frequently, but I did not find where to configure. marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: luned? 12 dicembre 2011 11:34 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] too many lines in archive log On 12/12/2011 10:35 AM, Marco Borsani wrote: > Hi all > > Probably I made some errors in the passive checks configuration .. > > The main Nagios server has 132 passive hosts and 400 passive services > configured (only 30 active hosts and 60 active services), received > from two remote Nagios systems. > > > > In each archive file I have more than 420.000 lines (compared to > another Nagios server with about 20.000, with no passive checks configured). > > > > I see many and many rows like : > > [1323564139] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; > > [1323564139] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT; > > . > > And > > [1323564137] PASSIVE HOST CHECK: > > [1323564137] PASSIVE SERVICE CHECK: > > > > Is it normal ? > Yes. > What can I check/modify to reduce the logs ? > Set log_external_commands=0 in your nagios.cfg file. That should cut your logs in half, roughly. You could also send in the passive checks less frequently. -- 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. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Mon Dec 12 11:35:47 2011 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 12 Dec 2011 05:35:47 -0500 Subject: AUTO: Chan, Brian is away from the office on Business Travel (Returning 13 Dec 2011) (returning 13/12/2011) Message-ID: I am out of the office until 13/12/2011. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--:> mailto:itrequest at shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message "Nagios-users Digest, Vol 67, Issue 8" sent on 12/12/2011 5:34:02. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 12 13:18:40 2011 From: nielsjende at googlemail.com (Niels Jende) Date: Mon, 12 Dec 2011 13:18:40 +0100 Subject: Windows.cfg missing Message-ID: Hi Folks, as I am still a newbie with nagios but willing to learn, I hope you wont mind if my upcoming question might sound silly to you. I read that to monitor windows servers that I should find a windows.cfg file in ~/objects/ Well I dont have neither a directory called objects nor such a file. In /usr/share/doc/nagios3-common/examples/template-object/ I found a windows.cfg file. So, is it okay for nagios to simply create a directory ~/objects/ and copy the windows.cfg file in there? Or what do I have to do? As said before, I am new to nagios and I am running a debian wheetzy with nagios 3.2.3 Thanks for your time and help Niels ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 12 13:22:44 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 12 Dec 2011 12:22:44 -0000 (UTC) Subject: Windows.cfg missing In-Reply-To: References: Message-ID: <5faca7ff-727c-46b5-948f-01d9c2e18a2b@vhost1.heptagon.co.il> Have you installed from source or package ? if the package , try looking for the file in the /etc/nagios3/ directory If you used source , have you done the make install-configs ( or is may be make install-samples ) ? Assaf ----- Original Message ----- From: "Niels Jende" To: "Nagios Users List" Sent: Monday, 12 December, 2011 12:18:40 PM Subject: [Nagios-users] Windows.cfg missing Hi Folks, as I am still a newbie with nagios but willing to learn, I hope you wont mind if my upcoming question might sound silly to you. I read that to monitor windows servers that I should find a windows.cfg file in ~/objects/ Well I dont have neither a directory called objects nor such a file. In /usr/share/doc/nagios3-common/examples/template-object/ I found a windows.cfg file. So, is it okay for nagios to simply create a directory ~/objects/ and copy the windows.cfg file in there? Or what do I have to do? As said before, I am new to nagios and I am running a debian wheetzy with nagios 3.2.3 Thanks for your time and help Niels ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Dec 12 13:23:25 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Dec 2011 13:23:25 +0100 Subject: Windows.cfg missing In-Reply-To: References: Message-ID: <4EE5F23D.9080905@op5.se> On 12/12/2011 01:18 PM, Niels Jende wrote: > Hi Folks, > > as I am still a newbie with nagios but willing to learn, I hope you > wont mind if my upcoming question might sound silly to you. > > I read that to monitor windows servers that I should find a > windows.cfg file in ~/objects/ > > Well I dont have neither a directory called objects nor such a file. > In /usr/share/doc/nagios3-common/examples/template-object/ I found a > windows.cfg file. > > So, is it okay for nagios to simply create a directory ~/objects/ and > copy the windows.cfg file in there? Or what do I have to do? > > As said before, I am new to nagios and I am running a debian wheetzy > with nagios 3.2.3 > Reading TFM is usually a good idea when you're new to a product and have no idea what it can do and how it works. Or you could hire a consultant and get him to RTFM and then tell you about what's in it. That's the rude way of saying: Your skill-level so far is so low that you fail to ask the right questions. That makes it very uncompelling to try to help you, since you'll keep on asking the wrong questions for a very, very, very long time, until you possess at least most of the knowledge that BTFM (browsing the friendly manual) would give you. -- 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. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 12 13:27:48 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 12 Dec 2011 13:27:48 +0100 Subject: check_openmanage spec file fixes for SUSE In-Reply-To: (Andrew W. Daugherity's message of "Fri, 9 Dec 2011 23:02:35 +0000") References: Message-ID: <15twra2ug8r.fsf@tux.uio.no> "Daugherity, Andrew W" writes: > First of all, thanks for making this plugin. It works well and is > very handy. As requested in the documentation, I am sending this to > the nagios-users list rather than directly to the author. Hello Andrew, Excellent :) Usually a public forum is better, where everybody can participate and share their insight. > With some minor modifications, the package builds properly on SUSE. > There are two main Nagios packaging differences from RedHat: > > 1) All Nagios plugins are installed to /usr/lib/nagios/plugins, even > on 64-bit (there is no /usr/lib64/nagios directory). This may not > make the most sense, but it is what is, and being consistent with > other Nagios packages is good. > > 2) Non-binary plugin RPMs (e.g. Perl scripts only) use noarch, while > binary plugins use the corresponding arch. For examples of both, > browse the build service repo at > http://download.opensuse.org/repositories/server:/monitoring/SLE_11.1/ > Being a Perl script, check_openmanage falls under the former. > > This is easily solved with an %if block to make a universal RPM spec: > ==== BEGIN PATCH ==== > --- nagios-plugins-openmanage.spec.orig 2011-10-05 10:00:18.000000000 -0500 > +++ nagios-plugins-openmanage.spec 2011-12-01 15:02:10.000000000 -0600 > @@ -5,6 +5,16 @@ > # No binaries here, do not build a debuginfo package > %global debug_package %{nil} > > +# SUSE installs Nagios plugins under /usr/lib, even on 64-bit > +# It also uses noarch for non-binary Nagios plugins > +%if %{defined suse_version} > +%global nagiospluginsdir /usr/lib/nagios/plugins > +BuildArch: noarch > +%else > +%global nagiospluginsdir %{_libdir}/nagios/plugins > +%endif > + > + > Name: nagios-plugins-openmanage > Version: 3.7.3 > Release: 1%{?dist} > ==== END PATCH ==== > > I also tested building on CentOS 5 to make sure nothing broke there, > and indeed, nothing changed there. Thanks for the patch, applied. However, there are some changes to the spec file lately. Among them is an added Requires to the nagios-plugins package, which owns the /usr/lib(64)?/nagios/plugins directory. Hopefully SUSE does the same in this respect. The updated spec file is available here: http://folk.uio.no/trondham/software/tmp/nagios-plugins-openmanage.spec PS. check_openmanage has been added to Fedora and EPEL, but there are some SELinux issues. Until these are resolved I'll hold off pushing it to stable, but it is available in testing. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Dec 12 13:54:56 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 12 Dec 2011 13:54:56 +0100 Subject: Windows.cfg missing In-Reply-To: References: <4EE5F23D.9080905@op5.se> Message-ID: <4EE5F9A0.5030502@op5.se> On 12/12/2011 01:37 PM, Niels Jende wrote: > Hi Andreas, > > 2011/12/12 Andreas Ericsson: > >> Reading TFM is usually a good idea when you're new to a product and >> have no idea what it can do and how it works. Or you could hire a >> consultant and get him to RTFM and then tell you about what's in it. >> > > guess what? I read it cause otherwise I wouldn't know where the file > should be at, would I? Then you should have some basic knowledge about how it works too, but I guess you just quickskipped to "monitoring windows servers" since the other stuff wasn't what you wanted right now. > If I wouldn't have read the manual I wouldn't know where to edit the > nagios.cfg either, would I? > You'd be amazed how many people know how to figure out that "nagios.cfg" is the main configuration file of Nagios and are also capable of locating a file on their own server. >> That's the rude way of saying: Your skill-level so far is so low that >> you fail to ask the right questions. That makes it very uncompelling >> to try to help you, since you'll keep on asking the wrong questions >> for a very, very, very long time, until you possess at least most of >> the knowledge that BTFM (browsing the friendly manual) would give >> you. >> > > Well, maybe here is another Niels on the list, but as of yet this is > my 2nd question. And my first one I posted last week. And if that is > for you already a very,very,very long time, well... > It's not, but until you grasp the concept of Nagios not giving a damn what you name your files and where you put them, so long as you're consistent with it throughout Nagios, ofcourse, it's impossible to help you. As such, your question doesn't make sense. > Thanks for NOT helping! I don't help. I advise and educate. Which do you think gives you the greatest benefit in the long run? -- 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. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AdcockJ at leoncountyfl.gov Mon Dec 12 13:44:18 2011 From: AdcockJ at leoncountyfl.gov (Jon Adcock) Date: Mon, 12 Dec 2011 07:44:18 -0500 Subject: Windows.cfg missing In-Reply-To: <5faca7ff-727c-46b5-948f-01d9c2e18a2b@vhost1.heptagon.co.il> References: <5faca7ff-727c-46b5-948f-01d9c2e18a2b@vhost1.heptagon.co.il> Message-ID: <4EE5B0D2.D962.0075.0@leoncountyfl.gov> Once you've installed Nagios, locate the directory that contains the main Nagios configuration file (nagios.cfg). In that same directory should be a sub-directory named objects. That's where you'll find (and create) the other config files for Nagios. For example, the list of Nagios contacts (contacts.cfg). You can also use 'find' to search for the cfg files on your Nagios server. Jon Adcock Network Systems Administrator Leon County MIS 301 S. Monroe St. Tallahassee, FL 32301 Office: (850) 606-5518 adcockj at leoncountyfl.gov >>> On 12/12/2011 at 7:22 AM, Assaf Flatto wrote: Have you installed from source or package ? if the package , try looking for the file in the /etc/nagios3/ directory If you used source , have you done the make install-configs ( or is may be make install-samples ) ? Assaf ----- Original Message ----- From: "Niels Jende" To: "Nagios Users List" Sent: Monday, 12 December, 2011 12:18:40 PM Subject: [Nagios-users] Windows.cfg missing Hi Folks, as I am still a newbie with nagios but willing to learn, I hope you wont mind if my upcoming question might sound silly to you. I read that to monitor windows servers that I should find a windows.cfg file in ~/objects/ Well I dont have neither a directory called objects nor such a file. In /usr/share/doc/nagios3-common/examples/template-object/ I found a windows.cfg file. So, is it okay for nagios to simply create a directory ~/objects/ and copy the windows.cfg file in there? Or what do I have to do? As said before, I am new to nagios and I am running a debian wheetzy with nagios 3.2.3 Thanks for your time and help Niels ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: not available Type: image/jpg Size: 2261 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mon Dec 12 14:55:26 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 12 Dec 2011 14:55:26 +0100 Subject: R: R: too many lines in archive log In-Reply-To: <011701ccb8bc$c9d147c0$5d73d740$@it.net> References: <00f701ccb8b1$591eba90$0b5c2fb0$@it.net> <4EE5D88D.7040506@op5.se> <011701ccb8bc$c9d147c0$5d73d740$@it.net> Message-ID: <014b01ccb8d5$b9d0de80$2d729b80$@it.net> I tried also the other way suggested... Set log_external_commands=0 But nothing changed. If I set log_passive_checks=0 , I will reduce the log file but : 1) I am not sure passive checks will work correctly 2) check_nsca plugin does not work anymore Marco -----Messaggio originale----- Da: Marco Borsani [mailto:m.borsani at it.net] Inviato: luned? 12 dicembre 2011 11:57 A: 'Andreas Ericsson'; 'Nagios Users List' Oggetto: [Nagios-users] R: too many lines in archive log I'd like to send in the passive checks less frequently, but I did not find where to configure. marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: luned 12 dicembre 2011 11:34 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] too many lines in archive log On 12/12/2011 10:35 AM, Marco Borsani wrote: > Hi all > > Probably I made some errors in the passive checks configuration .. > > The main Nagios server has 132 passive hosts and 400 passive services > configured (only 30 active hosts and 60 active services), received > from two remote Nagios systems. > > > > In each archive file I have more than 420.000 lines (compared to > another Nagios server with about 20.000, with no passive checks configured). > > > > I see many and many rows like : > > [1323564139] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; > > [1323564139] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT; > > . > > And > > [1323564137] PASSIVE HOST CHECK: > > [1323564137] PASSIVE SERVICE CHECK: > > > > Is it normal ? > Yes. > What can I check/modify to reduce the logs ? > Set log_external_commands=0 in your nagios.cfg file. That should cut your logs in half, roughly. You could also send in the passive checks less frequently. -- 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. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 12 15:29:40 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Mon, 12 Dec 2011 14:29:40 +0000 Subject: check_oracle NRPE Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E6F57@pemexmbx12.hosting.local> I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB >From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: [cid:image001.jpg at 01CCB8DA.BA30BF80] Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [Description: Description: Description: Description: Brandtone Side Bar logo cropped] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mon Dec 12 15:42:26 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 12 Dec 2011 14:42:26 -0000 (UTC) Subject: check_oracle NRPE In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E6F57@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6F57@pemexmbx12.hosting.local> Message-ID: On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ----- Original Message ----- From: "Dermot Duffy" To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB >From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ Description: Description: Description: Description: Brandtone Side Bar logo cropped Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mon Dec 12 16:30:05 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Mon, 12 Dec 2011 15:30:05 +0000 Subject: check_oracle NRPE In-Reply-To: References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6F57@pemexmbx12.hosting.local> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> On Nagios Server: [nagios at nagios-server]$ ./check_oracle --login PCMDB Cannot determine ORACLE_HOME for sid PCMDB On db Server: [nagios at db1]$ ./check_oracle --login PCMDB sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory CRITICAL ? Regards, D. From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 14:42 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ________________________________ From: "Dermot Duffy" > To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: [cid:image001.jpg at 01CCB8DF.24C21A20] Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [Description: Description: Description: Description: Brandtone Side Bar logo cropped] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mike.Clark at masergy.com Mon Dec 12 16:43:08 2011 From: Mike.Clark at masergy.com (Mike Clark) Date: Mon, 12 Dec 2011 09:43:08 -0600 Subject: check_oracle NRPE In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6F57@pemexmbx12.hosting.local> <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> Message-ID: <8A4C8E742859C047B46E586637A10CC80FD9BF95CE@MAILBOXSERVER.add0.masergy.com> You might try adding the nagios user to the dba group in the /etc/group file on your DB box. Or the oracle group if that was what was used but it?s usually dba. Oracle in their infinite wisdom locks down the entire oracle install to only the oracle user for read-write and read-only for the dba group. Usually just adding a user to the dba group resolves the issue of not being able to actually use the libraries the the ORACLE_HOME is pointing you to. The first error you got on the Nagios server is because you don?t have Oracle installed or don?t have the ORACLE_HOME set. From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] Sent: Monday, December 12, 2011 9:30 AM To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On Nagios Server: [nagios at nagios-server]$ ./check_oracle --login PCMDB Cannot determine ORACLE_HOME for sid PCMDB On db Server: [nagios at db1]$ ./check_oracle --login PCMDB sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory CRITICAL ? Regards, D. From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 14:42 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ________________________________ From: "Dermot Duffy" > To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: [cid:image001.jpg at 01CCB8B2.73FDBCC0] Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [cid:image002.jpg at 01CCB8B2.73FDBCC0] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mon Dec 12 16:44:58 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 12 Dec 2011 15:44:58 -0000 (UTC) Subject: check_oracle NRPE In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> Message-ID: <0ffcffb4-dc3d-4701-8b47-855d8c968d64@vhost1.heptagon.co.il> ----- Original Message ----- From: "Dermot Duffy" To: "Nagios Users List" Sent: Monday, 12 December, 2011 3:30:05 PM Subject: Re: [Nagios-users] check_oracle NRPE On Nagios Server: [nagios at nagios-server]$ ./check_oracle --login PCMDB Cannot determine ORACLE_HOME for sid PCMDB unless you have the Oracle server on this host - this test is useless , read the NRPE documents on how to do the testing properly !!! On db Server: [nagios at db1]$ ./check_oracle --login PCMDB sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory CRITICAL ? This might indicate that you have issues with an object - if the test is working as root , look at sudo to get this to work, Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete. Regards, D. Assaf From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 14:42 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ----- Original Message ----- From: "Dermot Duffy" < dermot.duffy at brandtone.ie > To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB >From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ Description: Description: Description: Description: Brandtone Side Bar logo cropped Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mon Dec 12 17:13:22 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Mon, 12 Dec 2011 16:13:22 +0000 Subject: check_oracle NRPE In-Reply-To: <0ffcffb4-dc3d-4701-8b47-855d8c968d64@vhost1.heptagon.co.il> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> <0ffcffb4-dc3d-4701-8b47-855d8c968d64@vhost1.heptagon.co.il> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E7010@pemexmbx12.hosting.local> ?Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete.? The NRPE configuration is correct and working for all other alerts so unless specifically relating to oracle checks reading the manual is pointless. My issue is specifically with the oracle check. Since you have mentioned ?RTFM? can you suggest any specific documents on this? From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 15:45 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE ________________________________ From: "Dermot Duffy" > To: "Nagios Users List" > Sent: Monday, 12 December, 2011 3:30:05 PM Subject: Re: [Nagios-users] check_oracle NRPE On Nagios Server: [nagios at nagios-server]$ ./check_oracle --login PCMDB Cannot determine ORACLE_HOME for sid PCMDB unless you have the Oracle server on this host - this test is useless , read the NRPE documents on how to do the testing properly !!! On db Server: [nagios at db1]$ ./check_oracle --login PCMDB sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory CRITICAL ? This might indicate that you have issues with an object - if the test is working as root , look at sudo to get this to work, Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete. Regards, D. Assaf From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 14:42 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ________________________________ From: "Dermot Duffy" > To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: [cid:image001.jpg at 01CCB8E9.36FDB870] Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [Description: Description: Description: Description: Brandtone Side Bar logo cropped] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 Mike.Clark at masergy.com Mon Dec 12 17:20:07 2011 From: Mike.Clark at masergy.com (Mike Clark) Date: Mon, 12 Dec 2011 10:20:07 -0600 Subject: check_oracle NRPE In-Reply-To: <0B0CA225A9EAE8468E80AA7A88992CFE043E7010@pemexmbx12.hosting.local> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> <0ffcffb4-dc3d-4701-8b47-855d8c968d64@vhost1.heptagon.co.il> <0B0CA225A9EAE8468E80AA7A88992CFE043E7010@pemexmbx12.hosting.local> Message-ID: <8A4C8E742859C047B46E586637A10CC80FD9BF9662@MAILBOXSERVER.add0.masergy.com> The Oracle permissions have kicked my butt on Linux and Solaris for some time now. I usually do the following: http://bit.ly/rNKv96 (This is a mini ?Let me Google that for you?). to try and find answers. It usually works even if I do have to read through several of the search results to see what might apply to me. From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] Sent: Monday, December 12, 2011 10:13 AM To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE ?Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete.? The NRPE configuration is correct and working for all other alerts so unless specifically relating to oracle checks reading the manual is pointless. My issue is specifically with the oracle check. Since you have mentioned ?RTFM? can you suggest any specific documents on this? From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 15:45 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE ________________________________ From: "Dermot Duffy" > To: "Nagios Users List" > Sent: Monday, 12 December, 2011 3:30:05 PM Subject: Re: [Nagios-users] check_oracle NRPE On Nagios Server: [nagios at nagios-server]$ ./check_oracle --login PCMDB Cannot determine ORACLE_HOME for sid PCMDB unless you have the Oracle server on this host - this test is useless , read the NRPE documents on how to do the testing properly !!! On db Server: [nagios at db1]$ ./check_oracle --login PCMDB sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory CRITICAL ? This might indicate that you have issues with an object - if the test is working as root , look at sudo to get this to work, Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete. Regards, D. Assaf From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 14:42 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ________________________________ From: "Dermot Duffy" > To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: [cid:image001.jpg at 01CCB8B7.9EF739B0] Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [cid:image002.jpg at 01CCB8B7.9EF739B0] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 kuhlmeier at riege.com Mon Dec 12 17:28:17 2011 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Mon, 12 Dec 2011 17:28:17 +0100 Subject: SELinux and RHEL6.2 preventing disk checks via NRPE In-Reply-To: <15tzkf1x503.fsf@tux.uio.no> References: <4EE20206.8020104@riege.com> <15tzkf1x503.fsf@tux.uio.no> Message-ID: <4EE62BA1.4000806@riege.com> Hello Trond, On 09.12.2011 14:13, Trond Hasle Amundsen wrote: > > RHEL6 has the following labels for use with Nagios plugins: > > # grep nagios /etc/selinux/targeted/contexts/files/file_contexts | grep plugin_exec | cut -d: -f3 | sort -u > nagios_admin_plugin_exec_t > nagios_checkdisk_plugin_exec_t > nagios_mail_plugin_exec_t > nagios_services_plugin_exec_t > nagios_system_plugin_exec_t > nagios_unconfined_plugin_exec_t > > Try setting the confined types first, e.g.: > > chcon -t nagios_checkdisk_plugin_exec_t /path/to/check_fs_boot > > If none of them works properly, you have nagios_unconfined_plugin_exec_t > as a last resort. the last resort in fact worked! Thanks! > > When you find one that works, make it permanent with: > > semanage fcontext -a -t '/path/to/check_fs_boot' > Geez, there are a lot more contexts set than I thought. I should probably remove duplicate entries, right? > You may also have to set proper labels on the path leading up to the > actual plugin. > > Regards, Thanks again, -- .............................................................. Riege Software International GmbH Phone: +49 2159 91480 Mollsfeld 10 Fax: +49 2159 914811 40670 Meerbusch Web: www.riege.com Germany E-Mail: kuhlmeier at riege.com -- -- Commercial Register: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege VAT Reg No.: DE120585842 Gabriele Riege Johannes Riege .............................................................. YOU CARE FOR FREIGHT, WE CARE FOR YOU ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 11:41:30 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Tue, 13 Dec 2011 10:41:30 +0000 Subject: Nagios Graph not displaying correct values Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> I have a weird situation where the Nagios Graph values are not the actual values for a filesystem Eg I have a filesystem and if I run a df I get $ df -h . Filesystem Size Used Avail Use% Mounted on filer01:/vol/data1 443G 400G 44G 91% /mnt/filer01_data1 If I run the Nagios check_disk command I get the correct values # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| /usr/groups/sources=409354MB;408084;430755;0;453427 But when you look at the graph the figures are all wrong Has anyone else seen this? I was going to look at the usage to try and forecast usage but it will now be very hard. I have just installed Nagios Graph based on the default installation and using the default check_disk plugin. Thanks James -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture (Device Independent Bitmap) 1.jpg Type: image/jpeg Size: 31748 bytes Desc: Picture (Device Independent Bitmap) 1.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- 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 Dec 13 16:41:48 2011 From: dermot.duffy at brandtone.ie (Dermot Duffy) Date: Tue, 13 Dec 2011 15:41:48 +0000 Subject: check_oracle NRPE In-Reply-To: <8A4C8E742859C047B46E586637A10CC80FD9BF9662@MAILBOXSERVER.add0.masergy.com> References: <0B0CA225A9EAE8468E80AA7A88992CFE043E6FC2@pemexmbx12.hosting.local> <0ffcffb4-dc3d-4701-8b47-855d8c968d64@vhost1.heptagon.co.il> <0B0CA225A9EAE8468E80AA7A88992CFE043E7010@pemexmbx12.hosting.local> <8A4C8E742859C047B46E586637A10CC80FD9BF9662@MAILBOXSERVER.add0.masergy.com> Message-ID: <0B0CA225A9EAE8468E80AA7A88992CFE043E729C@pemexmbx12.hosting.local> Resolved. Cheers MC ? absolutely correct regarding Oracle group and nagios user. Now able to actually use the libraries that ORACLE_HOME is pointing to. From: Mike Clark [mailto:Mike.Clark at masergy.com] Sent: 12 December 2011 16:20 To: 'Nagios Users List' Subject: Re: [Nagios-users] check_oracle NRPE The Oracle permissions have kicked my butt on Linux and Solaris for some time now. I usually do the following: http://bit.ly/rNKv96 (This is a mini ?Let me Google that for you?). to try and find answers. It usually works even if I do have to read through several of the search results to see what might apply to me. From: Dermot Duffy [mailto:dermot.duffy at brandtone.ie] Sent: Monday, December 12, 2011 10:13 AM To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE ?Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete.? The NRPE configuration is correct and working for all other alerts so unless specifically relating to oracle checks reading the manual is pointless. My issue is specifically with the oracle check. Since you have mentioned ?RTFM? can you suggest any specific documents on this? From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 15:45 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE ________________________________ From: "Dermot Duffy" > To: "Nagios Users List" > Sent: Monday, 12 December, 2011 3:30:05 PM Subject: Re: [Nagios-users] check_oracle NRPE On Nagios Server: [nagios at nagios-server]$ ./check_oracle --login PCMDB Cannot determine ORACLE_HOME for sid PCMDB unless you have the Oracle server on this host - this test is useless , read the NRPE documents on how to do the testing properly !!! On db Server: [nagios at db1]$ ./check_oracle --login PCMDB sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory CRITICAL ? This might indicate that you have issues with an object - if the test is working as root , look at sudo to get this to work, Again - RTFM for NRPE and then you'll have a better understanding of the task you wish to complete. Regards, D. Assaf From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 12 December 2011 14:42 To: Nagios Users List Subject: Re: [Nagios-users] check_oracle NRPE On your nagios server from the command line try running the command as the nagios user , and also on the remote machine as the nagios user. This will give you some idea what is wrong. ________________________________ From: "Dermot Duffy" > To: nagios-users at lists.sourceforge.net Sent: Monday, 12 December, 2011 2:29:40 PM Subject: [Nagios-users] check_oracle NRPE I have configured the following plugin on my oracle db server Db1:/usr/local/nagios/etc/nrpe.cfg # Oracle Checks command[check_oracle]=/usr/local/nagios/libexec/check_oracle --login PCMDB From the command line this works locally. [root at db1etc]# /usr/local/nagios/libexec/check_oracle --login PCMDB OK - dummy login connected However I am unable to get it to work from my nagios server. I have defined the check_oracle script at the following location in the nagios server: Nagios_server:/usr/local/nagios/etc/objects/db1.cfg define service{ use generic-service host_name mvdbs1 service_description Check Oracle check_command check_nrpe!check_oracle } The NRPE connection between db server and nagios server is fine: [root at Nagios_Server]# ./check_nrpe -H db-server NRPE v2.12 But when I run this from the nagios server (GUI) I get the following: [cid:image001.jpg at 01CCB9AD.F810C0B0] Regards, D. ____________________________________________________________________________________________________________________________________________________________________________________________ [Description: Description: Description: Description: Brandtone Side Bar logo cropped] Dermot Duffy IT Infrastructure Technical Lead www.brandtone.ie | Dermot.Duffy at brandtone.ie M: +353 85 711 7530 Disclaimer The information contained in this message (including any attachments) is confidential and intended solely for the attention and use of the named addressee(s). It must not be disclosed to any person without our authority. If you are not the intended recipient, please delete it from your system immediately - any disclosure, copying or distribution thereof or any action taken or omitted to be taken in reliance thereon is prohibited and may be unlawful. BrandTone Limited makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the transmission, reception, storage or use of such information in any way whatsoever. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of BrandTone Limited. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 42555 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4052 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Tue Dec 13 16:43:00 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 13 Dec 2011 16:43:00 +0100 Subject: Nagios Graph not displaying correct values In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> Message-ID: Some of the default Nagiosgraph map entries are strange and behave not as expected. I basically replaced all the existing entries by own ones. If you like you can use the following one: # Service Type: check_disk # Nagiosgraph regex by Claudio Kuenzler # Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / # Output: DISK OK - free space: / 235120 MB (66% inode=95%): # Perfdata: /=119211MB;298635;335964;0;373294 /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ #/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition and push @s, [diskusage, ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; Note that this is a very basic graph which shows the total and current partition usage. Feel free to modify it :-) On Tue, Dec 13, 2011 at 11:41 AM, James Osbourn wrote: > I have a weird situation where the Nagios Graph values are not the > actual values for a filesystem > > Eg I have a filesystem and if I run a df I get > > $ df -h . > Filesystem Size Used Avail Use% Mounted on > filer01:/vol/data1 443G 400G 44G 91% /mnt/filer01_data1 > > If I run the Nagios check_disk command I get the correct values > > # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources > DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| > /usr/groups/sources=409354MB;408084;430755;0;453427 > > But when you look at the graph the figures are all wrong > > > Has anyone else seen this? I was going to look at the usage to try and > forecast usage but it will now be very hard. I have just installed Nagios > Graph based on the default installation and using the default check_disk > plugin. > > Thanks > > James > > > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- 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 Tue Dec 13 17:03:59 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 13 Dec 2011 17:03:59 +0100 Subject: SELinux and RHEL6.2 preventing disk checks via NRPE In-Reply-To: <4EE62BA1.4000806@riege.com> (Dennis Kuhlmeier's message of "Mon, 12 Dec 2011 17:28:17 +0100") References: <4EE20206.8020104@riege.com> <15tzkf1x503.fsf@tux.uio.no> <4EE62BA1.4000806@riege.com> Message-ID: <15tmxawsbkg.fsf@tux.uio.no> Dennis Kuhlmeier writes: > Geez, there are a lot more contexts set than I thought. I should > probably remove duplicate entries, right? The labels in /etc/selinux/targeted/contexts/files/file_contexts is there by default and these should not be touched. The file /etc/selinux/targeted/contexts/files/file_contexts.local contains local additions or adjustments. If there are entries there that you think ought to be removed, you should remove them with: semanage fcontext -d '' Don't edit the file directly :) Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Tue Dec 13 17:11:03 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Tue, 13 Dec 2011 17:11:03 +0100 Subject: permissions issues with nagiosql Message-ID: <4EE77917.4020704@gmail.com> hey guys im having permissions issues and getting the following message Cannot open/overwrite the configuration file (check the permissions)! i did some googling and game up with http://www.nagiosql.org/forum/installation-issues/195-permissions.html should i have some template config files somehwere? From what I am seeing i do not have any demo configs showing up anywhere ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 13 17:24:48 2011 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 13 Dec 2011 10:24:48 -0600 Subject: permissions issues with nagiosql In-Reply-To: <4EE77917.4020704@gmail.com> References: <4EE77917.4020704@gmail.com> Message-ID: <4EE77C50.7050800@nagios.com> On 12/13/2011 10:11 AM, Jonathan Aquilina wrote: > hey guys im having permissions issues and getting the following message > > Cannot open/overwrite the configuration file (check the permissions)! Take a look at the permissions on the files in the nagios/etc directory. Apache needs RWX permissions on those files in order to be able to manage them. > > i did some googling and game up with > http://www.nagiosql.org/forum/installation-issues/195-permissions.html > > should i have some template config files somehwere? From what I am > seeing i do not have any demo configs showing up anywhere > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Tue Dec 13 17:31:49 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Tue, 13 Dec 2011 17:31:49 +0100 Subject: permissions issues with nagiosql In-Reply-To: <4EE77C50.7050800@nagios.com> References: <4EE77917.4020704@gmail.com> <4EE77C50.7050800@nagios.com> Message-ID: <4EE77DF5.6090608@gmail.com> On 13/12/2011 17:24, Mike Guthrie wrote: > On 12/13/2011 10:11 AM, Jonathan Aquilina wrote: >> hey guys im having permissions issues and getting the following message >> >> Cannot open/overwrite the configuration file (check the permissions)! > Take a look at the permissions on the files in the nagios/etc > directory. Apache needs RWX permissions on those files in order to be > able to manage them. > >> i did some googling and game up with >> http://www.nagiosql.org/forum/installation-issues/195-permissions.html >> >> should i have some template config files somehwere? From what I am >> seeing i do not have any demo configs showing up anywhere >> >> ------------------------------------------------------------------------------ >> Systems Optimization Self Assessment >> Improve efficiency and utilization of IT resources. Drive out cost and >> improve service delivery. Take 5 minutes to use this Systems Optimization >> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 set the permissions for everythign in that directory to 775 what should the user and group be right now they are set to nagios group and user ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 17:38:09 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 13 Dec 2011 16:38:09 +0000 Subject: Nagios Graph not displaying correct values In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> Message-ID: On 13 December 2011 10:41, James Osbourn wrote: > > I have a weird situation where the Nagios Graph values are not the actual values for a filesystem > > Eg I have a filesystem and if I run a df I get > > $ df -h . > Filesystem??????????? Size? Used Avail Use% Mounted on > filer01:/vol/data1??? 443G? 400G?? 44G? 91% /mnt/filer01_data1 > > If I run the Nagios check_disk command I get the correct values > > # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources > DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| /usr/groups/sources=409354MB;408084;430755;0;453427 > > But when you look at the graph the figures are all wrong > > > Has anyone else seen this?? I was going to look at the usage to try and forecast usage but it will now be very hard.? I have just installed Nagios Graph based on the default installation and using the default check_disk plugin. I would guess rrdtool is applying base=1000 rather than base=1024. See:- http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html I'm not sure how you would specify that in Nagios Graph though (in PNP4Nagios you can simply add "--base 1024" to the options in the template). ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 13 17:40:45 2011 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 13 Dec 2011 10:40:45 -0600 Subject: permissions issues with nagiosql In-Reply-To: <4EE77DF5.6090608@gmail.com> References: <4EE77917.4020704@gmail.com> <4EE77C50.7050800@nagios.com> <4EE77DF5.6090608@gmail.com> Message-ID: <4EE7800D.8070004@nagios.com> On 12/13/2011 10:31 AM, Jonathan Aquilina wrote: > On 13/12/2011 17:24, Mike Guthrie wrote: >> On 12/13/2011 10:11 AM, Jonathan Aquilina wrote: >>> hey guys im having permissions issues and getting the following message >>> >>> Cannot open/overwrite the configuration file (check the permissions)! >> Take a look at the permissions on the files in the nagios/etc >> directory. Apache needs RWX permissions on those files in order to be >> able to manage them. >> >>> i did some googling and game up with >>> http://www.nagiosql.org/forum/installation-issues/195-permissions.html >>> >>> should i have some template config files somehwere? From what I am >>> seeing i do not have any demo configs showing up anywhere >>> > I set the permissions for everythign in that directory to 775 what > should the user and group be right now they are set to nagios group and user Some people might have this set differently, but on my system all of the nagiosql files are owned by apache. The apache user is part of the nagios group, and the config files are owned by apache:nagios. > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Tue Dec 13 17:41:29 2011 From: mssneah at yahoo.com (moses neah) Date: Tue, 13 Dec 2011 08:41:29 -0800 (PST) Subject: How to monitor memory on cisco router Message-ID: <1323794489.70095.YahooMailNeo@web45207.mail.sp1.yahoo.com> Hi all, Where can I find a plugin to monitor cisco routers memory. I got the one that monitors CPU, fan and temperature. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- 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 Dec 13 17:46:59 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 13 Dec 2011 16:46:59 +0000 Subject: permissions issues with nagiosql In-Reply-To: <4EE77917.4020704@gmail.com> References: <4EE77917.4020704@gmail.com> Message-ID: On 13 December 2011 16:11, Jonathan Aquilina wrote: > hey guys im having permissions issues and getting the following message > > Cannot open/overwrite the configuration file (check the permissions)! > > i did some googling and game up with > http://www.nagiosql.org/forum/installation-issues/195-permissions.html > > should i have some template config files somehwere? From what I am > seeing i do not have any demo configs showing up anywhere On my system, the user "www-data" (the apache web server user) is added to the "nagios" group. So, in the /etc/group file we have:- nagios:x:1001:www-data If www-data (or whichever user your Apache daemon runs as) isn't in the 'nagios' group, you should be able to add it something like so .. usermod -G nagios www-data hth, Jim ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 13 17:49:12 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 13 Dec 2011 16:49:12 +0000 Subject: How to monitor memory on cisco router In-Reply-To: <1323794489.70095.YahooMailNeo@web45207.mail.sp1.yahoo.com> References: <1323794489.70095.YahooMailNeo@web45207.mail.sp1.yahoo.com> Message-ID: On 13 December 2011 16:41, moses neah wrote: > Hi all, > Where can I find a plugin to monitor cisco routers memory. I got the one > that monitors CPU, fan and temperature. I haven't tried it myself, but this one should do the trick:- http://nagios.manubulon.com/snmp_mem.html ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonny.mosco at gmail.com Tue Dec 13 17:52:55 2011 From: jonny.mosco at gmail.com (Jonny Mosco) Date: Tue, 13 Dec 2011 11:52:55 -0500 Subject: How to monitor memory on cisco router In-Reply-To: <1323794489.70095.YahooMailNeo@web45207.mail.sp1.yahoo.com> References: <1323794489.70095.YahooMailNeo@web45207.mail.sp1.yahoo.com> Message-ID: Nagios exchange. http://exchange.nagios.org/ You can use check_snmp as well. On Tue, Dec 13, 2011 at 11:41 AM, moses neah wrote: > Hi all, > Where can I find a plugin to monitor cisco routers memory. I got the one > that monitors CPU, fan and temperature. > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- 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 eagles051387 at gmail.com Tue Dec 13 17:59:17 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Tue, 13 Dec 2011 17:59:17 +0100 Subject: permissions issues with nagiosql In-Reply-To: <4EE7800D.8070004@nagios.com> References: <4EE77917.4020704@gmail.com> <4EE77C50.7050800@nagios.com> <4EE77DF5.6090608@gmail.com> <4EE7800D.8070004@nagios.com> Message-ID: <4EE78465.7090700@gmail.com> On 13/12/2011 17:40, Mike Guthrie wrote: > On 12/13/2011 10:31 AM, Jonathan Aquilina wrote: >> On 13/12/2011 17:24, Mike Guthrie wrote: >>> On 12/13/2011 10:11 AM, Jonathan Aquilina wrote: >>>> hey guys im having permissions issues and getting the following message >>>> >>>> Cannot open/overwrite the configuration file (check the permissions)! >>> Take a look at the permissions on the files in the nagios/etc >>> directory. Apache needs RWX permissions on those files in order to be >>> able to manage them. >>> >>>> i did some googling and game up with >>>> http://www.nagiosql.org/forum/installation-issues/195-permissions.html >>>> >>>> should i have some template config files somehwere? From what I am >>>> seeing i do not have any demo configs showing up anywhere >>>> >> I set the permissions for everythign in that directory to 775 what >> should the user and group be right now they are set to nagios group and user > Some people might have this set differently, but on my system all of the > nagiosql files are owned by apache. The apache user is part of the > nagios group, and the config files are owned by apache:nagios. > >> >> ------------------------------------------------------------------------------ >> Systems Optimization Self Assessment >> Improve efficiency and utilization of IT resources. Drive out cost and >> improve service delivery. Take 5 minutes to use this Systems Optimization >> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 is fine on nagios front end but the problem im having still with the above mentioned permission msg. What else coudl possibly be the issue? ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eagles051387 at gmail.com Tue Dec 13 18:00:22 2011 From: eagles051387 at gmail.com (Jonathan Aquilina) Date: Tue, 13 Dec 2011 18:00:22 +0100 Subject: permissions issues with nagiosql In-Reply-To: References: <4EE77917.4020704@gmail.com> Message-ID: <4EE784A6.4000504@gmail.com> On 13/12/2011 17:46, Jim Avery wrote: > On 13 December 2011 16:11, Jonathan Aquilina wrote: >> hey guys im having permissions issues and getting the following message >> >> Cannot open/overwrite the configuration file (check the permissions)! >> >> i did some googling and game up with >> http://www.nagiosql.org/forum/installation-issues/195-permissions.html >> >> should i have some template config files somehwere? From what I am >> seeing i do not have any demo configs showing up anywhere > On my system, the user "www-data" (the apache web server user) is > added to the "nagios" group. So, in the /etc/group file we have:- > > nagios:x:1001:www-data > > If www-data (or whichever user your Apache daemon runs as) isn't in > the 'nagios' group, you should be able to add it something like so .. > > usermod -G nagios www-data > > hth, > > Jim > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Thanks Jim I already did that but still having issues with the error message above when working with nagiosql :( ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lacelle at roboticresearch.com Tue Dec 13 17:46:34 2011 From: lacelle at roboticresearch.com (Zach La Celle) Date: Tue, 13 Dec 2011 11:46:34 -0500 Subject: Custom perl plugin doesn't work Message-ID: <4EE7816A.4000501@roboticresearch.com> The error, when I attempt to run it from the monitoring machine, is: NRPE: Command 'blah' not defined The command IS defined in /etc/nagios/nrpe.cfg on the target machine. The command is ALSO defined in /etc/nagios-plugins/config/blah.cfg on the target machine. I restarted nagios-nrpe-server after adding the command. I'm calling it from my monitoring server with /usr/lib/nagios/plugins/check_nrpe -H -c blah When I run the perl script myself, it works fine. Any ideas? All of my other checks for this host work. ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 13 18:53:17 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Tue, 13 Dec 2011 17:53:17 +0000 Subject: Custom perl plugin doesn't work In-Reply-To: <4EE7816A.4000501@roboticresearch.com> References: <4EE7816A.4000501@roboticresearch.com> Message-ID: On Tue, Dec 13, 2011 at 4:46 PM, Zach La Celle wrote: > The error, when I attempt to run it from the monitoring machine, is: > NRPE: Command 'blah' not defined > > The command IS defined in /etc/nagios/nrpe.cfg on the target machine. > The command is ALSO defined in /etc/nagios-plugins/config/blah.cfg on > the target machine. > Is '/etc/nagios-plugins/config/blah.cfg' linked in your Nrpe commands config? Can you run the command via check_nrpe on the local (target) machine? Only time I saw a command not getting picked up by nrpe was when I had started nrpe twice! and as such was only restarting the second one which had not bound to the interface of course. Ritchie -- <-- http://23.me.uk/2 --> <--Time flies like an arrow; fruit flies like a banana. --> I restarted nagios-nrpe-server after adding the command. > > I'm calling it from my monitoring server with > /usr/lib/nagios/plugins/check_nrpe -H -c blah > > When I run the perl script myself, it works fine. > > Any ideas? All of my other checks for this host work. > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- 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 lacelle at roboticresearch.com Tue Dec 13 19:55:53 2011 From: lacelle at roboticresearch.com (Zach La Celle) Date: Tue, 13 Dec 2011 13:55:53 -0500 Subject: Custom perl plugin doesn't work In-Reply-To: References: <4EE7816A.4000501@roboticresearch.com> Message-ID: <4EE79FB9.40000@roboticresearch.com> I'm not sure exactly what you mean. On the monitor machine, there's only the blah.cfg file in '/etc/nagios-plugins/config/blah.cfg'. I didn't even think that this was necessary, since it's really just running check_nrpe_1arg (which is defined in /etc/nagios-plugins/config/check_nrpe.cfg) and passing in the name of the command to the remote host. On the remote host, it has the "blah" command defined in /etc/nagios/nrpe.cfg, as such: command[blah]=/usr/lib/nagios/plugins/blah.pl So, it should call check_nrpe on the monitoring host, which uses the nrpe-server to attempt to run the command through the remote host. Since the command is listed in nrpe.cfg on the remote host, it should see it there, run the actual perl script listed there, and return the output. On 12/13/2011 12:53 PM, mail at catsnest.co.uk wrote: > > > > On Tue, Dec 13, 2011 at 4:46 PM, Zach La Celle > > wrote: > > The error, when I attempt to run it from the monitoring machine, is: > NRPE: Command 'blah' not defined > > The command IS defined in /etc/nagios/nrpe.cfg on the target machine. > The command is ALSO defined in /etc/nagios-plugins/config/blah.cfg on > the target machine. > > > Is '/etc/nagios-plugins/config/blah.cfg' linked in your Nrpe commands > config? > > Can you run the command via check_nrpe on the local (target) machine? > > Only time I saw a command not getting picked up by nrpe was when I had > started nrpe twice! > and as such was only restarting the second one which had not bound to > the interface of course. > > Ritchie > -- > <-- http://23.me.uk/2 --> > <--Time flies like an arrow; fruit flies like a banana. --> > > I restarted nagios-nrpe-server after adding the command. > > I'm calling it from my monitoring server with > /usr/lib/nagios/plugins/check_nrpe -H -c blah > > When I run the perl script myself, it works fine. > > Any ideas? All of my other checks for this host work. > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems > Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ -------------- 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 aravind at linuz.in Wed Dec 14 07:19:26 2011 From: aravind at linuz.in (Aravind M D) Date: Wed, 14 Dec 2011 11:49:26 +0530 Subject: Nagios Cluster with Load Balancing and High Availability In-Reply-To: <4E5B5809.3070808@op5.se> References: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> <4E5B5809.3070808@op5.se> Message-ID: <20111214114926.Horde.lPTNKVwlEB5O6D-uBoqltzA@mail.linuz.in> Quoting Andreas Ericsson : >> On 08/26/2011 11:05 AM, Aravind M D wrote: > >> Hi > >> > >> I need to configure two physical servers as active-active cluster and > >> configure Loadbalancing with High availabiltiy for Nagios. > >> > >> Can somebody help me how to achieve this. > >> > >> I have checked some of loadbalancing modules like mod_gearmen, > merlin and > >> DNX. If any one knows about the difference between these > modules please let > >> me know. > >> > > > > If you want loadbalancing with takeover capabilities, Merlin is your only > > choice. The other two rely on a single Nagios instance to do > scheduling and > > notifications. If that instance crashes, mod_gearman and DNX > can't help you > > get any info at all. > > > > It might be possible to couple them so that mod_gearman and Merlin work > > together, but you'd be entering unknown territory with that mix > and I would > > be quite surprised if it worked completely without problems the > first time > > you try it. > > > ? I like to use merlin for laodbalancing and high availability Nagios setup. I have checked the Merlin webpage i can see last release was on 2010-06-18 after that no new releases. But when i checked the git repository i can see latest version is v1.1.12 whether i can use this version for producation environment if so how can i get this version. Thanks in advance - Aravind -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Dec 14 08:28:33 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 14 Dec 2011 08:28:33 +0100 Subject: How to monitor memory on cisco router In-Reply-To: References: <1323794489.70095.YahooMailNeo@web45207.mail.sp1.yahoo.com> Message-ID: I've made good experience with check_cisco.pl by Ran Leibman: https://github.com/ranl/IT/blob/master/Nagios/check-cisco.pl You have to be aware though, that by default the memory check works backwards - meaning you must define at how many percent of memory _LEFT_ you want the warning. But it's easy to rewrite the warning/critical section in the plugin to set the threshold to the actual usage (e.g. warning at 80%, critical at 90%), that's what I did for my purposes. On Tue, Dec 13, 2011 at 5:52 PM, Jonny Mosco wrote: > Nagios exchange. > > http://exchange.nagios.org/ > > You can use check_snmp as well. > > > > On Tue, Dec 13, 2011 at 11:41 AM, moses neah wrote: > >> Hi all, >> Where can I find a plugin to monitor cisco routers memory. I got the one >> that monitors CPU, fan and temperature. >> >> >> ------------------------------------------------------------------------------ >> Systems Optimization Self Assessment >> Improve efficiency and utilization of IT resources. Drive out cost and >> improve service delivery. Take 5 minutes to use this Systems Optimization >> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Wed Dec 14 10:09:27 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 14 Dec 2011 10:09:27 +0100 Subject: timing of passive check results Message-ID: <005d01ccba40$1aa695e0$4ff3c1a0$@it.net> Hi all I have more than 400 passive service checks in the main Nagios server, but 15 of them are updated only 1 time a day (always at the same time, 5:36 in the morning). In the remote servers the checks run every 5 minutes and in the main server all the passive services have same configuration. Any idea ? Thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Wed Dec 14 10:44:30 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Dec 2011 10:44:30 +0100 Subject: Nagios Cluster with Load Balancing and High Availability In-Reply-To: <20111214114926.Horde.lPTNKVwlEB5O6D-uBoqltzA@mail.linuz.in> References: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> <4E5B5809.3070808@op5.se> <20111214114926.Horde.lPTNKVwlEB5O6D-uBoqltzA@mail.linuz.in> Message-ID: <4EE86FFE.7030005@op5.se> On 12/14/2011 07:19 AM, Aravind M D wrote: > Quoting Andreas Ericsson : >>> On 08/26/2011 11:05 AM, Aravind M D wrote: >> >> Hi >> >> >> >> I need to configure two physical servers as active-active cluster and >> >> configure Loadbalancing with High availabiltiy for Nagios. >> >> >> >> Can somebody help me how to achieve this. >> >> >> >> I have checked some of loadbalancing modules like mod_gearmen, merlin and >> >> DNX. If any one knows about the difference between these modules please let >> >> me know. >> >> >> > >> > If you want loadbalancing with takeover capabilities, Merlin is your only >> > choice. The other two rely on a single Nagios instance to do scheduling and >> > notifications. If that instance crashes, mod_gearman and DNX can't help you >> > get any info at all. >> > >> > It might be possible to couple them so that mod_gearman and Merlin work >> > together, but you'd be entering unknown territory with that mix and I would >> > be quite surprised if it worked completely without problems the first time >> > you try it. >> > >> > I like to use merlin for laodbalancing and high availability Nagios setup. > I have checked the Merlin webpage i can see last release was on 2010-06-18 > after that no new releases. But when i checked the git repository i can > see latest version is v1.1.12 whether i can use this version for > producation environment if so how can i get this version. > Our marketing people are ridiculously slow in updating stuff that doesn't shine, blink, make noises or do all of the above. I'll bash them over the head a bit. http://git.op5.org/git/ has instructions on how to use git to clone a repo from our public git repositories. >From http://git.op5.org/git/?p=nagios/merlin.git;a=summary you click any of the snapshot links to get a tarball containing the desired version of Merlin. Using latest tagged version is usually recommended. As of this writing, that's 1.1.13-beta1. -- 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. ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 14 11:12:17 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 14 Dec 2011 11:12:17 +0100 Subject: timing of passive check results In-Reply-To: <005d01ccba40$1aa695e0$4ff3c1a0$@it.net> References: <005d01ccba40$1aa695e0$4ff3c1a0$@it.net> Message-ID: <4EE87681.8030702@op5.se> On 12/14/2011 10:09 AM, Marco Borsani wrote: > Hi all > > I have more than 400 passive service checks in the main Nagios server, but > 15 of them are updated only 1 time a day (always at the same time, 5:36 in > the morning). > > In the remote servers the checks run every 5 minutes and in the main server > all the passive services have same configuration. > I'm guessing you have configured passive checks in more than one place on the remote servers and just overlooked the fact. Things like this doesn't happen by itself. -- 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. ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 11:26:40 2011 From: james.osbourn at citrix.com (James Osbourn) Date: Wed, 14 Dec 2011 10:26:40 +0000 Subject: Nagios Graph not displaying correct values In-Reply-To: References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> Message-ID: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F85B9@LONPMAILBOX01.citrite.net> I tried adding this map but it did not remove the orginal values from the graph and I could not find where they are stored. I do not think that the problem is related to 100 vs 1024 as some manual calculations do not match again the value that I am seeing on the graph. It has been a while since I have played with RRD and I would of expected a standard check command from Nagios to graph correctly. It just seems to be the RRD interpolation of the performance data as the check command is outputting the correct performance data values. James From: Claudio Kuenzler [mailto:ck at claudiokuenzler.com] Sent: 13 December 2011 15:43 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph not displaying correct values Some of the default Nagiosgraph map entries are strange and behave not as expected. I basically replaced all the existing entries by own ones. If you like you can use the following one: # Service Type: check_disk # Nagiosgraph regex by Claudio Kuenzler # Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / # Output: DISK OK - free space: / 235120 MB (66% inode=95%): # Perfdata: /=119211MB;298635;335964;0;373294 /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ #/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition and push @s, [diskusage, ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; Note that this is a very basic graph which shows the total and current partition usage. Feel free to modify it :-) On Tue, Dec 13, 2011 at 11:41 AM, James Osbourn > wrote: I have a weird situation where the Nagios Graph values are not the actual values for a filesystem Eg I have a filesystem and if I run a df I get $ df -h . Filesystem Size Used Avail Use% Mounted on filer01:/vol/data1 443G 400G 44G 91% /mnt/filer01_data1 If I run the Nagios check_disk command I get the correct values # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| /usr/groups/sources=409354MB;408084;430755;0;453427 But when you look at the graph the figures are all wrong Has anyone else seen this? I was going to look at the usage to try and forecast usage but it will now be very hard. I have just installed Nagios Graph based on the default installation and using the default check_disk plugin. Thanks James ------------------------------------------------------------------------------ Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Wed Dec 14 11:46:13 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 14 Dec 2011 11:46:13 +0100 Subject: R: timing of passive check results In-Reply-To: <4EE87681.8030702@op5.se> References: <005d01ccba40$1aa695e0$4ff3c1a0$@it.net> <4EE87681.8030702@op5.se> Message-ID: <009c01ccba4d$9f7efed0$de7cfc70$@it.net> I have 2 remote servers, both with same configuration. The remote server that does not send information (or could be the main that does not process them?!!?) have about 50 services ... only 15 of them (always the same, from same hosts) have this problem. I use obsess method to send info from remote to main server and set an higher timeout (ocsp_timeout=20) Marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: mercoled? 14 dicembre 2011 11:12 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] timing of passive check results On 12/14/2011 10:09 AM, Marco Borsani wrote: > Hi all > > I have more than 400 passive service checks in the main Nagios server, > but > 15 of them are updated only 1 time a day (always at the same time, > 5:36 in the morning). > > In the remote servers the checks run every 5 minutes and in the main > server all the passive services have same configuration. > I'm guessing you have configured passive checks in more than one place on the remote servers and just overlooked the fact. Things like this doesn't happen by itself. -- 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. ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 12:47:09 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 14 Dec 2011 12:47:09 +0100 Subject: Nagios Graph not displaying correct values In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F85B9@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F85B9@LONPMAILBOX01.citrite.net> Message-ID: You need to delete the already created RRD file. Once the RRD file was written, you can't change it anymore (at least not easily). Find the rrd file for your disk service and delete it, e.g. in /usr/local/nagiosgraph/rrd You can find the path to your rrd files in the nagiosgraph.conf file or you search for the rrd files on your system. The rrd file should then be recreated with the new map configuration. Oh just one more thing: You need to remove the old map entry for check_disk from your map file. Otherwise this one will continue to write the rrd instead of the new map entry. On Wed, Dec 14, 2011 at 11:26 AM, James Osbourn wrote: > I tried adding this map but it did not remove the orginal values from the > graph and I could not find where they are stored. I do not think that the > problem is related to 100 vs 1024 as some manual calculations do not match > again the value that I am seeing on the graph.**** > > ** ** > > It has been a while since I have played with RRD and I would of expected a > standard check command from Nagios to graph correctly. It just seems to be > the RRD interpolation of the performance data as the check command is > outputting the correct performance data values.**** > > ** ** > > James**** > > ** ** > > *From:* Claudio Kuenzler [mailto:ck at claudiokuenzler.com] > *Sent:* 13 December 2011 15:43 > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Nagios Graph not displaying correct values** > ** > > ** ** > > Some of the default Nagiosgraph map entries are strange and behave not as > expected. > I basically replaced all the existing entries by own ones. > > If you like you can use the following one: > > # Service Type: check_disk > # Nagiosgraph regex by Claudio Kuenzler > # Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / > # Output: DISK OK - free space: / 235120 MB (66% inode=95%): > # Perfdata: /=119211MB;298635;335964;0;373294 > /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ > #/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition > and push @s, [diskusage, > ['used', GAUGE, $2*1000**2 ], > ['total', GAUGE, $6*1000**2 ] ]; > > Note that this is a very basic graph which shows the total and current > partition usage. Feel free to modify it :-)**** > > On Tue, Dec 13, 2011 at 11:41 AM, James Osbourn > wrote:**** > > I have a weird situation where the Nagios Graph values are not the actual > values for a filesystem**** > > **** > > Eg I have a filesystem and if I run a df I get**** > > **** > > $ df -h .**** > > Filesystem Size Used Avail Use% Mounted on**** > > filer01:/vol/data1 443G 400G 44G 91% /mnt/filer01_data1**** > > **** > > If I run the Nagios check_disk command I get the correct values**** > > **** > > # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources**** > > DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| > /usr/groups/sources=409354MB;408084;430755;0;453427**** > > **** > > But when you look at the graph the figures are all wrong**** > > **** > > **** > > **** > > Has anyone else seen this? I was going to look at the usage to try and > forecast usage but it will now be very hard. I have just installed Nagios > Graph based on the default installation and using the default check_disk > plugin.**** > > **** > > Thanks**** > > **** > > James**** > > **** > > **** > > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null**** > > ** ** > > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Marcel.Galke at trans4mation.de Wed Dec 14 16:02:31 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation) Date: Wed, 14 Dec 2011 16:02:31 +0100 Subject: R: timing of passive check results In-Reply-To: <009c01ccba4d$9f7efed0$de7cfc70$@it.net> References: <005d01ccba40$1aa695e0$4ff3c1a0$@it.net> <4EE87681.8030702@op5.se> <009c01ccba4d$9f7efed0$de7cfc70$@it.net> Message-ID: Hey, have you tried to debug the problem? Try to re-schedule the check on the remote servers and look into the debug file, what does nagios after execution of the check? Is the ocsp command executed? Is anything logged on either of the servers? Do you have actually access to the remote servers? Marcel -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, December 14, 2011 11:46 AM To: 'Andreas Ericsson'; 'Nagios Users List' Subject: [Nagios-users] R: timing of passive check results > >I have 2 remote servers, both with same configuration. > >The remote server that does not send information (or could be the main that >does not process them?!!?) have about 50 services ... only 15 of them >(always the same, from same hosts) have this problem. > >I use obsess method to send info from remote to main server and set an >higher timeout (ocsp_timeout=20) > >Marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: mercoled? 14 dicembre 2011 11:12 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] timing of passive check results On 12/14/2011 10:09 AM, Marco Borsani wrote: > Hi all > > I have more than 400 passive service checks in the main Nagios server, > but > 15 of them are updated only 1 time a day (always at the same time, > 5:36 in the morning). > > In the remote servers the checks run every 5 minutes and in the main > server all the passive services have same configuration. > I'm guessing you have configured passive checks in more than one place on the remote servers and just overlooked the fact. Things like this doesn't happen by itself. -- 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. ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 16:19:09 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 14 Dec 2011 16:19:09 +0100 Subject: Nagios directory ownership Message-ID: <00f001ccba73$c0456340$40d029c0$@it.net> Hi all May you tell with which are you ownership in the Nagios directory and subdirectory ? Especially the : nagios/etc (and subdir) nagios/var (and subdir) 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 -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Wed Dec 14 16:23:10 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 14 Dec 2011 16:23:10 +0100 Subject: R: R: timing of passive check results In-Reply-To: References: <005d01ccba40$1aa695e0$4ff3c1a0$@it.net> <4EE87681.8030702@op5.se> <009c01ccba4d$9f7efed0$de7cfc70$@it.net> Message-ID: <00f501ccba74$500cf1a0$f026d4e0$@it.net> Yes , I am tring. If I run manually the command it will run. I still receive more than 30 passive checks, but not the others. All the checks run actively in the remote server every 5 minutes. Marco -----Messaggio originale----- Da: Marcel Galke - Trans4mation [mailto:Marcel.Galke at trans4mation.de] Inviato: mercoled? 14 dicembre 2011 16:03 A: Nagios Users List Oggetto: Re: [Nagios-users] R: timing of passive check results Hey, have you tried to debug the problem? Try to re-schedule the check on the remote servers and look into the debug file, what does nagios after execution of the check? Is the ocsp command executed? Is anything logged on either of the servers? Do you have actually access to the remote servers? Marcel -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, December 14, 2011 11:46 AM To: 'Andreas Ericsson'; 'Nagios Users List' Subject: [Nagios-users] R: timing of passive check results > >I have 2 remote servers, both with same configuration. > >The remote server that does not send information (or could be the main >that does not process them?!!?) have about 50 services ... only 15 of >them (always the same, from same hosts) have this problem. > >I use obsess method to send info from remote to main server and set an >higher timeout (ocsp_timeout=20) > >Marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: mercoled? 14 dicembre 2011 11:12 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] timing of passive check results On 12/14/2011 10:09 AM, Marco Borsani wrote: > Hi all > > I have more than 400 passive service checks in the main Nagios server, > but > 15 of them are updated only 1 time a day (always at the same time, > 5:36 in the morning). > > In the remote servers the checks run every 5 minutes and in the main > server all the passive services have same configuration. > I'm guessing you have configured passive checks in more than one place on the remote servers and just overlooked the fact. Things like this doesn't happen by itself. -- 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. ---------------------------------------------------------------------------- -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 14 17:10:37 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Wed, 14 Dec 2011 17:10:37 +0100 Subject: Nagios directory ownership In-Reply-To: <00f001ccba73$c0456340$40d029c0$@it.net> References: <00f001ccba73$c0456340$40d029c0$@it.net> Message-ID: I guess you ran into a problem when some folders were not created. You installed the current version 3.3.1 from source? I also had the problem that some folders (in var) weren't created. I'll show you my conf: Everything in etc is nagios:nagios Everything in var is nagios:nagios except the folder rw: pmoinfr01:/usr/local/nagios/var # ll total 4688 drwxr-xr-x 2 nagios nagios 4096 Dec 14 00:00 archives -rw-r--r-- 1 nagios nagios 5 Dec 9 14:32 nagios.lock -rw-rw-r-- 1 nagios nagios 186216 Dec 14 17:02 nagios.log -rw-r--r-- 1 nagios nagios 1105810 Dec 14 14:28 objects.cache -rw------- 1 nagios nagios 1721471 Dec 14 16:28 retention.dat drwxrwsr-x 2 nagios nagcmd 4096 Dec 14 14:28 rw drwxr-xr-x 3 nagios nagios 4096 Nov 14 15:21 spool -rw-rw-r-- 1 nagios nagios 1712042 Dec 14 17:08 status.dat Subfolders and files in archives and spool are also nagios:nagios. Files in rw are nagios:nagcmd. Where nagios=Nagios user, nagcmd=Nagios Command User. On Wed, Dec 14, 2011 at 4:19 PM, Marco Borsani wrote: > Hi all**** > > May you tell with which are you ownership in the Nagios directory and > subdirectory ?**** > > ** ** > > Especially the :**** > > nagios/etc ? (and subdir)**** > > nagios/var ? (and subdir)**** > > ** ** > > 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 ?**** > > ** ** > > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Wed Dec 14 17:16:10 2011 From: rjm399 at nyu.edu (Robert J Molerio) Date: Wed, 14 Dec 2011 11:16:10 -0500 Subject: Help with AD component for XI Message-ID: Anyone have a quick setup for this? -- 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 -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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 Wed Dec 14 18:00:25 2011 From: mguthrie at nagios.com (Mike Guthrie) Date: Wed, 14 Dec 2011 11:00:25 -0600 Subject: Help with AD component for XI In-Reply-To: References: Message-ID: <4EE8D629.5040505@nagios.com> Hey Robert, Can you post this to the XI forum? http://support.nagios.com/forum/viewforum.php?f=6 On 12/14/2011 10:16 AM, Robert J Molerio wrote: > Anyone have a quick setup for this? > > -- > 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 > > > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ -------------- 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_mustaquim at yahoo.com Wed Dec 14 18:12:12 2011 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Wed, 14 Dec 2011 09:12:12 -0800 (PST) Subject: (no subject) Message-ID: <1323882732.41399.yint-ygo-j2me@web120103.mail.ne1.yahoo.com> OMG! It?s the easiest way to stop your problems!... http://pyzark.com/p.google.php?uaolid=88u9 ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlin at livescribe.com Thu Dec 15 01:16:20 2011 From: jlin at livescribe.com (Julie S. Lin) Date: Wed, 14 Dec 2011 16:16:20 -0800 Subject: inconsistent plugin behavior ec2 In-Reply-To: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> References: <09051C7A8945F944AB7AC4E86BEB1ED5B6FF7F8441@LONPMAILBOX01.citrite.net> Message-ID: <653EAF0F-2FA0-4DAA-891C-352B2673BEEF@livescribe.com> Hi I have a check that works on my nagios client (ec2 node), it takes 90 seconds to run I have set my nagios server (physical machine) to check every 5 min, and to wait 2 min between checks however, this plugin behaves very inconsistently .... one check will return "OK" the very next check will return "CHECK_NRPE: No output returned from daemon. " can anyone provide a little guidance as to where I should look? Julie S. Lin System Administrator jlin at livescribe.com (510) 553 4912 (o) (510) 367 5772 (c) ------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aravind at linuz.in Thu Dec 15 06:21:28 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 15 Dec 2011 10:51:28 +0530 Subject: Nagios Cluster with Load Balancing and High Availability In-Reply-To: <4EE86FFE.7030005@op5.se> References: <20110826143508.Horde.JmINUVwlEB5OV2HEuyZG9VA@mail.linuz.in> <4E5B5809.3070808@op5.se> <20111214114926.Horde.lPTNKVwlEB5O6D-uBoqltzA@mail.linuz.in> <4EE86FFE.7030005@op5.se> Message-ID: <20111215105128.Horde.rsGGA1wlEB5O6YPYXvqEZsA@mail.linuz.in> Quoting Andreas Ericsson : >> On 12/14/2011 07:19 AM, Aravind M D wrote: > >> Quoting Andreas Ericsson : > >>>> On 08/26/2011 11:05 AM, Aravind M D wrote: > >>> >> Hi > >>> >> > >>> >> I need to configure two physical servers as active-active > cluster and > >>> >> configure Loadbalancing with High availabiltiy for Nagios. > >>> >> > >>> >> Can somebody help me how to achieve this. > >>> >> > >>> >> I have checked some of loadbalancing modules like mod_gearmen, > >>> merlin and > >>> >> DNX. If any one knows about the difference between these modules > >>> please let > >>> >> me know. > >>> >> > >>> > > >>> > If you want loadbalancing with takeover capabilities, Merlin > is your only > >>> > choice. The other two rely on a single Nagios instance to do > >>> scheduling and > >>> > notifications. If that instance crashes, mod_gearman and DNX > >>> can't help you > >>> > get any info at all. > >>> > > >>> > It might be possible to couple them so that mod_gearman and > Merlin work > >>> > together, but you'd be entering unknown territory with that mix > >>> and I would > >>> > be quite surprised if it worked completely without problems the > >>> first time > >>> > you try it. > >>> > > >>> > >> I like to use merlin for laodbalancing and high availability > Nagios setup. > >> I have checked the Merlin webpage i can see last release was on > 2010-06-18 > >> after that no new releases. But when i checked the git repository i can > >> see latest version is v1.1.12 whether i can use this version for > >> producation environment if so how can i get this version. > >> > > > > Our marketing people are ridiculously slow in updating stuff that doesn't > > shine, blink, make noises or do all of the above. I'll bash them over the > > head a bit. > > > > http://git.op5.org/git/ has instructions on how to use git to > clone a repo > > from our public git repositories. > > > > From http://git.op5.org/git/?p=nagios/merlin.git;a=summary you click any > > of the snapshot links to get a tarball containing the desired version of > > Merlin. Using latest tagged version is usually recommended. As of this > > writing, that's 1.1.13-beta1. > > > > -- > > Andreas Ericsson? ? ? ? ? ? ? ? ? ?andreas.ericsson at op5.se > > OP5 AB? ? ? ? ? ? ? ? ? ? ? ? ? ? ?www.op5.se[1] > > 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. Thanks Andreas Links: ------ [1] http://www.op5.se -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Thu Dec 15 18:38:53 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 15 Dec 2011 17:38:53 +0000 Subject: servicedependencies not working Message-ID: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> I've started playing with making a bunch of dependencies and at first it appeared to be working, right now I've got a pretty basic test setup. I've added one service to be dependent on the other one, but it seems that the freshness might be mucking with it. Two services below: define service { service_description base_log_checks servicegroups base_service_group hostgroup_name base_windows_2003 use generic-passive-service check_freshness 1 freshness_threshold 3600 check_command service_is_ } define service { service_description nagios_cron servicegroups base_service_group hostgroup_name base_windows_2003 use generic-passive-service check_freshness 1 freshness_threshold 3000 check_command service_is_stale } define servicedependency { service_description nagios_cron dependent_service_description base_log_checks execution_failure_criteria w,u,c notification_failure_criteria w,u,c inherits_parent 1 } What appears to happen is that I kill nsclient so nagios_cron starts reporting "stale" at 3000 seconds, and the same for base_log_checks shortly after. Then about every hour I get more "stale" soft alerts, and then after the third try it goes to a HARD alert and I still get a ticket, though I'm not sure why it's even checking if execution should be disable when nagios_cron is in a warning state. But not only does the active checks (service_is_stale) get executed but I'm also still getting notifications sent after 3 attempts, so it doesn't really appear to be doing anything. Unfortunately right now these servers are so busy it's hard to put them in debug mode. Have I missed something obvious with these? Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Dec 16 09:48:27 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 16 Dec 2011 08:48:27 -0000 (UTC) Subject: servicedependencies not working In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> References: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <578ffa08-1cb6-4853-8664-8bee3a3c70a1@ip-10-49-39-92> Dan Even for the same host dependencies you still need to define a host in the servicedependency definitions. At the moment your servicedependency (the one you pasted here) is not associated with any host and hence the logic is not implemented on any host testing logic. Assaf ----- Original Message ----- From: "Daniel Wittenberg" To: "nagios-users at lists.sourceforge.net" Sent: Thursday, 15 December, 2011 5:38:53 PM Subject: [Nagios-users] servicedependencies not working I?ve started playing with making a bunch of dependencies and at first it appeared to be working, right now I?ve got a pretty basic test setup. I?ve added one service to be dependent on the other one, but it seems that the freshness might be mucking with it. Two services below: define service { service_description base_log_checks servicegroups base_service_group hostgroup_name base_windows_2003 use generic-passive-service check_freshness 1 freshness_threshold 3600 check_command service_is_ } define service { service_description nagios_cron servicegroups base_service_group hostgroup_name base_windows_2003 use generic-passive-service check_freshness 1 freshness_threshold 3000 check_command service_is_stale } define servicedependency { service_description nagios_cron dependent_service_description base_log_checks execution_failure_criteria w,u,c notification_failure_criteria w,u,c inherits_parent 1 } What appears to happen is that I kill nsclient so nagios_cron starts reporting ?stale? at 3000 seconds, and the same for base_log_checks shortly after. Then about every hour I get more ?stale? soft alerts, and then after the third try it goes to a HARD alert and I still get a ticket, though I?m not sure why it?s even checking if execution should be disable when nagios_cron is in a warning state. But not only does the active checks (service_is_stale) get executed but I?m also still getting notifications sent after 3 attempts, so it doesn?t really appear to be doing anything. Unfortunately right now these servers are so busy it?s hard to put them in debug mode. Have I missed something obvious with these? Dan ------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Fri Dec 16 10:00:12 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 16 Dec 2011 18:00:12 +0900 Subject: Hardware RAID monitoring? Message-ID: <201112160900.AA04624@S2007337.jp.fujitsu.com> Hi all. I would ask for advice if anyone has ever implemented Hardware RAID monitoring on LINUX and Windows. I am figuring out how to do this but bit struggling with ideas. I assume that sofware RAID status will depend on the api of the vendor software but Hardware RAID will be bit tricky. It would be helpful if one can share their experience of how the RAID status can be fetched. Thanks, Yu ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eero.volotinen at iki.fi Fri Dec 16 10:37:43 2011 From: eero.volotinen at iki.fi (Eero Volotinen) Date: Fri, 16 Dec 2011 11:37:43 +0200 Subject: Hardware RAID monitoring? In-Reply-To: <201112160900.AA04624@S2007337.jp.fujitsu.com> References: <201112160900.AA04624@S2007337.jp.fujitsu.com> Message-ID: 2011/12/16 Yu Watanabe : > Hi all. > > I would ask for advice if anyone has ever implemented Hardware RAID monitoring > on LINUX and Windows. I am figuring out how to do this but bit struggling > with ideas. > > I assume that sofware RAID status will depend on the api of the vendor software > but Hardware RAID will be bit tricky. > > It would be helpful if one can share their experience of how the RAID status > can be fetched. It depends on hardware. on dell hardware, the easiest way is use omsa ja check_openmanage .. -- Eero ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ar at xlrs.de Fri Dec 16 10:49:18 2011 From: ar at xlrs.de (Axel) Date: Fri, 16 Dec 2011 10:49:18 +0100 Subject: Hardware RAID monitoring? In-Reply-To: <201112160900.AA04624@S2007337.jp.fujitsu.com> References: <201112160900.AA04624@S2007337.jp.fujitsu.com> Message-ID: <201112161049.18521.ar@xlrs.de> Hi, Am Freitag 16 Dezember 2011, 10:00:12 schrieb Yu Watanabe: > Hi all. > > I would ask for advice if anyone has ever implemented Hardware RAID > monitoring on LINUX and Windows. I am figuring out how to do this but bit > struggling with ideas. > > I assume that sofware RAID status will depend on the api of the vendor > software but Hardware RAID will be bit tricky. > > It would be helpful if one can share their experience of how the RAID > status can be fetched. most controllers have a kind of cli which you cann access. With a more or less simple script you can get your raid and disk status. With nrpe it's easy to get a state message and an exitcode. You can try it with snmp, though Regards, Axel -- Never argue with an idiot; people watching may not tell the difference ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at fohnet.co.uk Fri Dec 16 12:42:05 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Fri, 16 Dec 2011 11:42:05 +0000 Subject: Hardware RAID monitoring? In-Reply-To: <201112160900.AA04624@S2007337.jp.fujitsu.com> References: <201112160900.AA04624@S2007337.jp.fujitsu.com> Message-ID: <20111216114205.GA2723@fohnet.co.uk> On Fri, Dec 16, 2011 at 06:00:12PM +0900, Yu Watanabe wrote: > Hi all. > > I would ask for advice if anyone has ever implemented Hardware RAID monitoring > on LINUX and Windows. I am figuring out how to do this but bit struggling > with ideas. > > I assume that sofware RAID status will depend on the api of the vendor software > but Hardware RAID will be bit tricky. > > It would be helpful if one can share their experience of how the RAID status > can be fetched. > > Thanks, > Yu It totally depends on what information your RAID card provides to the operating system. Some cards provide little, if any information; others provide stacks of info. It's also probable that any check you use would be specific to the brand/model of card that you've got, as it would likely just be a wrapper around a binary for managing the card (as is the case with 'tw_cli' and the check_3ware plugin). -- 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 -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 phillip.kennedy at yankeeairmuseum.org Fri Dec 16 15:15:24 2011 From: phillip.kennedy at yankeeairmuseum.org (Phil K.) Date: Fri, 16 Dec 2011 09:15:24 -0500 Subject: Hardware RAID monitoring? In-Reply-To: References: <201112160900.AA04624@S2007337.jp.fujitsu.com> Message-ID: <3ffdd4a6-b824-4c2e-b5cd-3bfd27182c6a@email.android.com> And to tack on to Eero's point, HP servers are reasonably easy to monitor using the check_hpasm plugin. Hpasm runs under linux, though you may need to do some minor tweaking. Knowing what sort of hardware you're using would help. Check_snmp will likely cover a lot of what you want to monitor, depending on what the vendor offers. ~Phil -- Phil Kennedy Yankee Air Museum Systems Admin Phillip.kennedy at yankeeairmuseum.org Sent from my Android phone with K-9 Mail. Eero Volotinen wrote: 2011/12/16 Yu Watanabe : > Hi all. > > I would ask for advice if anyone has ever implemented Hardware RAID monitoring > on LINUX and Windows. I am figuring out how to do this but bit struggling > with ideas. > > I assume that sofware RAID status will depend on the api of the vendor software > but Hardware RAID will be bit tricky. > > It would be helpful if one can share their experience of how the RAID status > can be fetched. It depends on hardware. on dell hardware, the easiest way is use omsa ja check_openmanage .. -- Eero _____________________________________________ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _____________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 lacelle at roboticresearch.com Fri Dec 16 17:34:16 2011 From: lacelle at roboticresearch.com (Zach La Celle) Date: Fri, 16 Dec 2011 11:34:16 -0500 Subject: Custom perl plugin doesn't work In-Reply-To: <4EE79FB9.40000@roboticresearch.com> References: <4EE7816A.4000501@roboticresearch.com> <4EE79FB9.40000@roboticresearch.com> Message-ID: <4EEB7308.2020706@roboticresearch.com> The first step should be to explain why, on the monitoring machine, it does not detect "blah" as a command, even when it's only an argument to check_nrpe_1arg. I should be able to call this command on a remote machine through check_nrpe without defining it on the host machine, correct? The host simply looks at the output line... On 12/13/2011 01:55 PM, Zach La Celle wrote: > I'm not sure exactly what you mean. On the monitor machine, there's > only the blah.cfg file in '/etc/nagios-plugins/config/blah.cfg'. I > didn't even think that this was necessary, since it's really just > running check_nrpe_1arg (which is defined in > /etc/nagios-plugins/config/check_nrpe.cfg) and passing in the name of > the command to the remote host. > > On the remote host, it has the "blah" command defined in > /etc/nagios/nrpe.cfg, as such: > command[blah]=/usr/lib/nagios/plugins/blah.pl > > So, it should call check_nrpe on the monitoring host, which uses the > nrpe-server to attempt to run the command through the remote host. > Since the command is listed in nrpe.cfg on the remote host, it should > see it there, run the actual perl script listed there, and return the > output. > > On 12/13/2011 12:53 PM, mail at catsnest.co.uk wrote: >> >> >> >> On Tue, Dec 13, 2011 at 4:46 PM, Zach La Celle >> > wrote: >> >> The error, when I attempt to run it from the monitoring machine, is: >> NRPE: Command 'blah' not defined >> >> The command IS defined in /etc/nagios/nrpe.cfg on the target machine. >> The command is ALSO defined in /etc/nagios-plugins/config/blah.cfg on >> the target machine. >> >> >> Is '/etc/nagios-plugins/config/blah.cfg' linked in your Nrpe commands >> config? >> >> Can you run the command via check_nrpe on the local (target) machine? >> >> Only time I saw a command not getting picked up by nrpe was when I had >> started nrpe twice! >> and as such was only restarting the second one which had not bound to >> the interface of course. >> >> Ritchie >> -- >> <-- http://23.me.uk/2 --> >> <--Time flies like an arrow; fruit flies like a banana. --> >> >> I restarted nagios-nrpe-server after adding the command. >> >> I'm calling it from my monitoring server with >> /usr/lib/nagios/plugins/check_nrpe -H -c blah >> >> When I run the perl script myself, it works fine. >> >> Any ideas? All of my other checks for this host work. >> >> ------------------------------------------------------------------------------ >> Systems Optimization Self Assessment >> Improve efficiency and utilization of IT resources. Drive out cost and >> improve service delivery. Take 5 minutes to use this Systems >> Optimization >> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> ------------------------------------------------------------------------------ >> Systems Optimization Self Assessment >> Improve efficiency and utilization of IT resources. Drive out cost and >> improve service delivery. Take 5 minutes to use this Systems Optimization >> Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaiwang.chen at gmail.com Sat Dec 17 10:14:11 2011 From: kaiwang.chen at gmail.com (Kaiwang Chen) Date: Sat, 17 Dec 2011 17:14:11 +0800 Subject: Hardware RAID monitoring? In-Reply-To: <201112161049.18521.ar@xlrs.de> References: <201112160900.AA04624@S2007337.jp.fujitsu.com> <201112161049.18521.ar@xlrs.de> Message-ID: 2011/12/16 Axel : > Hi, > > Am Freitag 16 Dezember 2011, 10:00:12 schrieb Yu Watanabe: >> Hi all. >> >> I would ask for advice if anyone has ever implemented Hardware RAID >> monitoring on LINUX and Windows. I am figuring out how to do this but bit >> struggling with ideas. >> >> I assume that sofware RAID status will depend on the api of the vendor >> software but Hardware RAID will be bit tricky. >> >> It would be helpful if one can share their experience of how the RAID >> status can be fetched. > > most controllers have a kind of cli which you cann access. With a more or less > simple script you can get your raid and disk status. With nrpe it's easy to > get a state message and an exit code. It's in band isn't it? I experienced performance problems when checking against Dell PERC cards(megaraid firmware) with MegaCLI -LdPdInfo and MegaCLI -PDList, the io_wait queue was thrashed as reported by iostat resulting many slow queries on the MySQL host. Looks like hardware problems(including disk failure) are detected by IPMI hardware, namely BMC. I considered monitoring hardware events out band, and implemented as nagios passive checks on IPMI nodes. I also wrote a simple tutorial at http://svn.savannah.gnu.org/viewvc/trunk/contrib/pet/README?root=freeipmi&view=markup, and the passive check is discussed in section 2.2 NAGIOS INTEGRATION; there is also example configuration at http://svn.savannah.gnu.org/viewvc/trunk/contrib/pet/ipminodes.cfg?root=freeipmi&view=markup. It requires FreeIPMI-1.1.1 on the receiver host though, which will be released shortly in one or two weeks. How do you think about it? Thanks, Kaiwang > > You can try it with snmp, though > > Regards, Axel > > -- > Never argue with an idiot; people watching may not tell the difference > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Dec 19 01:47:07 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 19 Dec 2011 09:47:07 +0900 Subject: Hardware RAID monitoring? In-Reply-To: References: Message-ID: <201112190047.AA04626@S2007337.jp.fujitsu.com> Hello Eero. Thank you very much. I understood that the way you monitor will strongly depends on the hardware. I will see what type of hardware is our customer is using. Thanks, Yu Eero Volotinen ????????: >2011/12/16 Yu Watanabe : >> Hi all. >> >> I would ask for advice if anyone has ever implemented Hardware RAID monitoring >> on LINUX and Windows. I am figuring out how to do this but bit struggling >> with ideas. >> >> I assume that sofware RAID status will depend on the api of the vendor software >> but Hardware RAID will be bit tricky. >> >> It would be helpful if one can share their experience of how the RAID status >> can be fetched. > >It depends on hardware. on dell hardware, the easiest way is use omsa >ja check_openmanage .. > >-- >Eero > >------------------------------------------------------------------------------ >Learn Windows Azure Live! Tuesday, Dec 13, 2011 >Microsoft is holding a special Learn Windows Azure training event for >developers. It will provide a great way to learn Windows Azure and what it >provides. You can attend the event by watching it streamed LIVE online. >Learn more at http://p.sf.net/sfu/ms-windowsazure >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Dec 19 01:51:39 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 19 Dec 2011 09:51:39 +0900 Subject: Hardware RAID monitoring? In-Reply-To: <201112161049.18521.ar@xlrs.de> References: <201112161049.18521.ar@xlrs.de> Message-ID: <201112190051.AA04627@S2007337.jp.fujitsu.com> Hello Axel. Thank you for the reply. >most controllers have a kind of cli which you cann access. With a more or less >simple script you can get your raid and disk status. With nrpe it's easy to >get a state message and an exitcode. > >You can try it with snmp, though I saw check_megaraid_sas in the Nagios Exchange which is for the Mega RAID controller (LSI). It will be nice to hear that other vedors has such cli api's which is visible from the OS. SNMP would be nicer too. Thanks Yu Axel ????????: >Hi, > >Am Freitag 16 Dezember 2011, 10:00:12 schrieb Yu Watanabe: >> Hi all. >> >> I would ask for advice if anyone has ever implemented Hardware RAID >> monitoring on LINUX and Windows. I am figuring out how to do this but bit >> struggling with ideas. >> >> I assume that sofware RAID status will depend on the api of the vendor >> software but Hardware RAID will be bit tricky. >> >> It would be helpful if one can share their experience of how the RAID >> status can be fetched. > >most controllers have a kind of cli which you cann access. With a more or less >simple script you can get your raid and disk status. With nrpe it's easy to >get a state message and an exitcode. > >You can try it with snmp, though > >Regards, Axel > >-- >Never argue with an idiot; people watching may not tell the difference > >------------------------------------------------------------------------------ >Learn Windows Azure Live! Tuesday, Dec 13, 2011 >Microsoft is holding a special Learn Windows Azure training event for >developers. It will provide a great way to learn Windows Azure and what it >provides. You can attend the event by watching it streamed LIVE online. >Learn more at http://p.sf.net/sfu/ms-windowsazure >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Mon Dec 19 02:01:03 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Mon, 19 Dec 2011 10:01:03 +0900 Subject: Hardware RAID monitoring? In-Reply-To: <3ffdd4a6-b824-4c2e-b5cd-3bfd27182c6a@email.android.com> References: <3ffdd4a6-b824-4c2e-b5cd-3bfd27182c6a@email.android.com> Message-ID: <201112190101.AA04628@S2007337.jp.fujitsu.com> Hello Phil. Thank you for the reply. Yes. check_snmp nice if the snmp is supported. With this, you do not need to create additional scripts. Thanks, Yu Phil K. ????????: >And to tack on to Eero's point, HP servers are reasonably easy to monitor using the check_hpasm plugin. Hpasm runs under linux, though you may need to do some minor tweaking. > >Knowing what sort of hardware you're using would help. Check_snmp will likely cover a lot of what you want to monitor, depending on what the vendor offers. >~Phil >-- >Phil Kennedy >Yankee Air Museum >Systems Admin >Phillip.kennedy at yankeeairmuseum.org > >Sent from my Android phone with K-9 Mail. > >Eero Volotinen wrote: > >2011/12/16 Yu Watanabe : >> Hi all. >> >> I would ask for advice if anyone has ever implemented Hardware RAID monitoring >> on LINUX and Windows. I am figuring out how to do this but bit struggling >> with ideas. >> >> I assume that sofware RAID status will depend on the api of the vendor software >> but Hardware RAID will be bit tricky. >> >> It would be helpful if one can share their experience of how the RAID status >> can be fetched. > >It depends on hardware. on dell hardware, the easiest way is use omsa >ja check_openmanage .. > >-- >Eero > >_____________________________________________ > >Learn Windows Azure Live! Tuesday, Dec 13, 2011 >Microsoft is holding a special Learn Windows Azure training event for >developers. It will provide a great way to learn Windows Azure and what it >provides. You can attend the event by watching it streamed LIVE online. >Learn more at http://p.sf.net/sfu/ms-windowsazure >_____________________________________________ > >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > >______________________________________________________________________ > >------------------------------------------------------------------------------ >Learn Windows Azure Live! Tuesday, Dec 13, 2011 >Microsoft is holding a special Learn Windows Azure training event for >developers. It will provide a great way to learn Windows Azure and what it >provides. You can attend the event by watching it streamed LIVE online. >Learn more at http://p.sf.net/sfu/ms-windowsazure >______________________________________________________________________ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marcel.Galke at trans4mation.de Mon Dec 19 10:27:56 2011 From: Marcel.Galke at trans4mation.de (Marcel Galke - Trans4mation) Date: Mon, 19 Dec 2011 10:27:56 +0100 Subject: Hardware RAID monitoring? In-Reply-To: <201112190101.AA04628@S2007337.jp.fujitsu.com> References: <3ffdd4a6-b824-4c2e-b5cd-3bfd27182c6a@email.android.com> <201112190101.AA04628@S2007337.jp.fujitsu.com> Message-ID: Hey, have you ever heard of IPMI? It was developed by Intel, Dell, HP and NEC for hardware monitoring. Here is a good Introduction from the Open Source Monitoring Conference last month: http://www.netways.de/index.php?id=3035&L=1 I haven?t used it yet, but I will give it a try. Marcel > -----Original Message----- > From: Yu Watanabe [mailto:yu.watanabe at jp.fujitsu.com] > Sent: Monday, December 19, 2011 2:01 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Hardware RAID monitoring? > > Hello Phil. > > Thank you for the reply. > > Yes. check_snmp nice if the snmp is supported. > With this, you do not need to create additional scripts. > > Thanks, > Yu > > Phil K. ????????: > >And to tack on to Eero's point, HP servers are reasonably easy to monitor > using the check_hpasm plugin. Hpasm runs under linux, though you may > need to do some minor tweaking. > > > >Knowing what sort of hardware you're using would help. Check_snmp will > likely cover a lot of what you want to monitor, depending on what the > vendor offers. > >~Phil > >-- > >Phil Kennedy > >Yankee Air Museum > >Systems Admin > >Phillip.kennedy at yankeeairmuseum.org > > > >Sent from my Android phone with K-9 Mail. > > > >Eero Volotinen wrote: > > > >2011/12/16 Yu Watanabe : > >> Hi all. > >> > >> I would ask for advice if anyone has ever implemented Hardware RAID > monitoring > >> on LINUX and Windows. I am figuring out how to do this but bit struggling > >> with ideas. > >> > >> I assume that sofware RAID status will depend on the api of the vendor > software > >> but Hardware RAID will be bit tricky. > >> > >> It would be helpful if one can share their experience of how the RAID > status > >> can be fetched. > > > >It depends on hardware. on dell hardware, the easiest way is use omsa > >ja check_openmanage .. > > > >-- > >Eero > > > >_____________________________________________ > > > >Learn Windows Azure Live! Tuesday, Dec 13, 2011 > >Microsoft is holding a special Learn Windows Azure training event for > >developers. It will provide a great way to learn Windows Azure and what it > >provides. You can attend the event by watching it streamed LIVE online. > >Learn more at http://p.sf.net/sfu/ms-windowsazure > >_____________________________________________ > > > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > >_________________________________________________________ > _____________ > > > >------------------------------------------------------------------------------ > >Learn Windows Azure Live! Tuesday, Dec 13, 2011 > >Microsoft is holding a special Learn Windows Azure training event for > >developers. It will provide a great way to learn Windows Azure and what it > >provides. You can attend the event by watching it streamed LIVE online. > >Learn more at http://p.sf.net/sfu/ms-windowsazure > >_________________________________________________________ > _____________ > > > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maiconlp at ig.com.br Mon Dec 19 18:23:50 2011 From: maiconlp at ig.com.br (=?ISO-8859-1?Q?Usu=E1rio_do_Sistema?=) Date: Mon, 19 Dec 2011 15:23:50 -0200 Subject: MIB File Switch C-Class Message-ID: Hello everyone, I'm searching the MIB file for switch HP C-Class. this switch is built-in inside of the HP Blade. so I wish monitor the CPU load for it but I haven't found the OID for accomplish this. if anyone has any information about MIB file HP switches or only OID for monitor CPU load please post here. thanks ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Mon Dec 19 20:14:13 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Mon, 19 Dec 2011 20:14:13 +0100 Subject: MIB File Switch C-Class In-Reply-To: References: Message-ID: Maybe you'll find the wanted MIB here: http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp Are you sure the switches are from HP as well? In a C-Class Bladecenter (C7000) I used to work with, there were 2 Cisco switches integrated. 2011/12/19 Usu?rio do Sistema > Hello everyone, > > I'm searching the MIB file for switch HP C-Class. this switch is > built-in inside of the HP Blade. so I wish monitor the CPU load for it > but I haven't found the OID for accomplish this. > > if anyone has any information about MIB file HP switches or only OID > for monitor CPU load please post here. > > thanks > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure -------------- 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 maiconlp at ig.com.br Mon Dec 19 20:33:51 2011 From: maiconlp at ig.com.br (=?ISO-8859-1?Q?Usu=E1rio_do_Sistema?=) Date: Mon, 19 Dec 2011 17:33:51 -0200 Subject: MIB File Switch C-Class In-Reply-To: References: Message-ID: Thank you. I'm sure that switches are HP C-Class. this moment then more import for me is OID CPU load that switches. I will be try with your page suggested. thanks Em 19 de dezembro de 2011 17:14, Claudio Kuenzler escreveu: > Maybe you'll find the wanted MIB here: > http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp > > Are you sure the switches are from HP as well? > In a C-Class Bladecenter (C7000) I used to work with, there were 2 Cisco > switches integrated. > > > 2011/12/19 Usu?rio do Sistema >> >> Hello everyone, >> >> I'm searching the MIB file for switch HP C-Class. this switch is >> built-in inside of the HP Blade. so I wish monitor the CPU load for it >> but I haven't found the OID for accomplish this. >> >> if anyone has any information about MIB file HP switches or only OID >> for monitor CPU load please post here. >> >> thanks >> >> >> ------------------------------------------------------------------------------ >> Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 >> Microsoft is holding a special Learn Windows Azure training event for >> developers. It will provide a great way to learn Windows Azure and what it >> provides. You can attend the event by watching it streamed LIVE online. >> Learn more at http://p.sf.net/sfu/ms-windowsazure >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_mustaquim at yahoo.com Mon Dec 19 22:04:13 2011 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Mon, 19 Dec 2011 13:04:13 -0800 (PST) Subject: (no subject) Message-ID: <1324328653.66939.yint-ygo-j2me@web120104.mail.ne1.yahoo.com> Come on! You should visit this site immediately!.. http://hartig-henstorf.de/p.google.php?adaaolid=74v0 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 19 22:45:20 2011 From: nielsjende at googlemail.com (Niels Jende) Date: Mon, 19 Dec 2011 22:45:20 +0100 Subject: No SpamFilter Message-ID: In my opinion its quite weird that this list,repectively its mailserver,hasn't got a spamfilter as like as all the debian ML's I read and I am subscribed to!Getting Spam through a list is in my opinion quite ......! Just my 2ct Niels -- Gesendet von meinem Mobilger?t ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at claudiokuenzler.com Tue Dec 20 09:06:04 2011 From: ck at claudiokuenzler.com (Claudio Kuenzler) Date: Tue, 20 Dec 2011 09:06:04 +0100 Subject: MIB File Switch C-Class In-Reply-To: References: Message-ID: Found another page: http://www.bladenetwork.net/HP-BladeSystem-2.html Here you can download the collected MIB's of all C-Class switches. 2011/12/19 Usu?rio do Sistema > Thank you. I'm sure that switches are HP C-Class. > > this moment then more import for me is OID CPU load that switches. > > I will be try with your page suggested. > > thanks > > > > Em 19 de dezembro de 2011 17:14, Claudio Kuenzler > escreveu: > > Maybe you'll find the wanted MIB here: > > http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp > > > > Are you sure the switches are from HP as well? > > In a C-Class Bladecenter (C7000) I used to work with, there were 2 Cisco > > switches integrated. > > > > > > 2011/12/19 Usu?rio do Sistema > >> > >> Hello everyone, > >> > >> I'm searching the MIB file for switch HP C-Class. this switch is > >> built-in inside of the HP Blade. so I wish monitor the CPU load for it > >> but I haven't found the OID for accomplish this. > >> > >> if anyone has any information about MIB file HP switches or only OID > >> for monitor CPU load please post here. > >> > >> thanks > >> > >> > >> > ------------------------------------------------------------------------------ > >> Learn Windows Azure Live! Tuesday, Dec 13, 2011 > >> Microsoft is holding a special Learn Windows Azure training event for > >> developers. It will provide a great way to learn Windows Azure and what > it > >> provides. You can attend the event by watching it streamed LIVE online. > >> Learn more at http://p.sf.net/sfu/ms-windowsazure > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > ------------------------------------------------------------------------------ > > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > > Microsoft is holding a special Learn Windows Azure training event for > > developers. It will provide a great way to learn Windows Azure and what > it > > provides. You can attend the event by watching it streamed LIVE online. > > Learn more at http://p.sf.net/sfu/ms-windowsazure > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 troels at arvin.dk Tue Dec 20 14:58:47 2011 From: troels at arvin.dk (Troels Arvin) Date: Tue, 20 Dec 2011 13:58:47 +0000 (UTC) Subject: Feeding status information to SCOM? Message-ID: Hello, As much as I think it's a silly idea: A company has a policy stating that all production systems need to be monitored by a Microsoft SCOM system. Now, there are servers and hosts that can only be monitored by Nagios (e.g. HPC clusters where the compute nodes are hidden on isolated networks behind front-ends). These _still_ need to be part of the central SCOM monitoring. So I'm looking for the least ugly/burdensome way to export Nagios' knowledge about a set of systems to SCOM (Nagios and SCOM can see each other). Googling leads to a project called SCOM2Nagios, but that seems to go ship information in the wrong direction, given the above. Then I thought that status of hosts and services might easily be pulled from Nagios into SCOM REST-style via HTTP, but it seems to entail HTML parsing which sounds risky. NDOUtils looks like the best option, currently, because SCOM can probably be told to perform queries in an MySQL database. - But having to store data in a database in order for SCOM to pull them out subsequently seems like a potential for large I/O overhead. I would much rather find a way to query Nagios on the fly, but I guess this would mean coding up something? Perhaps: - Extending the Nagios CGI with REST-style URLs which reflects host/ service states with HTTP codes, supplemented by text status and performance counters in the response body? - Create a Nagios Event Broker (NEB) like MK Livestatus which spits out XML over HTTP which SCOM (or other systems) could parse? - Create an SNMP AgentX agent which reads directly from Nagios through a Nagios Event Broker. SCOM would then query via SNMP (which I assume it's good at). Actually, I would prefer that latter approach, but it might also be the hardest thing to code. Thoughts/comments? -- Regards, Troels Arvin http://troels.arvin.dk/ ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 15:54:14 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 20 Dec 2011 14:54:14 +0000 Subject: Feeding status information to SCOM? In-Reply-To: References: Message-ID: On 20 December 2011 13:58, Troels Arvin wrote: > Thoughts/comments? In the other direction, we have an IBM Director system which simply forwards alerts to Nagios as SNMP Traps. It seems to work pretty well on the whole. I would think you could configure your Nagios system to send traps for any state changes or events to the SCOM system quite easily. A bit of googling around will find you the bits and pieces you need to do that, including the MIB. For example, I found a FAQ for it here:- http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=28&expand=false&showdesc=true That's my 2p worth anyway ... Cheers, Jim ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 20 17:55:21 2011 From: andrew at fulgent.co.uk (Andrew Thompson) Date: Tue, 20 Dec 2011 16:55:21 +0000 Subject: Notifications not sending when sent at the same time (to the second) Message-ID: Hi All, Can anybody help me with notifications? Basically situation is this Host goes down.......... The first notification is a text and email. The text goes to 2 admins. Use Gnokii and a Nokia 6301 to send the texts But now the problem......... I don't get alot of the text messages and from my own digging its because sometimes they are being sent at the exact same second and gnokii must refuse both of them rather than queue them. Example of a scenario taken just 25 minutes ago (notification times) HOST......................EML ADMIN 1........EML ADMIN 2.......TXT ADMIN 1.......TEXT ADMIN 2 SWITCH1....................16:24:37.................16:24:37..................16:24:37................16:24:46 With the above both admins received the text message Then another test on the same host 10 minutes ago threw this out HOST......................EML ADMIN 1........EML ADMIN 2.......TXT ADMIN 1.......TEXT ADMIN 2 SWITCH1....................16:41:09.................16:41:09..................16:41:09................16:41:09 With the above neither admin received a text message at all Anybody give me any help? Why sometime does nagios tell gnokii to send 2 messages apart and then other times it tells gnokii to send 2 texts at the exact same moment? Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 Mike.Clark at masergy.com Tue Dec 20 18:03:05 2011 From: Mike.Clark at masergy.com (Mike Clark) Date: Tue, 20 Dec 2011 11:03:05 -0600 Subject: Feeding status information to SCOM? In-Reply-To: References: Message-ID: <8A4C8E742859C047B46E586637A10CC80FD9E3A037@MAILBOXSERVER.add0.masergy.com> Troels, I'm doing what Jim suggested by sending Nagios traps to an IBM Tivoli Netcool system and it's working fine. I only had to issues that have bitten me enough to make me look at an approach similar to what you are suggesting in your ideas. The first problem is the Check_NRPE tests will send me a timeout when they can't talk to the host but will not send me an all clear when they actually get in and get a response back from the host. Not a huge issue, I just don't alarm in Netcool on Check_NRPE events anymore. I instead using ping or check_ssh for my "Can't get to host or services on host" test. The next issue was for a test that alarms at one level (number of files in a directory = 20,000) but we actually only want to do something at another level (60,000+ in this example). The trap comes in once only for the crossing of the threshold and a second, clearing trap if we pass back below the threshold. This is actually perfectly normal behavior it's just not quite what I want. If I want to know that what the current number of files are in the alarm, I have to look at Nagios and not just Netcool. If neither of those sound like an issue to you, I recommend it. If not, it sounds like you have a good plan for moving forward. I need to look at the NDOUtils and see if it has what I need because I'm probably going to write a gateway that reads the database every minute and pumps the latest "down" status into Netcool. _______________________________________ Mike Clark Sr. Manager, NMS Engineering Email Mike.Clark at masergy.com Office? +1 214 442 8807 Global Networking Redefined www.masergy.com AOL: mwclark4453 MSN: mclark at adapt2.com Y!: mwclark_dallas ICQ: 20250715 "nanos gigantum humeris insidentes" Bernard of Chartres "nankurunaisa" George Miyagusuku ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pollycorp at gmail.com Tue Dec 20 18:50:53 2011 From: pollycorp at gmail.com (PRAKASH) Date: Tue, 20 Dec 2011 23:20:53 +0530 Subject: (no subject) Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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.nachlin at gawker.com Tue Dec 20 19:32:29 2011 From: jim.nachlin at gawker.com (Jim Nachlin) Date: Tue, 20 Dec 2011 13:32:29 -0500 Subject: Daemon runs, web UI says "Error: Could not read object configuration data!", where to start? Message-ID: Hi All, I have a new Nagios 3.2.3 installation from RPM, under RHEL 6.2. The daemon runs fine and alerts and sends email. The web interface is telling me the standard "Error: Could not read object configuration data!". A check of the config file comes back with a few warnings and no errors. The warnings are all about hosts with no services defined. Apache/2.2.15, perl 5.10.1, PHP 5.3.3. The nagios user owns all config files. I have tried letting apache and nagios own what's under /usr/share/nagios/html/ but that did not help the issue. These same config files also work on another Nagios machine I have running in the same network. I don't see any errors in nagios.log, either. Can anyone suggest where I can start to track down this problem? Thanks! -Jim ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.nachlin at gawker.com Tue Dec 20 21:22:31 2011 From: jim.nachlin at gawker.com (Jim Nachlin) Date: Tue, 20 Dec 2011 15:22:31 -0500 Subject: Daemon runs, web UI says "Error: Could not read object configuration data!", where to start? In-Reply-To: References: Message-ID: Replying to myself, the solution was to add "apache" to the "nagios" group in /etc/group. Obviously this implies other possible solutions. The RPM did not do this, though. https://bugzilla.redhat.com/show_bug.cgi?id=672074 -Jim On Tue, Dec 20, 2011 at 1:32 PM, Jim Nachlin wrote: > Hi All, > > I have a new Nagios 3.2.3 installation from RPM, under RHEL 6.2. ?The > daemon runs fine and alerts and sends email. ?The web interface is > telling me the standard ?"Error: Could not read object configuration > data!". ?A check of the config file comes back with a few warnings and > no errors. ?The warnings are all about hosts with no services defined. > > Apache/2.2.15, perl 5.10.1, PHP 5.3.3. > > The nagios user owns all config files. ?I have tried letting apache > and nagios own what's under /usr/share/nagios/html/ but that did not > help the issue. > > These same config files also work on another Nagios machine I have > running in the same network. > > I don't see any errors in nagios.log, either. > > Can anyone suggest where I can start to track down this problem? > > Thanks! > > -Jim ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From troels at arvin.dk Tue Dec 20 21:21:52 2011 From: troels at arvin.dk (Troels Arvin) Date: Tue, 20 Dec 2011 20:21:52 +0000 (UTC) Subject: Feeding status information to SCOM? References: <8A4C8E742859C047B46E586637A10CC80FD9E3A037@MAILBOXSERVER.add0.masergy.com> Message-ID: Thanks to Jim and Mike. The idea of Nagios sending traps actually is much in line with the SCOM way of doing things, as far as I have understood. Personally, I find the trap-based approach rather fragile, though: - The receiver (SCOM) may be down when a trap is sent. Actually not that far off during a service window where the Nagios server could very well be up before the SCOM server. - There may be situations with mismatches between alarm-mails and recovery mails, like Mike described. This can lead to alarms which keep living long after the problem-situation went away. I much prefer polling-based monitoring, because transient misdelivery of messages (such as traps) doesn't undermine the trustworthiness of the monitoring setup. - But the trap-based approach certainly seems like an easy way to get something going. -- Regards, Troels Arvin http://troels.arvin.dk/ ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Tue Dec 20 21:37:40 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 20 Dec 2011 15:37:40 -0500 Subject: Feeding status information to SCOM? In-Reply-To: References: <8A4C8E742859C047B46E586637A10CC80FD9E3A037@MAILBOXSERVER.add0.masergy.com> Message-ID: There is a commercial Nagios to SCOM connector, we use it at my place of work - avoid it and work on a custom solution (which is the path you are on) - the commercial connector is awful * Only allows for one Nagios system to send to SCOM using SNMP traps * Does not translate statuses properly * Does not allow for event chaining - Max ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhanby at uab.edu Wed Dec 21 21:50:18 2011 From: mhanby at uab.edu (Mike Hanby) Date: Wed, 21 Dec 2011 20:50:18 +0000 Subject: check_dell_bladechassis 1.0.0 PHP bug fix Message-ID: Howdy, I fixed an issue we had with check_dell_bladechassis.php on our OMD 5.x servers (PNP4Nagios Version 0.6.16) http://folk.uio.no/trondham/software/check_dell_bladechassis.html The problem had to do with attempting to concat a variable (array element) that didn't yet exist, resulting in the following error when viewing the graphs in PNP4Nagios: ================================================== PNP4Nagios Version 0.6.16 Please check the documentation for information about the following error. Undefined offset: 1 file [line]: /opt/omd/sites/mysite/etc/pnp4nagios/templates/check_dell_bladechassis.php [44]: ================================================== The following patch fixes the issue on our systems. --- a/check_dell_bladechassis.php 2009-08-04 07:00:15.000000000 -0500 +++ b/check_dell_bladechassis.php 2011-12-21 14:44:25.488132187 -0600 @@ -41,7 +41,7 @@ $opt[$count] = "--slope-mode --vertical-label \"$vlabel\" --title \"$def_title: $title\" "; - $def[$count] .= "DEF:var$i=$rrdfile:$DS[$i]:AVERAGE " ; + $def[$count] = "DEF:var$i=$rrdfile:$DS[$i]:AVERAGE " ; $def[$count] .= "AREA:var$i#$PWRcolor:\"$NAME[$i]\" " ; $def[$count] .= "LINE:var$i#000000: " ; @@ -62,7 +62,7 @@ $opt[$count] = "-X0 --lower-limit 0 --slope-mode --vertical-label \"$vlabel\" --title \"$def_title: $title\" "; - $def[$count] .= "DEF:var$i=$rrdfile:$DS[$i]:AVERAGE " ; + $def[$count] = "DEF:var$i=$rrdfile:$DS[$i]:AVERAGE " ; $def[$count] .= "AREA:var$i#$AMPcolor:\"$NAME[$i]\" " ; $def[$count] .= "LINE:var$i#000000: " ; @@ -75,6 +75,7 @@ if(preg_match('/^volt_/',$NAME[$i])){ if ($visited_volt == 0) { ++$count; + $def[$count] = ''; $visited_volt = 1; } @@ -87,6 +88,7 @@ $def[$count] .= "DEF:var$i=$rrdfile:$DS[$i]:AVERAGE " ; $def[$count] .= "LINE:var$i#".$colors[$v++].":\"$NAME[$i]\" " ; + $def[$count] .= "GPRINT:var$i:LAST:\"%3.2lf $UNIT[$i] last \" "; $def[$count] .= "GPRINT:var$i:MAX:\"%3.2lf $UNIT[$i] max \" "; $def[$count] .= "GPRINT:var$i:AVERAGE:\"%3.2lf $UNIT[$i] avg \\n\" "; @@ -96,6 +98,7 @@ if(preg_match('/^amp_/',$NAME[$i])){ if ($visited_amp == 0) { ++$count; + $def[$count] = ''; $visited_amp = 1; } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 maiconlp at ig.com.br Thu Dec 22 02:24:59 2011 From: maiconlp at ig.com.br (=?ISO-8859-1?Q?Usu=E1rio_do_Sistema?=) Date: Wed, 21 Dec 2011 23:24:59 -0200 Subject: PABX Siemens Message-ID: Hello, anyone have ever monitor PABX Siemens model Hipath 3000 or Hipath 4000 I need some tips with mibs that. I've found the link bellow but I think there are more mibs file about. http://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Siemens/Siemens-HiPath-3000-Series-check/details any tips is welcome. thanks ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 22 12:02:03 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 22 Dec 2011 12:02:03 +0100 Subject: client monitoring without polling Message-ID: <006c01ccc099$28dd1ad0$7a975070$@it.net> Hi all Normally, you have to install nrpe in the clients and then Nagios server query them at regular interval Is there the possibility to communicate with the client only when there are errors ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Dec 22 12:32:14 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 22 Dec 2011 11:32:14 -0000 (UTC) Subject: client monitoring without polling In-Reply-To: <006c01ccc099$28dd1ad0$7a975070$@it.net> References: <006c01ccc099$28dd1ad0$7a975070$@it.net> Message-ID: <2a5e86aa-b3a3-4aac-858a-bc5dedc6e7e4@localhost> You can use snmp traps or passive checks for that . ----- Original Message ----- From: "Marco Borsani" To: "NAGIOS" Sent: Thursday, 22 December, 2011 11:02:03 AM Subject: [Nagios-users] client monitoring without polling Hi all Normally, you have to install nrpe in the clients and then Nagios server query them at regular interval Is there the possibility to communicate with the client only when there are errors ? Regards Marco ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 ygor at comcast.net Thu Dec 22 20:39:59 2011 From: ygor at comcast.net (Dan White) Date: Thu, 22 Dec 2011 19:39:59 +0000 (UTC) Subject: Basic Question: Apache needed on client ? Message-ID: <2123385389.1569920.1324582799085.JavaMail.root@sz0126a.westchester.pa.mail.comcast.net> What functionality would be lost if I did not install apache on a nagios client machine ? ?Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.? Bill Waterson (Calvin & Hobbes) ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Dec 22 21:16:02 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 22 Dec 2011 20:16:02 +0000 Subject: Basic Question: Apache needed on client ? In-Reply-To: <2123385389.1569920.1324582799085.JavaMail.root@sz0126a.westchester.pa.mail.comcast.net> References: <2123385389.1569920.1324582799085.JavaMail.root@sz0126a.westchester.pa.mail.comcast.net> Message-ID: <4EF39002.10304@flatto.net> The Web interface to view the "live" status of the monitored networks. from a functionality wise - nagios will continue to work even with out the apache server , though i would not advise doing it like that unless you are very confident in your nagios skills and are sure every definition you'll add will work as desired at the first go. Assaf On 22/12/11 19:39, Dan White wrote: > What functionality would be lost if I did not install apache on a nagios client machine ? > > ?Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.? > Bill Waterson (Calvin& Hobbes) > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 22 20:46:49 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Thu, 22 Dec 2011 19:46:49 +0000 Subject: Basic Question: Apache needed on client ? In-Reply-To: <2123385389.1569920.1324582799085.JavaMail.root@sz0126a.westchester.pa.mail.comcast.net> References: <2123385389.1569920.1324582799085.JavaMail.root@sz0126a.westchester.pa.mail.comcast.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF00A9B35@WPSDGQHH.OPR.STATEFARM.ORG> On the client? None unless you have some odd agent that uses http protocol, but normally on unix/linux you have NRPE which has no requirements for apache. Dan -----Original Message----- From: Dan White [mailto:ygor at comcast.net] Sent: Thursday, December 22, 2011 1:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Basic Question: Apache needed on client ? What functionality would be lost if I did not install apache on a nagios client machine ? ?Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.? Bill Waterson (Calvin & Hobbes) ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Dec 23 14:09:13 2011 From: ae at op5.se (Andreas Ericsson) Date: Sat, 24 Dec 2011 00:09:13 +1100 Subject: servicedependencies not working In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> References: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4EF47D79.3070604@op5.se> On 12/16/2011 04:38 AM, Daniel Wittenberg wrote: > I've started playing with making a bunch of dependencies and at first it appeared to be working, right now I've got a pretty basic test setup. I've added one service to be dependent on the other one, but it seems that the freshness might be mucking with it. Two services below: > > > define service { > service_description base_log_checks > servicegroups base_service_group > hostgroup_name base_windows_2003 > use generic-passive-service > check_freshness 1 > freshness_threshold 3600 > check_command service_is_ > } > > define service { > service_description nagios_cron > servicegroups base_service_group > hostgroup_name base_windows_2003 > use generic-passive-service > check_freshness 1 > freshness_threshold 3000 > check_command service_is_stale > } > > define servicedependency { > service_description nagios_cron > dependent_service_description base_log_checks > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > inherits_parent 1 > } > > What appears to happen is that I kill nsclient so nagios_cron starts reporting "stale" at 3000 seconds, and the same for base_log_checks shortly after. Then about every hour I get more "stale" soft alerts, and then after the third try it goes to a HARD alert and I still get a ticket, though I'm not sure why it's even checking if execution should be disable when nagios_cron is in a warning state. But not only does the active checks (service_is_stale) get executed but I'm also still getting notifications sent after 3 attempts, so it doesn't really appear to be doing anything. Unfortunately right now these servers are so busy it's hard to put them in debug mode. Have I missed something obvious with these? I must say though, with the size of your environment, it's quite possible that just looking up the dependency takes longer than it does to just execute the extra check. If you're looking to save time, that might well bite you in the ass. It's something that will probably be improved til Nagios 4, but it will require a change in Nagios' object structure, so we can't really do it without upping the major version number :-/ -- 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. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From madpato.lopez at gmail.com Fri Dec 23 15:11:47 2011 From: madpato.lopez at gmail.com (=?ISO-8859-1?Q?Patricio_L=F3pez?=) Date: Fri, 23 Dec 2011 11:11:47 -0300 Subject: problem with ping Message-ID: Hello I am pretty new to nagios and i am trying to install this on a debian vps i have to monitor 2 other boxes i have. Ive compiled and installed everything fine, i can see my nagios webinterface, but i have the following problem: CRITICAL - Could not interpret output from ping command I have an error that my host is down this is because the ping command is not working. Here is some information: If i do via shell this: /usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% -p 5 I get the mentioned error. Even as root (so i believe its not a problem of the nagios user or group). Ive made some google research and found out that sometimes i needed to give execution permissions to /bin/ping which i did, same results. So this is what i have in cgi.cfg: /bin/ping -n -U -c 5 $HOSTADDRESS$ And this is what i have in commands.cfg: /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 First one if i try in the command line works, second one does not. Any help is appreciated, thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Fri Dec 23 19:48:59 2011 From: jm+nagios-users at roth.lu (jm+nagios-users at roth.lu) Date: Fri, 23 Dec 2011 19:48:59 +0100 (CET) Subject: freshness checks not working Message-ID: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Hi there, consider the following template: define service { name x_trap register 0 ; DONT REGISTER - ITS NOT REAL,JUST A TEMPLATE! host_name host active_checks_enabled 0 passive_checks_enabled 1 is_volatile 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 flap_detection_enabled 0 contact_groups cg_x notification_options w,u,c notification_interval 240 notification_period 24x7 check_freshness 1 freshness_threshold 600 check_command check_dummy!0 check_period 24x7 } Can someone tell me why some real services derived from the above template do not seem to do the freshness checks? define service { use x_trap service_description X-service contact_groups x-team } We're running Nagios 3.2.1. Thanks and happy holidays. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 23 20:42:24 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 23 Dec 2011 19:42:24 +0000 Subject: freshness checks not working In-Reply-To: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: On 23 December 2011 18:48, wrote: > Hi there, > > consider the following template: > > define service { > name ? ? ? ? ? ? ? ? ? ? ? ? ? x_trap > register ? ? ? ? ? ? ? ? ? ? ? 0 ? ? ? ?; DONT REGISTER ?- ITS NOT > REAL,JUST A TEMPLATE! > host_name ? ? ? ? ? ? ? ? ? ? ?host > active_checks_enabled ? ? ? ? ?0 > passive_checks_enabled ? ? ? ? 1 > is_volatile ? ? ? ? ? ? ? ? ? ?1 > max_check_attempts ? ? ? ? ? ? 1 > normal_check_interval ? ? ? ? ?1 > retry_check_interval ? ? ? ? ? 1 > flap_detection_enabled ? ? ? ? 0 > contact_groups ? ? ? ? ? ? ? ? cg_x > notification_options ? ? ? ? ? w,u,c > notification_interval ? ? ? ? ?240 > notification_period ? ? ? ? ? ?24x7 > check_freshness 1 > freshness_threshold 600 > check_command check_dummy!0 > check_period 24x7 > } > > Can someone tell me why some real services derived from the above template > do not seem to do the freshness checks? Are you sure they don't do the freshness check? Personally I would have the following arguments (or similar) to check_dummy, using 3 rather than 0 to show an unknown rather than ok state. check_command check_dummy!3 "UNKNOWN: Nagios did not receive a passive service check recently." One thing that catches me out frequently is when I put an explanation mark in there which stops it from working. For example, this will not work. check_command check_dummy!3 "UNKNOWN: Nagios did not receive a passive service check recently!" hth, Jim ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Tue Dec 27 09:19:23 2011 From: jm+nagios-users at roth.lu (JM) Date: Tue, 27 Dec 2011 08:19:23 +0000 (UTC) Subject: freshness checks not working References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: Jim Avery jimavery.me.uk> writes: > > Can someone tell me why some real services derived from the above template > > do not seem to do the freshness checks? > > Are you sure they don't do the freshness check? Definitely, once a trap was received, the state remains critical... ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 11:32:36 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 27 Dec 2011 10:32:36 +0000 Subject: freshness checks not working In-Reply-To: References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: On 27 December 2011 08:19, JM wrote: > Jim Avery jimavery.me.uk> writes: > >> > Can someone tell me why some real services derived from the above template >> > do not seem to do the freshness checks? >> >> Are you sure they don't do the freshness check? > > > Definitely, once a trap was received, the state remains critical... I see. Yes that should work. I do something similar myself to clear some of my trap alerts after a period of time. I wonder if it's something in the config overriding what you have in the template? Is the the relevant entry for that service check in your objects.cache file correct? ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Tue Dec 27 14:32:57 2011 From: jm+nagios-users at roth.lu (JM) Date: Tue, 27 Dec 2011 13:32:57 +0000 (UTC) Subject: freshness checks not working References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: Jim Avery jimavery.me.uk> writes: > Is the the relevant entry for that service check in > your objects.cache file correct? I believe so. Do you see something out of the ordinary: host_name xxx service_description yyy check_period 24x7 check_command check_dummy!0 contact_groups cg_xx notification_period 24x7 initial_state o check_interval 1.000000 retry_interval 1.000000 max_check_attempts 1 is_volatile 1 parallelize_check 1 active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 1 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 0 flap_detection_options o,w,u,c freshness_threshold 600 check_freshness 1 notification_options u,w,c notifications_enabled 1 notification_interval 240.000000 first_notification_delay 0.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyjatin at gmail.com Tue Dec 27 15:31:49 2011 From: daveyjatin at gmail.com (Jatin) Date: Tue, 27 Dec 2011 20:01:49 +0530 Subject: Nagios on CentOS Message-ID: <4EF9D6D5.9030101@gmail.com> Hi I have earlier used Nagios on Fedora 13 and was successful in installing Nagios without any hiccups using the quick installation guide meant for Fedora. I wanted to know if i can follow the same steps for installing Nagios on CentOS assuming that i have a default CentOS installation. Also let me from which version of CentOS would it be good to install the latest Nagios. Appreciate your responses and suggestions in this regard. Thanks Jatin ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 eurofmc.com Tue Dec 27 15:22:21 2011 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Tue, 27 Dec 2011 15:22:21 +0100 Subject: Newbie: controlling bad packets. Message-ID: <4EF9D49D.3040206@eurofmc.com> Hi the List, I would control if bad packets has been rejected on a given lan for any or several machines A command like this : check_rejected_packets -L -T Any ideas? A plugin exists for this control? -- Francois Network Operation Center FMC Luxembourg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 addw at phcomp.co.uk Tue Dec 27 15:47:32 2011 From: addw at phcomp.co.uk (Alain Williams) Date: Tue, 27 Dec 2011 14:47:32 +0000 Subject: Nagios on CentOS In-Reply-To: <4EF9D6D5.9030101@gmail.com> References: <4EF9D6D5.9030101@gmail.com> Message-ID: <20111227144732.GZ25857@phcomp.co.uk> On Tue, Dec 27, 2011 at 08:01:49PM +0530, Jatin wrote: > Hi > > I have earlier used Nagios on Fedora 13 and was successful in installing > Nagios without any hiccups using the quick installation guide meant for > Fedora. I wanted to know if i can follow the same steps for installing > Nagios on CentOS assuming that i have a default CentOS installation. > > Also let me from which version of CentOS would it be good to install the > latest Nagios. Choose the version of centos for the applications that you run, not for nagios. If there is no compelling reason - use the latest - centos 6. I have run nagios on centos for many years, it works well ... the main problem is that the default config has changed several times, directories changed, etc, which has broken it several times ... not to hard to get working again, but a pain. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Tue Dec 27 17:02:51 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Tue, 27 Dec 2011 11:02:51 -0500 Subject: Nagios on CentOS In-Reply-To: <4EF9D6D5.9030101@gmail.com> References: <4EF9D6D5.9030101@gmail.com> Message-ID: <4EF9EC2B.605@geninfo.com> On 12/27/2011 9:31 AM, Jatin wrote: > Fedora. I wanted to know if i can follow the same steps for installing > Nagios on CentOS assuming that i have a default CentOS installation. Yes. I used the Fedora instructions to install Nagios on CentOS myself. It has been a while since I did it, though. The only snag I remember having was forgetting to install some packages like openssl-devel and net-snmp-devel before compiling the plug-ins. > Also let me from which version of CentOS would it be good to install the > latest Nagios. I have not installed the latest version of Nagios or CentOS yet. I am still running Nagios 3.2.3 on CentOS 5.x, both of which have been working like champs for many versions so far. Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From addw at phcomp.co.uk Tue Dec 27 17:12:41 2011 From: addw at phcomp.co.uk (Alain Williams) Date: Tue, 27 Dec 2011 16:12:41 +0000 Subject: Nagios on CentOS In-Reply-To: <4EF9EC2B.605@geninfo.com> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> Message-ID: <20111227161241.GA25857@phcomp.co.uk> On Tue, Dec 27, 2011 at 11:02:51AM -0500, Chris Beattie wrote: > On 12/27/2011 9:31 AM, Jatin wrote: > > Fedora. I wanted to know if i can follow the same steps for installing > > Nagios on CentOS assuming that i have a default CentOS installation. > > Yes. I used the Fedora instructions to install Nagios on CentOS myself. > It has been a while since I did it, though. The only snag I remember > having was forgetting to install some packages like openssl-devel and > net-snmp-devel before compiling the plug-ins. Don't bother to compile them, use Dag's archive: rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/ -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpedersen at choopa.com Tue Dec 27 17:09:14 2011 From: mpedersen at choopa.com (mpedersen at choopa.com) Date: Tue, 27 Dec 2011 11:09:14 -0500 Subject: Nagios Optimization on CentOS Message-ID: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> Hello. I've installed Nagios Core 3.3.1, and can't get it to run very fast at all. Machine specs: OS: CentOS 5.7 Processor: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (8 cores) RAM: 8G HD: 800G, 22G used Going by top, the load average of the machine hovers around 1.5-2.0. CPU usage is around 12% across all cores. Memory usage shows about 7.5G being used for buffers, so memory is actually pretty unused too. The reason this seems incredibly underused to me is because we have 6000 hosts we're pinging. Total time for this check is around 6-7 minutes. Considering the lack of load on this box, I'm pretty sure we can improve the total time significantly. We are going to aim for distributed monitoring, we're just not there yet. I figure that's going to take another week or two for me to be comfortable implementing. I'm also attaching the main nagios.cfg file. If there's more information that's needed, please let me know. =====nagios.cfg===== accept_passive_service_checks=1 admin_email=nagios admin_pager=pagenagios broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups_auto.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hostgroups_network_auto.cfg cfg_file=/usr/local/nagios/etc/hosts_auto.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/hosts_nrpe.cfg cfg_file=/usr/local/nagios/etc/hosts_routers_auto.cfg cfg_file=/usr/local/nagios/etc/hosts_switches_auto.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/nrpe_auto.cfg cfg_file=/usr/local/nagios/etc/services_auto.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/services_cisco.cfg cfg_file=/usr/local/nagios/etc/services_manual.cfg cfg_file=/usr/local/nagios/etc/services_nrpe.cfg cfg_file=/usr/local/nagios/etc/services_routers_auto.cfg cfg_file=/usr/local/nagios/etc/services_switches_auto.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg check_external_commands=1 check_for_orphaned_hosts=1 check_for_orphaned_services=1 check_result_reaper_frequency=2 check_service_freshness=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd date_format=us enable_embedded_perl=1 enable_event_handlers=1 enable_flap_detection=0 enable_notifications=1 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 event_handler_timeout=30 execute_host_checks=1 execute_service_checks=1 external_command_buffer_slots=4096 freshness_check_interval=60 high_host_flap_threshold=20.0 high_service_flap_threshold=20.0 host_check_timeout=30 host_inter_check_delay_method=n host_perfdata_command=process-host-perfdata host_perfdata_file_mode=a host_perfdata_file_processing_command=process-host-perfdata-file host_perfdata_file_processing_interval=15 host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\ tHOSTSTATETYPE::$HOSTSTATETYPE$ host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata illegal_macro_output_chars=`~$&|'"<> illegal_object_name_chars=`~!$%^&*|'"<>?,()= interval_length=60 lock_file=/usr/local/nagios/var/nagios.lock log_archive_path=/usr/local/nagios/var/archives log_event_handlers=1 log_external_commands=1 log_file=/usr/local/nagios/var/nagios.log log_host_retries=1 log_initial_states=1 log_notifications=1 log_rotation_method=d log_service_retries=1 low_host_flap_threshold=5.0 low_service_flap_threshold=5.0 max_check_result_reaper_time=10 max_concurrent_checks=0 max_host_check_spread=2 max_service_check_spread=2 nagios_group=nagios nagios_user=nagios notification_timeout=30 obsess_over_services=0 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 retain_state_information=1 retention_update_interval=60 service_check_timeout=60 service_inter_check_delay_method=n service_interleave_factor=10 service_perfdata_command=process-service-perfdata service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata-file service_perfdata_file_processing_interval=15 service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND:: $SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$ service_perfdata_file=/usr/local/pnp4nagios/var/service-perfdata sleep_time=1 state_retention_file=/usr/local/nagios/var/status.sav status_file=/usr/local/nagios/var/status.log status_update_interval=15 temp_file=/usr/local/nagios/var/nagios.tmp use_agressive_host_checking=0 use_large_installation_tweaks=1 use_retained_program_state=0 use_syslog=0 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 18:10:06 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 27 Dec 2011 17:10:06 +0000 Subject: Nagios Optimization on CentOS In-Reply-To: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> Not meaning to toot my own horn, but for larger scales I did a presentation that has config examples and stuff, based on RHEL-5, but should apply the same to RHEL/CentOS 6 as well. http://planet.nagios.org/archives/84-nagios-exchange/3850-daniel-wittenberg-scaling-nagios-at-a-giant-insurance-company I hope to keep building on that based on feedback I've gotten from some other people so if you have any other experiences or issues definitely post them here! Dan -----Original Message----- From: mpedersen at choopa.com [mailto:mpedersen at choopa.com] Sent: Tuesday, December 27, 2011 10:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Optimization on CentOS Hello. I've installed Nagios Core 3.3.1, and can't get it to run very fast at all. Machine specs: OS: CentOS 5.7 Processor: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (8 cores) RAM: 8G HD: 800G, 22G used Going by top, the load average of the machine hovers around 1.5-2.0. CPU usage is around 12% across all cores. Memory usage shows about 7.5G being used for buffers, so memory is actually pretty unused too. The reason this seems incredibly underused to me is because we have 6000 hosts we're pinging. Total time for this check is around 6-7 minutes. Considering the lack of load on this box, I'm pretty sure we can improve the total time significantly. We are going to aim for distributed monitoring, we're just not there yet. I figure that's going to take another week or two for me to be comfortable implementing. I'm also attaching the main nagios.cfg file. If there's more information that's needed, please let me know. =====nagios.cfg===== accept_passive_service_checks=1 admin_email=nagios admin_pager=pagenagios broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/hostgroups_auto.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hostgroups_network_auto.cfg cfg_file=/usr/local/nagios/etc/hosts_auto.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/hosts_nrpe.cfg cfg_file=/usr/local/nagios/etc/hosts_routers_auto.cfg cfg_file=/usr/local/nagios/etc/hosts_switches_auto.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/nrpe_auto.cfg cfg_file=/usr/local/nagios/etc/services_auto.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/services_cisco.cfg cfg_file=/usr/local/nagios/etc/services_manual.cfg cfg_file=/usr/local/nagios/etc/services_nrpe.cfg cfg_file=/usr/local/nagios/etc/services_routers_auto.cfg cfg_file=/usr/local/nagios/etc/services_switches_auto.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg check_external_commands=1 check_for_orphaned_hosts=1 check_for_orphaned_services=1 check_result_reaper_frequency=2 check_service_freshness=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd date_format=us enable_embedded_perl=1 enable_event_handlers=1 enable_flap_detection=0 enable_notifications=1 enable_predictive_host_dependency_checks=1 enable_predictive_service_dependency_checks=1 event_handler_timeout=30 execute_host_checks=1 execute_service_checks=1 external_command_buffer_slots=4096 freshness_check_interval=60 high_host_flap_threshold=20.0 high_service_flap_threshold=20.0 host_check_timeout=30 host_inter_check_delay_method=n host_perfdata_command=process-host-perfdata host_perfdata_file_mode=a host_perfdata_file_processing_command=process-host-perfdata-file host_perfdata_file_processing_interval=15 host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\ tHOSTSTATETYPE::$HOSTSTATETYPE$ host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata illegal_macro_output_chars=`~$&|'"<> illegal_object_name_chars=`~!$%^&*|'"<>?,()= interval_length=60 lock_file=/usr/local/nagios/var/nagios.lock log_archive_path=/usr/local/nagios/var/archives log_event_handlers=1 log_external_commands=1 log_file=/usr/local/nagios/var/nagios.log log_host_retries=1 log_initial_states=1 log_notifications=1 log_rotation_method=d log_service_retries=1 low_host_flap_threshold=5.0 low_service_flap_threshold=5.0 max_check_result_reaper_time=10 max_concurrent_checks=0 max_host_check_spread=2 max_service_check_spread=2 nagios_group=nagios nagios_user=nagios notification_timeout=30 obsess_over_services=0 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 retain_state_information=1 retention_update_interval=60 service_check_timeout=60 service_inter_check_delay_method=n service_interleave_factor=10 service_perfdata_command=process-service-perfdata service_perfdata_file_mode=a service_perfdata_file_processing_command=process-service-perfdata-file service_perfdata_file_processing_interval=15 service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND:: $SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$ service_perfdata_file=/usr/local/pnp4nagios/var/service-perfdata sleep_time=1 state_retention_file=/usr/local/nagios/var/status.sav status_file=/usr/local/nagios/var/status.log status_update_interval=15 temp_file=/usr/local/nagios/var/nagios.tmp use_agressive_host_checking=0 use_large_installation_tweaks=1 use_retained_program_state=0 use_syslog=0 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 17:53:05 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 27 Dec 2011 16:53:05 +0000 Subject: Nagios on CentOS In-Reply-To: <20111227161241.GA25857@phcomp.co.uk> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> <20111227161241.GA25857@phcomp.co.uk> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> I would second that, use the RPM's and then it's super-simple RPM installs and a few tweaks for performance and you should be good. Dan -----Original Message----- From: Alain Williams [mailto:addw at phcomp.co.uk] Sent: Tuesday, December 27, 2011 10:13 AM To: Nagios Users List Subject: Re: [Nagios-users] Nagios on CentOS On Tue, Dec 27, 2011 at 11:02:51AM -0500, Chris Beattie wrote: > On 12/27/2011 9:31 AM, Jatin wrote: > > Fedora. I wanted to know if i can follow the same steps for installing > > Nagios on CentOS assuming that i have a default CentOS installation. > > Yes. I used the Fedora instructions to install Nagios on CentOS myself. > It has been a while since I did it, though. The only snag I remember > having was forgetting to install some packages like openssl-devel and > net-snmp-devel before compiling the plug-ins. Don't bother to compile them, use Dag's archive: rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/ -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 18:20:36 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 27 Dec 2011 17:20:36 +0000 Subject: servicedependencies not working In-Reply-To: <4EF47D79.3070604@op5.se> References: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> <4EF47D79.3070604@op5.se> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AE0E9@WPSDGQHH.OPR.STATEFARM.ORG> Yeah I've been starting to play with using hostgroups to tie them together since I can't really use hosts, but so far just limited on time due to holidays, I hope to get more testing done this week but initial testing looks like if I can specify the hostgroups in these configs then it works. Dan -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Friday, December 23, 2011 7:09 AM To: Nagios Users List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] servicedependencies not working On 12/16/2011 04:38 AM, Daniel Wittenberg wrote: > I've started playing with making a bunch of dependencies and at first it appeared to be working, right now I've got a pretty basic test setup. I've added one service to be dependent on the other one, but it seems that the freshness might be mucking with it. Two services below: > > > define service { > service_description base_log_checks > servicegroups base_service_group > hostgroup_name base_windows_2003 > use generic-passive-service > check_freshness 1 > freshness_threshold 3600 > check_command service_is_ > } > > define service { > service_description nagios_cron > servicegroups base_service_group > hostgroup_name base_windows_2003 > use generic-passive-service > check_freshness 1 > freshness_threshold 3000 > check_command service_is_stale > } > > define servicedependency { > service_description nagios_cron > dependent_service_description base_log_checks > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > inherits_parent 1 > } > > What appears to happen is that I kill nsclient so nagios_cron starts reporting "stale" at 3000 seconds, and the same for base_log_checks shortly after. Then about every hour I get more "stale" soft alerts, and then after the third try it goes to a HARD alert and I still get a ticket, though I'm not sure why it's even checking if execution should be disable when nagios_cron is in a warning state. But not only does the active checks (service_is_stale) get executed but I'm also still getting notifications sent after 3 attempts, so it doesn't really appear to be doing anything. Unfortunately right now these servers are so busy it's hard to put them in debug mode. Have I missed something obvious with these? I must say though, with the size of your environment, it's quite possible that just looking up the dependency takes longer than it does to just execute the extra check. If you're looking to save time, that might well bite you in the ass. It's something that will probably be improved til Nagios 4, but it will require a change in Nagios' object structure, so we can't really do it without upping the major version number :-/ -- 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. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpedersen at choopa.com Tue Dec 27 18:25:07 2011 From: mpedersen at choopa.com (mpedersen at choopa.com) Date: Tue, 27 Dec 2011 12:25:07 -0500 Subject: Nagios Optimization on CentOS In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> On Tue, 27 Dec 2011 17:10:06 +0000, Daniel Wittenberg wrote: > Not meaning to toot my own horn, but for larger scales I did a > presentation that has config examples and stuff, based on RHEL-5, but > should apply the same to RHEL/CentOS 6 as well. Please feel free to toot your own horn there. That's the sort of writeup I needed, and I'll be reading it in a lot of detail today. Thank you. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 19:51:17 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 27 Dec 2011 18:51:17 +0000 Subject: freshness checks not working In-Reply-To: References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: On 27 December 2011 13:32, JM wrote: > Jim Avery jimavery.me.uk> writes: >> Is the the relevant entry for that service check in >> your objects.cache file correct? > > I believe so. Do you see something out of the ordinary: I can't see anything wrong with that at all, no. The only difference I can think of between what you have and what I have is I don't use an event handler. I'll be back at work on Thursday so I'll take a closer look then. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpedersen at choopa.com Tue Dec 27 22:20:51 2011 From: mpedersen at choopa.com (mpedersen at choopa.com) Date: Tue, 27 Dec 2011 16:20:51 -0500 Subject: Nagios Optimization on CentOS In-Reply-To: <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> Message-ID: <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> On Tue, 27 Dec 2011 12:25:07 -0500, wrote: > Please feel free to toot your own horn there. That's the sort of writeup I > needed, and I'll be reading it in a lot of detail today. And now I will sound ungrateful. I've applied the tips in here, and still others I've found online, but I'm still slower than I should be. From what I can tell, this system should be able to execute a ping check for all 6000 servers in a minute, two tops. As of right now, I'm getting 4.5 minutes for the entire check. I've managed to get my system load to (on occasion) hit 3.3, but that's it. CPU usage has remained close to constant. Network traffic is minimal (2Mbit), and disk traffic is minimal (writing out 3Mbytes/second). Any other ideas I can use? ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 22:26:15 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 27 Dec 2011 21:26:15 +0000 Subject: Nagios Optimization on CentOS In-Reply-To: <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> Not at all, we're all here to help... What are you using for your ping check? What is the output from 'nagiostats'? Dan -----Original Message----- From: mpedersen at choopa.com [mailto:mpedersen at choopa.com] Sent: Tuesday, December 27, 2011 3:21 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Optimization on CentOS On Tue, 27 Dec 2011 12:25:07 -0500, wrote: > Please feel free to toot your own horn there. That's the sort of writeup I > needed, and I'll be reading it in a lot of detail today. And now I will sound ungrateful. I've applied the tips in here, and still others I've found online, but I'm still slower than I should be. From what I can tell, this system should be able to execute a ping check for all 6000 servers in a minute, two tops. As of right now, I'm getting 4.5 minutes for the entire check. I've managed to get my system load to (on occasion) hit 3.3, but that's it. CPU usage has remained close to constant. Network traffic is minimal (2Mbit), and disk traffic is minimal (writing out 3Mbytes/second). Any other ideas I can use? ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregory.m.phillips at noaa.gov Tue Dec 27 22:48:45 2011 From: gregory.m.phillips at noaa.gov (Gregory Phillips) Date: Tue, 27 Dec 2011 14:48:45 -0700 Subject: Nagios Optimization on CentOS In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: Are you using fping instead of regular ping? It is a different package from ping that needs to be installed separately. Here is an excerpt from its man page: fping is a like program which uses the Internet Control Message Proto- col (ICMP) echo request to determine if a target host is responding. fping differs from ping in that you can specify any number of targets on the command line, or specify a file containing the lists of targets to ping. Instead of sending to one target until it times out or replies, fping will send out a ping packet and move on to the next tar- get in a round-robin fashion. Good Luck, Gregg. On Tue, Dec 27, 2011 at 2:26 PM, Daniel Wittenberg < daniel.wittenberg.r0ko at statefarm.com> wrote: > Not at all, we're all here to help... > > What are you using for your ping check? > What is the output from 'nagiostats'? > > Dan > > -----Original Message----- > From: mpedersen at choopa.com [mailto:mpedersen at choopa.com] > Sent: Tuesday, December 27, 2011 3:21 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Nagios Optimization on CentOS > > On Tue, 27 Dec 2011 12:25:07 -0500, wrote: > > Please feel free to toot your own horn there. That's the sort of writeup > I > > needed, and I'll be reading it in a lot of detail today. > > And now I will sound ungrateful. I've applied the tips in here, and still > others I've found online, but I'm still slower than I should be. From what > I can tell, this system should be able to execute a ping check for all 6000 > servers in a minute, two tops. As of right now, I'm getting 4.5 minutes for > the entire check. > > I've managed to get my system load to (on occasion) hit 3.3, but that's > it. CPU usage has remained close to constant. Network traffic is minimal > (2Mbit), and disk traffic is minimal (writing out 3Mbytes/second). > > Any other ideas I can use? > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev -------------- 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 maxs at webwizarddesign.com Tue Dec 27 23:05:26 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 27 Dec 2011 17:05:26 -0500 Subject: Nagios Optimization on CentOS In-Reply-To: References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: I have written a number of blog posts about optimizing and tuning Nagios performance as well - you might find some of them useful: http://www.semintelligent.com/blog/ - Max ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpedersen at choopa.com Tue Dec 27 23:16:26 2011 From: mpedersen at choopa.com (mpedersen at choopa.com) Date: Tue, 27 Dec 2011 17:16:26 -0500 Subject: Nagios Optimization on CentOS In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <281cbf5f7dd20fe07e486b06c5bf51e6@127.0.0.1> On Tue, 27 Dec 2011 21:26:15 +0000, Daniel Wittenberg wrote: > Not at all, we're all here to help... > > What are you using for your ping check? > What is the output from 'nagiostats'? And now I'm going to admit to feeling like a blooming idiot. As it turns out, the problem was the performance data gathering. We had three separate performance gathering pieces going at once, and I didn't know it (I apologize, I started a week ago, and this was the first project, been learning what I was handed since then). NDO, pnp4nagios, and perfdata options in nagios.cfg. I turned all of them off, and suddenly my system is running the checks with less than 1s of latency (versus the 90+ I was seeing before, and that was at best). I apologize, as I feel like I've wasted a bit of everybody's time. It wasn't deliberate, and I really did go crazy on doing my research beforehand. I just didn't catch what this bottleneck was until after I'd bothered you. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 23:20:28 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 27 Dec 2011 22:20:28 +0000 Subject: Nagios Optimization on CentOS In-Reply-To: <281cbf5f7dd20fe07e486b06c5bf51e6@127.0.0.1> References: <3aacab86028b6ad93b7ad95d87524532@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE0B0@WPSDGQHH.OPR.STATEFARM.ORG> <35d5f6a5c2203375be3c004475a4a8b7@127.0.0.1> <299a46ff4db0adc05e0b9b15a17fd3b8@127.0.0.1> <4288A518A157EC4C8873FEE74F778BF00AE858@WPSDGQHH.OPR.STATEFARM.ORG> <281cbf5f7dd20fe07e486b06c5bf51e6@127.0.0.1> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AE8AA@WPSDGQHH.OPR.STATEFARM.ORG> No prob! Hopefully learned some more about performance tuning while you were at it! Dan -----Original Message----- From: mpedersen at choopa.com [mailto:mpedersen at choopa.com] Sent: Tuesday, December 27, 2011 4:16 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios Optimization on CentOS On Tue, 27 Dec 2011 21:26:15 +0000, Daniel Wittenberg wrote: > Not at all, we're all here to help... > > What are you using for your ping check? > What is the output from 'nagiostats'? And now I'm going to admit to feeling like a blooming idiot. As it turns out, the problem was the performance data gathering. We had three separate performance gathering pieces going at once, and I didn't know it (I apologize, I started a week ago, and this was the first project, been learning what I was handed since then). NDO, pnp4nagios, and perfdata options in nagios.cfg. I turned all of them off, and suddenly my system is running the checks with less than 1s of latency (versus the 90+ I was seeing before, and that was at best). I apologize, as I feel like I've wasted a bit of everybody's time. It wasn't deliberate, and I really did go crazy on doing my research beforehand. I just didn't catch what this bottleneck was until after I'd bothered you. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 27 23:28:52 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 27 Dec 2011 22:28:52 +0000 Subject: servicedependencies not working In-Reply-To: <4EF47D79.3070604@op5.se> References: <4288A518A157EC4C8873FEE74F778BF00812D2@WPSDGQHH.OPR.STATEFARM.ORG> <4EF47D79.3070604@op5.se> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AE8C7@WPSDGQHH.OPR.STATEFARM.ORG> Adding in the hostgroups seems to get things working as I would expect. I guess this is another case where "active checks" does not include those performed by freshness checking. Even though I have execution_failure_criteria set to not run on warning and critical, it seems freshness checks are still performed. The good thing is this doesn't generate any alerts it just "clutters" up the interface so if you are looking to see what's wrong in the web gui you see lots of warnings associated with it when really the agent is just down and we were already notified of that. So it would be nice if you could have a setting that would tell it that freshness checks should be treated the same way as active checks. Dan -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Friday, December 23, 2011 7:09 AM To: Nagios Users List Cc: Daniel Wittenberg Subject: Re: [Nagios-users] servicedependencies not working On 12/16/2011 04:38 AM, Daniel Wittenberg wrote: > I've started playing with making a bunch of dependencies and at first it appeared to be working, right now I've got a pretty basic test setup. I've added one service to be dependent on the other one, but it seems that the freshness might be mucking with it. Two services below: > > > define service { > service_description base_log_checks > servicegroups base_service_group > hostgroup_name base_windows_2003 > use generic-passive-service > check_freshness 1 > freshness_threshold 3600 > check_command service_is_ > } > > define service { > service_description nagios_cron > servicegroups base_service_group > hostgroup_name base_windows_2003 > use generic-passive-service > check_freshness 1 > freshness_threshold 3000 > check_command service_is_stale > } > > define servicedependency { > service_description nagios_cron > dependent_service_description base_log_checks > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > inherits_parent 1 > } > > What appears to happen is that I kill nsclient so nagios_cron starts reporting "stale" at 3000 seconds, and the same for base_log_checks shortly after. Then about every hour I get more "stale" soft alerts, and then after the third try it goes to a HARD alert and I still get a ticket, though I'm not sure why it's even checking if execution should be disable when nagios_cron is in a warning state. But not only does the active checks (service_is_stale) get executed but I'm also still getting notifications sent after 3 attempts, so it doesn't really appear to be doing anything. Unfortunately right now these servers are so busy it's hard to put them in debug mode. Have I missed something obvious with these? I must say though, with the size of your environment, it's quite possible that just looking up the dependency takes longer than it does to just execute the extra check. If you're looking to save time, that might well bite you in the ass. It's something that will probably be improved til Nagios 4, but it will require a change in Nagios' object structure, so we can't really do it without upping the major version number :-/ -- 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. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 28 11:27:25 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 28 Dec 2011 10:27:25 +0000 Subject: Newbie: controlling bad packets. In-Reply-To: <4EF9D49D.3040206@eurofmc.com> References: <4EF9D49D.3040206@eurofmc.com> Message-ID: On 27 December 2011 14:22, Network Operation Center FMC Luxemburg wrote: > Hi the List, > > I would control if bad packets has been rejected on a given lan for any or > several machines > > A command like this : > > check_rejected_packets -L addresses, or an intervall> -T > > Any ideas? A plugin exists for this control? Take a look at http://nagios.manubulon.com/snmp_int.html With the -e option, it gives you in/out errors and discards for the specific interface (if that is the sort of thing you want). ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveyjatin at gmail.com Wed Dec 28 13:52:34 2011 From: daveyjatin at gmail.com (Jatin) Date: Wed, 28 Dec 2011 18:22:34 +0530 Subject: Nagios on CentOS In-Reply-To: <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> <20111227161241.GA25857@phcomp.co.uk> <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> Message-ID: <4EFB1112.80104@gmail.com> Thanks for all the responses. I would go for installing nagios (latest stable build) on CentOS 5.7 Thanks Jatin On Tuesday 27 December 2011 10:23 PM, Daniel Wittenberg wrote: > I would second that, use the RPM's and then it's super-simple RPM installs and a few tweaks for performance and you should be good. > > Dan > > > -----Original Message----- > From: Alain Williams [mailto:addw at phcomp.co.uk] > Sent: Tuesday, December 27, 2011 10:13 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Nagios on CentOS > > On Tue, Dec 27, 2011 at 11:02:51AM -0500, Chris Beattie wrote: >> On 12/27/2011 9:31 AM, Jatin wrote: >>> Fedora. I wanted to know if i can follow the same steps for installing >>> Nagios on CentOS assuming that i have a default CentOS installation. >> Yes. I used the Fedora instructions to install Nagios on CentOS myself. >> It has been a while since I did it, though. The only snag I remember >> having was forgetting to install some packages like openssl-devel and >> net-snmp-devel before compiling the plug-ins. > Don't bother to compile them, use Dag's archive: > > rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/ > ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 28 15:12:32 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 28 Dec 2011 14:12:32 +0000 Subject: Nagios on CentOS In-Reply-To: <4EFB1112.80104@gmail.com> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> <20111227161241.GA25857@phcomp.co.uk> <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> <4EFB1112.80104@gmail.com> Message-ID: <4EFB23D0.5040609@flatto.net> Be aware that the latest stable build is 3.2.3 not 3.3.1 . The 3.3.1 has some bugs that cause issues with the building and running . Assaf On 28/12/11 12:52, Jatin wrote: > Thanks for all the responses. I would go for installing nagios (latest > stable build) on CentOS 5.7 > > Thanks > Jatin > > On Tuesday 27 December 2011 10:23 PM, Daniel Wittenberg wrote: > >> I would second that, use the RPM's and then it's super-simple RPM installs and a few tweaks for performance and you should be good. >> >> Dan >> >> >> -----Original Message----- >> From: Alain Williams [mailto:addw at phcomp.co.uk] >> Sent: Tuesday, December 27, 2011 10:13 AM >> To: Nagios Users List >> Subject: Re: [Nagios-users] Nagios on CentOS >> >> On Tue, Dec 27, 2011 at 11:02:51AM -0500, Chris Beattie wrote: >> >>> On 12/27/2011 9:31 AM, Jatin wrote: >>> >>>> Fedora. I wanted to know if i can follow the same steps for installing >>>> Nagios on CentOS assuming that i have a default CentOS installation. >>>> >>> Yes. I used the Fedora instructions to install Nagios on CentOS myself. >>> It has been a while since I did it, though. The only snag I remember >>> having was forgetting to install some packages like openssl-devel and >>> net-snmp-devel before compiling the plug-ins. >>> >> Don't bother to compile them, use Dag's archive: >> >> rsync://apt.sw.be/pub/freshrpms/pub/dag/redhat/ >> >> > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_mustaquim at yahoo.com Wed Dec 28 16:00:01 2011 From: m_mustaquim at yahoo.com (mohd mustaquim) Date: Wed, 28 Dec 2011 07:00:01 -0800 (PST) Subject: (no subject) Message-ID: <1325084401.7917.yint-ygo-j2me@web120102.mail.ne1.yahoo.com> I know what you want! Enjoy!. http://interiorsbymichele.com/christmas.link.php?jroSID=09zi1 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Wed Dec 28 16:20:33 2011 From: jm+nagios-users at roth.lu (JM) Date: Wed, 28 Dec 2011 15:20:33 +0000 (UTC) Subject: freshness checks not working References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: Jim Avery jimavery.me.uk> writes: > >> your objects.cache file correct? > > > > I believe so. Do you see something out of the ordinary? > > I can't see anything wrong with that at all, no. > > The only difference I can think of between what you have and what I > have is I don't use an event handler. I have tested that (event handlers are enabled globally, but only defined in a few rare places): for now the freshness check seems to work again. If it is really related to that, is there a special meaning to it, or can it be considered a bug? Other possible causes that have come to mind is: - template used by the service is nested at least 3 levels deep (not sure how many people do that) - obsess-over-service is also enabled although I can't remember why rightaway... Thanks for now. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sglasser at visp.net Wed Dec 28 18:07:10 2011 From: sglasser at visp.net (Steve Glasser) Date: Wed, 28 Dec 2011 09:07:10 -0800 Subject: Nagios on CentOS In-Reply-To: <4EFB23D0.5040609@flatto.net> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> <20111227161241.GA25857@phcomp.co.uk> <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> <4EFB1112.80104@gmail.com> <4EFB23D0.5040609@flatto.net> Message-ID: <4EFB4CBE.4020009@visp.net> I would be very cautious about installing third-party rpms on a production server. You may introduce dependency issues which will affect future system updates. Compiling nagios from source is dead simple and well documented. Cheers, Steve Glasser | Senior System Administrator | visp.net Direct: 541-955-6903 | Fax: 541-471-0821 On 12/28/11 6:12 AM, Assaf Flatto wrote: > On Tuesday 27 December 2011 10:23 PM, Daniel Wittenberg wrote: >> >> >> I would second that, use the RPM's and then it's super-simple RPM installs and a few tweaks for performance and you should be good. >> >> >> >> Dan ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From addw at phcomp.co.uk Wed Dec 28 18:40:13 2011 From: addw at phcomp.co.uk (Alain Williams) Date: Wed, 28 Dec 2011 17:40:13 +0000 Subject: Nagios on CentOS In-Reply-To: <4EFB4CBE.4020009@visp.net> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> <20111227161241.GA25857@phcomp.co.uk> <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> <4EFB1112.80104@gmail.com> <4EFB23D0.5040609@flatto.net> <4EFB4CBE.4020009@visp.net> Message-ID: <20111228174013.GS25857@phcomp.co.uk> On Wed, Dec 28, 2011 at 09:07:10AM -0800, Steve Glasser wrote: > I would be very cautious about installing third-party rpms on a > production server. You may introduce dependency issues which will > affect future system updates. I use Dag on many machines, it is rare to have a problem. It is very much worth installing yum-priorities and making base & update have low values. > Compiling nagios from source is dead simple and well documented. -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Wed Dec 28 19:16:14 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 28 Dec 2011 18:16:14 +0000 Subject: Nagios on CentOS In-Reply-To: <4EFB4CBE.4020009@visp.net> References: <4EF9D6D5.9030101@gmail.com> <4EF9EC2B.605@geninfo.com> <20111227161241.GA25857@phcomp.co.uk> <4288A518A157EC4C8873FEE74F778BF00AE053@WPSDGQHH.OPR.STATEFARM.ORG> <4EFB1112.80104@gmail.com> <4EFB23D0.5040609@flatto.net> <4EFB4CBE.4020009@visp.net> Message-ID: <4288A518A157EC4C8873FEE74F778BF00AEE15@WPSDGQHH.OPR.STATEFARM.ORG> I wouldn't blindly install them without testing, but I've been using dag's for a long time in many environments and no issues. I mainly use RPM's for management via puppet since source installs would be tougher to manage on a larger scale. Dan -----Original Message----- From: Steve Glasser [mailto:sglasser at visp.net] Sent: Wednesday, December 28, 2011 11:07 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios on CentOS I would be very cautious about installing third-party rpms on a production server. You may introduce dependency issues which will affect future system updates. Compiling nagios from source is dead simple and well documented. Cheers, Steve Glasser | Senior System Administrator | visp.net Direct: 541-955-6903 | Fax: 541-471-0821 On 12/28/11 6:12 AM, Assaf Flatto wrote: > On Tuesday 27 December 2011 10:23 PM, Daniel Wittenberg wrote: >> >> >> I would second that, use the RPM's and then it's super-simple RPM installs and a few tweaks for performance and you should be good. >> >> >> >> Dan ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 29 04:43:11 2011 From: ae at op5.se (Andreas Ericsson) Date: Thu, 29 Dec 2011 14:43:11 +1100 Subject: Newbie: controlling bad packets. In-Reply-To: <4EF9D49D.3040206@eurofmc.com> References: <4EF9D49D.3040206@eurofmc.com> Message-ID: <4EFBE1CF.9040303@op5.se> On 12/28/2011 01:22 AM, Network Operation Center FMC Luxemburg wrote: > Hi the List, > > I would control if bad packets has been rejected on a given lan for any or several machines > > A command like this : > > check_rejected_packets -L -T > > Any ideas? A plugin exists for this control? > There's one called "check_traffic", which will tell you how many packets were discarded or dropped in terms of packets per second. -- 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. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 29 10:51:58 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 29 Dec 2011 09:51:58 +0000 Subject: freshness checks not working In-Reply-To: References: <6d54d195d11adbae0b5ca6939fc9a522.squirrel@home.iip.lu> Message-ID: On 27 December 2011 13:32, JM wrote: > Jim Avery jimavery.me.uk> writes: >> Is the the relevant entry for that service check in >> your objects.cache file correct? > > I believe so. Do you see something out of the ordinary: > > ? ? ? ?host_name ? ? ? xxx > ? ? ? ?service_description ? ? yyy > ? ? ? ?check_period ? ?24x7 > ? ? ? ?check_command ? check_dummy!0 > ? ? ? ?contact_groups ?cg_xx > ? ? ? ?notification_period ? ? 24x7 > ? ? ? ?initial_state ? o > ? ? ? ?check_interval ?1.000000 > ? ? ? ?retry_interval ?1.000000 > ? ? ? ?max_check_attempts ? ? ?1 > ? ? ? ?is_volatile ? ? 1 > ? ? ? ?parallelize_check ? ? ? 1 > ? ? ? ?active_checks_enabled ? 0 > ? ? ? ?passive_checks_enabled ?1 > ? ? ? ?obsess_over_service ? ? 1 > ? ? ? ?event_handler_enabled ? 1 > ? ? ? ?low_flap_threshold ? ? ?0.000000 > ? ? ? ?high_flap_threshold ? ? 0.000000 > ? ? ? ?flap_detection_enabled ?0 > ? ? ? ?flap_detection_options ?o,w,u,c > ? ? ? ?freshness_threshold ? ? 600 > ? ? ? ?check_freshness 1 > ? ? ? ?notification_options ? ?u,w,c > ? ? ? ?notifications_enabled ? 1 > ? ? ? ?notification_interval ? 240.000000 > ? ? ? ?first_notification_delay ? ? ? ?0.000000 > ? ? ? ?stalking_options ? ? ? ?n > ? ? ? ?process_perf_data ? ? ? 1 > ? ? ? ?failure_prediction_enabled ? ? ?1 > ? ? ? ?retain_status_information ? ? ? 1 > ? ? ? ?retain_nonstatus_information ? ?1 Ok looking at my config where I do the same sort of thing to clear SNMP-Trap states after a period, it's pretty much the same as yours except I have .. obsess_over_service 0 event_handler_enabled 0 low_flap_threshold 60.000000 high_flap_threshold 80.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c notification_options w,c,r stalking_options w,c process_perf_data 0 failure_prediction_enabled 0 I'll leave it to you to think about whether any of those are likely to have any effect. I don't think they should do, but it might be worth doing a bit of experimentation. Cheers, Jim ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 29 13:43:46 2011 From: ismael.puerto at seres.es (Ismael Puerto) Date: Thu, 29 Dec 2011 13:43:46 +0100 Subject: Nagios and conditional checks Message-ID: <4EFC6082.9070709@seres.es> Hi list We have Nagios 3.3.1 + NRPE 2.0.13 for host. I wold like "ServicieA" resturned me Status:OK if "ServiceB"state is OK. It can be done with "service dependency"? Machine1------------------Machine2 ServiceA------------------- ServiceB Best Regards -- Ismael Puerto Dpto de Explotaci?n 902 42 43 42 ext: 213 ismael.puerto at seres.es Conozca nuestra direcci?n en http://www.seres.es ---------------------------------------------- Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci?n privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma v?a y proceda a su destrucci?n. This message is intended exclusively for its addresses and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. Ce message est pr?vu exclusivement pour son destinataire et peut contenir l'information qui est CONFIDENTIELLE et prot?g?e par privil?ge professionnel. Si vous n'?tes pas le destinataire pr?vu on vous annonce par ceci que n'importe quelle diffusion, copie ou r?v?lation de cette communication est strictement interdite par loi. Si ce message a ?t? re?u par erreur, svp informez-imm?diatement nous par l'interm?diaire du E-mail et supprimez-les. ---------------------------------------------- PRespeta el medio ambiente. Antes de imprimir este e-mail, piensa si realmente es necesario imprimirlo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: direccion Type: image/jpeg Size: 23821 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: line_1 Type: image/jpeg Size: 818 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Dec 29 15:02:36 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 29 Dec 2011 14:02:36 +0000 Subject: Nagios and conditional checks In-Reply-To: <4EFC6082.9070709@seres.es> References: <4EFC6082.9070709@seres.es> Message-ID: <4EFC72FC.50407@flatto.net> Not really service dependencies mean that is service B is not ok , do not alert or do not check service A , but not allow to have a return status based on the status of another service . On 29/12/11 12:43, Ismael Puerto wrote: > Hi list > > We have Nagios 3.3.1 + NRPE 2.0.13 for host. I wold like "ServicieA" > resturned me Status:OK if "ServiceB"state is OK. It can be done with > "service dependency"? > > Machine1------------------Machine2 > ServiceA------------------- ServiceB > > Best Regards > -- > Ismael Puerto > Dpto de Explotaci?n > 902 42 43 42 ext: 213 > ismael.puerto at seres.es > > Conozca nuestra direcci?n en http://www.seres.es > ---------------------------------------------- > Este mensaje se dirige exclusivamente a su destinatario y puede > contener informaci?n privilegiada o confidencial. Si no es vd. el > destinatario indicado, queda notificado de que la utilizaci?n, > divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la > legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos > que nos lo comunique inmediatamente por esta misma v?a y proceda a su > destrucci?n. > This message is intended exclusively for its addresses and may contain > information that is CONFIDENTIAL and protected by professional > privilege. If you are not the intended recipient you are hereby > notified that any dissemination, copy or disclosure of this > communication is strictly prohibited by law. If this message has been > received in error, please immediately notify us via e-mail and delete it. > Ce message est pr?vu exclusivement pour son destinataire et peut > contenir l'information qui est CONFIDENTIELLE et prot?g?e par > privil?ge professionnel. Si vous n'?tes pas le destinataire pr?vu on > vous annonce par ceci que n'importe quelle diffusion, copie ou > r?v?lation de cette communication est strictement interdite par loi. > Si ce message a ?t? re?u par erreur, svp informez-imm?diatement nous > par l'interm?diaire du E-mail et supprimez-les. > ---------------------------------------------- > P Respeta el medio ambiente. Antes de imprimir este e-mail, piensa si > realmente es necesario imprimirlo. > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: direccion Type: image/jpeg Size: 23821 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: line_1 Type: image/jpeg Size: 818 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 matt at conundrum.com Thu Dec 29 17:16:50 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Thu, 29 Dec 2011 11:16:50 -0500 Subject: check_ntp_peer reports stratum off-by-one? Message-ID: It looks like I'm seeing a problem with the check_ntp_peer plugin, and the way it reports stratum. It seems to be reducing the stratum by one on every server it checks. % ntpq -c readvar | grep stratum system="FreeBSD/8.2-RELEASE-p4", leap=00, stratum=3, precision=-19, % ./check_ntp_peer -H localhost -W 3:3 NTP WARNING: Offset 0.007225 secs, stratum=2|offset=0.007225s;60.000000;120.000000; stratum=2;3;16;0;16 % ssh linuxbox ntpq -c readvar | grep stratum processor="x86_64", system="Linux/2.6.32-36-server", leap=00, stratum=3, % ./check_ntp_peer -H linuxbox -W 3:3 NTP WARNING: Offset -0.02112 secs, stratum=2|offset=-0.021120s;60.000000;120.000000; stratum=2;3;16;0;16 Is this a bug somewhere, or have I misunderstood the function of -W and -C? ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjest at u.washington.edu Thu Dec 29 20:23:03 2011 From: jjest at u.washington.edu (Jeremiah D. Jester) Date: Thu, 29 Dec 2011 19:23:03 +0000 Subject: scheduled downtime & nagios.cmd Message-ID: I'm attempting to integrate a downtime schedule script I downloaded from nagios.org into my installation (http://exchange.nagios.org/directory/Addons/Scheduled-Downtime/Downtime-Scheduler/details) The script is supposed to write downtime information to the nagios.cmd file and disable the referenced host. However, when I tail nagios.cmd I am unable to view any processed commands. Interestingly enough the command DOES show in my nagios.log file so it appears that it is processing the command. [1325186243] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;monk;1325186100;1325187540;1;7200;Nagios;Test The problem is that I don't believe the host (monk) is being disabled despite having the start time already occurring in the past. I've validated this test by disabling nrpe on the client. [1325186247] SERVICE ALERT: monk;MEMORY STATUS;CRITICAL;SOFT;1;Connection refused by host Any input would be appreciated! JJ Jeremiah Jester Informatics Specialist Microbiology - Katze Lab 206-732-6185 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 Thu Dec 29 23:19:37 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 29 Dec 2011 22:19:37 +0000 Subject: scheduled downtime & nagios.cmd In-Reply-To: References: Message-ID: On 29 December 2011 19:23, Jeremiah D. Jester wrote: > I?m attempting to integrate a downtime schedule script I downloaded from > nagios.org into my installation > (http://exchange.nagios.org/directory/Addons/Scheduled-Downtime/Downtime-Scheduler/details) > The script is supposed to write downtime information to the nagios.cmd file > and disable the referenced host. However, when I tail nagios.cmd I am unable > to view any processed commands. The command file isn't a file, it's a pipe so I expect Nagios will have already read the line by the time you get to attempt to read it, and if you were able to read it then it wouldn't be there for Nagios to read it. > Interestingly enough the command DOES show > in my nagios.log file so it appears that it is processing the command. > > > > [1325186243] EXTERNAL COMMAND: > SCHEDULE_HOST_DOWNTIME;monk;1325186100;1325187540;1;7200;Nagios;Test > > > > The problem is that I don?t believe the host? (monk) is being disabled > despite having the start time already occurring in the past. I?ve validated > this test by disabling nrpe on the client. > > > > [1325186247] SERVICE ALERT: monk;MEMORY STATUS;CRITICAL;SOFT;1;Connection > refused by host Scheduled downtime won't stop Nagios from running active checks or displaying the resulting alerts in the CGIs. It should stop Nagios from sending notifications (emails) though and you should see the relevant icon to show the host is in a period of scheduled downtime. To view all scheduled downtimes currently configured in Nagios, click 'downtime' in the 'reports' part of the menu. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.willis at kent.pnn.police.uk Fri Dec 30 12:03:24 2011 From: paul.willis at kent.pnn.police.uk (Paul WILLIS PSE 55499) Date: Fri, 30 Dec 2011 11:03:24 +0000 Subject: check_ntp_peer reports stratum off-by-one? In-Reply-To: References: Message-ID: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> Hi Matthew Its neither, its actually you not understanding what peer means. Peer is effectively the next time server (or servers) up the chain, so generally they will be different by one. To see what peer means, type in ntpq, then type in peer. That will list the peers of your server and their strata, NOT the stratum of your server. The main usage of peers is to make sure you are getting time from the correct source or sources. If it is only showing local sources for example it indicates you have lost contact with the external ntp sources and are just using the hardware clock. Paul Willis >>> Matthew Pounsett 29/12/11 16:16 >>> It looks like I'm seeing a problem with the check_ntp_peer plugin, and the way it reports stratum. It seems to be reducing the stratum by one on every server it checks. % ntpq -c readvar | grep stratum system="FreeBSD/8.2-RELEASE-p4", leap=00, stratum=3, precision=-19, % ./check_ntp_peer -H localhost -W 3:3 NTP WARNING: Offset 0.007225 secs, stratum=2|offset=0.007225s;60.000000;120.000000; stratum=2;3;16;0;16 % ssh linuxbox ntpq -c readvar | grep stratum processor="x86_64", system="Linux/2.6.32-36-server", leap=00, stratum=3, % ./check_ntp_peer -H linuxbox -W 3:3 NTP WARNING: Offset -0.02112 secs, stratum=2|offset=-0.021120s;60.000000;120.000000; stratum=2;3;16;0;16 Is this a bug somewhere, or have I misunderstood the function of -W and -C? ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- This email and any other accompanying document (s) contain information from Kent Police, which is confidential or privileged. The information is intended to be for the exclusive use of the individual(s) or bodies to whom it is addressed. The content including any subsequent replies could be disclosable if relating to a criminal investigation or civil proceedings. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify us immediately by contacting the sender or telephoning 01622 690690. -------------- next part -------------- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -------------- 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 matt at conundrum.com Fri Dec 30 18:06:36 2011 From: matt at conundrum.com (Matthew Pounsett) Date: Fri, 30 Dec 2011 12:06:36 -0500 Subject: check_ntp_peer reports stratum off-by-one? In-Reply-To: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> References: <4EFD9A7C020000C40002D6F5@kent.pnn.police.uk> Message-ID: <918C015A-E51F-4F19-A335-677ECA5F97AB@conundrum.com> On 2011/12/30, at 06:03, Paul WILLIS PSE 55499 wrote: > Hi Matthew > > Its neither, its actually you not understanding what peer means. Peer is effectively the next time server (or servers) up the chain, > so generally they will be different by one. To see what peer means, type in ntpq, then type in peer. That will list the peers of your server and their strata, NOT the stratum of your server. The main usage of peers is to make sure you are getting time from the correct source or sources. If it is only showing local sources for example it indicates you have lost contact with the external ntp sources and are just using the hardware clock. I understand exactly how NTP works and what a peer is. The ntpq command I ran is giving me the stratum of that server, not of its peers. Are you saying that check_ntp_peer connects to a remote server and reports on its *peers* rather than on it? That seems to contradict the help documentation. How is it able to distill the strata of several of that server's peers into a single stratum value? ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null