From aakhter at gmail.com Tue Mar 1 05:46:40 2011 From: aakhter at gmail.com (Aamer Akhter) Date: Mon, 28 Feb 2011 23:46:40 -0500 Subject: scheduling active checks against common resources Message-ID: Hello, Is there a way to get nagios to intelligently schedule checks where there is a dependency on a common resource to do the active check. For example: service A, B, C cannot be done at the same time service A on host X, cannot be done at same time as service B on host X Or are these better handled via passive checks? -- Aamer Akhter / aakhter at gmail.com ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.felici at alpikom.it Tue Mar 1 09:29:19 2011 From: s.felici at alpikom.it (Simone Felici) Date: Tue, 01 Mar 2011 09:29:19 +0100 Subject: Multi-site frontend options In-Reply-To: References: Message-ID: <4D6CAE5F.3070105@alpikom.it> Check this out: http://www.opsview.com Community or Enterprise edition available. Powered by Nagios of course. Our setup: - one centralized dual server in HA (Active Passive) - one cluster db server for configurations in HA (Active Passive) - one Warehouse DB Server for storing historical data and made some reports. - five different remote datacenters (three of them in Active-Active Fail-Over HA mode) Central server for configs and for monitoring a part of the network structure Slave servers to monitor other pieces of networks and datacenters not directly reachable form master. All what you need you can find it on the site. a great support and staff! Have a nice day. Simon Il 25/02/2011 17:02, Shawn Green ha scritto: > I have multiple data centers around the US with 100+ nodes and roughly 1500 service checks per > location. Rather than utilize nsca to report to one Nagios instance, I have setup separate ?native? > Nagios instances in each data center. > > Now the fun part?. I?d love to have one centralized interface for all locations. Ideally this is > something that I can run from an apache instance that is located in my main data center (and > separate from the monitoring host in that DC). I?ve been checking out check_mk Multisite and > utilizing the livestatus plugin. There?s a lot to like in it? interface layout, the ability to > submit commands to any location from one interface, and the nagvis integration. There are also some > things that are missing that may be deal breakers for me. Native LDAP (not using mod_ldap in > apache), cacti integration on some level, and more granular user groups would be some. > > Regardless of the fact that we like check_mk Multisite, I?d like to see what other options are out > there. What have you folks used & experienced? > > Thanks > > Shawn > > Shawn M. Green| Manager, Technical Operations > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Tue Mar 1 12:51:13 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Tue, 01 Mar 2011 06:51:13 -0500 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: References: <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov> Message-ID: <4D6CF9D10200002F0001DF1A@trw.com> I have been using NagiosQL (http://www.nagiosql.org/) for more than a year now with great success and they are on the verge of releasing a new version so might be worth a look. you can always move from a GUI driven environment to manual file editing. >>> Max Schubert 2011/02/25 15:20 >>> We do have 60+ sysadmins using a shared instance of Nagios without a configuration UI - all Nagios configuration files are in SVN, current we monitor around 5300 hosts. We found with a little training the sysadmins were happy to take the hit on learning in order to have the flexibility of the full power of the config language. We avoided implementing or integrating a web-based UI because all of them take away various capabilities of the language - we did not want to treat our audience like dummies, so instead we went the path of providing training and mentoring to them and empowered them to use the language themselves. Was this a lot of work for us, especially when we started? YES. Was it an approach that respected our user base and gave them the ability to do what they needed to do with minimal intervention from us? YES. - Max On 2/24/11, Breandan Dezendorf wrote: > On Thu, Feb 24, 2011 at 1:54 PM, Ennis Ibarra wrote: >> My two cents: >> >> Once you lock up your configuration to a given tool, then you stick with >> the >> tool capabilities to configure stuff. The real power is understanding >> the Nagios structure and files, leave the GUIs for presentation only. > > I agree - but when you're trying to serve a large community of > sysadmins, a GUI tool is a useful tool for getting the job done. I > can't teach 60+ admins how to write clean nagios configs, but I can > teach them to use web-based tools. > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gellert at dkrz.de Tue Mar 1 17:17:02 2011 From: gellert at dkrz.de (Olaf Gellert) Date: Tue, 01 Mar 2011 17:17:02 +0100 Subject: ndoutils: servicestatus of passive checks Message-ID: <4D6D1BFE.1010703@dkrz.de> Hi all, I have setup Nagios passive checks to get SNMP-traps into Nagios (using snmptrapd -> snmptt -> submit_check_result). This works fine, even automatic clearing of old results after some days works as expected. Now I have setup ndoutils and NagVis. A host that sent a snmp trap has a status "warning" in the according nagios service. But NagVis shows the host as green (all ok) and the SNMP trap service shows "PENDING" (and as output: "the service "snmptraps" has not been checked yet"). A short look into the MySQL database shows that nagios_servicestatus does not contain any result for the SNMP trap service. Are the results from passive checks not fed into ndo2db? Anything I might be missing? Cheers, Olaf -- Olaf Gellert email gellert at dkrz.de Deutsches Klimarechenzentrum GmbH phone +49 (0)40 460094 214 Bundesstrasse 45a fax +49 (0)40 460094 270 D-20146 Hamburg, Germany www http://www.dkrz.de ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Tue Mar 1 16:58:06 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Tue, 01 Mar 2011 10:58:06 -0500 Subject: scheduling active checks against common resources In-Reply-To: References: Message-ID: <4D6D178E.3090806@paul.dubuc.org> Aamer Akhter wrote: > Hello, > > Is there a way to get nagios to intelligently schedule checks where > there is a dependency on a common resource to do the active check. > > For example: > > service A, B, C cannot be done at the same time > > service A on host X, cannot be done at same time as service B on host X > > Or are these better handled via passive checks? > This would be a very nice feature to have. The only way I could see doing this with active checks is to have the plugins use a lock file. But it's an unsatisfactory solution if you have several services in contention for the same resource. If the plugin waits to get the lock, it may error on timeout and its scheduled check time relative to the other services probably won't change so some check gets locked out every time they are run increasing the execution time. If instead the plugin exits with UNKNOWN when it's locked out, it will run again at the retry interval. That will offset the next scheduled time so it might not get locked out again. But, if it repeatedly gets locked out through all retries, it ends up in a hard state where a notification will be sent and it will only be checked again at the regular check interval. This is probably not what you want to happen in this case. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Tue Mar 1 16:25:17 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 01 Mar 2011 16:25:17 +0100 Subject: Error in performance-data-output In-Reply-To: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> (Dirk Lichterfeld's message of "Mon, 28 Feb 2011 14:05:28 +0100") References: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> Message-ID: <15tipw2q2w2.fsf@tux.uio.no> "Lichterfeld, Dirk" writes: > I want to use "check_openmanage" to monitor some Dell servers with Nagios. At > the most of them we use as OS Windows Server 2003. > > I have a problem to get the performance results from the machines. With the > command "check_openmanage -p" I get a failure in Nagios like "CHECK_NRPE: > Socket Time Out" > > I checked the result of the Check an see what is happend. In the return of the > performance-data fails some signs. I highlight the missing signs: > > > OUTPUT with NSClient++ in TestMode (where the highlighted signs are not in the > output): > > d NSClient++.cpp(1106) Injecting: Check_OpenManage: > d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge R710 II', > SN: 'XXXXXXX', 4 GB ra > m (2 dimms), 1 logical drives, 4 physical drives' > d NSClient++.cpp(1143) Injected Performance Result: > 'fan_0_system_board_fan_1_rpm'=3600;0;0 'fan_1_sys > tem_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0 ' > fan_3_system_board_fan_4_rpm'=3600 > ;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0 'pwr_mon_0_ps_1_current'=0.4;0;0 ' > pwr_mon_1_ps_2_current'=0.4 > ;0;0 'pwr_mon_2_system_board_system_level'=175;917;966 ' > temp_0_system_board_ambient'=20;42;47 > ' > > OUTPUT with MS-DOS-Window (the highlighted signs are not in the output): > > C:\Programme\check_openmanage-3.6.5>check_openmanage.exe -p > OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ram (2 dimms), 1 logical > drives, 4 physical drives|'fan_0_system_board_fan_1_rpm'=3600;0;0 ' > fan_1_system_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0 > 'fan_3_system_board_fan_4_rpm'=3600;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0 > 'pwr_mon_0_ps_1_current'=0.4;0;0 'pwr_mon_1_ps_2_current'=0.4;0;0 ' > pwr_mon_2_system_board_system_level'=175;917;966 'temp_0_system_board_ambient'= > 20;42;47 Hi Dirk, I'm having a hard time understanding what you mean. Perhaps my mail client is playing tricks on me, but I can't see anything highlighted. Except for weird line breaks the perfdata looks OK to me in both examples. Can you be more specific and pinpoint exactly where the problem is? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subs at arahmantech.com Tue Mar 1 15:14:14 2011 From: subs at arahmantech.com (Athiqur Rahman) Date: Tue, 01 Mar 2011 14:14:14 +0000 Subject: montior quagga bgp via snmp Message-ID: <4D6CFF36.9000500@arahmantech.com> Hi, I am monitoring the state of my BGP session on my cisco with the following command check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C testing $ARG1$ being the IP address of my neighbour Does anyone know the equivilant that I would use to monitor BGP on a Linux Quagga router? Thanks ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Wed Mar 2 02:44:19 2011 From: deibertine at yahoo.com (Dei Bertine) Date: Tue, 1 Mar 2011 17:44:19 -0800 (PST) Subject: Undeliverable Mail In-Reply-To: <4B50A1DD.8000904@impactteachers.com> References: <2024a9fb1001150842w5db2bf92q1190e6de1871a863@mail.gmail.com> <4B50A1DD.8000904@impactteachers.com> Message-ID: <905694.42920.qm@web111205.mail.gq1.yahoo.com> Dear all - ? I run Nagios Core 3.2.3 and running postfix as mt mta agent in Ubuntu 10.4. I have setup nagios alerts to send to me and to send to our ticketing system which is ticket at csaa.com. My ticketing system has a auto responder which responds to end users so with that basically whenever Nagios sends alerts to ticket at csaa.com it auto responds to nagios - unfortunately it fails: Your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system : Host or domain name not found. Name service error for name=monitor22.csaa.local type=A: Host not found My question is, how can I make Nagios/Postfix receive emails within? Pls kindly advise mates. Cheers, DB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From si18665 at gmail.com Wed Mar 2 10:17:00 2011 From: si18665 at gmail.com (Sal Ila) Date: Wed, 2 Mar 2011 09:17:00 +0000 Subject: NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " Message-ID: Hi All, I am a newcomer in this list and new with using the product. I am attempting to configure Nagios NRPE for UNIX in the Nagios Monitoring server and NAGIOS NRPE for Windows in the monitored XP PC. The NRPE daemon in the UNIX servers and the NRPE service in the Windows PC appear both running. The Nagios console is able to show me the Windows XP PC and its ping but the CPU load service shows "critical" and the message " CHECK_NRPE: Error - Could not complete SSL handshake. " I have changed the windows.cfg syntax in the UNIX monitoring server from "check_nt" syntax to "check_nrpe" but the result was a different error. define service{ use generic-service host_name windowsXP service_description CPU Load check_command check_nrpe!pdm_cpuload } Any idea what the problem might be? Does the NRPE versions need to match the same operating system? Do I need to manage NRPE UNIX clients with a UNIX NRPE Monitoring server and NRPE Windows clients with a Windows NRPE Monitoring server? Thanks. Regards Salvo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccoager at gmail.com Wed Mar 2 00:58:56 2011 From: ccoager at gmail.com (Cory Coager) Date: Tue, 01 Mar 2011 18:58:56 -0500 Subject: looking for hardware sensors Message-ID: <4D6D8840.6070703@gmail.com> I'm looking for some cheap hardware usb/wifi sensors that are supported in Linux to provide: - temperature - humidity - water/flood - smoke/fire Some all-in-one devices would work as well as long as they aren't too expensive. Otherwise I will have to run them off something like guruplug. Here is some for temperature, humidity and water sensors (~$200): http://www.digi.com/products/videosensors/watchportsensors.jsp#models I haven't found anything for smoke/fire. Does anyone know of any that work in Linux? ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Mar 2 15:04:43 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 2 Mar 2011 09:04:43 -0500 Subject: Monitoring who is connected to Samba share Message-ID: Hi there -- Is there a plug-in that will provide a list of users and/or computers that are currently connected to a samba share? 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 -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Wed Mar 2 14:03:37 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 2 Mar 2011 14:03:37 +0100 (CET) Subject: NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " In-Reply-To: References: Message-ID: <6a3d0cd9f576049f21ae032669ae8379.squirrel@picard.linux.it> Hi, in nsc.ini ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. use_ssl=1 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Mar 2 11:01:34 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 2 Mar 2011 18:01:34 +0800 Subject: Undeliverable Mail In-Reply-To: <905694.42920.qm@web111205.mail.gq1.yahoo.com> References: <2024a9fb1001150842w5db2bf92q1190e6de1871a863@mail.gmail.com> <4B50A1DD.8000904@impactteachers.com> <905694.42920.qm@web111205.mail.gq1.yahoo.com> Message-ID: "Host or domain name not found. Name service error for name=monitor22.csaa.local type=A: Host not found" is it not the problem? On Wed, Mar 2, 2011 at 9:44 AM, Dei Bertine wrote: > Dear all - > > > > I run Nagios Core 3.2.3 and running postfix as mt mta agent in Ubuntu 10.4. > I have setup nagios alerts to send to me and to send to our ticketing system > which is ticket at csaa.com. > > My ticketing system has a auto responder which responds to end users so with > that basically whenever Nagios sends alerts to ticket at csaa.com it auto > responds to nagios - unfortunately it fails: > > Your message could not be delivered to one or more recipients. It's attached > below. > For further assistance, please send mail to postmaster. > If you do so, please include this problem report. You can delete your own > text from the attached returned message. > The mail system > : Host or domain name not found. Name service > error for name=monitor22.csaa.local type=A: Host not found > > My question is, how can I make Nagios/Postfix receive emails within? > Pls kindly advise mates. > Cheers, > DB > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Wed Mar 2 18:15:56 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Wed, 2 Mar 2011 12:15:56 -0500 Subject: Monitoring who is connected to Samba share In-Reply-To: References: Message-ID: I don't know of any plug-in but you can roll your own. If you're already running samba on a linux box, you can mess with the output of net status shares assuming users pick up (mount) their homes when they login to Windows. I believe this also shows login times For a more generic solution (if you don't want to run samba and join the domain), I've had some luck with the sysinternals tools, psloggedon. I set up a scheduled job on a windows host that searches all windows hosts for logins and dumps the output to a share I can see on the linux side. A linux host then parses the crap out of this and makes a nice web page. Ugly, but it works. I bet a good vbs programmer could do it all on the windows side and this could be tied in to a linux nagios server via NRPE, NSClient++ NSCA or whatever. On Wed, Mar 2, 2011 at 9:04 AM, Kaplan, Andrew H. wrote: > Hi there -- > > Is there a plug-in that will provide a list of users and/or computers that > are currently > connected to a samba share? > > 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. > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Mar 2 13:42:21 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 02 Mar 2011 12:42:21 +0000 Subject: NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " In-Reply-To: References: Message-ID: <4D6E3B2D.9040007@flatto.net> Sal Ila wrote: > Hi All, > > I am a newcomer in this list and new with using the product. > > I am attempting to configure Nagios NRPE for UNIX in the Nagios > Monitoring server and NAGIOS NRPE for Windows in the monitored XP PC. > The NRPE daemon in the UNIX servers and the NRPE service in the > Windows PC appear both running. The Nagios console is able to show me > the Windows XP PC and its ping but the CPU load service shows > "critical" and the message " CHECK_NRPE: Error - Could not complete > SSL handshake. " > > I have changed the windows.cfg syntax in the UNIX monitoring server > from "check_nt" syntax to "check_nrpe" but the result was a different > error. > > define service{ > use generic-service > host_name windowsXP > service_description CPU Load > check_command check_nrpe!pdm_cpuload > } > > Any idea what the problem might be? Does the NRPE versions need to > match the same operating system? Do I need to manage NRPE UNIX clients > with a UNIX NRPE Monitoring server and NRPE Windows clients with a > Windows NRPE Monitoring server? > > Thanks. > Regards > Salvo Salvo You'll need to enable ssl on the windows client in the NSC.ini file there should be a commant " use_ssl=0/1" uncomment it , set it to 1 and restart the nsclient service . ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From si18665 at gmail.com Wed Mar 2 15:06:23 2011 From: si18665 at gmail.com (Sal Ila) Date: Wed, 2 Mar 2011 14:06:23 +0000 Subject: NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " In-Reply-To: References: Message-ID: Hi All, I am a newcomer in this list and new with using the product. I am attempting to configure Nagios NRPE for UNIX in the Nagios Monitoring server and NAGIOS NRPE for Windows in the monitored XP PC. The NRPE daemon in the UNIX servers and the NRPE service in the Windows PC appear both running. The Nagios console is able to show me the Windows XP PC and its ping but the CPU load service shows "critical" and the message " CHECK_NRPE: Error - Could not complete SSL handshake. " I have changed the windows.cfg syntax in the UNIX monitoring server from "check_nt" syntax to "check_nrpe" but the result was a different error. define service{ use generic-service host_name windowsXP service_description CPU Load check_command check_nrpe!pdm_cpuload } Any idea what the problem might be? Does the NRPE versions need to match the same operating system? Do I need to manage NRPE UNIX clients with a UNIX NRPE Monitoring server and NRPE Windows clients with a Windows NRPE Monitoring server? Thanks. Regards Salvo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dirk.Lichterfeld at enercity.de Wed Mar 2 09:32:43 2011 From: Dirk.Lichterfeld at enercity.de (Lichterfeld, Dirk) Date: Wed, 2 Mar 2011 09:32:43 +0100 Subject: Error in performance-data-output In-Reply-To: <15tipw2q2w2.fsf@tux.uio.no> References: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> <15tipw2q2w2.fsf@tux.uio.no> Message-ID: <4B3D6EF9711E134BBC08DE28E31126E50A73A71F@SRV-232.master.stadtwerke-hannover.de> Hi Trond, I?m sorry, at my company we use Outlook, so the highlighted text is distinctly and visibly. I will try to specify the problem I mean. If I run NSClient++ in testmode I will get the follow output: d NSClient++.cpp(1106) Injecting: Check_OpenManage: d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ra m (2 dimms), 1 logical drives, 4 physical drives' d NSClient++.cpp(1143) Injected Performance Result: 'fan_0_system_board_fan_1_rpm=3600;0;0 fan_1_sys tem_board_fan_2_rpm=3600;0;0 fan_2_system_board_fan_3_rpm=3600;0;0 fan_3_system_board_fan_4_rpm=3600 ;0;0 fan_4_system_board_fan_5_rpm=3600;0;0 pwr_mon_0_ps_1_current=0.4;0;0 pwr_mon_1_ps_2_current=0.4 ;0;0 pwr_mon_2_system_board_system_level=175;917;966 temp_0_system_board_ambient=20;42;47 ' You can see, the injected perfomance result beginns and ends with a '. 1. I mean, that every description and only the description must be inside of the signs ' our output: fan_2_system_board_fan_3_rpm must be: 'fan_2_system_board_fan_3_rpm' 2. At the end is no special sign approved. You can read this in "chapter 2.6 Performance data" at http://nagiosplug.sourceforge.net/developer-guidelines.html I hope I could describe the problem well enough. Regards, Dirk Lichterfeld -----Urspr?ngliche Nachricht----- Von: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Gesendet: Dienstag, 1. M?rz 2011 16:25 An: Nagios Users List Betreff: Re: [Nagios-users] Error in performance-data-output "Lichterfeld, Dirk" writes: > I want to use "check_openmanage" to monitor some Dell servers with Nagios. At > the most of them we use as OS Windows Server 2003. > > I have a problem to get the performance results from the machines. With the > command "check_openmanage -p" I get a failure in Nagios like "CHECK_NRPE: > Socket Time Out" > > I checked the result of the Check an see what is happend. In the return of the > performance-data fails some signs. I highlight the missing signs: > > > OUTPUT with NSClient++ in TestMode (where the highlighted signs are not in the > output): > > d NSClient++.cpp(1106) Injecting: Check_OpenManage: > d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge R710 II', > SN: 'XXXXXXX', 4 GB ra > m (2 dimms), 1 logical drives, 4 physical drives' > d NSClient++.cpp(1143) Injected Performance Result: > 'fan_0_system_board_fan_1_rpm'=3600;0;0 'fan_1_sys > tem_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0 ' > fan_3_system_board_fan_4_rpm'=3600 > ;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0 'pwr_mon_0_ps_1_current'=0.4;0;0 ' > pwr_mon_1_ps_2_current'=0.4 > ;0;0 'pwr_mon_2_system_board_system_level'=175;917;966 ' > temp_0_system_board_ambient'=20;42;47 > ' > > OUTPUT with MS-DOS-Window (the highlighted signs are not in the output): > > C:\Programme\check_openmanage-3.6.5>check_openmanage.exe -p > OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ram (2 dimms), 1 logical > drives, 4 physical drives|'fan_0_system_board_fan_1_rpm'=3600;0;0 ' > fan_1_system_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0 > 'fan_3_system_board_fan_4_rpm'=3600;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0 > 'pwr_mon_0_ps_1_current'=0.4;0;0 'pwr_mon_1_ps_2_current'=0.4;0;0 ' > pwr_mon_2_system_board_system_level'=175;917;966 'temp_0_system_board_ambient'= > 20;42;47 Hi Dirk, I'm having a hard time understanding what you mean. Perhaps my mail client is playing tricks on me, but I can't see anything highlighted. Except for weird line breaks the perfdata looks OK to me in both examples. Can you be more specific and pinpoint exactly where the problem is? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Stadtwerke Hannover AG Vorsitzender des Aufsichtsrates: Walter Meinhold Vorstand: Michael G. Feist (Vorsitzender), Harald Noske, Jochen Westerholz Sitz der Gesellschaft ist Hannover, Amtsgericht Hannover, HRB 6766 Nutzungshinweis: Wenn Sie nicht der vorgesehene Empfaenger dieser E-Mail sind oder diese irrtuemlich erhalten haben, so informieren Sie bitte den Absender. Beachten Sie bitte, dass eine unerlaubte inhaltliche Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe an Dritte unzulaessig ist. Weitergehende Fragen richten Sie bitte an: it-sicherheit at enercity.de. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Onotsky at broadridge.com Wed Mar 2 16:11:53 2011 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 2 Mar 2011 10:11:53 -0500 Subject: looking for hardware sensors In-Reply-To: <4D6D8840.6070703@gmail.com> References: <4D6D8840.6070703@gmail.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD6100B31FD@missemsa01.bsg.ad.adp.com> > -----Original Message----- > From: Cory Coager [mailto:ccoager at gmail.com] > Sent: March-01-11 18:59 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] looking for hardware sensors > > I'm looking for some cheap hardware usb/wifi sensors that are supported > in Linux to provide: > - temperature > - humidity > - water/flood > - smoke/fire > > Some all-in-one devices would work as well as long as they aren't too > expensive. Otherwise I will have to run them off something like > guruplug. > > Here is some for temperature, humidity and water sensors (~$200): > http://www.digi.com/products/videosensors/watchportsensors.jsp#models > > I haven't found anything for smoke/fire. > > Does anyone know of any that work in Linux? > Esensors' EM01B units (http://www.eesensors.com/WebsensorEM01B.html) are checked via http, so platform is irrelevant. They also check illumination; if the area that you want checked is constantly lit (or unlit) you could check for a rising light level that flames would cause. It's a stretch, I know, but the sensors are cheap and work well. Cheers Steve This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelhenriqu at gmail.com Wed Mar 2 16:27:11 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Wed, 02 Mar 2011 12:27:11 -0300 Subject: check_nt and external scripts Message-ID: <4D6E61CF.2010408@gmail.com> Good afternoon list! I modified an external script from... http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/ArcServe/CA-ARCserve-Backup-r12-Number-of-Job-Error-Check/details And i'm need monitoring this script with check_nt. How do this? Anybody can help me please? Thanks -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From si18665 at gmail.com Wed Mar 2 19:13:24 2011 From: si18665 at gmail.com (Sal Ila) Date: Wed, 2 Mar 2011 18:13:24 +0000 Subject: NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " In-Reply-To: <6a3d0cd9f576049f21ae032669ae8379.squirrel@picard.linux.it> References: <6a3d0cd9f576049f21ae032669ae8379.squirrel@picard.linux.it> Message-ID: Thanks Giorgio. I don't have the file nsc.ini, neither in the UNIX managing server nor in the Windows managed PC. Regards Salvo On Wed, Mar 2, 2011 at 1:03 PM, Giorgio Zarrelli wrote: > Hi, > > in nsc.ini > > ;# USE SSL SOCKET > ; This option controls if SSL should be used on the socket. > use_ssl=1 > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Wed Mar 2 17:13:55 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Wed, 2 Mar 2011 16:13:55 +0000 Subject: looking for hardware sensors In-Reply-To: <4D6D8840.6070703@gmail.com> References: <4D6D8840.6070703@gmail.com> Message-ID: On Tue, Mar 1, 2011 at 11:58 PM, Cory Coager wrote: > I'm looking for some cheap hardware usb/wifi sensors that are supported > in Linux to provide: > - temperature > - humidity > - water/flood > - smoke/fire > > Some all-in-one devices would work as well as long as they aren't too > expensive. ?Otherwise I will have to run them off something like guruplug. > > Here is some for temperature, humidity and water sensors (~$200): > http://www.digi.com/products/videosensors/watchportsensors.jsp#models > > I haven't found anything for smoke/fire. > > Does anyone know of any that work in Linux? > Not everything that you are looking for but these were cheep (ebay job, or other sites directly) http://www.pcsensor.com/index.php?_a=viewProd&productId=15 and worked really well under linux with this perl module... http://search.cpan.org/~msulland/Device-USB-PCSensor-HidTEMPer-0.0201/ they do one with a hygrometer too http://www.pcsensor.com/index.php?_a=viewProd&productId=31 Ritchie > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed Mar 2 18:41:57 2011 From: chiel at gmx.net (chiel) Date: Wed, 02 Mar 2011 18:41:57 +0100 Subject: NOC display screen In-Reply-To: References: <4D6AAE3A.4000108@gmx.net> Message-ID: <4D6E8165.5010807@gmx.net> On 02/27/2011 10:33 PM, Jim Avery wrote: > A similar question came up here only a couple of weeks ago. This was > my advice.. > > If it's any help to you, the URL I now use is: > > http://webserver/nagios/cgi-bin/status.cgi?host=all&hostprops=10&servicestatustypes=29&serviceprops=10&sorttype=2&sortoption=6&noheader > > Even though this doesn't explictly show hosts, if a host is down you > will still see it on this page because its services will also be down > (or unknown or whatever). > > According to the Display Filters panel which appears if you remove the > "&noheader", this one shows: > > Host Status Types: All > Host Properties: Not In Scheduled Downtime & Has Not Been Acknowledged > Service Status Types: Pending | Unknown | Warning | Critical > Service Properties: Not In Scheduled Downtime & Has Not Been Acknowledged > > and the sort is by state duration descending. > > Of course it won't show downed hosts if they have no services. I make > sure all hosts have at least one service (even if that's just ping) so > they can be seen on this service page. Oke, that is getting close, need to add some service checks to hosts that don't have that. However this will not show flapping events :( something that is important. Not sure if it will show "blocking" outages. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Mar 2 21:23:04 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 02 Mar 2011 21:23:04 +0100 Subject: Error in performance-data-output In-Reply-To: <4B3D6EF9711E134BBC08DE28E31126E50A73A71F@SRV-232.master.stadtwerke-hannover.de> (Dirk Lichterfeld's message of "Wed, 2 Mar 2011 09:32:43 +0100") References: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> <15tipw2q2w2.fsf@tux.uio.no> <4B3D6EF9711E134BBC08DE28E31126E50A73A71F@SRV-232.master.stadtwerke-hannover.de> Message-ID: <15ttyflmfvb.fsf@tux.uio.no> "Lichterfeld, Dirk" writes: > Hi Trond, > > I?m sorry, at my company we use Outlook, so the highlighted text is distinctly and visibly. > > I will try to specify the problem I mean. > > If I run NSClient++ in testmode I will get the follow output: > > d NSClient++.cpp(1106) Injecting: Check_OpenManage: > d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ra > m (2 dimms), 1 logical drives, 4 physical drives' > d NSClient++.cpp(1143) Injected Performance Result: 'fan_0_system_board_fan_1_rpm=3600;0;0 fan_1_sys > tem_board_fan_2_rpm=3600;0;0 fan_2_system_board_fan_3_rpm=3600;0;0 fan_3_system_board_fan_4_rpm=3600 > ;0;0 fan_4_system_board_fan_5_rpm=3600;0;0 pwr_mon_0_ps_1_current=0.4;0;0 pwr_mon_1_ps_2_current=0.4 > ;0;0 pwr_mon_2_system_board_system_level=175;917;966 temp_0_system_board_ambient=20;42;47 > ' > > You can see, the injected perfomance result beginns and ends with a '. Yes, but I think that NSClient++ is responsible for that, putting everything inside single quotes. As you can see it does that for the plugin output as well. > 1. I mean, that every description and only the description must be inside of the signs ' > our output: fan_2_system_board_fan_3_rpm > must be: 'fan_2_system_board_fan_3_rpm' > 2. At the end is no special sign approved. > > You can read this in "chapter 2.6 Performance data" at http://nagiosplug.sourceforge.net/developer-guidelines.html > > I hope I could describe the problem well enough. Yes, thank you, this was much clearer :) However, the quotes are not needed according to the guidelines for performance data[1]: 3. the single quotes for the label are optional. Required if spaces, = or ' are in the label The perfdata labels don't contain any of the offending characters. Could it be that this is a Windows issue, or perhaps NSClient++? Any NSClient++ users here who can confirm if this is the case? I'm thinking that perhaps the underscore character '_' is throwing off Windows or NSClient++. [1] http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN201 Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Mar 2 23:03:52 2011 From: benny at bennyvision.com (C. Bensend) Date: Wed, 2 Mar 2011 16:03:52 -0600 Subject: Error in performance-data-output In-Reply-To: <15ttyflmfvb.fsf@tux.uio.no> References: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> <15tipw2q2w2.fsf@tux.uio.no> <4B3D6EF9711E134BBC08DE28E31126E50A73A71F@SRV-232.master.stadtwerke-hannover.de> <15ttyflmfvb.fsf@tux.uio.no> Message-ID: > Could it be that this is a Windows issue, or perhaps NSClient++? > > Any NSClient++ users here who can confirm if this is the case? I'm > thinking that perhaps the underscore character '_' is throwing off > Windows or NSClient++. I use NSClient on hundreds of hosts, and I haven't noticed any issues with underscores yet... Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccoager at gmail.com Thu Mar 3 04:57:06 2011 From: ccoager at gmail.com (Cory Coager) Date: Wed, 02 Mar 2011 22:57:06 -0500 Subject: looking for hardware sensors In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD6100B31FD@missemsa01.bsg.ad.adp.com> References: <4D6D8840.6070703@gmail.com> <30A417B62E7EE448B3864ADC881CEFD6100B31FD@missemsa01.bsg.ad.adp.com> Message-ID: <4D6F1192.9000604@gmail.com> On 03/02/2011 10:11 AM, Onotsky, Steve x55328 wrote: > Esensors' EM01B units (http://www.eesensors.com/WebsensorEM01B.html) are > checked via http, so platform is irrelevant. > > They also check illumination; if the area that you want checked is > constantly lit (or unlit) you could check for a rising light level that > flames would cause. It's a stretch, I know, but the sensors are cheap > and work well. > > Cheers > Steve I've seen these before, a little pricey but I'm considering them. Would the light sensors really detect a fire? There must be some sensors specifically for fire/smoke out there. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ccoager at gmail.com Thu Mar 3 04:59:52 2011 From: ccoager at gmail.com (Cory Coager) Date: Wed, 02 Mar 2011 22:59:52 -0500 Subject: looking for hardware sensors In-Reply-To: References: <4D6D8840.6070703@gmail.com> Message-ID: <4D6F1238.9020201@gmail.com> On 03/02/2011 11:13 AM, mail at catsnest.co.uk wrote: > Not everything that you are looking for but these were cheep (ebay > job, or other sites directly) > > http://www.pcsensor.com/index.php?_a=viewProd&productId=15 > > and worked really well under linux with this perl module... > > http://search.cpan.org/~msulland/Device-USB-PCSensor-HidTEMPer-0.0201/ > > they do one with a hygrometer too > http://www.pcsensor.com/index.php?_a=viewProd&productId=31 > > Ritchie Nice cheap options, thanks! ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From si18665 at gmail.com Thu Mar 3 06:14:27 2011 From: si18665 at gmail.com (Sal Ila) Date: Thu, 3 Mar 2011 05:14:27 +0000 Subject: Solved. NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " Message-ID: Thanks to those people who have assisted me. I installed the NRPE package for Windows available in SourgeForge.net but this package has not the nsc.ini which you mentioned in your e-mails. You somehow pointed me to the right direction and when I installed the NSClient++ everything started to work well. As far as I can see, the NRPE client doesn't have a specific document for the Windows installation and always refer to the UNIX installation, although there is a Windows installer. Best regards Salvo On Wed, Mar 2, 2011 at 12:42 PM, Assaf Flatto wrote: > Sal Ila wrote: > > Hi All, > > > > I am a newcomer in this list and new with using the product. > > > > I am attempting to configure Nagios NRPE for UNIX in the Nagios > > Monitoring server and NAGIOS NRPE for Windows in the monitored XP PC. > > The NRPE daemon in the UNIX servers and the NRPE service in the > > Windows PC appear both running. The Nagios console is able to show me > > the Windows XP PC and its ping but the CPU load service shows > > "critical" and the message " CHECK_NRPE: Error - Could not complete > > SSL handshake. " > > > > I have changed the windows.cfg syntax in the UNIX monitoring server > > from "check_nt" syntax to "check_nrpe" but the result was a different > > error. > > > > define service{ > > use generic-service > > host_name windowsXP > > service_description CPU Load > > check_command check_nrpe!pdm_cpuload > > } > > > > Any idea what the problem might be? Does the NRPE versions need to > > match the same operating system? Do I need to manage NRPE UNIX clients > > with a UNIX NRPE Monitoring server and NRPE Windows clients with a > > Windows NRPE Monitoring server? > > > > Thanks. > > Regards > > Salvo > Salvo > > You'll need to enable ssl on the windows client > in the NSC.ini file there should be a commant " use_ssl=0/1" > > uncomment it , set it to 1 and restart the nsclient service . > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Mar 3 07:08:35 2011 From: michael at medin.name (Michael Medin) Date: Thu, 03 Mar 2011 07:08:35 +0100 Subject: check_nt and external scripts In-Reply-To: <4D6E61CF.2010408@gmail.com> References: <4D6E61CF.2010408@gmail.com> Message-ID: <4D6F3063.2090008@medin.name> Hello, If you hace NSClient++ on your Windows Server you need to use check_nrpe instead of check_nt to run scripts. // Michael Medin Rafael Henrique da Silva Correia skrev 2011-03-02 16:27: > Good afternoon list! > > I modified an external script from... > > http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/ArcServe/CA-ARCserve-Backup-r12-Number-of-Job-Error-Check/details > > And i'm need monitoring this script with check_nt. How do this? > > Anybody can help me please? > > Thanks > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Mar 3 07:06:58 2011 From: michael at medin.name (Michael Medin) Date: Thu, 03 Mar 2011 07:06:58 +0100 Subject: NAGIOS NRPE for Windows. Error: "CHECK_NRPE: Error - Could not complete SSL handshake. " In-Reply-To: References: Message-ID: <4D6F3002.6000102@medin.name> Hello, If you are using NSClient++ on the windows side there is a guide for getting started with nagios, nrpe and nsclient++ on the nsclient++ wiki: http://nsclient.com/nscp/wiki/doc/usage/nagios/nrpe // Michael Medin Sal Ila skrev 2011-03-02 10:17: > Hi All, > > I am a newcomer in this list and new with using the product. > > I am attempting to configure Nagios NRPE for UNIX in the Nagios > Monitoring server and NAGIOS NRPE for Windows in the monitored XP PC. > The NRPE daemon in the UNIX servers and the NRPE service in the > Windows PC appear both running. The Nagios console is able to show me > the Windows XP PC and its ping but the CPU load service shows > "critical" and the message " CHECK_NRPE: Error - Could not complete > SSL handshake. " > > I have changed the windows.cfg syntax in the UNIX monitoring server > from "check_nt" syntax to "check_nrpe" but the result was a different > error. > > define service{ > use generic-service > host_name windowsXP > service_description CPU Load > check_command check_nrpe!pdm_cpuload > } > > Any idea what the problem might be? Does the NRPE versions need to > match the same operating system? Do I need to manage NRPE UNIX clients > with a UNIX NRPE Monitoring server and NRPE Windows clients with a > Windows NRPE Monitoring server? > > Thanks. > Regards > Salvo > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelhenriqu at gmail.com Thu Mar 3 16:47:57 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Thu, 03 Mar 2011 12:47:57 -0300 Subject: [SOLVED] Re: check_nt and external scripts In-Reply-To: <4D6F3063.2090008@medin.name> References: <4D6E61CF.2010408@gmail.com> <4D6F3063.2090008@medin.name> Message-ID: <4D6FB82D.1040408@gmail.com> Thanks Michael. More about this in: http://www.nsclient.org/nscp/wiki/CheckExternalScripts Em 03-03-2011 03:08, Michael Medin escreveu: > Hello, > > If you hace NSClient++ on your Windows Server you need to use > check_nrpe instead of check_nt to run scripts. > > // Michael Medin > > Rafael Henrique da Silva Correia skrev 2011-03-02 16:27: >> Good afternoon list! >> >> I modified an external script from... >> >> http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/ArcServe/CA-ARCserve-Backup-r12-Number-of-Job-Error-Check/details >> >> >> And i'm need monitoring this script with check_nt. How do this? >> >> Anybody can help me please? >> >> Thanks >> > -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Thu Mar 3 17:23:39 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Thu, 03 Mar 2011 10:23:39 -0600 Subject: looking for hardware sensors In-Reply-To: <4D6F1192.9000604@gmail.com> References: <4D6D8840.6070703@gmail.com> <30A417B62E7EE448B3864ADC881CEFD6100B31FD@missemsa01.bsg.ad.adp.com> <4D6F1192.9000604@gmail.com> Message-ID: <4D6FC08B.4050405@nagios.com> On 3/2/2011 9:57 PM, Cory Coager wrote: > I've seen these before, a little pricey but I'm considering them. Would > the light sensors really detect a fire? Assuming you have a pretty steady environment normally so can set tight thresholds, probably. We have the EM08T and it's pretty sensitive. There is another company, http://www.itwatchdogs.com/, that has a smoke alarm available for their systems. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelhenriqu at gmail.com Thu Mar 3 17:49:10 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Thu, 03 Mar 2011 13:49:10 -0300 Subject: Socket.h:(677): bind failed Message-ID: <4D6FC686.3010400@gmail.com> Good afternoon list! I'm having trouble with NSClient++ in the Windows Server 2008 x64. I try reinstall NSClient++ and the Nagios Server can't connect to NSClient++. I'm sending an log attached. Anybody can help me please? Thanks -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 -------------- next part -------------- A non-text attachment was scrubbed... Name: nsclient.log Type: text/x-log Size: 29446 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neira.francisco at gmail.com Thu Mar 3 18:06:54 2011 From: neira.francisco at gmail.com (Francisco Neira) Date: Thu, 3 Mar 2011 12:06:54 -0500 Subject: looking for hardware sensors In-Reply-To: <4D6FC08B.4050405@nagios.com> References: <4D6D8840.6070703@gmail.com> <30A417B62E7EE448B3864ADC881CEFD6100B31FD@missemsa01.bsg.ad.adp.com> <4D6F1192.9000604@gmail.com> <4D6FC08B.4050405@nagios.com> Message-ID: 2011/3/3 Tony Yarusso > On 3/2/2011 9:57 PM, Cory Coager wrote: > > I've seen these before, a little pricey but I'm considering them. Would > > the light sensors really detect a fire? > > Assuming you have a pretty steady environment normally so can set tight > thresholds, probably. We have the EM08T and it's pretty sensitive. > There is another company, http://www.itwatchdogs.com/, that has a smoke > alarm available for their systems. > > Be careful. What if the fire is started in the wiring under the floor tiles or inside a cabinet. Usually fire detection is based on temperature _and_ smoke detection. -- Francisco Neira, ISO 27002 Usuario Linux # 165985 ISACA No.565432, IEEE No.90934498 Lima, Peru -05:00 GMT -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Mar 3 18:09:46 2011 From: michael at medin.name (Michael Medin) Date: Thu, 03 Mar 2011 18:09:46 +0100 Subject: Socket.h:(677): bind failed In-Reply-To: <4D6FC686.3010400@gmail.com> References: <4D6FC686.3010400@gmail.com> Message-ID: <4D6FCB5A.3030707@medin.name> Hello, My guess is that "Normalmente ? permitida apenas uma utiliza??o de cada endere?o de soquete (protocolo/endere?o de rede/porta)" is Spanish? Portugis? for "only one allowed" which means someone else is already using the port. So either figure out which application is useing the port (could be it is already started, could be installed twice) or change the port in question. // Michael Medin Rafael Henrique da Silva Correia skrev 2011-03-03 17:49: > Good afternoon list! > > I'm having trouble with NSClient++ in the Windows Server 2008 x64. > > I try reinstall NSClient++ and the Nagios Server can't connect to > NSClient++. I'm sending an log attached. > > Anybody can help me please? > > Thanks > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Mar 3 18:09:55 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 3 Mar 2011 18:09:55 +0100 Subject: Socket.h:(677): bind failed In-Reply-To: <4D6FC686.3010400@gmail.com> References: <4D6FC686.3010400@gmail.com> Message-ID: > Good afternoon list! > > I'm having trouble with NSClient++ in the Windows Server 2008 x64. > > I try reinstall NSClient++ and the Nagios Server can't connect to > NSClient++. I'm sending an log attached. > - Check your windows server 2008 firewall settings. M. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Thu Mar 3 18:35:04 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Thu, 3 Mar 2011 10:35:04 -0700 (MST) Subject: looking for hardware sensors In-Reply-To: <4D6D8840.6070703@gmail.com> References: <4D6D8840.6070703@gmail.com> Message-ID: <900573850.312326.1299173704000.JavaMail.root@mail.nmcourts.gov> We've bought TemPageR from Avtech temperature sensors but they also have humidity an others, very inexpensive, they will try to sell you support an a console and what have you, you have that anyways for a year. The nice thing about these is that it has a RJ45 connection, don't know if they have wireless, but even a better thing is that they have a telnet "backdoor" which once you connect yourself into, throws the reading of the current sensors. We scripted an expect script to catch the telnet output and have that integrated with Nagios, works beautifully. Check it out, and if interested shoot me a Request for the scripts and I'll be glad to share them. Other options? Sure SMNP based, but quite expensive. ----- Original Message ----- From: "Cory Coager" To: nagios-users at lists.sourceforge.net Sent: Tuesday, March 1, 2011 4:58:56 PM Subject: [Nagios-users] looking for hardware sensors I'm looking for some cheap hardware usb/wifi sensors that are supported in Linux to provide: - temperature - humidity - water/flood - smoke/fire Some all-in-one devices would work as well as long as they aren't too expensive. Otherwise I will have to run them off something like guruplug. Here is some for temperature, humidity and water sensors (~$200): http://www.digi.com/products/videosensors/watchportsensors.jsp#models I haven't found anything for smoke/fire. Does anyone know of any that work in Linux? ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelhenriqu at gmail.com Thu Mar 3 19:12:33 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Thu, 03 Mar 2011 15:12:33 -0300 Subject: Socket.h:(677): bind failed In-Reply-To: <4D6FCB5A.3030707@medin.name> References: <4D6FC686.3010400@gmail.com> <4D6FCB5A.3030707@medin.name> Message-ID: <4D6FDA11.4090409@gmail.com> Sorry... Portuguese... In English: \Socket.h:677: bind failed: 10048: Only one usage of each socket address (protocol>network address/port) is normally permitted. Em 03-03-2011 14:09, Michael Medin escreveu: > Hello, > > My guess is that "Normalmente ? permitida apenas uma utiliza??o de > cada endere?o de soquete (protocolo/endere?o de rede/porta)" is > Spanish? Portugis? for "only one allowed" which means someone else is > already using the port. > > So either figure out which application is useing the port (could be it > is already started, could be installed twice) or change the port in > question. > > > // Michael Medin > > > Rafael Henrique da Silva Correia skrev 2011-03-03 17:49: >> Good afternoon list! >> >> I'm having trouble with NSClient++ in the Windows Server 2008 x64. >> >> I try reinstall NSClient++ and the Nagios Server can't connect to >> NSClient++. I'm sending an log attached. >> >> Anybody can help me please? >> >> Thanks >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search& Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights.http://p.sf.net/sfu/splunk-dev2dev >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelhenriqu at gmail.com Thu Mar 3 19:14:07 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Thu, 03 Mar 2011 15:14:07 -0300 Subject: Socket.h:(677): bind failed In-Reply-To: References: <4D6FC686.3010400@gmail.com> Message-ID: <4D6FDA6F.4000702@gmail.com> The firewall is disable. Em 03-03-2011 14:09, Mark Elsen escreveu: >> Good afternoon list! >> >> I'm having trouble with NSClient++ in the Windows Server 2008 x64. >> >> I try reinstall NSClient++ and the Nagios Server can't connect to >> NSClient++. I'm sending an log attached. >> >> > - Check your windows server 2008 firewall settings. > > M. > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjones at exelixis.com Fri Mar 4 01:54:27 2011 From: cjones at exelixis.com (Clyde Jones) Date: Thu, 3 Mar 2011 16:54:27 -0800 Subject: Monitoring unmounted partition In-Reply-To: <4D512DB5.7040708@skisa.com> References: <4D512DB5.7040708@skisa.com> Message-ID: <5F171A4332A7E147B1537EA714461E0102D0DE1F@EXCL01.exelixis.com> Javier Rivera wrote: > Good Morning, > > Im having a problem with check_nrpe. Im monitoring a > partition /mnt/XXXX2 f.e. If i dont have this partition > mounted, it just returns the value of "/" witout sending any error. > > How can i get an alert when the partition isn`t mounted. > > Thanks in advance. > > Sorry for my english. I write it also in spanish, if u use a > translator maybe u understand me better. > > Estoy teniendo un problema con check_nrpe. Estoy > monitorizando la partici?n /mnt/XXXX2 por ejemplo. Si no > tengo esta partici?n montada, me devuelve la informaci?n de "/" y no da > ning?n error. > > ?Como puedo hacer para que salte alerta cuando no esta montada?. > > > Gracias Sorry just seeing this check_mount will return information about the mount point even if it is unmounted. I am planning to use check_logs.pl for checking to make sure automounts are present. I have check_logs.pl check the /proc/mounts for the correct string. Something like [root at stuff ]# /usr/local/nagios/libexec/check_logs.pl -s /dev/shm/mntck -l /proc/mounts -p auto.home mounts => (1): /etc/auto.home /home autofs rw,fd=18,pgrp=5283,timeout=300,minproto=5,maxproto=5,indirect 0 0; -- Clyde Jones R&D Informatics Senior Applications Engineer cjones at exelixis.com Exelixis Inc 650 837 7085 Office 650 228 4699 Cell This email (including any attachments) may contain material that is confidential and privileged and is for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Exelixis, Inc. reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Fri Mar 4 04:26:08 2011 From: morty+nagios at frakir.org (Morty) Date: Thu, 3 Mar 2011 22:26:08 -0500 Subject: Socket.h:(677): bind failed In-Reply-To: <4D6FDA11.4090409@gmail.com> References: <4D6FC686.3010400@gmail.com> <4D6FCB5A.3030707@medin.name> <4D6FDA11.4090409@gmail.com> Message-ID: <20110304032608.GA31279@red-sonja> On Thu, Mar 03, 2011 at 03:12:33PM -0300, Rafael Henrique da Silva Correia wrote: > Sorry... Portuguese... > > In English: > > \Socket.h:677: bind failed: 10048: Only one usage of each socket address > (protocol>network address/port) is normally permitted. Stop the daemon and run netstat in the mode that shows all sockets and what processes are bound to them. Under linux, that's netstat -pan. Under Windows, I think it's something like netstat -ban. - Morty ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntoughe at hotmail.com Fri Mar 4 11:53:52 2011 From: ntoughe at hotmail.com (NTOUGHE GUY-SERGE) Date: Fri, 4 Mar 2011 10:53:52 +0000 Subject: Ho to Deploy massively Nagios on more than 200 Windows servers? In-Reply-To: References: Message-ID: Hi Gurus,I have to deploy Nagios plugins on more than 200 Windows servers. Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5.So i would like to know how to do it massively instead of server by server ?Thanks for your help. ntoughe at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 4 11:57:18 2011 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Fri, 4 Mar 2011 11:57:18 +0100 (CET) Subject: Ho to Deploy massively Nagios on more than 200 Windows servers? In-Reply-To: References: Message-ID: Hi, use a domain policy (Active Directory). > > > Hi Gurus,I have to deploy Nagios plugins on more than 200 Windows > servers. > Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5.So i > would like to know how to do it massively instead of server by server > ?Thanks for your help. > > > > > ntoughe at hotmail.com > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. > http://p.sf.net/sfu/progress-d2d_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Mar 4 12:29:39 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 4 Mar 2011 05:29:39 -0600 Subject: Ho to Deploy massively Nagios on more than 200 Windows servers? In-Reply-To: References: Message-ID: <674d93d5ccd2caa2dd1806fdf8b93008.squirrel@webmail.stinkweasel.net> > Hi Gurus,I have to deploy Nagios plugins on more than 200 Windows > servers. > Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5.So i > would like to know how to do it massively instead of server by server > ?Thanks for your help. The same way as you deploy any other software to your more than 200 Windows servers... How do you apply your patches? How do you distribute other software? I use SCCM to do it on my network. You could also script it from one of the Windows machines, or any number of other methods. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafaelhenriqu at gmail.com Fri Mar 4 12:49:07 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Fri, 04 Mar 2011 08:49:07 -0300 Subject: [SOLVED] Socket.h:(677): bind failed In-Reply-To: <20110304032608.GA31279@red-sonja> References: <4D6FC686.3010400@gmail.com> <4D6FCB5A.3030707@medin.name> <4D6FDA11.4090409@gmail.com> <20110304032608.GA31279@red-sonja> Message-ID: <4D70D1B3.20901@gmail.com> Hi there, I rebooted the system, because the process was killed but the socket wasn't closed. The Windows Operating System is awfull. Solved now, thanks. Em 04-03-2011 00:26, Morty escreveu: > On Thu, Mar 03, 2011 at 03:12:33PM -0300, Rafael Henrique da Silva Correia wrote: > >> Sorry... Portuguese... >> >> In English: >> >> \Socket.h:677: bind failed: 10048: Only one usage of each socket address >> (protocol>network address/port) is normally permitted. >> > Stop the daemon and run netstat in the mode that shows all sockets and > what processes are bound to them. Under linux, that's netstat -pan. > Under Windows, I think it's something like netstat -ban. > > - Morty > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Fri Mar 4 13:03:14 2011 From: a31modela at hotmail.com (steve f) Date: Fri, 4 Mar 2011 07:03:14 -0500 Subject: Ho to Deploy massively Nagios on more than 200 Windows servers? In-Reply-To: References: , Message-ID: We use SMS for Windows distributions and in our Linux world, we use Stratacache Omnicast. We deploy almost daily to 1000's of Linux boxes using Omnicast with almost 100% success. Best sw delivery method I have ever used. Steve From: ntoughe at hotmail.com To: nagios-users at lists.sourceforge.net Date: Fri, 4 Mar 2011 10:53:52 +0000 Subject: [Nagios-users] Ho to Deploy massively Nagios on more than 200 Windows servers? Hi Gurus,I have to deploy Nagios plugins on more than 200 Windows servers. Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5.So i would like to know how to do it massively instead of server by server ?Thanks for your help. ntoughe at hotmail.com ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 gpbuono at gmail.com Fri Mar 4 14:26:35 2011 From: gpbuono at gmail.com (Gian Paolo Buono) Date: Fri, 4 Mar 2011 14:26:35 +0100 Subject: Multiple users acces to some check Message-ID: Hi, I have many users accessing nagios to web interface. The autentication of users is on Apache with to a server ldap, all users see all the controls. There is a method to allow only some users to access to some check? Bye -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 4 14:55:36 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 04 Mar 2011 13:55:36 +0000 Subject: Multiple users acces to some check In-Reply-To: References: Message-ID: <4D70EF58.10402@flatto.net> Gian Paolo Buono wrote: > Hi, > > I have many users accessing nagios to web interface. > > The autentication of users is on Apache with to a server ldap, all > users see all the controls. > > There is a method to allow only some users to access to some check? > > Bye http://nagios.sourceforge.net/docs/3_0/cgiauth.html read that , it should explain what you need Assaf ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Fri Mar 4 14:57:20 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Fri, 4 Mar 2011 08:57:20 -0500 Subject: Strange timeout discrepancy Message-ID: <0F3D91EA70124C468301FF70A8ED16D402A1D94700@BOYV7EXVS1.opm.gov> I'm getting the usual nrpe timeout on a slow network here. Error messages says CHECK_NRPE: Socket timeout after 30 seconds. And normally know how to fix it. The really strange thing is that the client has timeouts set to 60 in nrpe.cfg: command_timeout=60 and the nrpe call itself is being done with a timeout of 60: command_line $USER1$/check_nrpe -H cabot -t 60 -c check_local_info with the check_local_info being my own shell script. So is there another place that the '30' timeout could possibly be coming from? Thanks much... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 4 15:35:23 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 04 Mar 2011 14:35:23 +0000 Subject: Strange timeout discrepancy In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402A1D94700@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402A1D94700@BOYV7EXVS1.opm.gov> Message-ID: <4D70F8AB.2070506@flatto.net> Boyer, Timothy A. wrote: > > I?m getting the usual nrpe timeout on a slow network here. Error > messages says > > CHECK_NRPE: Socket timeout after 30 seconds. > > And normally know how to fix it. The really strange thing is that the > client has timeouts set to 60 in nrpe.cfg: > > command_timeout=60 > > and the nrpe call itself is being done with a timeout of 60: > > command_line $USER1$/check_nrpe -H cabot -t 60 -c check_local_info > > with the check_local_info being my own shell script. > > So is there another place that the ?30? timeout could possibly be > coming from? > > Thanks much? > On "cabot" check the time out definition in the nrpe.cfg of the daemon , that may be the reason for the 30 sec time out. Change it to the time you want and restart the NRPE . Assaf ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Fri Mar 4 15:44:06 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Fri, 4 Mar 2011 06:44:06 -0800 (PST) Subject: (no subject) Message-ID: <633283.88867.qm@web36502.mail.mud.yahoo.com> Are you looking for something awesome? I can give it to you!.. http://jacunart.com.br/links.php?didCID=31ik5 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Timothy.Boyer at opm.gov Fri Mar 4 15:56:06 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Fri, 4 Mar 2011 09:56:06 -0500 Subject: Strange timeout discrepancy In-Reply-To: <4D70F8AB.2070506@flatto.net> References: <0F3D91EA70124C468301FF70A8ED16D402A1D94700@BOYV7EXVS1.opm.gov> <4D70F8AB.2070506@flatto.net> Message-ID: <0F3D91EA70124C468301FF70A8ED16D402A1D94707@BOYV7EXVS1.opm.gov> > Boyer, Timothy A. wrote: >> >> I'm getting the usual nrpe timeout on a slow network here. Error >> messages says >> >> CHECK_NRPE: Socket timeout after 30 seconds. >> >> And normally know how to fix it. The really strange thing is that the >> client has timeouts set to 60 in nrpe.cfg: >> >> command_timeout=60 >> >> and the nrpe call itself is being done with a timeout of 60: >> >> command_line $USER1$/check_nrpe -H cabot -t 60 -c check_local_info >> >> with the check_local_info being my own shell script. >> >> So is there another place that the '30' timeout could possibly be >> coming from? >> >> Thanks much... >> > On "cabot" check the time out definition in the nrpe.cfg of the daemon , > that may be the reason for the 30 sec time out. > > Change it to the time you want and restart the NRPE . > > Assaf Cabot nrpe.cfg already has the command_timeout=60 line in it (and, yeah, I restarted nrpe). That's what's driving me nuts. Tim ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Fri Mar 4 18:53:42 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Fri, 04 Mar 2011 12:53:42 -0500 Subject: Q: are service check retries subject to concurrency limit? Message-ID: <4D712726.8070701@paul.dubuc.org> Nagios 3.2.3: I'm wondering if Nagios subjects retries on a check failure to the limit set by the max_concurrent_checks parameter in nagios.cfg. My sense is that max_concurrent_checks only applies to checks done during the normal check interval. Does anyone know for sure if that is true? Thanks, Paul Dubuc ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sat Mar 5 01:28:15 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sat, 5 Mar 2011 08:28:15 +0800 Subject: Strange timeout discrepancy In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402A1D94700@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402A1D94700@BOYV7EXVS1.opm.gov> Message-ID: in Nagios' main config file, check the value of "service_check_timeout" On Fri, Mar 4, 2011 at 9:57 PM, Boyer, Timothy A. wrote: > I?m getting the usual nrpe timeout on a slow network here.? Error messages > says > > > > CHECK_NRPE: Socket timeout after 30 seconds. > > > > And normally know how to fix it.? The really strange thing is that the > client has timeouts set to 60 in nrpe.cfg: > > > > command_timeout=60 > > > > and the nrpe call itself is being done with a timeout of 60: > > > > ??????? command_line??? $USER1$/check_nrpe -H cabot -t 60 -c > check_local_info > > > > with the check_local_info being my own shell script. > > > > So is there another place that the ?30? timeout could possibly be coming > from? > > > > Thanks much? > > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Mon Mar 7 08:38:51 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Mon, 07 Mar 2011 02:38:51 -0500 Subject: Ho to Deploy massively Nagios on more than 200 Windows servers? In-Reply-To: References: , Message-ID: <4D74A7AB0200002F0001E08A@trw.com> Slightly off the topic I know, but since this question has been raised. Does anyone on this list know of a nice free tool to deploy software and updates to Windows machines? >>> steve f 2011/03/04 14:03 >>> We use SMS for Windows distributions and in our Linux world, we use Stratacache Omnicast. We deploy almost daily to 1000's of Linux boxes using Omnicast with almost 100% success. Best sw delivery method I have ever used. Steve From: ntoughe at hotmail.com To: nagios-users at lists.sourceforge.net Date: Fri, 4 Mar 2011 10:53:52 +0000 Subject: [Nagios-users] Ho to Deploy massively Nagios on more than 200 Windows servers? Hi Gurus, I have to deploy Nagios plugins on more than 200 Windows servers. Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5. So i would like to know how to do it massively instead of server by server ? Thanks for your help. ntoughe at hotmail.com ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Dirk.Lichterfeld at enercity.de Mon Mar 7 09:16:58 2011 From: Dirk.Lichterfeld at enercity.de (Lichterfeld, Dirk) Date: Mon, 7 Mar 2011 09:16:58 +0100 Subject: Error in performance-data-output In-Reply-To: References: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de><15tipw2q2w2.fsf@tux.uio.no><4B3D6EF9711E134BBC08DE28E31126E50A73A71F@SRV-232.master.stadtwerke-hannover.de><15ttyflmfvb.fsf@tux.uio.no> Message-ID: <4B3D6EF9711E134BBC08DE28E31126E50A802008@SRV-232.master.stadtwerke-hannover.de> Hi at all, the problem is solved! I compare the response time of the nagios check and I see, that the DELL Server R710 needs over 10 seconds to answer. Another server (DELL R310) answer in 8 seconds (the check of this server is ok.) The response time depends on various Dell hardware. What I do? I expanded the check-command of the check_openmange from "check_nrpe -H $HOSTADDRESS$ -c Check_Openmanage" with the parameter "-t 30" to extend the time for this check. Is there another way to set the timeout? Dirk Stadtwerke Hannover AG Vorsitzender des Aufsichtsrates: Walter Meinhold Vorstand: Michael G. Feist (Vorsitzender), Harald Noske, Jochen Westerholz Sitz der Gesellschaft ist Hannover, Amtsgericht Hannover, HRB 6766 Nutzungshinweis: Wenn Sie nicht der vorgesehene Empfaenger dieser E-Mail sind oder diese irrtuemlich erhalten haben, so informieren Sie bitte den Absender. Beachten Sie bitte, dass eine unerlaubte inhaltliche Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe an Dritte unzulaessig ist. Weitergehende Fragen richten Sie bitte an: it-sicherheit at enercity.de. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at teledyn.com Mon Mar 7 14:44:22 2011 From: garym at teledyn.com (Gary Lawrence Murphy) Date: Mon, 7 Mar 2011 08:44:22 -0500 Subject: Next Scheduled Check: A Year from Monday??? Message-ID: ok, I don't know about Monday per se but we have this very annoying behaviour that has emerged with Nagios 3.0.6 (current package under Debian GNU/Linux 5.0) where the Next Scheduled Check will spontaneously be set to a time one year and one day from the previous check Next Scheduled Check: 2012-01-06 10:09:49 there does not appear to be any logical cause other than the time when the alert was defined; some time ago we split one of our alerts into two so as to assign different timeperiods to each, and now we find that when this bug happens it frequently (but not always) happens to these alerts, but today it also happened to another alert that does not use our added timeperiods. I did a google hunt for the symptom and only found a tip to ensure we do not have two instances of Nagios running at once; we do not. I also removed the new timeperiods from the check_period and notification_period in the service definitions, but here today the problem persists and of course we notice it when a critical alert is reported to us by our clients and not by our service monitor :( Has anyone else experienced this? -- *Have Blog, Will Travel: blog.teledyn.com* *A Serviceable Substitute: post.teledyn.com* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 7 15:16:30 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 07 Mar 2011 15:16:30 +0100 Subject: Next Scheduled Check: A Year from Monday??? In-Reply-To: References: Message-ID: <4D74E8BE.50008@op5.se> On 03/07/2011 02:44 PM, Gary Lawrence Murphy wrote: > ok, I don't know about Monday per se Mondays are just evil. They always have been and always will be. > but we have this very annoying > behaviour that has emerged with Nagios 3.0.6 (current package under Debian > GNU/Linux 5.0) where the Next Scheduled Check will spontaneously be set to a > time one year and one day from the previous check > > Next Scheduled Check: 2012-01-06 10:09:49 > there does not appear to be any logical cause other than the time when the > alert was defined; some time ago we split one of our alerts into two so as > to assign different timeperiods to each, and now we find that when this bug > happens it frequently (but not always) happens to these alerts, but today it > also happened to another alert that does not use our added timeperiods. > > I did a google hunt for the symptom and only found a tip to ensure we do not > have two instances of Nagios running at once; we do not. I also removed the > new timeperiods from the check_period and notification_period in the service > definitions, but here today the problem persists and of course we notice it > when a critical alert is reported to us by our clients and not by our > service monitor :( > > Has anyone else experienced this? > Yes. It's a known issue that I *think* is solved in 3.2.3. It was discussed quite a lot a few months ago anyways. -- 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. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at teledyn.com Mon Mar 7 15:19:47 2011 From: garym at teledyn.com (Gary Lawrence Murphy) Date: Mon, 7 Mar 2011 09:19:47 -0500 Subject: Next Scheduled Check: A Year from Monday??? In-Reply-To: <4D74E8BE.50008@op5.se> References: <4D74E8BE.50008@op5.se> Message-ID: thanks (misery loves company) and that brings up another n00b question: is there a search page to scan the nagios-users archives? I didn't see one mentioned in the welcome letter or the the subscriptions page (but I was under sysadmin duress and may have missed it) On Mon, Mar 7, 2011 at 9:16 AM, Andreas Ericsson wrote: > On 03/07/2011 02:44 PM, Gary Lawrence Murphy wrote: > > ok, I don't know about Monday per se > > Mondays are just evil. They always have been and always will be. > > > but we have this very annoying > > behaviour that has emerged with Nagios 3.0.6 (current package under > Debian > > GNU/Linux 5.0) where the Next Scheduled Check will spontaneously be set > to a > > time one year and one day from the previous check > > > > Next Scheduled Check: 2012-01-06 10:09:49 > > there does not appear to be any logical cause other than the time when > the > > alert was defined; some time ago we split one of our alerts into two so > as > > to assign different timeperiods to each, and now we find that when this > bug > > happens it frequently (but not always) happens to these alerts, but today > it > > also happened to another alert that does not use our added timeperiods. > > > > I did a google hunt for the symptom and only found a tip to ensure we do > not > > have two instances of Nagios running at once; we do not. I also removed > the > > new timeperiods from the check_period and notification_period in the > service > > definitions, but here today the problem persists and of course we notice > it > > when a critical alert is reported to us by our clients and not by our > > service monitor :( > > > > Has anyone else experienced this? > > > > Yes. It's a known issue that I *think* is solved in 3.2.3. It was > discussed quite a lot a few months ago anyways. > > -- > 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. > -- *Have Blog, Will Travel: blog.teledyn.com* *A Serviceable Substitute: post.teledyn.com* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mon Mar 7 16:00:06 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 07 Mar 2011 16:00:06 +0100 Subject: Error in performance-data-output In-Reply-To: <4B3D6EF9711E134BBC08DE28E31126E50A802008@SRV-232.master.stadtwerke-hannover.de> (Dirk Lichterfeld's message of "Mon, 7 Mar 2011 09:16:58 +0100") References: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> <15tipw2q2w2.fsf@tux.uio.no> <4B3D6EF9711E134BBC08DE28E31126E50A73A71F@SRV-232.master.stadtwerke-hannover.de> <15ttyflmfvb.fsf@tux.uio.no> <4B3D6EF9711E134BBC08DE28E31126E50A802008@SRV-232.master.stadtwerke-hannover.de> Message-ID: <15t7hcbht6x.fsf@tux.uio.no> "Lichterfeld, Dirk" writes: > I compare the response time of the nagios check and I see, that the DELL > Server R710 needs over 10 seconds to answer. Another server (DELL R310) > answer in 8 seconds (the check of this server is ok.) > > The response time depends on various Dell hardware. Yes, this is expected when using the win32 binary file. It contains a perl interpreter and is slow to start up and execute. When monitoring windows machines, SNMP is preferable unless your security policies prohibits this. > What I do? I expanded the check-command of the check_openmange from > "check_nrpe -H $HOSTADDRESS$ -c Check_Openmanage" with the parameter "-t > 30" to extend the time for this check. 30 seconds is the default timeout for check_openmanage. I would set the timeout to slightly more than the check_openmanage timeout. If you do that, you'll get a meaningful error message from check_openmanage instead of a cryptic one from NSClient++, if check_openmanage times out for some reason. Anyway, the '-t 30' parameter to check_nrpe should work... > Is there another way to set the timeout? I'm not familiar with NSClient++, perhaps it has its own timeout? Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon Mar 7 16:34:40 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 7 Mar 2011 16:34:40 +0100 Subject: Distributed Nagios Message-ID: <13523.9895237193$1299513490@news.gmane.org> Hi all. To separate three sites, I am thinking to implement a distributed Nagios, but I never do it and have more than 1500 services to check. I?d like to know which solutions do you use (and why) : DNX ? MNTOS ? NSCA ? 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 WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 7 17:44:10 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 07 Mar 2011 16:44:10 +0000 Subject: Distributed Nagios In-Reply-To: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> References: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> Message-ID: <4D750B5A.9000407@flatto.net> Marco Borsani wrote: > > Hi all. > > To separate three sites, I am thinking to implement a distributed > Nagios, but I never do it?and have more than 1500 services to check. > > I?d like to know which solutions do you use (and why) : > > DNX ? > > MNTOS ? > > NSCA ? > > 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 WIND TELECOM S.p.A. > Hello I have used two of this option :DNX and NSCA , and in the end , due to network restrictions had to use the NSCA to monitor the remote sites. DNX is a good option if all your workers and target hosts are on the same LAN - as the DNX module does not have a "host affinity" logic which means any host will check any other host , and if it can't reach it - nagios will get the critical error alert for it . NSCA gives you the ability to monitor a remote site "locally" with a nagios on the site LAN and report it back to the main central server with a more fine grained testing , but a bit more overhead in management. About the DNX issue - you may want to check the mod_gearman http://labs.consol.de/lang/de/nagios/mod-gearman/ as it is better designed to a distributed nagios deployment . Assaf ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Mon Mar 7 18:25:52 2011 From: doepain at gmail.com (dOE) Date: Mon, 7 Mar 2011 12:25:52 -0500 Subject: Unable to view certain pages due to CGI authorization Message-ID: Nagios 3.0.3 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 06-25-2008 License: GPL ######################################################### Description: Ubuntu 10.04 LTS Release: 10.04 Codename: lucid ######################################################### *www-data:* uid=33(www-data) gid=33(www-data) groups=33(www-data),1001(nagios),1002(nagcmd) *nagios:* uid=1001(nagios) gid=1001(nagios) groups=1001(nagios),1002(nagcmd) ######################################################### When I view the *Host Details, Hostgroup Overview, Hostgroup Summary, Hostgroup Grid* pages: "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." is displayed Where the following pages return: "There are no service groups defined." Likely because I have not set any service or service groups yet (fresh install) *Servicegroup Overview, Servicegroup Summary, Servicegroup Grid*, Status Map, page returns a "The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server." *3-D Status Map* works! I am guessing this is due to permission not setup properly either at the file level or within my Apache2 configs (my bet is on Apache). I have also noticed that I am not being presented with a prompt to log into the site even though I setup the "htpasswd.user/htpasswd.users" files. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 doepain at gmail.com Mon Mar 7 21:42:40 2011 From: doepain at gmail.com (dOE) Date: Mon, 7 Mar 2011 15:42:40 -0500 Subject: Unable to view certain pages due to CGI authorization In-Reply-To: References: Message-ID: Also, Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.7 On Mon, Mar 7, 2011 at 12:25 PM, dOE wrote: > Nagios 3.0.3 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 06-25-2008 > License: GPL > ######################################################### > Description: Ubuntu 10.04 LTS > Release: 10.04 > Codename: lucid > ######################################################### > > *www-data:* uid=33(www-data) gid=33(www-data) > groups=33(www-data),1001(nagios),1002(nagcmd) > > *nagios:* uid=1001(nagios) gid=1001(nagios) > groups=1001(nagios),1002(nagcmd) > > ######################################################### > > When I view the *Host Details, Hostgroup Overview, Hostgroup > Summary, Hostgroup Grid* pages: > > "It appears as though you do not have permission to view information for > any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file." is > displayed > > > Where the following pages return: "There are no service groups defined." > Likely because I have not set any service or service groups yet (fresh > install) > > *Servicegroup Overview, Servicegroup Summary, Servicegroup Grid*, > > Status Map, page returns a "The requested URL /nagios/cgi-bin/statusmap.cgi > was not found on this server." > > *3-D Status Map* works! > > > I am guessing this is due to permission not setup properly either at the > file level or within my Apache2 configs (my bet is on Apache). > > I have also noticed that I am not being presented with a prompt to log into > the site even though I setup the "htpasswd.user/htpasswd.users" files. > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 acaines at lab.icc.edu Tue Mar 8 08:53:04 2011 From: acaines at lab.icc.edu (Adam Caines) Date: Tue, 8 Mar 2011 01:53:04 -0600 Subject: check_openmanage internal error In-Reply-To: References: Message-ID: Having a strange problem with check_openmanage. Use it without error on many other systems. Any help would be appreciated. check_openmanage version: 3.6.5 (.exe version) Dell OMSA version: 6.4.0 OS: Windows Server 2008 R2 Hardware: Poweredge 1950 with PERC 6/i and PERC 6/e connected to MD1120 ---- check_openmanage output: OK - System: 'PowerEdge 1950 III', SN: 'XXXXXXX', 8 GB ram (4 dimms), 2 logical drives, 28 physical drives INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/check_openmanage line 4634. INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/check_openmanage line 4634. INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/check_openmanage line 4634. INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/check_openmanage line 4634. INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/check_openmanage line 4634. INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/check_openmanage line 4634. INTERNAL ERROR: Use of uninitialized value $level in numeric eq (==) at script/check_openmanage line 4637. INTERNAL ERROR: Use of uninitialized value $level in numeric eq (==) at script/check_openmanage line 4637. INTERNAL ERROR: Use of uninitialized value $level in numeric eq (==) at ---- If I run check_openmanage --no-storage the errors are not present: OK - System: 'PowerEdge 1950 III', SN: 'XXXXXXX', 8 GB ram (4 dimms), not checking storage -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Mar 8 09:17:11 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Mar 2011 09:17:11 +0100 Subject: Next Scheduled Check: A Year from Monday??? In-Reply-To: References: <4D74E8BE.50008@op5.se> Message-ID: <4D75E607.20603@op5.se> On 03/07/2011 03:19 PM, Gary Lawrence Murphy wrote: > thanks (misery loves company) and that brings up another n00b question: is > there a search page to scan the nagios-users archives? There should be one on sourceforge somewhere. I think it's quite sucky though, so whenever I really need to scan old archives I tend to find the list archive at theaimsgroup.com or that other site that does a good job of storing mailing-lists in threads properly. -- 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. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Mar 8 09:23:01 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Mar 2011 09:23:01 +0100 Subject: Distributed Nagios In-Reply-To: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> References: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> Message-ID: <4D75E765.8060209@op5.se> On 03/07/2011 04:34 PM, Marco Borsani wrote: > Hi all. > > > > To separate three sites, I am thinking to implement a distributed Nagios, > but I never do it?and have more than 1500 services to check. > > > > I?d like to know which solutions do you use (and why) : > We use Merlin. We wrote it and it's in production use on more than 400 systems. http://www.op5.org/community/plugin-inventory/op5-projects/merlin You'll want to use the "Brows and download code from git" link to get recently fresh sources though. Our webadmins are notoriously lazy when it comes to updating the releases linked from that site. -- 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. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esimonneau at auchan.com Tue Mar 8 09:39:23 2011 From: esimonneau at auchan.com (Etienne Simonneau) Date: Tue, 8 Mar 2011 09:39:23 +0100 Subject: Distributed Nagios In-Reply-To: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> References: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> Message-ID: <69A9302C0C5F4309A23D9957CE5D92DB@F9971.fr.auchan.com> Hi, In our company, we?re using Centreon (with ndoutils). We?re actually checking about 1300 servers and 35 000 services. Best regards Etienne Simonneau Monitoring engineer _____ De : Marco Borsani [mailto:m.borsani at it.net] Envoy? : lundi 7 mars 2011 16:35 ? : 'Nagios Users List' Objet : [Nagios-users] Distributed Nagios Hi all. To separate three sites, I am thinking to implement a distributed Nagios, but I never do it and have more than 1500 services to check. I?d like to know which solutions do you use (and why) : DNX ? MNTOS ? NSCA ? 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 WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 8 10:22:57 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 08 Mar 2011 10:22:57 +0100 Subject: check_openmanage internal error In-Reply-To: (Adam Caines's message of "Mon, 7 Mar 2011 19:36:29 -0600") References: Message-ID: <15ty64qge4u.fsf@tux.uio.no> Adam Caines writes: > Having a strange problem with check_openmanage. ?Use it without error on many > other systems. ?Any help would be appreciated. > > check_openmanage version: 3.6.5 (.exe version) > Dell OMSA version: 6.4.0 > OS: Windows Server 2008 R2 > Hardware: Poweredge 1950 with PERC 6/i and PERC 6/e connected to MD1120 > > ---- > > check_openmanage output: > > OK - System: 'PowerEdge 1950 III', SN: 'XXXXXXX', 8 GB ram (4 dimms), 2 logical > drives, 28 physical drives > INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/ > check_openmanage line 4634. > INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/ > check_openmanage line 4634. > INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/ > check_openmanage line 4634. > INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/ > check_openmanage line 4634. > INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/ > check_openmanage line 4634. > INTERNAL ERROR: Use of uninitialized value in numeric lt (<) at script/ > check_openmanage line 4634. > INTERNAL ERROR: Use of uninitialized value $level in numeric eq (==) at script/ > check_openmanage line 4637. > INTERNAL ERROR: Use of uninitialized value $level in numeric eq (==) at script/ > check_openmanage line 4637. > INTERNAL ERROR: Use of uninitialized value $level in numeric eq (==) at > > ---- > > If I run check_openmanage --no-storage the errors are not present: Hi Adam, Interesting. This is the status of the device (as reported by omreport) that is garbled somehow. The plugin will set the status to 'Unknown' if the field is missing or empty, so this means that omreport is reporting the status as something new that check_openmanage doesn't recognize. That you're getting so many of them (and you have established that it's a storage issue), makes me think that it is related to physical disks. We need to see what omreport says about storage, in particular the disk drives. Can you send the output from omreport storage pdisk controller=X where 'X' is the controller number (0,1) , for each of the controllers. If the Status field is 'Ok' for all the disks, we need to look further. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.felici at alpikom.it Tue Mar 8 10:19:14 2011 From: s.felici at alpikom.it (Simone Felici) Date: Tue, 08 Mar 2011 10:19:14 +0100 Subject: Distributed Nagios In-Reply-To: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> References: <007301cbdcdd$2fc9f980$8f5dec80$@borsani@it.net> Message-ID: <4D75F492.3020803@alpikom.it> We use: http://www.opsview.com Community or Enterprise edition available. As always Nagios core. Our setup: - one centralized dual server in HA (Active Passive) - one cluster db server for configurations in HA (Active Passive) - one Warehouse DB Server for storing historical data and made some reports. - five different remote datacenters (three of them in Active-Active Fail-Over HA mode) Central server for configs and for monitoring a part of the network structure Slave servers to monitor other pieces of networks and datacenters not directly reachable form master. Comunication between nagios servers made with NRD, an advanced version of NSCA in SSH tunnel. All what you need you can find it on the site. Have a nice day. Simon Il 07/03/2011 16:34, Marco Borsani ha scritto: > Hi all. > > To separate three sites, I am thinking to implement a distributed Nagios, but I never do it?and have > more than 1500 services to check. > > I?d like to know which solutions do you use (and why) : > > DNX ? > > MNTOS ? > > NSCA ? > > 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 WIND TELECOM S.p.A. > > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Simone Felici Divisione Tecnica: Progettazione e Sviluppo tel. +39 0461.030.111 fax. +39 0461 030.112 Via Fersina, 23 - 38123 Trento ------------- MC-link S.p.A. Sede Direzionale e Amministrativa Via Carlo Perrier, 9/a - 00157 Roma Sede Legale Via Fersina, 23 - 38123 Trento http://www.mclink.it Save a tree. Don't print this e-mail unless it's really necessary Informativa ai sensi del Codice della propriet? industriale e del Codice dei dati personali. Le informazioni contenute in questa e-mail e negli eventuali allegati, possono contenere informazioni confidenziali e coperte da segreto commerciale/industriale. Esse vengono comunicate nei limiti giuridici dei rapporti in essere fra le parti e pertanto nessun ulteriore diritto di propriet? intellettuale o industriale pu? essere rivendicato dal ricevente. Le informazioni contenute in questa e-mail e negli eventuali allegati sono indirizzate esclusivamente a coloro che figurano come destinatari. Se avete ricevuto per errore questa e-mail siete pregati di informarci (rispedendola al mittente) e di provvedere alla sua rimozione, a non farne utilizzo e a non conservarne alcuna copia. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xproject128 at gmail.com Tue Mar 8 15:12:31 2011 From: xproject128 at gmail.com (Mr X) Date: Tue, 8 Mar 2011 09:12:31 -0500 Subject: Service check orphaned, no duplicate nagios processes running Message-ID: Hi guys I've been searching forums/lists for some causes of the following error that are not related to duplicate nagios instances. However, I'm stuck. All cases where a resolution was reported were caused by multiple processes running but this is not the case here. I'm using check_vmware.pl to check the status of my vSphere controller and the ESX hosts it manages. It runs fine on the CLI as the user nagios, and prints information in the proper nagios format. However, the service check in the CGI is always 'PENDING'. I force a check and it does nothing. Further more, I modified the .pl to log to a file when it's executed and nagios is not even trying to execute the script. All other service checks operate normally. Thanks in advance. nagios -V ==> Nagios 2.12 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 05-19-2008 License: GPL nagios.log ==> [1299591548] Warning: The check of service 'VMware Host Current Datastore Usage' on host 'vds-controller.xxx.com' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1299591548] Warning: The check of service 'VMware Host Current Memory Usage' on host 'vds-controller.xxx.com' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1299591548] Warning: The check of service 'VMware vCenter Cluster Status' on host 'vds-controller.xxx.com' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... [1299591668] Warning: The check of service 'VMware Host Current CPU Usage' on host 'vds-controller.xxx.com' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... command definition ==> # 'check_vmware_host' command definition define command { command_name check_vmware_host command_line $USER1$/check_vmware.pl --config=$USER1$/$ARG1$ --host=$HOSTADDRESS$ --report=$ARG2$ --mode=nagios --warn=$ARG3$ --crit=$ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ } service definition ==> # Configuration file for vds-controller.xxx.com define host { use generic-host host_name vds-controller.xxx.com alias vds-controller.xxx.com address x.x.x.x check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service { use generic-service host_name vds-controller.xxx.com service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 300 notification_period 24x7 check_command check_ping!200.0,20%!500.0,60% } define service { host_name vds-controller.xxx.com service_description VMware Host Current CPU Usage is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 300 notification_period 24x7 check_command check_vmware_host!check_vmware_config_vcenter01!cpu!85!95 register 1 } define service { host_name vds-controller.xxx.com service_description VMware Host Current Datastore Usage is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 300 notification_period 24x7 check_command check_vmware_host!check_vmware_config_vcenter01!disk!75!85 register 0 } define service { host_name vds-controller.xxx.com service_description VMware Host Current Memory Usage is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 300 notification_period 24x7 check_command check_vmware_host!check_vmware_config_vcenter01!memory!85!95 register 0 } define service { host_name vds-controller.xxx.com service_description VMware vCenter Cluster Status is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 300 notification_period 24x7 check_command check_vmware_host!check_vmware_config_vcenter01!state!85!95 register 0 } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 acaines at lab.icc.edu Tue Mar 8 19:53:37 2011 From: acaines at lab.icc.edu (Adam Caines) Date: Tue, 8 Mar 2011 12:53:37 -0600 Subject: check_openmanage internal error In-Reply-To: <15ty64qge4u.fsf@tux.uio.no> References: <15ty64qge4u.fsf@tux.uio.no> Message-ID: All of the status lines appear to be Ok. I appreciate the help, Trond. ----- List of Physical Disks on Controller PERC 6/i Integrated (Embedded) Controller PERC 6/i Integrated (Embedded) ID : 0:0:0 Status : Ok Name : Physical Disk 0:0:0 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : SM04 Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID : ST973451SS Serial No. : XXXXXXXX Part Number : SG0XT7641253187G02G7A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 08 Manufacture Week : 29 Manufacture Year : 2005 SAS Address : 5000C5000B0D7ECD ID : 0:0:1 Status : Ok Name : Physical Disk 0:0:1 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : SM04 Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID : ST973451SS Serial No. : XXXXXXXX Part Number : SG0XT7641253187G036RA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 08 Manufacture Week : 29 Manufacture Year : 2005 SAS Address : 5000C5000B0D8BD5 ID : 0:0:2 Status : Ok Name : Physical Disk 0:0:2 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : SM04 Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID : ST973451SS Serial No. : XXXXXXXX Part Number : SG0XT7641253187G00TPA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 08 Manufacture Week : 29 Manufacture Year : 2005 SAS Address : 5000C5000B0D60C5 ID : 0:0:3 Status : Ok Name : Physical Disk 0:0:3 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : SM04 Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL Product ID : ST973451SS Serial No. : XXXXXXXX Part Number : SG0XT7641253187G02F1A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 08 Manufacture Week : 29 Manufacture Year : 2005 SAS Address : 5000C5000B0D7E2D --------------- List of Physical Disks on Controller PERC 6/E Adapter (Slot 2) Controller PERC 6/E Adapter (Slot 2) ID : 0:0:0 Status : Ok Name : Physical Disk 0:0:0 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200J7A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D1EE ID : 0:0:1 Status : Ok Name : Physical Disk 0:0:1 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200NUA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D462 ID : 0:0:2 Status : Ok Name : Physical Disk 0:0:2 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200MBA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D396 ID : 0:0:3 Status : Ok Name : Physical Disk 0:0:3 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200DYA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CFAA ID : 0:0:4 Status : Ok Name : Physical Disk 0:0:4 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT95212531892002BA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51C97E ID : 0:0:5 Status : Ok Name : Physical Disk 0:0:5 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT952125318920029A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51C976 ID : 0:0:6 Status : Ok Name : Physical Disk 0:0:6 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200FFA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D076 ID : 0:0:7 Status : Ok Name : Physical Disk 0:0:7 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200H3A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D156 ID : 0:0:8 Status : Ok Name : Physical Disk 0:0:8 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189102ELA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 02 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51C1FE ID : 0:0:9 Status : Ok Name : Physical Disk 0:0:9 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200R0A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D58A ID : 0:0:10 Status : Ok Name : Physical Disk 0:0:10 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200MZA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D3EE ID : 0:0:11 Status : Ok Name : Physical Disk 0:0:11 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200TYA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D71A ID : 0:0:12 Status : Ok Name : Physical Disk 0:0:12 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT95212531892004GA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CAA2 ID : 0:0:13 Status : Ok Name : Physical Disk 0:0:13 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200QNA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D55A ID : 0:0:14 Status : Ok Name : Physical Disk 0:0:14 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200A4A00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CDA2 ID : 0:0:15 Status : Ok Name : Physical Disk 0:0:15 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT95212531892009TA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CD76 ID : 0:0:16 Status : Ok Name : Physical Disk 0:0:16 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200BKA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CE66 ID : 0:0:17 Status : Ok Name : Physical Disk 0:0:17 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200LCA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D312 ID : 0:0:18 Status : Ok Name : Physical Disk 0:0:18 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT95212531892002UA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51C9C2 ID : 0:0:19 Status : Ok Name : Physical Disk 0:0:19 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT95212531892009FA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CD46 ID : 0:0:20 Status : Ok Name : Physical Disk 0:0:20 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200BSA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CE82 ID : 0:0:21 Status : Ok Name : Physical Disk 0:0:21 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT95212531892007QA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51CC5A ID : 0:0:22 Status : Ok Name : Physical Disk 0:0:22 State : Online Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : No Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200HZA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D1CE ID : 0:0:23 Status : Ok Name : Physical Disk 0:0:23 State : Ready Power Status : Not Applicable Bus Protocol : SAS Media : HDD Revision : S22C Failure Predicted : No Certified : Not Applicable Encryption Capable : No Encrypted : Not Applicable Progress : Not Applicable Mirror Set ID : Not Applicable Capacity : 67.75 GB (72746008576 bytes) Used RAID Disk Space : 67.75 GB (72746008576 bytes) Available RAID Disk Space : 0.00 GB (0 bytes) Hot Spare : Dedicated Vendor ID : DELL(tm) Product ID : ST973402SS Serial No. : XXXXXXXX Part Number : SG0HT9521253189200LUA00 Negotiated Speed : Not Available Capable Speed : Not Available Manufacture Day : 03 Manufacture Week : 36 Manufacture Year : 2008 SAS Address : 5000C5000C51D352 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d -------------- 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 Mar 8 20:01:09 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 08 Mar 2011 20:01:09 +0100 Subject: check_openmanage internal error In-Reply-To: (Adam Caines's message of "Tue, 8 Mar 2011 12:53:37 -0600") References: <15ty64qge4u.fsf@tux.uio.no> Message-ID: <15tipvtfnd6.fsf@tux.uio.no> Adam Caines writes: > All of the status lines appear to be Ok. Indeed they do. This appears to be trickier than I initially thought. Perhaps the debug output from the plugin has some clues? Try 'check_openmanage -d --only storage'. It will attempt to print the status of all monitored storage components. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Tue Mar 8 21:24:41 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Tue, 8 Mar 2011 12:24:41 -0800 (PST) Subject: (no subject) Message-ID: <797452.57389.qm@web36508.mail.mud.yahoo.com> Join me! Stop smoking together!.. http://niftytrends.megabyet.net/links.php?otiID=38u1 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From acaines at lab.icc.edu Wed Mar 9 00:58:34 2011 From: acaines at lab.icc.edu (Adam Caines) Date: Tue, 8 Mar 2011 17:58:34 -0600 Subject: check_openmanage internal error In-Reply-To: <15tipvtfnd6.fsf@tux.uio.no> References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> Message-ID: Looks like some strange output on the lines for controller 1? The formatting is breaking there. I checked omreport storage controller and didn't see anything that stood out as being strange. System: PowerEdge 1950 III OMSA version: 6.4.0 ServiceTag: XXXXXXX Plugin version: 3.6.5 BIOS/date: 2.7.0 10/30/2010 Checking mode: local ----------------------------------------------------------------------------- Storage Components ============================================================================= STATE | ID | MESSAGE TEXT ---------+----------+-------------------------------------------------------- OK | 0 | Controller 0 [PERC 6/i Integrated] is Ready OK | 1 | Controller 1 [PERC 6/E Adapter] is Ready OK | 0:0:0:0 | Physical Disk 0:0:0 [SAS-HDD 73GB] on ctrl 0 is Online OK | 0:0:0:1 | Physical Disk 0:0:1 [SAS-HDD 73GB] on ctrl 0 is Online OK | 0:0:0:2 | Physical Disk 0:0:2 [SAS-HDD 73GB] on ctrl 0 is Online OK | 0:0:0:3 | Physical Disk 0:0:3 [SAS-HDD 73GB] on ctrl 0 is Online OK | 1:0:0:0 | Physical Disk 0:0:0 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:1 | Physical Disk 0:0:1 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:2 | Physical Disk 0:0:2 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:3 | Physical Disk 0:0:3 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:4 | Physical Disk 0:0:4 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:5 | Physical Disk 0:0:5 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:6 | Physical Disk 0:0:6 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:7 | Physical Disk 0:0:7 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:8 | Physical Disk 0:0:8 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:9 | Physical Disk 0:0:9 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:10 | Physical Disk 0:0:10 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:11 | Physical Disk 0:0:11 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:12 | Physical Disk 0:0:12 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:13 | Physical Disk 0:0:13 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:14 | Physical Disk 0:0:14 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:15 | Physical Disk 0:0:15 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:16 | Physical Disk 0:0:16 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:17 | Physical Disk 0:0:17 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:18 | Physical Disk 0:0:18 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:19 | Physical Disk 0:0:19 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:20 | Physical Disk 0:0:20 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:21 | Physical Disk 0:0:21 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:22 | Physical Disk 0:0:22 [SAS-HDD 73GB] on ctrl 1 is Online OK | 1:0:0:23 | Physical Disk 0:0:23 [SAS-HDD 73GB] on ctrl 1 is Ready (Dedicated HS) OK | 0:0 | Logical Drive 'Windows Disk 0' [RAID-6, 135.50 GB] is Ready OK | 1:0 | Logical Drive 'Windows Disk 1' [RAID-6, 1,422.75 GB] is Ready OK | 0:0 | Cache Battery 0 in controller 0 is Ready OK | 1:0 | Cache Battery 0 in controller 1 is Ready OK | 0:0 | Connector 0 [SAS Port RAID Mode] on controller 0 is Ready OK | 0:1 | Connector 1 [SAS Port RAID Mode] on controller 0 is Ready OK | 1:0 | Logical Connector [SAS Port RAID Mode] on controller 1 is Ready | 1:Status | State [Name] on controller 1 is Status | 1:Ok | Available [Unknown type] on controller 1 is Unknown state | 1:Ok | Available [Unknown type] on controller 1 is Unknown state OK | 0:0:0 | Enclosure 0:0:0 [Backplane] on controller 0 is Ready OK | 1:0:0 | Enclosure 1:0:0 [MD1120] on controller 1 is Ready OK | 1:0:0:1 | Fan 1 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:2 | Fan 2 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:3 | Fan 3 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:4 | Fan 4 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:5 | Fan 5 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:6 | Fan 6 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:7 | Fan 7 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:8 | Fan 8 in enclosure 1:0:0 [MD1120] is Ready (speed=Slow) OK | 1:0:0:1 | Power Supply 1 in enclosure 1:0:0 [MD1120] is Ready OK | 1:0:0:2 | Power Supply 2 in enclosure 1:0:0 [MD1120] is Ready OK | 1:0:0:0 | Temperature Probe 0 in enclosure 1:0:0 [MD1120] reads 25 C (min=-2/-2, max=65/65) OK | 1:0:0:1 | Temperature Probe 1 in enclosure 1:0:0 [MD1120] reads 23 C (min=-2/-2, max=65/65) OK | 1:0:0:2 | Temperature Probe 2 in enclosure 1:0:0 [MD1120] reads 19 C (min=8/3, max=50/55) OK | 1:0:0:3 | Temperature Probe 3 in enclosure 1:0:0 [MD1120] reads 21 C (min=8/3, max=50/55) OK | 1:0:0:0 | EMM 0 in enclosure 1:0:0 [MD1120] is Ready OK | 1:0:0:1 | EMM 1 in enclosure 1:0:0 [MD1120] is Ready ----------------------------------------------------------------------------- Chassis Components ============================================================================= STATE | ID | MESSAGE TEXT ---------+------+------------------------------------------------------------ OK | 0 | Memory module 0 [DIMM1, 2048 MB] is Ok OK | 1 | Memory module 1 [DIMM2, 2048 MB] is Ok OK | 2 | Memory module 2 [DIMM3, 2048 MB] is Ok OK | 3 | Memory module 3 [DIMM4, 2048 MB] is Ok OK | 0 | Chassis fan 0 [System Board FAN MOD 1A RPM]: 7050 OK | 1 | Chassis fan 1 [System Board FAN MOD 1B RPM]: 7125 OK | 2 | Chassis fan 2 [System Board FAN MOD 1C RPM]: 4650 OK | 3 | Chassis fan 3 [System Board FAN MOD 1D RPM]: 4500 OK | 4 | Chassis fan 4 [System Board FAN MOD 2A RPM]: 7050 OK | 5 | Chassis fan 5 [System Board FAN MOD 2B RPM]: 7275 OK | 6 | Chassis fan 6 [System Board FAN MOD 2C RPM]: 4575 OK | 7 | Chassis fan 7 [System Board FAN MOD 2D RPM]: 4500 OK | 8 | Chassis fan 8 [System Board FAN MOD 3A RPM]: 7500 OK | 9 | Chassis fan 9 [System Board FAN MOD 3B RPM]: 7500 OK | 10 | Chassis fan 10 [System Board FAN MOD 3C RPM]: 4725 OK | 11 | Chassis fan 11 [System Board FAN MOD 3D RPM]: 4650 OK | 12 | Chassis fan 12 [System Board FAN MOD 4A RPM]: 7350 OK | 13 | Chassis fan 13 [System Board FAN MOD 4B RPM]: 7200 OK | 14 | Chassis fan 14 [System Board FAN MOD 4C RPM]: 4575 OK | 15 | Chassis fan 15 [System Board FAN MOD 4D RPM]: 4725 OK | 0 | Power Supply 0 [AC]: Presence Detected OK | 1 | Power Supply 1 [AC]: Presence Detected OK | 0 | Temperature Probe 0 [System Board Ambient Temp] reads 14 C (min=8/3, max=42/47) OK | 0 | Processor 0 [Intel Xeon E5430 2.66GHz] is Present OK | 1 | Processor 1 [Intel Xeon E5430 2.66GHz] is Present OK | 0 | Voltage sensor 0 [CPU1 VCORE] is Good OK | 1 | Voltage sensor 1 [CPU2 VCORE] is Good OK | 2 | Voltage sensor 2 [System Board CPU VTT] is Good OK | 3 | Voltage sensor 3 [System Board 1.5V PG] is Good OK | 4 | Voltage sensor 4 [System Board 1.8V PG] is Good OK | 5 | Voltage sensor 5 [System Board 3.3V PG] is Good OK | 6 | Voltage sensor 6 [System Board 5V PG] is Good OK | 7 | Voltage sensor 7 [Riser 1.5V PXH PG] is Good OK | 8 | Voltage sensor 8 [Riser 5V Riser PG] is Good OK | 9 | Voltage sensor 9 [System Board Backplane PG] is Good OK | 10 | Voltage sensor 10 [System Board Linear PG] is Good OK | 11 | Voltage sensor 11 [System Board 0.9V PG] is Good OK | 12 | Voltage sensor 12 [System Board 0.9V Over Volt] is Good OK | 13 | Voltage sensor 13 [System Board CPU Power Fault] is Good OK | 0 | Battery probe 0 [System Board CMOS Battery] is Good OK | 0 | Chassis intrusion 0 detection: Ok (Chassis is closed) ----------------------------------------------------------------------------- Other messages ============================================================================= STATE | MESSAGE TEXT ---------+------------------------------------------------------------------- OK | ESM log health is Ok (less than 80% full)
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in subtraction (-) at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in concatenation (.) or string at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4601.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in hash element at script/check_openmanage line 4601.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in subtraction (-) at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in concatenation (.) or string at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4601.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in hash element at script/check_openmanage line 4601.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in subtraction (-) at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in concatenation (.) or string at script/check_openmanage line 4599.
INTERNAL ERROR: Use of uninitialized value $level in hash element at script/check_openmanage line 4601.
INTERNAL ERROR: Use of uninitialized value within %reverse_exitcode in hash element at script/check_openmanage line 4601. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Wed Mar 9 07:55:35 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 09 Mar 2011 07:55:35 +0100 Subject: check_openmanage internal error In-Reply-To: (Adam Caines's message of "Tue, 8 Mar 2011 17:58:34 -0600") References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> Message-ID: <15t1v2gg4uw.fsf@tux.uio.no> Adam Caines writes: > Looks like some strange output on the lines for controller 1? ?The > formatting is breaking there. ?I checked omreport storage controller > and didn't see anything that stood out as being strange. [snip] > ?? ? ?OK | ? ? ?0:0 | Connector 0 [SAS Port RAID Mode] on controller 0 is Ready > ?? ? ?OK | ? ? ?0:1 | Connector 1 [SAS Port RAID Mode] on controller 0 is Ready > ?? ? ?OK | ? ? ?1:0 | Logical Connector ?[SAS Port RAID Mode] on controller 1 is Ready > ?? ? ? ? | 1:Status | State [Name] on controller 1 is Status > ?? ? ? ? | ? ? 1:Ok | Available ?[Unknown type] on controller 1 is Unknown state > ?? ? ? ? | ? ? 1:Ok | Available ?[Unknown type] on controller 1 is Unknown state Ok, something strange going on here. This seems to be a parsing error in the plugin, related to the connectors. As I don't have any MD1120 enclosures, I'm curious if these errors are related to the MD1120 being different somehow. Can you send the output from these commands: omreport storage connector controller=0 omreport storage connector controller=1 and also: omreport storage connector controller=0 -fmt ssv omreport storage connector controller=1 -fmt ssv The latter is what the plugin is using as it is easier to parse. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From acaines at lab.icc.edu Wed Mar 9 08:32:40 2011 From: acaines at lab.icc.edu (Adam Caines) Date: Wed, 9 Mar 2011 01:32:40 -0600 Subject: check_openmanage internal error In-Reply-To: <15t1v2gg4uw.fsf@tux.uio.no> References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> Message-ID: Looks like it's reporting "path health". The 6e has both sas ports connected to redundant controllers in the MD1120. It's strange on another server, I also have a PERC H700 connect to a MD1220 with redundant links and it does not output the "path health" section. C:\Users\Administrator>omreport storage connector controller=0 List of Connector(s) on Controller PERC 6/i Integrated (Embedded) ID : 0 Status : Ok Name : Connector 0 State : Ready Connector Type : SAS Port RAID Mode Termination : Not Applicable SCSI Rate : Not Applicable ID : 1 Status : Ok Name : Connector 1 State : Ready Connector Type : SAS Port RAID Mode Termination : Not Applicable SCSI Rate : Not Applicable C:\Users\Administrator>omreport storage connector controller=1 List of Connector(s) on Controller PERC 6/E Adapter (Slot 2) ID : 0 Status : Ok Name : Logical Connector State : Ready Connector Type : SAS Port RAID Mode Termination : Not Applicable SCSI Rate : Not Applicable Path Health Status : Ok Name : Connector 0 State : Available Status : Ok Name : Connector 1 State : Available -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 mayer at iiasa.ac.at Wed Mar 9 10:29:19 2011 From: mayer at iiasa.ac.at (MAYER Hans) Date: Wed, 9 Mar 2011 10:29:19 +0100 Subject: service notification logged but not done In-Reply-To: References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> Message-ID: Dear all Using Nagios since a lot of years, I was starting with one of the first versions of "netsaint", and more than 25 years of experience with UNIX, I have now a strange problem I never had before. I am running Nagios Core 3.2.3 on Solaris 10 OS. Hardware is M3000 with SPARC V9 architecture. My problem is, I see sometimes - not always - a service notification in the log, but it is not really done. Here an example, the entry in the log [03-09-2011 09:13:25] SERVICE NOTIFICATION: sms_mayer;amazon;DISK/p14amazon;OK;notify-service-by-sms;DISK OK - free space: /p14amazon 4531 MB (6% inode=99%): Here is the definition for notify-service-by-sms # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line $USER1$/rshsendsms $CONTACTPAGER$ \"Info: $HOSTALIAS$/$SERVICEDESC$ $SERVICEOUTPUT$ \" } As you see I execute a command named "rshsendsms". And this are the first lines of the shell script: : # Wed Jan 19 10:12:15 MET 2011 - mayer initial # Wed Feb 16 10:11:54 MET 2011 - mayer logging the UID # usage: # rshsendsms 0043664xxxxxxx '"hello world - how are you "' # info: both types of apostrophes are important export PATH LOG NUMBER TEXT ID UID NOTSENT RUNLOG PATH=/usr/bin:$PATH LOG=/var/adm/rshsendsms.log RUNLOG=/var/adm/rshsendsms_run.log date '+%y%m%d %H:%M' >> $RUNLOG The first action I do, I write a log-entry. (91% of the disk is free) But in this case I cannot find the entry. The last one is dated with 110309 06:39, where I received a SMS really. I also switched on the process accounting weeks ago. But there is no entry to be found, that the shell script was executed. I also switched on the debug facility of "syslog". I can find an equivalent entry like in the Nagios log. But there are no other messages, that something could be wrong. But on other hand I was informed at 06:39 and nothing was changed in the meantime. This is not the first time this problem happens. Most of the time notification works fine, but sometimes not. This is of course a pain as notification is one central functionality of Nagios. Any idea where I can start searching for the error ? Kind regards Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 rafaelhenriqu at gmail.com Wed Mar 9 13:07:29 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Wed, 09 Mar 2011 09:07:29 -0300 Subject: Monitoring CA ArcServe Message-ID: <4D776D81.6060000@gmail.com> Good morning everyone, Anybody ever used this script: http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/ArcServe/CA-ARCserve-Backup-r12-Number-of-Job-Error-Check/details To monitor the CA ArcServe? I'm having several problems, NRPE_NT and NSClient + + can not return the server response to the problem is that Nagios in the call: function CMD (ByRef cmdline) September oShell = WScript.CreateObject ("WScript.Shell") September oExec oShell.Exec = (cmdline) oExec.StdOut.Readall ret = () September oExec = nothing: Set oShell = nothing CMD = ret End Function I have trouble making the call to "Shell" in Rwindows Server 2008 x64. The error I always get the server is: CHECK_NRPE: Socket timeout after 10 seconds. I've changed my command_timeout values and using the parameter -t (to change timeout) on check_nrpe (Nagios server), but always ends with the Socket timeout when I do that blessed call Shell. Does anyone have any suggestions? Thanks OFF: I was seeing things as monitor Nagios with Python, how to do this is to monitor RWindows? -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 9 13:44:51 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 09 Mar 2011 13:44:51 +0100 Subject: check_openmanage internal error In-Reply-To: (Adam Caines's message of "Wed, 9 Mar 2011 01:32:40 -0600") References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> Message-ID: <15t7hc8ea4c.fsf@tux.uio.no> Adam Caines writes: > Looks like it's reporting "path health". ?The 6e has both sas ports > connected to redundant controllers in the MD1120. ?It's strange on > another server, I also have a PERC H700 connect to a MD1220 with > redundant links and it does not output the "path health" section. [snip] > ID ? ? ? ? ? ? : 0 > Status ? ? ? ? : Ok > Name ? ? ? ? ? : Logical Connector > State ? ? ? ? ?: Ready > Connector Type : SAS Port RAID Mode > Termination ? ?: Not Applicable > SCSI Rate ? ? ?: Not Applicable > > Path Health > Status : Ok > Name ? : Connector 0 > State ?: Available > > Status : Ok > Name ? : Connector 1 > State ?: Available Yes, so this is the culprit... check_openmanage did not expect this output. It looks like the controller is connected to the enclosure in redundant path mode, according to the OMSA documentation[1]. I really need to see how this looks with SSV format, can you provide the output from this command: omreport storage connector controller=1 -fmt ssv In case of redundant path mode, the plugin should check the path health and report on it, in addition to the connector health. This functionality must be added to the plugin. Is it possible for you to check how check_openmanage handles this when checking via SNMP as well? [1] http://support.euro.dell.com/support/edocs/software/svradmin/6.4/en/CLI/HTML/reportst.htm#wp1077100 Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crhyner at box.net Wed Mar 9 18:31:59 2011 From: crhyner at box.net (Chad Rhyner) Date: Wed, 9 Mar 2011 09:31:59 -0800 Subject: service notification logged but not done In-Reply-To: References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> Message-ID: Have you recently upgraded Nagios? When did you start noticing that it was missing execution runs? Do you have enough disk space free? What are the permissions of the script set to? Were they recently changed? Have you done any type of software changes with any type of supporting packages (i.e. Perl) that could have brought up this issue? Here are some thoughts on where I would start looking. Anything that you can dig up we can look at more closely to identify a potential cause for this issue. ~Chad On Wed, Mar 9, 2011 at 1:29 AM, MAYER Hans wrote: > > > > > Dear all > > > > Using Nagios since a lot of years, I was starting with one of the first > versions of ?netsaint?, and more than 25 years of experience with UNIX, I > have now a strange problem I never had before. > > I am running Nagios Core 3.2.3 on Solaris 10 OS. Hardware is M3000 with > SPARC V9 architecture. > > > > My problem is, I see sometimes ? not always ? a service notification in the > log, but it is not really done. > > > > Here an example, the entry in the log > > > > [03-09-2011 09:13:25] SERVICE NOTIFICATION: > sms_mayer;amazon;DISK/p14amazon;OK;notify-service-by-sms;DISK OK - free > space: /p14amazon 4531 MB (6% inode=99%): > > > > Here is the definition for notify-service-by-sms > > > > # 'notify-service-by-sms' command definition > > define command{ > > command_name notify-service-by-sms > > command_line $USER1$/rshsendsms $CONTACTPAGER$ \"Info: > $HOSTALIAS$/$SERVICEDESC$ $SERVICEOUTPUT$ \" > > } > > > > > > As you see I execute a command named ?rshsendsms?. And this are the first > lines of the shell script: > > > > : > > > > # Wed Jan 19 10:12:15 MET 2011 - mayer initial > > # Wed Feb 16 10:11:54 MET 2011 - mayer logging the UID > > > > # usage: > > # rshsendsms 0043664xxxxxxx '"hello world - how are you "' > > # info: both types of apostrophes are important > > > > export PATH LOG NUMBER TEXT ID UID NOTSENT RUNLOG > > > > PATH=/usr/bin:$PATH > > > > LOG=/var/adm/rshsendsms.log > > RUNLOG=/var/adm/rshsendsms_run.log > > > > date '+%y%m%d %H:%M' >> $RUNLOG > > > > The first action I do, I write a log-entry. (91% of the disk is free) But > in this case I cannot find the entry. The last one is dated with 110309 > 06:39, where I received a SMS really. I also switched on the process > accounting weeks ago. But there is no entry to be found, that the shell > script was executed. > > I also switched on the debug facility of ?syslog?. I can find an equivalent > entry like in the Nagios log. But there are no other messages, that > something could be wrong. > > But on other hand I was informed at 06:39 and nothing was changed in the > meantime. This is not the first time this problem happens. Most of the time > notification works fine, but sometimes not. This is of course a pain as > notification is one central functionality of Nagios. > > > > Any idea where I can start searching for the error ? > > > > Kind regards > > Hans > > > > > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 robert at briworks.com Wed Mar 9 19:05:39 2011 From: robert at briworks.com (Robert Bailey) Date: Wed, 9 Mar 2011 18:05:39 +0000 Subject: Acknowledgements with hard coded email address Message-ID: <715CB7C9-1705-4AFB-BB49-CBE017DD7B61@briworks.com> I want to set Nagios so that no when you acknowledge either a host or service problem with the "Notify" checkbox checked, the email goes to a specific email address. Anyone know if this is possible? I've dug through the code a little bit, but I'm not a programmer and I can't find any available configuration options. Robert ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rmeden at gmail.com Wed Mar 9 21:33:13 2011 From: rmeden at gmail.com (Robert Eden) Date: Wed, 09 Mar 2011 14:33:13 -0600 Subject: check_snmp_load.pl best linux practices Message-ID: <4D77E409.6060006@gmail.com> I'm currently experimenting with using check_snmp_load.pl to alarm on system overload. Monitoring CPU usage is giving me a lot of false alarms due to their instantaneous nature. I'm getting good results by using the NETSL option to report load averages. I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm on 5 and 15 minutes. Unfortunately, unlike the CPU percentages, the load numbers should be based on the number of processors. The NETSL option doesn't do that. One option is to have a series of service commands based on the number of processors, but I'm considering writing a new mode that will using the "STAND" option to get the number of CPUs and then use that as a multiplication factor for alarms. Does that make sense? Surely others have run into this problem. How do you alarm on excessive load w/o causing lots of false alarms. Robert ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Wed Mar 9 21:55:15 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Wed, 09 Mar 2011 15:55:15 -0500 Subject: Problem: Nagios service check retry interval shorted than configured. Message-ID: <4D77E933.2030501@paul.dubuc.org> I have nagios core 3.2.3 built on SuSE 11.1 and I've been noticing apparent problem with service check retries. The normal check interval is set to 7.5 and the retry interval is set to 1 minute. I'm seeing entries like this in the log: [03-02-2011 16:44:39] SERVICE ALERT: aps11;Extra_01.20;OK;SOFT;2;SELRC OK [03-02-2011 16:44:29] SERVICE ALERT: aps11;Extra_01.20;UNKNOWN;SOFT;1;SELRC UNKNOWN - Timeout (130 sec.) reached [03-02-2011 13:28:19] SERVICE ALERT: aps14;Extra_04.15;OK;SOFT;2;SELRC OK [03-02-2011 13:28:09] SERVICE ALERT: aps14;Extra_04.15;CRITICAL;SOFT;1;SELRC CRITICAL Why is there only 10 seconds between these pairs of checks? Sometimes I see a 20 or 30 second difference sometimes 60 seconds. Most of them are less than 30 seconds. It's very inconsistent. Any idea what could be causing this? Thanks, Paul Dubuc ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From acaines at lab.icc.edu Thu Mar 10 02:06:39 2011 From: acaines at lab.icc.edu (Adam Caines) Date: Wed, 9 Mar 2011 19:06:39 -0600 Subject: check_openmanage internal error In-Reply-To: <15t7hc8ea4c.fsf@tux.uio.no> References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> <15t7hc8ea4c.fsf@tux.uio.no> Message-ID: Output from omreport storage connector controller=1 -fmt ssv --- List of Connector(s) on Controller PERC 6/E Adapter (Slot 2) ID;Status;Name;State;Connector Type;Termination;SCSI Rate 0;Ok;Logical Connector ;Ready;SAS Port RAID Mode;Not Applicable;Not Applicable Path Health Status;Name;State;Status;Name;State Ok;Connector 0 ;Available Ok;Connector 1 ;Available --- I just tried checking this via SNMP and it appears to work just fine. I don't see any errors and the formatting of the -d output looks normal. Of course, it doesn't report any information regarding path health. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 ratty at they.org Thu Mar 10 03:00:26 2011 From: ratty at they.org (frank) Date: Wed, 9 Mar 2011 18:00:26 -0800 (PST) Subject: check_snmp_load.pl best linux practices In-Reply-To: <4D77E409.6060006@gmail.com> References: <4D77E409.6060006@gmail.com> Message-ID: On my installation I added code to the SNMP load check to count the CPU cores via SNMP and set WARN to 1.25*cores and CRIT to 1.5*cores (for any/all load values). Seems to be working ok. Haven't had any complaints from the NOC for excessive alerting. -f On Wed, 9 Mar 2011, Robert Eden wrote: > Date: Wed, 09 Mar 2011 14:33:13 -0600 > From: Robert Eden > Reply-To: Nagios Users List > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_snmp_load.pl best linux practices > > I'm currently experimenting with using check_snmp_load.pl to alarm on system overload. > > Monitoring CPU usage is giving me a lot of false alarms due to their instantaneous nature. > > I'm getting good results by using the NETSL option to report load averages. I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm > on 5 and 15 minutes. > > Unfortunately, unlike the CPU percentages, the load numbers should be based on the number of processors. The NETSL option doesn't do that. > > One option is to have a series of service commands based on the number of processors, but I'm considering writing a new mode that will using the > "STAND" option to get the number of CPUs and then use that as a multiplication factor for alarms. > > Does that make sense? Surely others have run into this problem. How do you alarm on excessive load w/o causing lots of false alarms. > > Robert > > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 07:49:08 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 10 Mar 2011 12:19:08 +0530 Subject: Availability Report Message-ID: <56683287c4ff024f9fc1d9346a812975@mail.linuz.in> Hi All, I need to generate availability for a service in a particular timeperiod. I have created one timeperiod in nagios from 06:00 to 22:00 every day. While creating availability report in report time period i am selecting that timeperiod but the report always generating from 00:00 to 24:00. Can anyone please help me on this. Rgds, Aravind M D -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 mayer at iiasa.ac.at Thu Mar 10 09:05:07 2011 From: mayer at iiasa.ac.at (MAYER Hans) Date: Thu, 10 Mar 2011 09:05:07 +0100 Subject: service notification logged but not done In-Reply-To: References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> Message-ID: Dear Chad ? Have you recently upgraded Nagios? Yes, I am running Core 3.2.3 since Feb 24th ? When did you start noticing that it was missing execution runs? I noticed the problem month ago. even with version 3.2.1 - therefore I made an upgrade to the latest version, to see, if this would fix the problem. ? Do you have enough disk space free? As I said: 91 % free, only 9 % used ? What are the permissions of the script set to? -rwxr-xr-x 1 nagios nagios 1035 Feb 18 10:17 rshsendsms I said, it happens only sometimes. Wrong permissions would result in a never working situation. ? Were they recently changed? No. ? Have you done any type of software changes with any type of supporting packages (i.e. Perl) that could have brought up this issue? No, this server is running since Jun 2010 unchanged. What happens within Nagios between writing the log-file and executing the script ? Something permits to execute the script, but only sometimes. Kind regards Hans From: Chad Rhyner [mailto:crhyner at box.net] Sent: Wednesday, March 09, 2011 6:32 PM To: Nagios Users List Cc: MAYER Hans Subject: Re: [Nagios-users] service notification logged but not done Have you recently upgraded Nagios? When did you start noticing that it was missing execution runs? Do you have enough disk space free? What are the permissions of the script set to? Were they recently changed? Have you done any type of software changes with any type of supporting packages (i.e. Perl) that could have brought up this issue? Here are some thoughts on where I would start looking. Anything that you can dig up we can look at more closely to identify a potential cause for this issue. ~Chad On Wed, Mar 9, 2011 at 1:29 AM, MAYER Hans > wrote: Dear all Using Nagios since a lot of years, I was starting with one of the first versions of "netsaint", and more than 25 years of experience with UNIX, I have now a strange problem I never had before. I am running Nagios Core 3.2.3 on Solaris 10 OS. Hardware is M3000 with SPARC V9 architecture. My problem is, I see sometimes - not always - a service notification in the log, but it is not really done. Here an example, the entry in the log [03-09-2011 09:13:25] SERVICE NOTIFICATION: sms_mayer;amazon;DISK/p14amazon;OK;notify-service-by-sms;DISK OK - free space: /p14amazon 4531 MB (6% inode=99%): Here is the definition for notify-service-by-sms # 'notify-service-by-sms' command definition define command{ command_name notify-service-by-sms command_line $USER1$/rshsendsms $CONTACTPAGER$ \"Info: $HOSTALIAS$/$SERVICEDESC$ $SERVICEOUTPUT$ \" } As you see I execute a command named "rshsendsms". And this are the first lines of the shell script: : # Wed Jan 19 10:12:15 MET 2011 - mayer initial # Wed Feb 16 10:11:54 MET 2011 - mayer logging the UID # usage: # rshsendsms 0043664xxxxxxx '"hello world - how are you "' # info: both types of apostrophes are important export PATH LOG NUMBER TEXT ID UID NOTSENT RUNLOG PATH=/usr/bin:$PATH LOG=/var/adm/rshsendsms.log RUNLOG=/var/adm/rshsendsms_run.log date '+%y%m%d %H:%M' >> $RUNLOG The first action I do, I write a log-entry. (91% of the disk is free) But in this case I cannot find the entry. The last one is dated with 110309 06:39, where I received a SMS really. I also switched on the process accounting weeks ago. But there is no entry to be found, that the shell script was executed. I also switched on the debug facility of "syslog". I can find an equivalent entry like in the Nagios log. But there are no other messages, that something could be wrong. But on other hand I was informed at 06:39 and nothing was changed in the meantime. This is not the first time this problem happens. Most of the time notification works fine, but sometimes not. This is of course a pain as notification is one central functionality of Nagios. Any idea where I can start searching for the error ? Kind regards Hans ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Mar 10 11:26:17 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 10 Mar 2011 11:26:17 +0100 Subject: how to send passive checks with send_nsca Message-ID: <20150.3504104496$1299753003@news.gmane.org> Hi all I am reading many and many information regarding NSCA and send_nsca. I have configured a server with nsca demon running and a client within send_nsca. 1) If I use this simple command, everything will go in the right way: /opt/nagios/bin/send_nsca -H SERVER_NAME -d ';' -c /opt/nagios/etc/send_nsca.cfg < /opt/nagios/etc/objects/passive.txt The file ?passive.txt? is something like this: host_cliente;CurrentLoad;0;TEST In the server I have configured a passive_check that run the ?check_dummy? command. 2) I tried also a script that writes info into Nagios.cmd file like this : #!/bin/sh CLOCK=$(date +%s) HOST=$1 STATUS=$2 OUTPUT=$3 SVC=$4 echo "[$CLOCK] PROCESS_SERVICE_CHECK_RESULT;$HOST;$SVC;$STATUS;$OUTPUT" >> /opt/nagios/var/rw/nagios.cmd I see information in the client syslog and nagios.log file , but nothing arrives to the Nagios server probably because nothing send them to it ! J 3) Moreover, how can I use the output from a REAL command that is running on my client (check_tcp , check_http, etc.) ? Perhaps I have to implement something more in the server (specific service, ) and/or in the client Please, any idea ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mar 10 12:50:50 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 Mar 2011 05:50:50 -0600 Subject: Availability Report In-Reply-To: <56683287c4ff024f9fc1d9346a812975@mail.linuz.in> References: <56683287c4ff024f9fc1d9346a812975@mail.linuz.in> Message-ID: <15014ca091aa7deca4025f4c533d7e18.squirrel@webmail.stinkweasel.net> > I need to generate availability for a service in a > particular timeperiod. I have created one timeperiod in nagios from > 06:00 to 22:00 every day. While creating availability report in report > time period i am selecting that timeperiod but the report always > generating from 00:00 to 24:00. Can anyone please help me on this. If you select a custom report period, you can select not only the days you want included, but the timeperiod. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 13:46:55 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 10 Mar 2011 18:16:55 +0530 Subject: Fwd: Availability Report Message-ID: <7b156023562d10c4510aa90c36bf35ac@mail.linuz.in> Hi Benny, > If you select a custom report period, you can select not only the > days you want included, but the timeperiod. I am selecting custom time period only but the availability report is not taking the Report time period option it always go for 00:00 to 24:00. Rgds, Aravind M D -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mar 10 14:25:43 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 Mar 2011 07:25:43 -0600 Subject: Fwd: Availability Report In-Reply-To: <7b156023562d10c4510aa90c36bf35ac@mail.linuz.in> References: <7b156023562d10c4510aa90c36bf35ac@mail.linuz.in> Message-ID: > I am > selecting custom time period only but the availability report is not > taking the Report time period option it always go for 00:00 to > 24:00. Ah, yes, I see that in your original message, sorry. Hmmmm, I don't use the custom reporting... Is it just *displaying* the 00:00 - 24:00 time and is actually generating availability data taking your timeperiod into account, or is it *ignoring* your timeperiod and generating availability for 00:00 - 24:00? Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 14:43:23 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 10 Mar 2011 19:13:23 +0530 Subject: Fwd: Availability Report In-Reply-To: References: <7b156023562d10c4510aa90c36bf35ac@mail.linuz.in> Message-ID: <1e8a56288d57bf53bae0c65303d1a7d2@mail.linuz.in> On Thu, 10 Mar 2011 07:25:43 -0600, "C. Bensend" wrote: >> I am >> selecting custom time period only but the availability report is not >> taking the Report time period option it always go for 00:00 to >> 24:00. > > Ah, yes, I see that in your original message, sorry. > > Hmmmm, I don't use the custom reporting... Is it just *displaying* > the 00:00 - 24:00 time and is actually generating availability > data taking your timeperiod into account, or is it *ignoring* your > timeperiod and generating availability for 00:00 - 24:00? Its ignoring my timeperiod and generating availability record. I want to generate availability for timeperiod 06:00 to 22:00 so i created the below timeperiod define timeperiod { timeperiod_name 16x7 alias For avialability report sunday 06:00-22:00 monday 06:00-22:00 tuesday 06:00-22:00 wednesday 06:00-22:00 thursday 06:00-22:00 friday 06:00-22:00 saturday 06:00-22:00 } While generating availability report i am selecting this timeperiod in Report time period option but availability report is ignoring this. Rgds, Aravind ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From work at paul.dubuc.org Thu Mar 10 15:03:59 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Thu, 10 Mar 2011 09:03:59 -0500 Subject: service notification logged but not done In-Reply-To: References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> Message-ID: <4D78DA4F.7080901@paul.dubuc.org> Could it be that your scripts are stored on an NFS mounted filesystem or other networked storage? (What is $USER1$ defined to be?) If so, maybe you're having intermittent problems with access. Using local storage for the scripts will solve this problem. You might find some evidence of the problem by turning on debugging in Nagios and looking at it's debug output (see debug_file, debug_level and debug_verbosity parameters in nagios.cfg. Hope this helps, Paul Dubuc MAYER Hans wrote: > Dear Chad > > ? Have you recently upgraded Nagios? > > Yes, I am running Core 3.2.3 since Feb 24^th > > ? When did you start noticing that it was missing execution runs? > > I noticed the problem month ago. even with version 3.2.1 - therefore I > made an upgrade to the latest version, to see, if this would fix the > problem. > > ? Do you have enough disk space free? > > As I said: 91 % free, only 9 % used > > ? What are the permissions of the script set to? > > -rwxr-xr-x 1 nagios nagios 1035 Feb 18 10:17 rshsendsms > > I said, it happens only sometimes. Wrong permissions would result in a > never working situation. > > ? Were they recently changed? > > No. > > ? Have you done any type of software changes with any type of supporting > packages (i.e. Perl) that could have brought up this issue? > > No, this server is running since Jun 2010 unchanged. > > What happens within Nagios between writing the log-file and executing > the script ? Something permits to execute the script, but only sometimes. > > > Kind regards > > Hans > > *From:* Chad Rhyner [mailto:crhyner at box.net] > *Sent:* Wednesday, March 09, 2011 6:32 PM > *To:* Nagios Users List > *Cc:* MAYER Hans > *Subject:* Re: [Nagios-users] service notification logged but not done > > Have you recently upgraded Nagios? When did you start noticing that it > was missing execution runs? Do you have enough disk space free? What are > the permissions of the script set to? Were they recently changed? Have > you done any type of software changes with any type of supporting > packages (i.e. Perl) that could have brought up this issue? > > Here are some thoughts on where I would start looking. Anything that you > can dig up we can look at more closely to identify a potential cause for > this issue. > > ~Chad > > On Wed, Mar 9, 2011 at 1:29 AM, MAYER Hans > wrote: > > Dear all > > Using Nagios since a lot of years, I was starting with one of the first > versions of ?netsaint?, and more than 25 years of experience with UNIX, > I have now a strange problem I never had before. > > I am running Nagios Core 3.2.3 on Solaris 10 OS. Hardware is M3000 with > SPARC V9 architecture. > > My problem is, I see sometimes ? not always ? a service notification in > the log, but it is not really done. > > Here an example, the entry in the log > > [03-09-2011 09:13:25] SERVICE NOTIFICATION: > sms_mayer;amazon;DISK/p14amazon;OK;notify-service-by-sms;DISK OK - free > space: /p14amazon 4531 MB (6% inode=99%): > > Here is the definition for notify-service-by-sms > > # 'notify-service-by-sms' command definition > > define command{ > > command_name notify-service-by-sms > > command_line $USER1$/rshsendsms $CONTACTPAGER$ \"Info: > $HOSTALIAS$/$SERVICEDESC$ $SERVICEOUTPUT$ \" > > } > > As you see I execute a command named ?rshsendsms?. And this are the > first lines of the shell script: > > : > > # Wed Jan 19 10:12:15 MET 2011 - mayer initial > > # Wed Feb 16 10:11:54 MET 2011 - mayer logging the UID > > # usage: > > # rshsendsms 0043664xxxxxxx '"hello world - how are you "' > > # info: both types of apostrophes are important > > export PATH LOG NUMBER TEXT ID UID NOTSENT RUNLOG > > PATH=/usr/bin:$PATH > > LOG=/var/adm/rshsendsms.log > > RUNLOG=/var/adm/rshsendsms_run.log > > date '+%y%m%d %H:%M' >> $RUNLOG > > The first action I do, I write a log-entry. (91% of the disk is free) > But in this case I cannot find the entry. The last one is dated with > 110309 06:39, where I received a SMS really. I also switched on the > process accounting weeks ago. But there is no entry to be found, that > the shell script was executed. > > I also switched on the debug facility of ?syslog?. I can find an > equivalent entry like in the Nagios log. But there are no other > messages, that something could be wrong. > > But on other hand I was informed at 06:39 and nothing was changed in the > meantime. This is not the first time this problem happens. Most of the > time notification works fine, but sometimes not. This is of course a > pain as notification is one central functionality of Nagios. > > Any idea where I can start searching for the error ? > > Kind regards > > Hans > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 17:43:47 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 Mar 2011 10:43:47 -0600 Subject: Fwd: Availability Report In-Reply-To: <1e8a56288d57bf53bae0c65303d1a7d2@mail.linuz.in> References: <7b156023562d10c4510aa90c36bf35ac@mail.linuz.in> <1e8a56288d57bf53bae0c65303d1a7d2@mail.linuz.in> Message-ID: <950d5027a6bc84b7177ac99fdff0bad1.squirrel@webmail.stinkweasel.net> > Its ignoring my timeperiod and generating availability record. I want > to generate availability for timeperiod 06:00 to 22:00 so i created the > below timeperiod > > define timeperiod { > timeperiod_name 16x7 > alias For avialability report > sunday 06:00-22:00 > monday 06:00-22:00 > tuesday 06:00-22:00 > wednesday 06:00-22:00 > thursday 06:00-22:00 > friday 06:00-22:00 > saturday 06:00-22:00 > } > > While generating availability report i am selecting this timeperiod in > Report time period option but availability report is ignoring this. If indeed it's ignoring your timeperiod and calculating the availability on a 24x7 basis, it sounds like a flaw in the availability report. If you're versed in C, you might check avail.c in the cgi/ directory of the source distribution. Perhaps you can find the flaw and submit a patch! Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 10 18:06:00 2011 From: aravind at linuz.in (Aravind M D) Date: Thu, 10 Mar 2011 22:36:00 +0530 Subject: Fwd: Availability Report In-Reply-To: <950d5027a6bc84b7177ac99fdff0bad1.squirrel@webmail.stinkweasel.net> References: <7b156023562d10c4510aa90c36bf35ac@mail.linuz.in> <1e8a56288d57bf53bae0c65303d1a7d2@mail.linuz.in> <950d5027a6bc84b7177ac99fdff0bad1.squirrel@webmail.stinkweasel.net> Message-ID: On Thu, 10 Mar 2011 10:43:47 -0600, "C. Bensend" wrote: >> Its ignoring my timeperiod and generating availability record. I >> want >> to generate availability for timeperiod 06:00 to 22:00 so i created >> the >> below timeperiod >> >> define timeperiod { >> timeperiod_name 16x7 >> alias For avialability report >> sunday 06:00-22:00 >> monday 06:00-22:00 >> tuesday 06:00-22:00 >> wednesday 06:00-22:00 >> thursday 06:00-22:00 >> friday 06:00-22:00 >> saturday 06:00-22:00 >> } >> >> While generating availability report i am selecting this >> timeperiod in >> Report time period option but availability report is ignoring this. > > If indeed it's ignoring your timeperiod and calculating the > availability on a 24x7 basis, it sounds like a flaw in the > availability report. > > If you're versed in C, you might check avail.c in the cgi/ directory > of the source distribution. Perhaps you can find the flaw and > submit a patch! > > Hi Is anyone successfull in generating report like above scenario. Can anyone help me to solve the issue. Rgds, Aravind ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlh at cayuga-cc.edu Thu Mar 10 21:25:32 2011 From: dlh at cayuga-cc.edu (David Harbaugh) Date: Thu, 10 Mar 2011 15:25:32 -0500 Subject: ServiceGroup Best Practices Question Message-ID: <3267F8C54E50F4409A01B84791B9A90111809B535E@MENTZ.ccc.lan> I'm new to Nagios. Running Nagios 3.2.3. I want to start using Service Groups, but I'm not sure of the best place to put the service group definitions. What is making me question the location is eventually I will want to create a service group that contains services hosted on both Linux and Windows machines, so I'm thinking of creating a new config file to hold the service groups, then in nagios.cfg use cfg_file= to load it in after the Windows and Linux machines are loaded. Where do you create service groups? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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-nagios at 5dninja.net Thu Mar 10 21:56:06 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 10 Mar 2011 12:56:06 -0800 Subject: ServiceGroup Best Practices Question In-Reply-To: <3267F8C54E50F4409A01B84791B9A90111809B535E@MENTZ.ccc.lan> References: <3267F8C54E50F4409A01B84791B9A90111809B535E@MENTZ.ccc.lan> Message-ID: <4D793AE6.5040001@5dninja.net> On 3/10/11 12:25 PM, David Harbaugh wrote: > > I'm new to Nagios. Running Nagios 3.2.3. > > I want to start using Service Groups, but I'm not sure of the best > place to put the service group definitions. > > What is making me question the location is eventually I will want to > create a service group that contains services hosted on both Linux and > Windows machines, so I'm thinking of creating a new config file to > hold the service groups, then in nagios.cfg use cfg_file= to load it > in after the Windows and Linux machines are loaded. > > Where do you create service groups? > I put all my service groups in 'service_groups.cfg'. The order in which you specify them in nagios.cfg does not matter. -- Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Thu Mar 10 22:03:23 2011 From: a31modela at hotmail.com (steve f) Date: Thu, 10 Mar 2011 16:03:23 -0500 Subject: ServiceGroup Best Practices Question In-Reply-To: <3267F8C54E50F4409A01B84791B9A90111809B535E@MENTZ.ccc.lan> References: <3267F8C54E50F4409A01B84791B9A90111809B535E@MENTZ.ccc.lan> Message-ID: hello David, Not saying its the best way but I have a separate file in my objects dir called servicegroup.cfg where I set up as follows : define servicegroup{ servicegroup_name Legacy Checks alias Store Legacy Checks } then in my services.cfg file, I have a line added as follows : define service{ use generic-service servicegroups Legacy Checks I have multiple checks that I wanted to group together under a single service group heading. This is the only (?) way I found to do it. You can add the members ( hosts) to the servicegroup file and the checks but I found this way to be easier. if you create a separate file, dont forget to be sure its identified in your nagios .cfg file. If anyone has a better way to do this, would love to hear about it. This way does work for my config.... your mileage may vary..... Good Luck, Steve From: dlh at cayuga-cc.edu To: nagios-users at lists.sourceforge.net Date: Thu, 10 Mar 2011 15:25:32 -0500 Subject: [Nagios-users] ServiceGroup Best Practices Question I?m new to Nagios. Running Nagios 3.2.3. I want to start using Service Groups, but I?m not sure of the best place to put the service group definitions. What is making me question the location is eventually I will want to create a service group that contains services hosted on both Linux and Windows machines, so I?m thinking of creating a new config file to hold the service groups, then in nagios.cfg use cfg_file= to load it in after the Windows and Linux machines are loaded. Where do you create service groups? ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Thu Mar 10 22:19:43 2011 From: a31modela at hotmail.com (steve f) Date: Thu, 10 Mar 2011 16:19:43 -0500 Subject: A question on nagios group nagcmd Message-ID: I am finally getting my production nagios build. One of our production configurations in Linux is a central password system. no accounts can be created locally. They have to be build in the cent pword and are created on the box locally. Due to the way the system is build, the wwwrun & nagios accounts are in 2 different files on the cent pword system. As such, the system will not allow 2 accounts from different files to be in the same group. My question is, the docs say to create the group nagcmd and add nagios & wwwrun to the group in order to allow external commands to be submitted thru the web interface. What external commands are we talking about here? Are we talking about the service commands from the check screen ( disable checks, schedule downtime, etc) . Is is safe to assume that if wwwrun was not in the nagcmd group baaadddd things will happen in the web console? Not anywhere near my system so I cant try to see what would happen. Any thoughts before I rewrite the central password system to put both a regular user & a daemon user in the same file ? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mar 10 22:27:20 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 10 Mar 2011 15:27:20 -0600 Subject: A question on nagios group nagcmd In-Reply-To: References: Message-ID: <8e582d53e61764994d8977449986aa5d.squirrel@webmail.stinkweasel.net> > My question is, the docs say to create the group nagcmd and add nagios & > wwwrun to the group in order to allow external commands to be submitted > thru the web interface. > > What external commands are we talking about here? Are we talking about > the service commands from the check screen ( disable checks, schedule > downtime, etc) . > > Is is safe to assume that if wwwrun was not in the nagcmd group baaadddd > things will happen in the web console? Not anywhere near my system so I > cant try to see what would happen. > > Any thoughts before I rewrite the central password system to put both a > regular user & a daemon user in the same file ? What "regular" user? nagios? Because really, from your description above, both "nagios" and "wwwrun" users should be daemon users, so you should be able to have them in the same file and avoid the problem. After all, the nagios user is the one that Nagios daemon will be running as... Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at xodus.org Thu Mar 10 23:58:57 2011 From: lists at xodus.org (Marc Powell) Date: Thu, 10 Mar 2011 14:58:57 -0800 Subject: A question on nagios group nagcmd In-Reply-To: References: Message-ID: On Thu, Mar 10, 2011 at 1:19 PM, steve f wrote: My question is, the docs say to create the group nagcmd and add nagios & > wwwrun to the group in order to allow external commands to be submitted thru > the web interface. > > What external commands are we talking about here? Are we talking about the > service commands from the check screen ( disable checks, schedule downtime, > etc) . > Yes, you will not be able to use those. It's a straightforward unix permissions thing. Is is safe to assume that if wwwrun was not in the nagcmd group baaadddd > things will happen in the web console? Not anywhere near my system so I > cant try to see what would happen. > I wouldn't say entirely bad. You'll have a complete view-only interface; you just won't be able to schedule downtime, etc... Any thoughts before I rewrite the central password system to put both a > regular user & a daemon user in the same file ? > Can you manually edit the group file or will that bork your system? You *could* chmod 777 the command pipe but since it gets removed and recreated every restart, you'd want to make that part of the init script. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 smetj.net Fri Mar 11 10:20:04 2011 From: nagios at smetj.net (Jelle Smet) Date: Fri, 11 Mar 2011 09:20:04 +0000 (UTC) Subject: =?utf-8?q?Problem=3A_Nagios_service_check_retry_in?= =?utf-8?q?terval_shorted=09than_configured=2E?= References: <4D77E933.2030501@paul.dubuc.org> Message-ID: > Why is there only 10 seconds between these pairs of checks? Sometimes I see a > 20 or 30 second difference sometimes 60 seconds. Most of them are less than > 30 seconds. It's very inconsistent. Any idea what could be causing this? Hi Paul, I have been looking into this myself the last couple of days. Nagios does "on demand" host checks, the reason for this is explained here http://nagios.sourceforge.net/docs/3_0/hostchecks.html It basically means Nagios executes the host check when it thinks it needs to do so. You could alter the cached host check horizon (http://nagios.sourceforge.net/docs/3_0/cachedchecks.html) so Nagios does "on demand" checks less frequent and uses older host results instead. What I'm personally wondering is whether "on demand" checks should count as retries? Because this is the case at the moment and it makes the parameter 'retry_interval' virtually useless. Hope this helps, Jelle Smet http://www.smetj.net ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mayer at iiasa.ac.at Fri Mar 11 15:12:58 2011 From: mayer at iiasa.ac.at (MAYER Hans) Date: Fri, 11 Mar 2011 15:12:58 +0100 Subject: service notification logged but not done In-Reply-To: <4D78DA4F.7080901@paul.dubuc.org> References: <15ty64qge4u.fsf@tux.uio.no> <15tipvtfnd6.fsf@tux.uio.no> <15t1v2gg4uw.fsf@tux.uio.no> <4D78DA4F.7080901@paul.dubuc.org> Message-ID: Dear Paul Thanks for the answer. resource.cfg:$USER1$=/usr/local/nagios/libexec This is really a local filesystem. I switched on syslog up to debug level. If there would be problems, there should be some entries, but there is nothing. For me this sounds like a Nagios bug. In any case, I will turn on Nagios debugging. debug_level=421 which is 1 = Functions + 4 = Process information + 32 = Notifications + 128 = External commands + 256 = Commands debug_verbosity=1 For the first I leave the default. Let's see. Kind regards Hans -- -----Original Message----- From: Paul M. Dubuc [mailto:work at paul.dubuc.org] Sent: Thursday, March 10, 2011 3:04 PM To: Nagios Users List Cc: MAYER Hans Subject: Re: [Nagios-users] service notification logged but not done Could it be that your scripts are stored on an NFS mounted filesystem or other networked storage? (What is $USER1$ defined to be?) If so, maybe you're having intermittent problems with access. Using local storage for the scripts will solve this problem. You might find some evidence of the problem by turning on debugging in Nagios and looking at it's debug output (see debug_file, debug_level and debug_verbosity parameters in nagios.cfg. Hope this helps, Paul Dubuc MAYER Hans wrote: > Dear Chad > > ? Have you recently upgraded Nagios? > > Yes, I am running Core 3.2.3 since Feb 24^th > > ? When did you start noticing that it was missing execution runs? > > I noticed the problem month ago. even with version 3.2.1 - therefore I > made an upgrade to the latest version, to see, if this would fix the > problem. > > ? Do you have enough disk space free? > > As I said: 91 % free, only 9 % used > > ? What are the permissions of the script set to? > > -rwxr-xr-x 1 nagios nagios 1035 Feb 18 10:17 rshsendsms > > I said, it happens only sometimes. Wrong permissions would result in a > never working situation. > > ? Were they recently changed? > > No. > > ? Have you done any type of software changes with any type of supporting > packages (i.e. Perl) that could have brought up this issue? > > No, this server is running since Jun 2010 unchanged. > > What happens within Nagios between writing the log-file and executing > the script ? Something permits to execute the script, but only sometimes. > > > Kind regards > > Hans > > *From:* Chad Rhyner [mailto:crhyner at box.net] > *Sent:* Wednesday, March 09, 2011 6:32 PM > *To:* Nagios Users List > *Cc:* MAYER Hans > *Subject:* Re: [Nagios-users] service notification logged but not done > > Have you recently upgraded Nagios? When did you start noticing that it > was missing execution runs? Do you have enough disk space free? What are > the permissions of the script set to? Were they recently changed? Have > you done any type of software changes with any type of supporting > packages (i.e. Perl) that could have brought up this issue? > > Here are some thoughts on where I would start looking. Anything that you > can dig up we can look at more closely to identify a potential cause for > this issue. > > ~Chad > > On Wed, Mar 9, 2011 at 1:29 AM, MAYER Hans > wrote: > > Dear all > > Using Nagios since a lot of years, I was starting with one of the first > versions of "netsaint", and more than 25 years of experience with UNIX, > I have now a strange problem I never had before. > > I am running Nagios Core 3.2.3 on Solaris 10 OS. Hardware is M3000 with > SPARC V9 architecture. > > My problem is, I see sometimes - not always - a service notification in > the log, but it is not really done. > > Here an example, the entry in the log > > [03-09-2011 09:13:25] SERVICE NOTIFICATION: > sms_mayer;amazon;DISK/p14amazon;OK;notify-service-by-sms;DISK OK - free > space: /p14amazon 4531 MB (6% inode=99%): > > Here is the definition for notify-service-by-sms > > # 'notify-service-by-sms' command definition > > define command{ > > command_name notify-service-by-sms > > command_line $USER1$/rshsendsms $CONTACTPAGER$ \"Info: > $HOSTALIAS$/$SERVICEDESC$ $SERVICEOUTPUT$ \" > > } > > As you see I execute a command named "rshsendsms". And this are the > first lines of the shell script: > > : > > # Wed Jan 19 10:12:15 MET 2011 - mayer initial > > # Wed Feb 16 10:11:54 MET 2011 - mayer logging the UID > > # usage: > > # rshsendsms 0043664xxxxxxx '"hello world - how are you "' > > # info: both types of apostrophes are important > > export PATH LOG NUMBER TEXT ID UID NOTSENT RUNLOG > > PATH=/usr/bin:$PATH > > LOG=/var/adm/rshsendsms.log > > RUNLOG=/var/adm/rshsendsms_run.log > > date '+%y%m%d %H:%M' >> $RUNLOG > > The first action I do, I write a log-entry. (91% of the disk is free) > But in this case I cannot find the entry. The last one is dated with > 110309 06:39, where I received a SMS really. I also switched on the > process accounting weeks ago. But there is no entry to be found, that > the shell script was executed. > > I also switched on the debug facility of "syslog". I can find an > equivalent entry like in the Nagios log. But there are no other > messages, that something could be wrong. > > But on other hand I was informed at 06:39 and nothing was changed in the > meantime. This is not the first time this problem happens. Most of the > time notification works fine, but sometimes not. This is of course a > pain as notification is one central functionality of Nagios. > > Any idea where I can start searching for the error ? > > Kind regards > > Hans > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 11 15:41:47 2011 From: work at paul.dubuc.org (Paul M. Dubuc) Date: Fri, 11 Mar 2011 09:41:47 -0500 Subject: Problem: Nagios service check retry interval shorted than configured. In-Reply-To: References: <4D77E933.2030501@paul.dubuc.org> Message-ID: <4D7A34AB.7090608@paul.dubuc.org> Jelle Smet wrote: >> Why is there only 10 seconds between these pairs of checks? Sometimes I see a >> 20 or 30 second difference sometimes 60 seconds. Most of them are less than >> 30 seconds. It's very inconsistent. Any idea what could be causing this? > > Hi Paul, > > I have been looking into this myself the last couple of days. > > Nagios does "on demand" host checks, the reason for this is explained here > http://nagios.sourceforge.net/docs/3_0/hostchecks.html > It basically means Nagios executes the host check when it thinks it needs to do > so. > > You could alter the cached host check horizon > (http://nagios.sourceforge.net/docs/3_0/cachedchecks.html) so Nagios does "on > demand" checks less frequent and uses older host results instead. > > What I'm personally wondering is whether "on demand" checks should count as > retries? Because this is the case at the moment and it makes the parameter > 'retry_interval' virtually useless. > > Hope this helps, > > Jelle Smet > http://www.smetj.net Thanks, I think I understand how this works. But I'm having this problem with service checks, not host checks. I do have the concurrent service check limit set to 30 and I wonder if that is affecting the scheduling of service check retries but, if so, I would think it would make the retry interval longer, not shorter than specified. Does anyone know if service check retries are subject to the concurrency limit? Paul Dubuc ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Fri Mar 11 17:13:19 2011 From: JBeck at urbn.com (Joe Beck) Date: Fri, 11 Mar 2011 11:13:19 -0500 Subject: check_snmp_load.pl best linux practices In-Reply-To: References: Message-ID: Frank, This looks like a great addition to my core alerting. Any chance you can share the details of your setup-- Did you make these updates to check_snmp_load.pl & do something similar to Robert? >> I'm getting good results by using the NETSL option to report load averages. >> I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm >> on 5 and 15 minutes. Thx, Joe On 3/9/11 9:00 PM, "frank" wrote: > On my installation I added code to the SNMP load check to count the CPU > cores via SNMP and set WARN to 1.25*cores and CRIT to 1.5*cores (for > any/all load values). Seems to be working ok. Haven't had any complaints > from the NOC for excessive alerting. > > -f > > On Wed, 9 Mar 2011, Robert Eden wrote: > >> Date: Wed, 09 Mar 2011 14:33:13 -0600 >> From: Robert Eden >> Reply-To: Nagios Users List >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] check_snmp_load.pl best linux practices >> >> I'm currently experimenting with using check_snmp_load.pl to alarm on system >> overload. >> >> Monitoring CPU usage is giving me a lot of false alarms due to their >> instantaneous nature. >> >> I'm getting good results by using the NETSL option to report load averages. >> I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm >> on 5 and 15 minutes. >> >> Unfortunately, unlike the CPU percentages, the load numbers should be based >> on the number of processors. The NETSL option doesn't do that. >> >> One option is to have a series of service commands based on the number of >> processors, but I'm considering writing a new mode that will using the >> "STAND" option to get the number of CPUs and then use that as a >> multiplication factor for alarms. >> >> Does that make sense? Surely others have run into this problem. How do you >> alarm on excessive load w/o causing lots of false alarms. >> >> Robert >> >> >> >> >> >> ----------------------------------------------------------------------------->> - >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null Joe -- Joe Beck | IT-Open Systems Engineer | urban outfitters inc. 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Fri Mar 11 17:46:05 2011 From: gevery at gmail.com (Gary Every) Date: Fri, 11 Mar 2011 09:46:05 -0700 Subject: check_snmp_load.pl best linux practices In-Reply-To: References: Message-ID: I use my 15 minute avg instead of the current, allows for less false positives. Here is my checkcommand.... /usr/lib/nagios/plugins/check_snmp -H 10.1.1.22 -C REDACTED -o enterprises.ucdavis.laTable.laEntry.laLoadInt.2,enterprises.ucdavis.laTable.laEntry.laLoadInt.1,enterprises.ucdavis.laTable.laEntry.laLoadInt.3 -w 100 -c 150 -u "is 5min - ,is Current - ,is 15min" your -w and -c checks are actually 100x the load, so if you want to warn on a load of 2 or more, then -w would be 200. The output, specified by the -u switch, outputs: SNMP OK - 33 is 5min - 33 is Current - 44 is 15min | UCD-SNMP-MIB::laLoadInt.2=33 UCD-SNMP-MIB::laLoadInt.1=33 UCD-SNMP-MIB::laLoadInt.3=44 Since I'm asking for the second output first (enterprises.ucdavis.laTable.laEntry.laLoadInt.2) that is what nagios checks and reacts to. You could put "enterprises.ucdavis.laTable.laEntry.laLoadInt.3" first to check for the 15 minute avg Nagios only reports (in the GUI) the info prior to the pipe symbol that is returned, so it would show: SNMP OK - 33 is 5min - 33 is Current - 44 is 15min HTH g.; On Fri, Mar 11, 2011 at 9:13 AM, Joe Beck wrote: > Frank, > > This looks like a great addition to my core alerting. > Any chance you can share the details of your setup-- > Did you make these updates to check_snmp_load.pl & do something similar to > Robert? > >> I'm getting good results by using the NETSL option to report load > averages. > >> I'm setting '-c 99,4,10' to basically ignore the 1 minute value and > alarm > >> on 5 and 15 minutes. > > Thx, > Joe > > > On 3/9/11 9:00 PM, "frank" wrote: > > > On my installation I added code to the SNMP load check to count the CPU > > cores via SNMP and set WARN to 1.25*cores and CRIT to 1.5*cores (for > > any/all load values). Seems to be working ok. Haven't had any complaints > > from the NOC for excessive alerting. > > > > -f > > > > On Wed, 9 Mar 2011, Robert Eden wrote: > > > >> Date: Wed, 09 Mar 2011 14:33:13 -0600 > >> From: Robert Eden > >> Reply-To: Nagios Users List > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] check_snmp_load.pl best linux practices > >> > >> I'm currently experimenting with using check_snmp_load.pl to alarm on > system > >> overload. > >> > >> Monitoring CPU usage is giving me a lot of false alarms due to their > >> instantaneous nature. > >> > >> I'm getting good results by using the NETSL option to report load > averages. > >> I'm setting '-c 99,4,10' to basically ignore the 1 minute value and > alarm > >> on 5 and 15 minutes. > >> > >> Unfortunately, unlike the CPU percentages, the load numbers should be > based > >> on the number of processors. The NETSL option doesn't do that. > >> > >> One option is to have a series of service commands based on the number > of > >> processors, but I'm considering writing a new mode that will using the > >> "STAND" option to get the number of CPUs and then use that as a > >> multiplication factor for alarms. > >> > >> Does that make sense? Surely others have run into this problem. How > do you > >> alarm on excessive load w/o causing lots of false alarms. > >> > >> Robert > >> > >> > >> > >> > >> > >> > > ----------------------------------------------------------------------------->> > - > >> Colocation vs. Managed Hosting > >> A question and answer guide to determining the best fit > >> for your organization - today and in the future. > >> http://p.sf.net/sfu/internap-sfd2d > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > ------------------------------------------------------------------------------ > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > > for your organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Joe > -- > > Joe Beck | IT-Open Systems Engineer | urban outfitters inc. > 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 rmeden at gmail.com Fri Mar 11 18:52:36 2011 From: rmeden at gmail.com (Robert Eden) Date: Fri, 11 Mar 2011 11:52:36 -0600 Subject: check_snmp_load.pl best linux practices In-Reply-To: References: Message-ID: <4D7A6164.7040300@gmail.com> If I write the extension, I will certainly commit it to the nagios-snmp SF project for inclusion. Frank, feel free to beat me to the punch (since yours is already running) Robert On 3/11/2011 10:13 AM, Joe Beck wrote: > Frank, > > This looks like a great addition to my core alerting. > Any chance you can share the details of your setup-- > Did you make these updates to check_snmp_load.pl& do something similar to > Robert? >>> I'm getting good results by using the NETSL option to report load averages. >>> I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm >>> on 5 and 15 minutes. > Thx, > Joe > > > On 3/9/11 9:00 PM, "frank" wrote: > >> On my installation I added code to the SNMP load check to count the CPU >> cores via SNMP and set WARN to 1.25*cores and CRIT to 1.5*cores (for >> any/all load values). Seems to be working ok. Haven't had any complaints >> from the NOC for excessive alerting. >> >> -f >> >> On Wed, 9 Mar 2011, Robert Eden wrote: >> >>> Date: Wed, 09 Mar 2011 14:33:13 -0600 >>> From: Robert Eden >>> Reply-To: Nagios Users List >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] check_snmp_load.pl best linux practices >>> >>> I'm currently experimenting with using check_snmp_load.pl to alarm on system >>> overload. >>> >>> Monitoring CPU usage is giving me a lot of false alarms due to their >>> instantaneous nature. >>> >>> I'm getting good results by using the NETSL option to report load averages. >>> I'm setting '-c 99,4,10' to basically ignore the 1 minute value and alarm >>> on 5 and 15 minutes. >>> >>> Unfortunately, unlike the CPU percentages, the load numbers should be based >>> on the number of processors. The NETSL option doesn't do that. >>> >>> One option is to have a series of service commands based on the number of >>> processors, but I'm considering writing a new mode that will using the >>> "STAND" option to get the number of CPUs and then use that as a >>> multiplication factor for alarms. >>> >>> Does that make sense? Surely others have run into this problem. How do you >>> alarm on excessive load w/o causing lots of false alarms. >>> >>> Robert >>> >>> >>> >>> >>> >>> > ----------------------------------------------------------------------------->> > - >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > Joe ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 11:05:09 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 12 Mar 2011 10:05:09 +0000 Subject: Acknowledgements with hard coded email address In-Reply-To: <715CB7C9-1705-4AFB-BB49-CBE017DD7B61@briworks.com> References: <715CB7C9-1705-4AFB-BB49-CBE017DD7B61@briworks.com> Message-ID: On 9 March 2011 18:05, Robert Bailey wrote: > I want to set Nagios so that no when you acknowledge either a host or service problem with the "Notify" checkbox checked, the email goes to a specific email address. Anyone know if this is possible? I've dug through the code a little bit, but I'm not a programmer and I can't find any available configuration options. > > Robert Robert, I think you can configure a contact with the specific email address, make it a contact (or member of the relevant contactgroup) for the host or service, but most importantly in the contact definition, have: host_notification_options n or service_notification_options n then the contact will still receive Acknowledgement notifications but nothing else for that service or host. Certainly this is what happens if you specify "n" in the notification_options directive for a service so I expect it's the same when you specify "n" in the contact definition. Give it a try anyway. This is contrary to the documentation, so I wouldn't be too surprised if it's 'fixed' in a future release, but if that's the case, I would hope a "a" argument will be added to allow you to specify you want ack notifications. For the time being, give this a try. hth, Jim ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon Mar 14 01:43:05 2011 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 13 Mar 2011 17:43:05 -0700 Subject: Nagios port to Windows? Message-ID: I am wondering if there is a port of Nagios to Windows? I have a distributed Nagios configuration with a central Nagios server. My problem is that many of the remote sites only have Windows servers; I can't justify putting another computer in there merely for Nagios. With a Nagios version running on Windows, these sites could fully participate in the distributed configuration, and enjoy all the benefits of Nagios. Currently, I am instead using TNT Monitoring; I wrote it to just run the plugins and submit the results. But I find that I'd really like to add more and more features that Nagios already has (event handlers, for instance). Rather than reinvent the wheel in TNT Monitoring, I was hoping that somebody may already have ported Nagios itself to Windows. Thanks! Kevin Keane The NetTech http://www.4nettech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 gary.smith at holdstead.com Mon Mar 14 01:49:05 2011 From: gary.smith at holdstead.com (Gary Smith) Date: Sun, 13 Mar 2011 17:49:05 -0700 Subject: Nagios port to Windows? In-Reply-To: References: Message-ID: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> There is nrpe for windows. I think that's what you're looking for. From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Sunday, March 13, 2011 5:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios port to Windows? I am wondering if there is a port of Nagios to Windows? I have a distributed Nagios configuration with a central Nagios server. My problem is that many of the remote sites only have Windows servers; I can't justify putting another computer in there merely for Nagios. With a Nagios version running on Windows, these sites could fully participate in the distributed configuration, and enjoy all the benefits of Nagios. Currently, I am instead using TNT Monitoring; I wrote it to just run the plugins and submit the results. But I find that I'd really like to add more and more features that Nagios already has (event handlers, for instance). Rather than reinvent the wheel in TNT Monitoring, I was hoping that somebody may already have ported Nagios itself to Windows. Thanks! Kevin Keane The NetTech http://www.4nettech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 subscription at kkeane.com Mon Mar 14 02:16:47 2011 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 13 Mar 2011 18:16:47 -0700 Subject: Nagios port to Windows? In-Reply-To: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> References: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> Message-ID: No, I'm aware of NRPE - it is a plugin executor, not the full Nagios engine. Thanks, though! From: Gary Smith [mailto:gary.smith at holdstead.com] Sent: Sunday, March 13, 2011 5:49 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios port to Windows? There is nrpe for windows. I think that's what you're looking for. From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Sunday, March 13, 2011 5:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios port to Windows? I am wondering if there is a port of Nagios to Windows? I have a distributed Nagios configuration with a central Nagios server. My problem is that many of the remote sites only have Windows servers; I can't justify putting another computer in there merely for Nagios. With a Nagios version running on Windows, these sites could fully participate in the distributed configuration, and enjoy all the benefits of Nagios. Currently, I am instead using TNT Monitoring; I wrote it to just run the plugins and submit the results. But I find that I'd really like to add more and more features that Nagios already has (event handlers, for instance). Rather than reinvent the wheel in TNT Monitoring, I was hoping that somebody may already have ported Nagios itself to Windows. Thanks! Kevin Keane The NetTech http://www.4nettech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 neira.francisco at gmail.com Mon Mar 14 02:43:12 2011 From: neira.francisco at gmail.com (Francisco Neira) Date: Sun, 13 Mar 2011 20:43:12 -0500 Subject: Verifying the email delivery completion Message-ID: Hi all, I had been successfuly using check_smtp to verify the SMTP service. Few days ago, one of our SMTP servers was still listening on 25 but messages where all rejected with a 451 error. (451 mail server temporarily rejected message (#4.3.0)) Is there any way to verify the email delivery completion? Thanks in advance for your help. Regards, -- Francisco Neira, ISO 27002 Usuario Linux # 165985 ISACA No.565432, IEEE No.90934498 Lima, Peru -05:00 GMT9 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 tevfik.karagulle at gmail.com Mon Mar 14 02:55:08 2011 From: tevfik.karagulle at gmail.com (Tevfik Karagulle) Date: Mon, 14 Mar 2011 02:55:08 +0100 Subject: Nagios port to Windows? In-Reply-To: References: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> Message-ID: Try Nagwin ... http://www.nagios.org/news/77-news-announcements/273-introducing-nagwin-nagios-for-windows Tev On Mon, Mar 14, 2011 at 2:16 AM, Kevin Keane wrote: > No, I?m aware of NRPE ? it is a plugin executor, not the full Nagios > engine. > > > > Thanks, though! > > > > *From:* Gary Smith [mailto:gary.smith at holdstead.com] > *Sent:* Sunday, March 13, 2011 5:49 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Nagios port to Windows? > > > > There is nrpe for windows. I think that?s what you?re looking for. > > > > *From:* Kevin Keane [mailto:subscription at kkeane.com] > *Sent:* Sunday, March 13, 2011 5:43 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Nagios port to Windows? > > > > I am wondering if there is a port of Nagios to Windows? > > > > I have a distributed Nagios configuration with a central Nagios server. My > problem is that many of the remote sites only have Windows servers; I can?t > justify putting another computer in there merely for Nagios. With a Nagios > version running on Windows, these sites could fully participate in the > distributed configuration, and enjoy all the benefits of Nagios. > > > > Currently, I am instead using TNT Monitoring; I wrote it to just run the > plugins and submit the results. But I find that I?d really like to add more > and more features that Nagios already has (event handlers, for instance). > > > > Rather than reinvent the wheel in TNT Monitoring, I was hoping that > somebody may already have ported Nagios itself to Windows. > > > > Thanks! > > > > *Kevin Keane* > > *The NetTech* > > http://www.4nettech.com > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 subscription at kkeane.com Mon Mar 14 03:09:26 2011 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 13 Mar 2011 19:09:26 -0700 Subject: Nagios port to Windows? In-Reply-To: References: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> Message-ID: Wonderful, thank you! That's what I was looking for Kevin Keane The NetTech http://www.4nettech.com From: Tevfik Karagulle [mailto:tevfik.karagulle at gmail.com] Sent: Sunday, March 13, 2011 6:55 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios port to Windows? Try Nagwin ... http://www.nagios.org/news/77-news-announcements/273-introducing-nagwin-nagios-for-windows Tev On Mon, Mar 14, 2011 at 2:16 AM, Kevin Keane > wrote: No, I'm aware of NRPE - it is a plugin executor, not the full Nagios engine. Thanks, though! From: Gary Smith [mailto:gary.smith at holdstead.com] Sent: Sunday, March 13, 2011 5:49 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios port to Windows? There is nrpe for windows. I think that's what you're looking for. From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Sunday, March 13, 2011 5:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios port to Windows? I am wondering if there is a port of Nagios to Windows? I have a distributed Nagios configuration with a central Nagios server. My problem is that many of the remote sites only have Windows servers; I can't justify putting another computer in there merely for Nagios. With a Nagios version running on Windows, these sites could fully participate in the distributed configuration, and enjoy all the benefits of Nagios. Currently, I am instead using TNT Monitoring; I wrote it to just run the plugins and submit the results. But I find that I'd really like to add more and more features that Nagios already has (event handlers, for instance). Rather than reinvent the wheel in TNT Monitoring, I was hoping that somebody may already have ported Nagios itself to Windows. Thanks! Kevin Keane The NetTech http://www.4nettech.com ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mon Mar 14 03:43:56 2011 From: benny at bennyvision.com (C. Bensend) Date: Sun, 13 Mar 2011 21:43:56 -0500 Subject: Verifying the email delivery completion In-Reply-To: References: Message-ID: > I had been successfuly using check_smtp to verify the SMTP service. > Few days ago, one of our SMTP servers was still listening on 25 but > messages > where all rejected with a 451 error. (451 mail server temporarily rejected > message (#4.3.0)) > Is there any way to verify the email delivery completion? Check out check_email_delivery: http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/check_email_delivery/details It will check email *delivery*, not just listening on a port - from email submission via SMTP through the reception of the same email to a mailbox via POP3 or IMAP, and will alert upon problems at any phase in the process. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 08:17:18 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 14 Mar 2011 08:17:18 +0100 Subject: R: how to send passive checks with send_nsca In-Reply-To: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> Message-ID: <437.911475501274$1300087268@news.gmane.org> None ? L Da: Marco Borsani [mailto:m.borsani at it.net] Inviato: gioved? 10 marzo 2011 11:26 A: 'Nagios Users List' Oggetto: [Nagios-users] how to send passive checks with send_nsca Priorit?: Alta Hi all I am reading many and many information regarding NSCA and send_nsca. I have configured a server with nsca demon running and a client within send_nsca. 1) If I use this simple command, everything will go in the right way: /opt/nagios/bin/send_nsca -H SERVER_NAME -d ';' -c /opt/nagios/etc/send_nsca.cfg < /opt/nagios/etc/objects/passive.txt The file ?passive.txt? is something like this: host_cliente;CurrentLoad;0;TEST In the server I have configured a passive_check that run the ?check_dummy? command. 2) I tried also a script that writes info into Nagios.cmd file like this : #!/bin/sh CLOCK=$(date +%s) HOST=$1 STATUS=$2 OUTPUT=$3 SVC=$4 echo "[$CLOCK] PROCESS_SERVICE_CHECK_RESULT;$HOST;$SVC;$STATUS;$OUTPUT" >> /opt/nagios/var/rw/nagios.cmd I see information in the client syslog and nagios.log file , but nothing arrives to the Nagios server probably because nothing send them to it ! J 3) Moreover, how can I use the output from a REAL command that is running on my client (check_tcp , check_http, etc.) ? Perhaps I have to implement something more in the server (specific service, ) and/or in the client Please, any idea ? regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mar 14 09:53:51 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 14 Mar 2011 08:53:51 +0000 Subject: how to send passive checks with send_nsca In-Reply-To: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> Message-ID: <4D7DD79F.40708@flatto.net> Marco Borsani wrote: > > Hi all > > I am reading many and many information regarding NSCA and send_nsca. > > I have configured a server with nsca demon running and a client within > send_nsca. > > 1) > > If I use this simple command, everything will go in the right way: > > /opt/nagios/bin/send_nsca -H SERVER_NAME -d ';' -c > /opt/nagios/etc/send_nsca.cfg < /opt/nagios/etc/objects/passive.txt > > The file ?passive.txt? is something like this: > > host_cliente;CurrentLoad;0;TEST > > In the server I have configured a passive_check that run the > ?check_dummy? command. > > 2) > > I tried also a script that writes info into Nagios.cmd file like this : > > #!/bin/sh > > CLOCK=$(date +%s) > > HOST=$1 > > STATUS=$2 > > OUTPUT=$3 > > SVC=$4 > > echo "[$CLOCK] > PROCESS_SERVICE_CHECK_RESULT;$HOST;$SVC;$STATUS;$OUTPUT" >> > /opt/nagios/var/rw/nagios.cmd > > I see information in the client syslog and nagios.log file , but > nothing arrives to the Nagios server ? probably because nothing send > them to it ! J > > 3) > > Moreover, how can I use the output from a REAL command that is running > on my client (check_tcp , check_http, etc.) ? > > Perhaps I have to implement something more in the server (specific > service, ?) and/or in the client > > Please, any idea ? > > regards > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > have you enabled the passive checks in the nagios.cfg ? by default is it set to 0 - which is disabled accept_passive_service_checks=0 also have you enabled external commands : check_external_commands=1 also to help to debug it more you may want to the options: log_external_commands=1 log_passive_checks=0 plus - have the nagios.debug file enabled - and make sure to add the external commands to the output - that might give you more information. Assaf ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 09:53:14 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Mar 2011 09:53:14 +0100 Subject: R: how to send passive checks with send_nsca In-Reply-To: <005c01cbe217$dd1e8080$975b8180$@borsani@it.net> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> <005c01cbe217$dd1e8080$975b8180$@borsani@it.net> Message-ID: <4D7DD77A.90802@op5.se> On 03/14/2011 08:17 AM, Marco Borsani wrote: > None ? > google "nagios distributed nsca" without the quotes and you'll find your answers eventually. -- 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. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 10:02:31 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 14 Mar 2011 10:02:31 +0100 Subject: R: how to send passive checks with send_nsca In-Reply-To: <4D7DD79F.40708@flatto.net> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> <4D7DD79F.40708@flatto.net> Message-ID: <42509.0859913782$1300093537@news.gmane.org> Thanks, but I already did everything you have suggested. The only way I have found to use NSCA & send_nsca is to create one script each check command I use. These scripts have to be present in the central Nagios server and in the remote Nagios server, otherwise Nagios does not match the "Service Description" and not show the result. I can't believe that this is the only/right way. Regards Marco -----Messaggio originale----- Da: Assaf Flatto [mailto:nagios at flatto.net] Inviato: luned? 14 marzo 2011 09:54 A: Nagios Users List Oggetto: Re: [Nagios-users] how to send passive checks with send_nsca Marco Borsani wrote: > > Hi all > > I am reading many and many information regarding NSCA and send_nsca. > > I have configured a server with nsca demon running and a client within > send_nsca. > > 1) > > If I use this simple command, everything will go in the right way: > > /opt/nagios/bin/send_nsca -H SERVER_NAME -d ';' -c > /opt/nagios/etc/send_nsca.cfg < /opt/nagios/etc/objects/passive.txt > > The file ?passive.txt? is something like this: > > host_cliente;CurrentLoad;0;TEST > > In the server I have configured a passive_check that run the > ?check_dummy? command. > > 2) > > I tried also a script that writes info into Nagios.cmd file like this : > > #!/bin/sh > > CLOCK=$(date +%s) > > HOST=$1 > > STATUS=$2 > > OUTPUT=$3 > > SVC=$4 > > echo "[$CLOCK] > PROCESS_SERVICE_CHECK_RESULT;$HOST;$SVC;$STATUS;$OUTPUT" >> > /opt/nagios/var/rw/nagios.cmd > > I see information in the client syslog and nagios.log file , but > nothing arrives to the Nagios server probably because nothing send > them to it ! J > > 3) > > Moreover, how can I use the output from a REAL command that is running > on my client (check_tcp , check_http, etc.) ? > > Perhaps I have to implement something more in the server (specific > service, ) and/or in the client > > Please, any idea ? > > regards > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > have you enabled the passive checks in the nagios.cfg ? by default is it set to 0 - which is disabled accept_passive_service_checks=0 also have you enabled external commands : check_external_commands=1 also to help to debug it more you may want to the options: log_external_commands=1 log_passive_checks=0 plus - have the nagios.debug file enabled - and make sure to add the external commands to the output - that might give you more information. Assaf ---------------------------------------------------------------------------- -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 10:08:58 2011 From: m.borsani at it.net (Marco Borsani) Date: Mon, 14 Mar 2011 10:08:58 +0100 Subject: R: R: how to send passive checks with send_nsca In-Reply-To: <4D7DD77A.90802@op5.se> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> <005c01cbe217$dd1e8080$975b8180$@borsani@it.net> <4D7DD77A.90802@op5.se> Message-ID: <36777.9804546901$1300093865@news.gmane.org> :-D I did , I read many web pages (both in English and in Italian), but nothing explain very well the configuration I have to prepare in both sides (central Nagios server and remote Nagios server). In particular: - how defines the services in the remote and the fees in the central Nagios server - how send results with send_nsca to the central Nagios server Central Nagios server is receiving results if I perform sending from the remote with command like: echo "CLIENT;check_passive_tcp-81;3;TEST" | /opt/nagios/bin/send_nsca -d ";" -c /opt/nagios/etc/send_nsca.cfg -H SERVER.domain Regards Marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: luned? 14 marzo 2011 09:53 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] R: how to send passive checks with send_nsca On 03/14/2011 08:17 AM, Marco Borsani wrote: > None ? > google "nagios distributed nsca" without the quotes and you'll find your answers eventually. -- 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. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 10:14:21 2011 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Mar 2011 10:14:21 +0100 Subject: R: how to send passive checks with send_nsca In-Reply-To: <008201cbe226$90589470$b109bd50$@borsani@it.net> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> <4D7DD79F.40708@flatto.net> <008201cbe226$90589470$b109bd50$@borsani@it.net> Message-ID: <4D7DDC6D.2030505@op5.se> On 03/14/2011 10:02 AM, Marco Borsani wrote: > Thanks, but I already did everything you have suggested. > > The only way I have found to use NSCA& send_nsca is to create one script > each check command I use. > These scripts have to be present in the central Nagios server and in the > remote Nagios server, otherwise Nagios does not match the "Service > Description" and not show the result. > > I can't believe that this is the only/right way. > It isn't. Use obsessive compulsive host/service processing commands, defined once in nagios.cfg. http://nagios.sourceforge.net/docs/3_0/distributed.html is the 6th hit for me when googling the terms I told you. Everything you need can be found on that page. -- 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. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinos at ebnet.org Mon Mar 14 14:56:17 2011 From: tinos at ebnet.org (TINOS ROUSOS) Date: Mon, 14 Mar 2011 09:56:17 -0400 Subject: New to Nagios Monitoring Windows Hosts Message-ID: <4D7DE6410200009500007C64@mail2.ebnet.org> Hi there,I have been trying to get my nagios setup working and I have successfully got the core working monitoring the local host . As soon as I try to add a windows host I get a starting nagios config error. My windows config error is very basic for the moment only one server and only one service. I have looked at it more times that I like to admit and I can't see anything wrong with it. Can someone post a real working windows.cfg file for me or email me one so I can maybe find the problem. Thank you much in advance, Constantin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mon Mar 14 15:13:11 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 14 Mar 2011 07:13:11 -0700 Subject: New to Nagios Monitoring Windows Hosts In-Reply-To: <4D7DE6410200009500007C64@mail2.ebnet.org> References: <4D7DE6410200009500007C64@mail2.ebnet.org> Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB2405D4FBF8@WPSCV6MM.OPR.STATEFARM.ORG> Everyone's configs can be very different. How about posting your error and part of your configs and we can help fix those? Dan From: TINOS ROUSOS [mailto:tinos at ebnet.org] Sent: Monday, March 14, 2011 8:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] New to Nagios Monitoring Windows Hosts Hi there,I have been trying to get my nagios setup working and I have successfully got the core working monitoring the local host . As soon as I try to add a windows host I get a starting nagios config error. My windows config error is very basic for the moment only one server and only one service. I have looked at it more times that I like to admit and I can't see anything wrong with it. Can someone post a real working windows.cfg file for me or email me one so I can maybe find the problem. Thank you much in advance, Constantin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mar 14 15:50:27 2011 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Mon, 14 Mar 2011 15:50:27 +0100 Subject: "alias" host configuration not interpreted since 3.2.2 Message-ID: <4D7E2B33.2000801@riege.com> Hi, just noticed that I couldn't change the alias value in an existing host definition. $HOSTALIAS$ just remained on the old value although the web interface showed the current setting. I built myself a little test setup and just returned $HOSTALIAS$ as a check-result and could confirm that in Nagios Core 3.2.1 $HOSTALIAS$ changed without error when changing the alias definition, since version 3.2.2 change is impossible. Thanks for a fix in an upcoming version. Regards, Dennis -- .............................................................. Riege Software International GmbH Fon: +49 (2159) 9148 0 Mollsfeld 10 Fax: +49 (2159) 9148 11 40670 Meerbusch Web: www.riege.com Germany E-Mail: kuhlmeier at riege.com --- --- Handelsregister: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege USt-ID-Nr.: DE120585842 Gabriele Riege Johannes Riege .............................................................. YOU CARE FOR FREIGHT, WE CARE FOR YOU -------------- next part -------------- A non-text attachment was scrubbed... Name: kuhlmeier.vcf Type: text/x-vcard Size: 306 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 rmeden at gmail.com Mon Mar 14 16:33:12 2011 From: rmeden at gmail.com (Robert Eden) Date: Mon, 14 Mar 2011 10:33:12 -0500 Subject: Nagios port to Windows? In-Reply-To: References: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> Message-ID: <4D7E3538.40804@gmail.com> If Nagwin doesn't do what you want, you can always run Nagios on a linux virtual machine (assuming they have the free ram) Robert ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaimeventura at ipp.pt Mon Mar 14 17:25:26 2011 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Mon, 14 Mar 2011 16:25:26 +0000 Subject: log file not being rotated Message-ID: <4D7E4176.6020705@ipp.pt> I have a nagios installation not rotating its log file a long time. I have been updating nagios regularly since version 2 and i thing it stopped rotating after an update (but no sure). Now using nagios 3.2.3 and the log file has now grown to 3.8 GB. The log_rotation_method is set to "d" and should be rotated daily. Is there any way to manually rotate it? Can I somehow debug why this is happening? Thanks Jaime ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 14 18:58:19 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 14 Mar 2011 17:58:19 +0000 Subject: log file not being rotated In-Reply-To: <4D7E4176.6020705@ipp.pt> References: <4D7E4176.6020705@ipp.pt> Message-ID: <4D7E573B.5060409@flatto.net> Jaime Ventura wrote: > I have a nagios installation not rotating its log file a long time. > I have been updating nagios regularly since version 2 and i thing it > stopped rotating after an update (but no sure). > Now using nagios 3.2.3 and the log file has now grown to 3.8 GB. > > The log_rotation_method is set to "d" and should be rotated daily. > > Is there any way to manually rotate it? Can I somehow debug why this is > happening? > > Thanks > Jaime > have you checked the permissions on the var/rw directory ? is it owned by nagios ? Assaf ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaimeventura at ipp.pt Mon Mar 14 19:23:44 2011 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Mon, 14 Mar 2011 18:23:44 +0000 Subject: log file not being rotated In-Reply-To: <4D7E573B.5060409@flatto.net> References: <4D7E4176.6020705@ipp.pt> <4D7E573B.5060409@flatto.net> Message-ID: <4D7E5D30.2020401@ipp.pt> Yes, it is. I afraid the file is so big, nagios can rotate it anymore. drwxr-s--x 3 nagios adm 4096 2011-03-14 16:39 . drwxr-xr-x 17 root root 4096 2011-03-14 16:50 .. drwxr-s--x 2 nagios adm 32768 2010-11-09 13:50 archives -rw-rw-r-- 1 nagios adm 3845809989 2011-03-14 18:20 nagios.log Thanks On 14-03-2011 17:58, Assaf Flatto wrote: > Jaime Ventura wrote: >> I have a nagios installation not rotating its log file a long time. >> I have been updating nagios regularly since version 2 and i thing it >> stopped rotating after an update (but no sure). >> Now using nagios 3.2.3 and the log file has now grown to 3.8 GB. >> >> The log_rotation_method is set to "d" and should be rotated daily. >> >> Is there any way to manually rotate it? Can I somehow debug why this is >> happening? >> >> Thanks >> Jaime >> > have you checked the permissions on the var/rw directory ? > is it owned by nagios ? > > > Assaf > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neira.francisco at gmail.com Mon Mar 14 20:26:01 2011 From: neira.francisco at gmail.com (Francisco Neira) Date: Mon, 14 Mar 2011 14:26:01 -0500 Subject: Verifying the email delivery completion In-Reply-To: References: Message-ID: 2011/3/13 C. Bensend > > > I had been successfuly using check_smtp to verify the SMTP service. > > Few days ago, one of our SMTP servers was still listening on 25 but > > messages > > where all rejected with a 451 error. (451 mail server temporarily > rejected > > message (#4.3.0)) > > Is there any way to verify the email delivery completion? > > Check out check_email_delivery: > > > http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/check_email_delivery/details > > It will check email *delivery*, not just listening on a port - from > email submission via SMTP through the reception of the same email > to a mailbox via POP3 or IMAP, and will alert upon problems at any > phase in the process. > > Benny > Worked like a charm! I not only tested SMTP but also IMAP authentication. Thanks a lot, Ben! -- Francisco Neira, ISO 27002 Usuario Linux # 165985 ISACA No.565432, IEEE No.90934498 Lima, Peru -05:00 GMT -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 rafaelhenriqu at gmail.com Tue Mar 15 02:57:24 2011 From: rafaelhenriqu at gmail.com (Rafael Henrique da Silva Correia) Date: Mon, 14 Mar 2011 22:57:24 -0300 Subject: Monitoring CA ArcServe In-Reply-To: <4D776D81.6060000@gmail.com> References: <4D776D81.6060000@gmail.com> Message-ID: <4D7EC784.6090500@gmail.com> Anobody? Em 09-03-2011 09:07, Rafael Henrique da Silva Correia escreveu: > Good morning everyone, > > Anybody ever used this script: > > http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/ArcServe/CA-ARCserve-Backup-r12-Number-of-Job-Error-Check/details > > > To monitor the CA ArcServe? > > I'm having several problems, NRPE_NT and NSClient + + can not return > the server response to the problem is that Nagios in the call: > > function CMD (ByRef cmdline) > September oShell = WScript.CreateObject ("WScript.Shell") > September oExec oShell.Exec = (cmdline) > > oExec.StdOut.Readall ret = () > September oExec = nothing: Set oShell = nothing > > CMD = ret > End Function > > I have trouble making the call to "Shell" in Rwindows Server 2008 x64. > The error I always get the server is: CHECK_NRPE: Socket timeout after > 10 seconds. > I've changed my command_timeout values and using the parameter -t (to > change timeout) on check_nrpe (Nagios server), but always ends with > the Socket timeout when I do that blessed call Shell. > > Does anyone have any suggestions? > > Thanks > > OFF: I was seeing things as monitor Nagios with Python, how to do this > is to monitor RWindows? > -- Rafael Henrique da Silva Correia http://abraseucodigo.blogspot.com Administrador de Sistemas Linux Certificado pela LPIC - 101 ID: LPI000160699 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Tue Mar 15 03:00:19 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Mon, 14 Mar 2011 19:00:19 -0700 Subject: NRPE and include_dir Message-ID: <4D7EC833.3050801@aggregateknowledge.com> Apologies if this list isn't appropriate for this question, but I thought I'd try here first. We're trying to use the include_dir directive in NRPE with an /etc/nagios/nrpe.d/ directory. My assumption was that files in this directory would be loaded in alphanumeric order, but it seems to only load in alphabetical order, ignoring numerals. For instance, if I have these files: /etc/nagios/nrpe.d/000-fileone.cfg /etc/nagios/nrpe.d/100-filetwo.cfg and they both define the same command, I would expect the one in 100-filetwo.cfg to take precedence, as it should be loaded second. However, this is not the case. (I've verified the order they are loaded with debug=1). If I have these files, though: /etc/nagios/nrpe.d/aaa-fileone.cfg /etc/nagios/nrpe.d/bbb-filetwo.cfg then things work in the order I expect (checks defined in bbb-filetwo.cfg will override checks defined in aaa-fileone.cfg). I'm using NRPE 2.5.2, which I realize is slightly old (2.12 seems to be the most recent version). I can't find a bug report for this issue, though, so I'm not sure if it's been recognized as such, nor if it's been corrected in newer versions. In fact, I see no documentation anywhere that specifies the order in which files will be loaded from within a directory that's been included with include_dir. Has anybody seen this behavior? Am I correct in believing it to be a bug? Thanks, Mike ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Mar 15 09:39:08 2011 From: m.borsani at it.net (Marco Borsani) Date: Tue, 15 Mar 2011 09:39:08 +0100 Subject: R: R: how to send passive checks with send_nsca In-Reply-To: <4D7DDC6D.2030505@op5.se> References: <006701cbdf0d$9a06fff0$ce14ffd0$@borsani@it.net> <4D7DD79F.40708@flatto.net> <008201cbe226$90589470$b109bd50$@borsani@it.net> <4D7DDC6D.2030505@op5.se> Message-ID: <1268.05429249561$1300178700@news.gmane.org> Thanks a lot! I was missing the "obsessive" commands ... Last question... Is it possible , from the remote Nagios server, sends only a part of passive service checks to the central Nagios server or not ? Actually it sends all the services configured inside it. Regards Marco -----Messaggio originale----- Da: Andreas Ericsson [mailto:ae at op5.se] Inviato: luned? 14 marzo 2011 10:14 A: Nagios Users List Cc: Marco Borsani Oggetto: Re: [Nagios-users] R: how to send passive checks with send_nsca On 03/14/2011 10:02 AM, Marco Borsani wrote: > Thanks, but I already did everything you have suggested. > > The only way I have found to use NSCA& send_nsca is to create one script > each check command I use. > These scripts have to be present in the central Nagios server and in the > remote Nagios server, otherwise Nagios does not match the "Service > Description" and not show the result. > > I can't believe that this is the only/right way. > It isn't. Use obsessive compulsive host/service processing commands, defined once in nagios.cfg. http://nagios.sourceforge.net/docs/3_0/distributed.html is the 6th hit for me when googling the terms I told you. Everything you need can be found on that page. -- 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. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skebi69 at gmail.com Tue Mar 15 10:08:56 2011 From: skebi69 at gmail.com (John Kennedy) Date: Tue, 15 Mar 2011 09:08:56 +0000 Subject: Persistent Downtime for service on host Message-ID: <4D7F2CA8.9050800@gmail.com> Hello all, We are running Nagios3 on: $ more /etc/debian_version 5.0.8 We have several servers that are being monitored for their load. Each night when backups are run the load threshold is reached. Is it possible to schedule a daily time that the load is not checked? I can see how to schedule a one-off outage just not how to do it daily. Thanks, John -- John Kennedy ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Tue Mar 15 10:20:11 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Tue, 15 Mar 2011 09:20:11 +0000 Subject: Persistent Downtime for service on host In-Reply-To: <4D7F2CA8.9050800@gmail.com> References: <4D7F2CA8.9050800@gmail.com> Message-ID: >We have several servers that are being monitored for their load. Each >night when backups are run the load threshold is reached. Is it possible >to schedule a daily time that the load is not checked? I can see how to >schedule a one-off outage just not how to do it daily. Create a valid timeperiod to check the service that doesn't include that range. Then specify it in the service def so the default (likely 24/7) is not used. Now it won't ever be checked when you know it is exceeded. jlc ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Mar 15 13:08:53 2011 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 15 Mar 2011 05:08:53 -0700 Subject: Nagios port to Windows? In-Reply-To: <4D7E3538.40804@gmail.com> References: <034DEBCAE934A74991E6E76B8DA72D1470ACDB0AA0@HSSBS.holdstead.local> <4D7E3538.40804@gmail.com> Message-ID: And assuming they are virtualized... Most of these locations are small business with only one server to begin with. Kevin Keane The NetTech http://www.4nettech.com -----Original Message----- From: Robert Eden [mailto:rmeden at gmail.com] Sent: Monday, March 14, 2011 8:33 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios port to Windows? If Nagwin doesn't do what you want, you can always run Nagios on a linux virtual machine (assuming they have the free ram) Robert ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From si18665 at gmail.com Tue Mar 15 14:22:07 2011 From: si18665 at gmail.com (Sal Ila) Date: Tue, 15 Mar 2011 13:22:07 +0000 Subject: NSClient++. Monitoring the devices behind the Firewall. Message-ID: Hello Team, The question I have is the same of already reported in the link http://nsclient.com/nscp/discussion/topic/466#-1. The diagram and scenario is the same reported in the link http://nsclient.com/nscp/wiki/doc/usage/nagios/nrpe but with a second remote Firewall. Basically, I know how to configure a remote Windows computer with a fix TCP-IP address but I have no idea how to configure a remote Windows NSClient or an NRPE UNIX client installed behind a remote Firewall. The remote subnet has a NAT in this case and how the Nagios server can reach a remote client in this scenario? Any idea? Thanks. Regards Salvo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Tue Mar 15 14:41:40 2011 From: benny at bennyvision.com (C. Bensend) Date: Tue, 15 Mar 2011 08:41:40 -0500 Subject: NSClient++. Monitoring the devices behind the Firewall. In-Reply-To: References: Message-ID: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> > The question I have is the same of already reported in the link > http://nsclient.com/nscp/discussion/topic/466#-1. The diagram and scenario > is the same reported in the link > http://nsclient.com/nscp/wiki/doc/usage/nagios/nrpe but with a second > remote > Firewall. > > Basically, I know how to configure a remote Windows computer with a fix > TCP-IP address but I have no idea how to configure a remote Windows > NSClient > or an NRPE UNIX client installed behind a remote Firewall. The remote > subnet > has a NAT in this case and how the Nagios server can reach a remote client > in this scenario? > Any idea? Well, each of the clients behind the firewall needs to be individually addressable somehow. You can do this in several ways, here are two: 1) Assign ports on the firewall to NAT to the individual clients behind it. Ie, assign port 45000 to be NATed to client 1, port 5666. Assign port 45001 to be NATed to client 2, port 5666, etc. Then, on your Nagios server, use the IP of your firewall and the individual ports to communicate with the clients. 2) Assign multiple IPs to the firewall, and NAT each IP and port X (by default, 5666) to the clients behind it. If you're looking to do this without cooperation from the client and their security folks, you're going to run into problems. If they want you to monitor their hosts, they have to provide some manner of accessing them. In either of the examples above, I would strongly recommend that they assign firewall rules to allow connections to the clients' NSClient++ services *only* from your Nagios server. Don't leave those ports open to the unwashed masses. A VPN between your sites is also an option. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Mar 15 14:47:17 2011 From: benny at bennyvision.com (C. Bensend) Date: Tue, 15 Mar 2011 08:47:17 -0500 Subject: NSClient++. Monitoring the devices behind the Firewall. In-Reply-To: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> References: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> Message-ID: > If you're looking to do this without cooperation from the client > and their security folks, you're going to run into problems. If > they want you to monitor their hosts, they have to provide some > manner of accessing them. Just to be thorough, passive monitoring is also a possibility. In that case, each of the clients would be configured to send the service check results to the Nagios server, and would probably not require any changes to the firewall. However, I choose to use active monitoring, so I cannot help with that setup, nor would I necessarily recommend it. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 15 15:27:58 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 15 Mar 2011 14:27:58 +0000 Subject: NSClient++. Monitoring the devices behind the Firewall. In-Reply-To: References: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> Message-ID: On 15 March 2011 13:47, C. Bensend wrote: > >> If you're looking to do this without cooperation from the client >> and their security folks, you're going to run into problems. ?If >> they want you to monitor their hosts, they have to provide some >> manner of accessing them. > > Just to be thorough, passive monitoring is also a possibility. > In that case, each of the clients would be configured to send the > service check results to the Nagios server, and would probably > not require any changes to the firewall. > > However, I choose to use active monitoring, so I cannot help > with that setup, nor would I necessarily recommend it. I would echo what Benny said there having tried it myself. Passive monitoring is possible, and fairly easy to set up using the NSClient++ agent, but can be more trouble than it is worth as whenever you need to make any change you have to log on to the remote server to change the NSClient++ config. If it's behind two firewalls then I would guess that might not be easy. If it's a large site with lots of servers, I would maybe consider deploying a Nagios server on that site so there is only then one node which needs to communicate back and forth with your central Nagios server. As ever, there are lots of different ways you can slice and dice this problem. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 15 15:34:06 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 15 Mar 2011 07:34:06 -0700 Subject: NSClient++. Monitoring the devices behind theFirewall. In-Reply-To: References: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB2405DA59D5@WPSCV6MM.OPR.STATEFARM.ORG> You could always have a passive check that "calls home" to get any new updates so then you wouldn't really have to login to each one to push down changes. Dan -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Tuesday, March 15, 2011 9:28 AM To: Nagios Users List Subject: Re: [Nagios-users] NSClient++. Monitoring the devices behind theFirewall. On 15 March 2011 13:47, C. Bensend wrote: > >> If you're looking to do this without cooperation from the client >> and their security folks, you're going to run into problems. ?If >> they want you to monitor their hosts, they have to provide some >> manner of accessing them. > > Just to be thorough, passive monitoring is also a possibility. > In that case, each of the clients would be configured to send the > service check results to the Nagios server, and would probably > not require any changes to the firewall. > > However, I choose to use active monitoring, so I cannot help > with that setup, nor would I necessarily recommend it. I would echo what Benny said there having tried it myself. Passive monitoring is possible, and fairly easy to set up using the NSClient++ agent, but can be more trouble than it is worth as whenever you need to make any change you have to log on to the remote server to change the NSClient++ config. If it's behind two firewalls then I would guess that might not be easy. If it's a large site with lots of servers, I would maybe consider deploying a Nagios server on that site so there is only then one node which needs to communicate back and forth with your central Nagios server. As ever, there are lots of different ways you can slice and dice this problem. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Tue Mar 15 16:16:16 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Tue, 15 Mar 2011 08:16:16 -0700 Subject: NRPE and include_dir In-Reply-To: <4D7EC833.3050801@aggregateknowledge.com> References: <4D7EC833.3050801@aggregateknowledge.com> Message-ID: <4D7F82C0.4070600@aggregateknowledge.com> On 03/14/2011 07:00 PM, Mike Chesnut wrote: > We're trying to use the include_dir directive in NRPE with an > /etc/nagios/nrpe.d/ directory. My assumption was that files in this > directory would be loaded in alphanumeric order, but it seems to only > load in alphabetical order, ignoring numerals. To follow up on this, it turns out that in nrpe.c, readdir() is used to load files from the config directory, which is totally non-deterministic in the order the files are read. I believe this to be a bug, as I think it's a reasonable expectation (based on how pretty much every other program that allows you to include a conf.d directory works) for the files to be loaded in alphanumeric order. Is there a reason anybody knows of that this belief is incorrect? If not, I'll work on a patch. Thanks, Mike ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 15 16:46:12 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 15 Mar 2011 15:46:12 +0000 Subject: NSClient++. Monitoring the devices behind theFirewall. In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB2405DA59D5@WPSCV6MM.OPR.STATEFARM.ORG> References: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> <31B0FE0A1A8166409E9DF35C6DEECB2405DA59D5@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: On 15 March 2011 14:34, Daniel Wittenberg wrote: > You could always have a passive check that "calls home" to get any new updates so then you wouldn't really have to login to each one to push down changes. > > Dan That's a neat idea! ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 15 16:56:17 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 15 Mar 2011 16:56:17 +0100 Subject: NRPE and include_dir In-Reply-To: <4D7F82C0.4070600@aggregateknowledge.com> References: <4D7EC833.3050801@aggregateknowledge.com> <4D7F82C0.4070600@aggregateknowledge.com> Message-ID: <4D7F8C21.5060904@op5.se> On 03/15/2011 04:16 PM, Mike Chesnut wrote: > On 03/14/2011 07:00 PM, Mike Chesnut wrote: >> We're trying to use the include_dir directive in NRPE with an >> /etc/nagios/nrpe.d/ directory. My assumption was that files in this >> directory would be loaded in alphanumeric order, but it seems to only >> load in alphabetical order, ignoring numerals. > > To follow up on this, it turns out that in nrpe.c, readdir() is used to > load files from the config directory, which is totally non-deterministic > in the order the files are read. > > I believe this to be a bug, as I think it's a reasonable expectation > (based on how pretty much every other program that allows you to include > a conf.d directory works) for the files to be loaded in alphanumeric order. > This should really only be a problem if you're loading more than one command with the same name. If that's the case, you've done something pretty severely wrong anyway since NRPE doesn't guarantee that either of them will win out and the order could thus change at any time. It's a tossup if we should use "first wins" or "last wins", and since it isn't documented it can (and possibly will) change. > Is there a reason anybody knows of that this belief is incorrect? If > not, I'll work on a patch. > See above. If you still want to fix it, make sure you also update the documentation so that it's obvious what the order of domination is wrt commands with the same name. -- 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. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Tue Mar 15 18:23:42 2011 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Tue, 15 Mar 2011 10:23:42 -0700 Subject: NRPE and include_dir In-Reply-To: <4D7F8C21.5060904@op5.se> References: <4D7EC833.3050801@aggregateknowledge.com> <4D7F82C0.4070600@aggregateknowledge.com> <4D7F8C21.5060904@op5.se> Message-ID: <4D7FA09E.7020300@aggregateknowledge.com> On 03/15/2011 08:56 AM, Andreas Ericsson wrote: > On 03/15/2011 04:16 PM, Mike Chesnut wrote: >> On 03/14/2011 07:00 PM, Mike Chesnut wrote: >>> We're trying to use the include_dir directive in NRPE with an >>> /etc/nagios/nrpe.d/ directory. My assumption was that files in this >>> directory would be loaded in alphanumeric order, but it seems to only >>> load in alphabetical order, ignoring numerals. >> >> To follow up on this, it turns out that in nrpe.c, readdir() is used to >> load files from the config directory, which is totally non-deterministic >> in the order the files are read. >> >> I believe this to be a bug, as I think it's a reasonable expectation >> (based on how pretty much every other program that allows you to include >> a conf.d directory works) for the files to be loaded in alphanumeric order. >> > > This should really only be a problem if you're loading more than one > command with the same name. If that's the case, you've done something > pretty severely wrong anyway since NRPE doesn't guarantee that either > of them will win out and the order could thus change at any time. It's > a tossup if we should use "first wins" or "last wins", and since it > isn't documented it can (and possibly will) change. So my assertion is that it's preferable for things like this to be well-defined (and documented), rather than being essentially random. We have what I consider to be a pretty reasonable situation where this would be useful. I'm happy to share the specifics if anybody's curious, but it seems to me that it'd be generally useful to the whole community to have things like this spelled out explicitly, one way or another. >> Is there a reason anybody knows of that this belief is incorrect? If >> not, I'll work on a patch. >> > > See above. If you still want to fix it, make sure you also update > the documentation so that it's obvious what the order of domination > is wrt commands with the same name. Will do. No guarantees I get to it, but hopefully. If anybody has an objection to this change please let me know before I waste my time. Thanks, Mike ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crhyner at box.net Tue Mar 15 18:29:28 2011 From: crhyner at box.net (Chad Rhyner) Date: Tue, 15 Mar 2011 10:29:28 -0700 Subject: SOLVED - WARNING: Unknown contact keyword: serviceescalation Message-ID: Well, I found this issue, and it was not related to nagios at all. I was looking in the wrong place. The issue stemmed from a Python module, and as it parsed the Nagios configuration, it did not recognize hostescalation and serviceescalation, which printed out the messages that we had in the Daily Status report that we were examining. So, it was not my configuration as I expected, and it was the supporting module that reported this. ~Chad On Mon, Feb 28, 2011 at 2:37 PM, Max Schubert wrote: > Have you tried removing the trailing commas from the contact attribute > 'members' for the two contactgroup defintions? > > - Max > > On Mon, Feb 28, 2011 at 4:47 PM, Chad Rhyner wrote: > > On Mon, Feb 28, 2011 at 12:27 PM, Max Schubert > > > wrote: > >> > >> Please respond to the list with the version of Nagios you are using > >> and an example contact and/or serviceescalation definition that you > >> are using. > >> > >> - Max > > > > Certainly. The version I am using is 3.0.6. Here is a copy of the > output: > > > > Nagios 3.0.6 > > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > > Last Modified: 12-01-2008 > > License: GPL > > > > This is being run on a 64-bit Linux machine. Here is an example of the > > serviceescalation definition: > > > > define serviceescalation{ > > hostgroup_name sms > > service_description HTTP > > first_notification 1 > > last_notification 2 > > notification_interval 10 > > contact_groups oncall,email > > } > > > > Here are the contactgroups related to that serviceescalation: > > > > define contactgroup{ > > contactgroup_name oncall > > alias Oncall > > members user1,user2, > > } > > > > define contactgroup{ > > contactgroup_name email > > alias Email > > members > > user1_email,user2_email,user3_email,...usern_email, > > } > > > > For both contactgroups oncall and email, there is a contact defined for > each > > user that is named. I have changed the usernames for privacy reasons. > > > > ~Chad > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 sa185043 at ncr.com Wed Mar 16 12:09:30 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 16 Mar 2011 07:09:30 -0400 Subject: Create services dynamically for a specific host Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> Hi, I have some 150 services that I wish to monitor using passive checks to Nagios. Is it possible for Nagios to dynamically display these services as it received the check without specifying the exact service name in the configuration? Please suggest if there is any way out to get this done. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 mochu33 at gmail.com Wed Mar 16 12:55:47 2011 From: mochu33 at gmail.com (Juan-Francisco Diez) Date: Wed, 16 Mar 2011 12:55:47 +0100 Subject: Create services dynamically for a specific host In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> Message-ID: I don't know if nagios can do this by itself, but with tools like puppet or cfengine you can do it. 2011/3/16 Anand, Sakshi > Hi, > > I have some 150 services that I wish to monitor using passive checks to > Nagios. > > Is it possible for Nagios to dynamically display these services as it > received the check without specifying the exact service name in the > configuration? > > Please suggest if there is any way out to get this done. > > Thanks & Regards, > Sakshi Anand > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Jarlath.Lyons at Tideworks.com Wed Mar 16 14:52:31 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Wed, 16 Mar 2011 13:52:31 +0000 Subject: Create services dynamically for a specific host In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> I don't think you can do exactly what you are proposing, but you might consider this alternative ... http://www.novell.com/communities/node/4131/application-monitoring-made-easy-java-applications-using-nagios Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 16, 2011 4:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Create services dynamically for a specific host Hi, I have some 150 services that I wish to monitor using passive checks to Nagios. Is it possible for Nagios to dynamically display these services as it received the check without specifying the exact service name in the configuration? Please suggest if there is any way out to get this done. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 sa185043 at ncr.com Wed Mar 16 15:21:39 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 16 Mar 2011 10:21:39 -0400 Subject: Create services dynamically for a specific host In-Reply-To: <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> I have gone through this article. Not of much help to me :( Is it somehow possible that nagios fetches service name from passive check sent to it and display it as it is to nagios home page? Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 16, 2011 7:23 PM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host I don't think you can do exactly what you are proposing, but you might consider this alternative ... http://www.novell.com/communities/node/4131/application-monitoring-made-easy-java-applications-using-nagios Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:198261914 at 16032011-2106] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 16, 2011 4:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Create services dynamically for a specific host Hi, I have some 150 services that I wish to monitor using passive checks to Nagios. Is it possible for Nagios to dynamically display these services as it received the check without specifying the exact service name in the configuration? Please suggest if there is any way out to get this done. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Jarlath.Lyons at Tideworks.com Wed Mar 16 15:24:26 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Wed, 16 Mar 2011 14:24:26 +0000 Subject: Create services dynamically for a specific host In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A4108010@LWEXMB02.usa.int> I believe the answer is a resounding no ..... sorry. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 16, 2011 7:22 AM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host I have gone through this article. Not of much help to me :( Is it somehow possible that nagios fetches service name from passive check sent to it and display it as it is to nagios home page? Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 16, 2011 7:23 PM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host I don't think you can do exactly what you are proposing, but you might consider this alternative ... http://www.novell.com/communities/node/4131/application-monitoring-made-easy-java-applications-using-nagios Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 16, 2011 4:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Create services dynamically for a specific host Hi, I have some 150 services that I wish to monitor using passive checks to Nagios. Is it possible for Nagios to dynamically display these services as it received the check without specifying the exact service name in the configuration? Please suggest if there is any way out to get this done. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Wed Mar 16 15:31:14 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 16 Mar 2011 14:31:14 +0000 Subject: Create services dynamically for a specific host In-Reply-To: <45EDF03D8939C5499AF295D43606A4A4108010@LWEXMB02.usa.int> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108010@LWEXMB02.usa.int> Message-ID: <06585FB16E769345BC795C57A077FD559CE0@WPSDGQFQ.OPR.STATEFARM.ORG> This is something you could write, to watch the logs and create the service config files for services it doesn't know about, but would require some knowledge about what services you had coming in. It could be an interesting add-on. Dan From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 16, 2011 9:24 AM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host I believe the answer is a resounding no ..... sorry. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 16, 2011 7:22 AM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host I have gone through this article. Not of much help to me :( Is it somehow possible that nagios fetches service name from passive check sent to it and display it as it is to nagios home page? Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 16, 2011 7:23 PM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host I don't think you can do exactly what you are proposing, but you might consider this alternative ... http://www.novell.com/communities/node/4131/application-monitoring-made-easy-java-applications-using-nagios Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 16, 2011 4:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Create services dynamically for a specific host Hi, I have some 150 services that I wish to monitor using passive checks to Nagios. Is it possible for Nagios to dynamically display these services as it received the check without specifying the exact service name in the configuration? Please suggest if there is any way out to get this done. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 jcasale at activenetwerx.com Wed Mar 16 15:39:07 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Wed, 16 Mar 2011 14:39:07 +0000 Subject: Create services dynamically for a specific host In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> Message-ID: >Is it possible for Nagios to dynamically display these services as it received >the check without specifying the exact service name in the configuration? What is your requirement for their display in Nagios? Should the service appear under a specific host for example, or how do you desire to have them organized? jlc ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Mar 16 16:18:04 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 16 Mar 2011 23:18:04 +0800 Subject: Create services dynamically for a specific host In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> Message-ID: no. you have to define the services before Nagios can "display" them, otherwise Nagios won't know where the passive checks it received should go, this is the rule. but maybe you can do a trick: while a passive check occurs, create a config file "dynamically" for the subject service, restart Nagios to read the new config file, then issue an external command to set the status of the service. just an idea, no detail now. On Wed, Mar 16, 2011 at 7:09 PM, Anand, Sakshi wrote: > Hi, > > I have some 150 services that I wish to monitor using passive checks to > Nagios. > > Is it possible for Nagios to dynamically display these services as it > received the check without specifying the exact service name in the > configuration? > > Please suggest if there is any way out to get this done. > > Thanks & Regards, > Sakshi Anand > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Wed Mar 16 19:32:01 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Thu, 17 Mar 2011 00:02:01 +0530 Subject: Create services dynamically for a specific host In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> Message-ID: On Wed, Mar 16, 2011 at 7:51 PM, Anand, Sakshi wrote: > I have gone through this article. Not of much help to me :( > > Is it somehow possible that nagios fetches service name from passive check > sent to it and display it as it is to nagios home page? > > Regards, > Sakshi Anand > > Perhaps you can try naming the service something like "Enterprise service". Send all the passive checks to this service and prefix a label to the message and send out the alerts immediately, e.g. CPU CRITICAL - 100% utilised MEM WARNING - 95% utilised JBOSS WARNING - something strange in logs ORACLE CRITICAL - RAC service XXXX down crond CRITICAL - 0 processes running If you are using e-mails for notifications then probably you might want to change the format and focus more on the message, not service name. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 lewilists at gmail.com Wed Mar 16 22:58:28 2011 From: lewilists at gmail.com (John Lewis) Date: Wed, 16 Mar 2011 14:58:28 -0700 Subject: check_ups -v LINE Message-ID: <480D638D-5E43-47EE-B593-ED15F681A89F@gmail.com> I am trying to setup some alerts for a UPS attached to the external nagios box in my office to send alerts about power state in the office building. Nut seems to be setup and working, I have created some service checks for check_ups and a command definition. I noticed I wasn't able to generate alerts based on LINE which I believe is utility voltage. Here is a manual check I am kicking off from the command line that should be generating a UPS CRITICAL. boxy:/usr/local/nagios/libexec$ ./check_ups -u apc -v LINE -w 200 -c 150 UPS OK - Status=Online, Charging Utility=116.0V Batt=91.0% Load=22.0% |voltage=116000mV;200000;150000;0 battery=91%;;;0;100 load=22%;;;0;100 boxy:/usr/local/nagios/libexec$ The UPS is named apc, attached via USB. Here are a few working examples just to validate that my check is indeed working with my nut config. boxy:/usr/local/nagios/libexec$ ./check_ups -u apc -v BATTPCT -w 97 -c 95 UPS CRITICAL - Status=Online, Charging Utility=116.0V Batt=91.0% Load=22.0% |voltage=116000mV;;;0 battery=91%;97000;95000;0;100 load=22%;;;0;100 boxy:/usr/local/nagios/libexec$ ./check_ups -u apc -v BATTPCT -w 85 -c 80 UPS OK - Status=Online, Charging Utility=116.0V Batt=92.0% Load=22.0% |voltage=116000mV;;;0 battery=92%;85000;80000;0;100 load=22%;;;0;100 Am I doing something wrong? Thanks Lewis ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Wed Mar 16 22:59:39 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Wed, 16 Mar 2011 14:59:39 -0700 (PDT) Subject: 4 Message-ID: <558207.81658.qm@web36504.mail.mud.yahoo.com> Welcome to our site! You will find there whatever you like!. http://fotoceramika.btx.pl/links.php?dyfCID=94e4 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Thu Mar 17 05:50:55 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Thu, 17 Mar 2011 00:50:55 -0400 Subject: Create services dynamically for a specific host In-Reply-To: References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4107FEF@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD6A8BA9@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8D03@susday218.corp.ncr.com> Thanks so much Ashish for your reply. I am trying to monitor state of all my containers with different names. So, I need to display names of all the 150 containers on the page which I dont think will look good. I am planning to dynamically create the configuration file and restart nagios. I will share the code once I have it developed. I think it will help others too. Thanks & Regards, Sakshi Anand ________________________________ From: Kumar, Ashish [mailto:xml.devel at gmail.com] Sent: Thursday, March 17, 2011 12:02 AM To: Anand, Sakshi; Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host On Wed, Mar 16, 2011 at 7:51 PM, Anand, Sakshi > wrote: I have gone through this article. Not of much help to me :( Is it somehow possible that nagios fetches service name from passive check sent to it and display it as it is to nagios home page? Regards, Sakshi Anand Perhaps you can try naming the service something like "Enterprise service". Send all the passive checks to this service and prefix a label to the message and send out the alerts immediately, e.g. CPU CRITICAL - 100% utilised MEM WARNING - 95% utilised JBOSS WARNING - something strange in logs ORACLE CRITICAL - RAC service XXXX down crond CRITICAL - 0 processes running If you are using e-mails for notifications then probably you might want to change the format and focus more on the message, not service name. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 sa185043 at ncr.com Thu Mar 17 05:51:58 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Thu, 17 Mar 2011 00:51:58 -0400 Subject: Create services dynamically for a specific host In-Reply-To: References: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8A3F@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD6A8D07@susday218.corp.ncr.com> This is great idea. I think I will try this out. Thanks Yueh. Regards, Sakshi Anand -----Original Message----- From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: Wednesday, March 16, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Create services dynamically for a specific host no. you have to define the services before Nagios can "display" them, otherwise Nagios won't know where the passive checks it received should go, this is the rule. but maybe you can do a trick: while a passive check occurs, create a config file "dynamically" for the subject service, restart Nagios to read the new config file, then issue an external command to set the status of the service. just an idea, no detail now. On Wed, Mar 16, 2011 at 7:09 PM, Anand, Sakshi wrote: > Hi, > > I have some 150 services that I wish to monitor using passive checks > to Nagios. > > Is it possible for Nagios to dynamically display these services as it > received the check without specifying the exact service name in the > configuration? > > Please suggest if there is any way out to get this done. > > Thanks & Regards, > Sakshi Anand > > ---------------------------------------------------------------------- > -------- > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit for your > organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at ricafrente.com Thu Mar 17 07:57:08 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Thu, 17 Mar 2011 14:57:08 +0800 Subject: current_state value in status.dat file Message-ID: I am looking at the status.dat file and I noticed that the current_state is =1 even when the host is down and is in critical state. I assume that if a host is down, the current_state should be =2. I am not sure how Nagios sets the current_status but in my case, the host is definitely off: admin1 at serverr1:~> ping userver02 PING userver02.localhost (192.168.0.11) 56(84) bytes of data. --- userver02.localhost ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6012ms So why does the status.dat file say that the current_status=1? Does it mean that the host is in Warning state only, and not in Critical as opposed to what I am seeing in the web console? Anyway, I am bothered by this because I am using the check_summary.pl plugin ( http://exchange.nagios.org/directory/Plugins/Network-and-Systems-Management/Nagios/check_summary/details) and it reads the status.dat file. Btw, the status.dat file looks like this: hoststatus { host_name=userver02 modified_attributes=0 check_command=check-host-alive check_period=24x7 notification_period=24x7 check_interval=5.000000 retry_interval=1.000000 event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=2.114 check_latency=0.239 check_type=0 current_state=1 last_hard_state=1 last_event_id=505 current_event_id=509 current_problem_id=232 last_problem_id=0 plugin_output=CRITICAL - userver02.localhost: rta nan, lost 100% long_plugin_output= performance_data=rta=0.000ms;800.000;1000.000;0; pl=100%;80;100;; rtmax=0.000ms;;;; rtmin=0.000ms;;;; last_check=1300344149 next_check=1300344459 check_options=0 current_attempt=1 max_attempts=2 current_event_id=509 last_event_id=505 state_type=1 last_state_change=1299383163 last_hard_state_change=1299383163 last_time_up=0 last_time_down=1300344159 last_time_unreachable=0 last_notification=1300344079 next_notification=1300347679 no_more_notifications=0 current_notification_number=267 current_notification_id=2857 notifications_enabled=1 problem_has_been_acknowledged=0 acknowledgement_type=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_host=1 last_update=1300344223 is_flapping=0 percent_state_change=0.00 scheduled_downtime_depth=0 } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmontagner at sorint.it Thu Mar 17 08:40:18 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Thu, 17 Mar 2011 08:40:18 +0100 Subject: current_state value in status.dat file In-Reply-To: References: Message-ID: <20110317084018.25d84742@ragnarok.entirelyunlike.net> On Thu, 17 Mar 2011 14:57:08 +0800 Rai Ricafrente wrote: > I am looking at the status.dat file and I noticed that the current_state is > =1 even when the host is down and is in critical state. I assume that if a > host is down, the current_state should be =2. It's probably because hosts can be in only 3 states: UP=0 DOWN=1 UNREACHABLE=2 (http://nagios.sourceforge.net/docs/3_0/networkreachability.html) Giacomo ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at ricafrente.com Thu Mar 17 09:14:02 2011 From: maillist at ricafrente.com (Rai Ricafrente) Date: Thu, 17 Mar 2011 16:14:02 +0800 Subject: current_state value in status.dat file In-Reply-To: <20110317084018.25d84742@ragnarok.entirelyunlike.net> References: <20110317084018.25d84742@ragnarok.entirelyunlike.net> Message-ID: Thanks for pointing the doc. I've been going through that and I guess I was looking for the part where it says that DOWN = 1 and not 2. On Thu, Mar 17, 2011 at 3:40 PM, Giacomo Montagner wrote: > On Thu, 17 Mar 2011 14:57:08 +0800 > Rai Ricafrente wrote: > > > I am looking at the status.dat file and I noticed that the current_state > is > > =1 even when the host is down and is in critical state. I assume that if > a > > host is down, the current_state should be =2. > > It's probably because hosts can be in only 3 states: > > UP=0 > DOWN=1 > UNREACHABLE=2 ( > http://nagios.sourceforge.net/docs/3_0/networkreachability.html) > > Giacomo > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 doepain at gmail.com Thu Mar 17 21:46:46 2011 From: doepain at gmail.com (dOE) Date: Thu, 17 Mar 2011 16:46:46 -0400 Subject: "Could not fetch information from server" Message-ID: *Ubuntu 10.04* *Nagios 3.0.3* *Nagios-Plugin 1.4.14* *Windows NSClient++ 0.3.7-Win32* When running check_nt the following is being returned by Nagios *Current Status:* WARNING (for 0d 2h 41m 44s) (Has been acknowledged) *Status Information:* *could not fetch information from server* *Performance Data:* Current Attempt:3/3 (HARD state) The NSC.ini on the Win32 host has the IP for the Nagios server set. I am not sure how to "set" a password for the client to use. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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-nagios at 5dninja.net Fri Mar 18 00:00:28 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Thu, 17 Mar 2011 16:00:28 -0700 Subject: Long running notification script Message-ID: <4D82928C.4080106@5dninja.net> I have a notification command that will typically take longer to run, than my notification timeout. I don't particularly care, if Nagios gets a valid return code back, so I set the main script to fork twice, with the initial process printing 'OK' and exiting with a return code of 0. The child process also exits immediately with a return code of 0, while the grandchild hangs around to do some heavy lifting. I was hoping that the double-fork would keep Nagios from blocking on the process, but the debug logs are still showing: [1300401208.452280] [032.1] [pid=55343] Adding normal contacts for service to notification list. [1300401239.455867] [032.0] [pid=55343] 1 contacts were notified. Next possible notification time: Fri Mar 18 03:33:28 2011 When I'm expecting the '1 contacts were notified' to happen pretty much immediately. Any ideas to get around this, other than writing out a spool file and having a secondary daemon handle the heavy lifting? -- Mike Lindsey ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From risto.vaarandi at seb.ee Fri Mar 18 10:05:13 2011 From: risto.vaarandi at seb.ee (Risto Vaarandi) Date: Fri, 18 Mar 2011 11:05:13 +0200 Subject: SEC-2.6.0 released Message-ID: <4D832049.1080905@seb.ee> hi all, since a number of sites are running Nagios with SEC event correlator, I thought I'll let you know about the new major release of SEC: http://sourceforge.net/projects/simple-evcorr/files/sec/2.6.0/ kind regards, risto ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From si18665 at gmail.com Fri Mar 18 11:41:53 2011 From: si18665 at gmail.com (Sal Ila) Date: Fri, 18 Mar 2011 10:41:53 +0000 Subject: NSClient++. Monitoring the devices behind theFirewall. In-Reply-To: References: <3b91097770abf62949ae71e4f2859722.squirrel@webmail.stinkweasel.net> <31B0FE0A1A8166409E9DF35C6DEECB2405DA59D5@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: Thank you very much for your feedback. I have got some good ideas from you! I work in the IT Security and these kind of scenarios are quite common. Among the list of proposed solutions, the NSClient++ passive check seems the most appropriate. In fact, the mechanism I have configured seems using a "pushing" from the Nagios server to the its clients. Customers tend to keep FW rules tight and modifications are quite difficult to obtain or being authorized. So, in the first instance, I am going to study how the passive check method works and try to implement it. Best regards Salvo On Tue, Mar 15, 2011 at 3:46 PM, Jim Avery wrote: > On 15 March 2011 14:34, Daniel Wittenberg > wrote: > > You could always have a passive check that "calls home" to get any new > updates so then you wouldn't really have to login to each one to push down > changes. > > > > Dan > > That's a neat idea! > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 khurramazizkhalid at yahoo.com Sun Mar 20 13:57:10 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Sun, 20 Mar 2011 05:57:10 -0700 (PDT) Subject: perfdata not being processed Message-ID: <72558.20788.qm@web45907.mail.sp1.yahoo.com> Hi I am using CentOS 5 as my Operating System and installed Nagios-3.2.3, with nagios-plugins-1.4.15. initial configuration is working fine and i am able to use nagios in my browser by typing http://localhost/nagios. Problem starts when i try to configure pnp4nagios-0.6.11. when i make the necessary adjustments in nagios.cfg and commands.cfg i am unable to restart nagios service and it gives me error related to Here are some changes that I have made after installing pnp4nagios process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata host_perfdata_file_mode=a sercvice_perfdata_file_mode=a host_perfdata_file_processing_interval=30 service_perfdata_file_procecssing_interval=30 host_perfdata_file_processing_command=process-host-perfdata-file service_perfdata_file_processing_command=process-service-perfdata-file & following are the changes that I have made in /objects/commands.cfg define command { command_name process-service-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl } define command { command_name process-host-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d HOSTNAME } ok now when i restart nagios it gives me error on line 420 of my commands.cfg which is "command_name process-service-perfdata" can sum1 please help me!!!!! Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 sa185043 at ncr.com Sun Mar 20 19:01:26 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Sun, 20 Mar 2011 14:01:26 -0400 Subject: Issue in configuring Nagios Appender Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Samuel.Kidman at panres.com Mon Mar 21 03:43:09 2011 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Mon, 21 Mar 2011 10:43:09 +0800 Subject: Distributed Nagios Configuration with Passive Checks Message-ID: <2017228CAF598D4F8B68E7555B958761014B5138@pr-pro-exch01-3.SMY.local> Hello I am trying to set up a distributed nagios configuration that will monitor n mine-sites. There is a single master server that will accept passive checks from all of the mine sites providing a unified view of network status throughout the organisation. I have set up host groups that represent groups of hosts with similar function and have the same service checks ran against them such as switches and PLCs. Whenever we get a new device I can just add it to the right host group and it gets all of its service checks by being a member of that hostgroup. My question is how do I disable active checks for the service checks for the remote minesites without having to create a separate service check for each site? The only thing I've been able to think of is using an external command at nagios start up that checks all of the services on the master server and works out which ones belong to remote sites and then disables active checks on each one, but this seems like a messy way. If there was a way to have host group intersections in the hostgroups property in service checks I could specify two services and two hostgroups - a local and a remote one. The local check applys to its function group AND all devices at the head office while the remote check applies to its function group AND all remote hosts, however at present I think this functionality is unavailable. Just looking for some configuration suggestions on how to get this to work. Sam Kidman IT Support Officer -------------------------- T: 08 9225 0944 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 18659 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 matthewmelvin at gmail.com Mon Mar 21 10:16:38 2011 From: matthewmelvin at gmail.com (Matthew Melvin) Date: Mon, 21 Mar 2011 19:16:38 +1000 Subject: Long running notification script In-Reply-To: <4D82928C.4080106@5dninja.net> References: <4D82928C.4080106@5dninja.net> Message-ID: <1300698998.14919.9.camel@cadbury> On Thu, 2011-03-17 at 16:00 -0700, Mike Lindsey wrote: > I have a notification command that will typically take longer to run, > than my notification timeout. I don't particularly care, if Nagios gets > a valid return code back, so I set the main script to fork twice, with > the initial process printing 'OK' and exiting with a return code of 0. > The child process also exits immediately with a return code of 0, while > the grandchild hangs around to do some heavy lifting. > > I was hoping that the double-fork would keep Nagios from blocking on the > process, but the debug logs are still showing: > [1300401208.452280] [032.1] [pid=55343] Adding normal contacts for > service to notification list. > [1300401239.455867] [032.0] [pid=55343] 1 contacts were notified. Next > possible notification time: Fri Mar 18 03:33:28 2011 > > When I'm expecting the '1 contacts were notified' to happen pretty much > immediately. > > Any ideas to get around this, other than writing out a spool file and > having a secondary daemon handle the heavy lifting? > This sounds like the same issue I had my ocsp_command script. The main nagios program was waiting on the grandchild even though the child had returned already. In my case it was because the grandchild still had filehandles back to to nagios open. When I closed filehandles 4 and 5 in the grandchild before it went off to do its real work I got the desired behavior; nagios considered the script run once the child returned, and grandchild was to free to take as long as it needed to complete. M. -- ... with eskimo chain i tattooed my brain all the way... ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Mon Mar 21 12:30:43 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Mon, 21 Mar 2011 04:30:43 -0700 (PDT) Subject: perfdata not being processed In-Reply-To: <72558.20788.qm@web45907.mail.sp1.yahoo.com> References: <72558.20788.qm@web45907.mail.sp1.yahoo.com> Message-ID: <636609.78281.qm@web45906.mail.sp1.yahoo.com> hellloo sumbody help me :) Khurram Aziz Khalid ________________________________ From: khurram aziz To: Nagios-users at lists.sourceforge.net Sent: Sun, March 20, 2011 5:57:10 PM Subject: [Nagios-users] perfdata not being processed Hi I am using CentOS 5 as my Operating System and installed Nagios-3.2.3, with nagios-plugins-1.4.15. initial configuration is working fine and i am able to use nagios in my browser by typing http://localhost/nagios. Problem starts when i try to configure pnp4nagios-0.6.11. when i make the necessary adjustments in nagios.cfg and commands.cfg i am unable to restart nagios service and it gives me error related to Here are some changes that I have made after installing pnp4nagios process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata host_perfdata_file_mode=a sercvice_perfdata_file_mode=a host_perfdata_file_processing_interval=30 service_perfdata_file_procecssing_interval=30 host_perfdata_file_processing_command=process-host-perfdata-file service_perfdata_file_processing_command=process-service-perfdata-file & following are the changes that I have made in /objects/commands.cfg define command { command_name process-service-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl } define command { command_name process-host-perfdata command_line /usr/bin/perl /usr/local/pnp4nagios/libexec/process_perfdata.pl -d HOSTNAME } ok now when i restart nagios it gives me error on line 420 of my commands.cfg which is "command_name process-service-perfdata" can sum1 please help me!!!!! Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 sa185043 at ncr.com Mon Mar 21 13:14:13 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Mon, 21 Mar 2011 08:14:13 -0400 Subject: Issue in configuring Nagios Appender In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 neira.francisco at gmail.com Mon Mar 21 14:28:42 2011 From: neira.francisco at gmail.com (Francisco Neira) Date: Mon, 21 Mar 2011 08:28:42 -0500 Subject: perfdata not being processed In-Reply-To: <636609.78281.qm@web45906.mail.sp1.yahoo.com> References: <72558.20788.qm@web45907.mail.sp1.yahoo.com> <636609.78281.qm@web45906.mail.sp1.yahoo.com> Message-ID: 2011/3/21 khurram aziz > hellloo sumbody help me :) > > Khurram Aziz Khalid > > > ok now when i restart nagios it gives me error on line 420 of my > commands.cfg which is "command_name process-service-perfdata" > > can sum1 please help me!!!!! > > > Did you set the proper permissions to the files? -- Francisco Neira, ISO 27002 Usuario Linux # 165985 ISACA No.565432, IEEE No.90934498 Lima, Peru -05:00 GMT -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Albert.Shih at obspm.fr Mon Mar 21 14:35:53 2011 From: Albert.Shih at obspm.fr (Albert Shih) Date: Mon, 21 Mar 2011 14:35:53 +0100 Subject: Passive check not in red Message-ID: <20110321133553.GJ1723@obspm.fr> Hi Is they're existe some solution to not have the passive check-service in red in Tactical Overview ? Regards. JAS -- Albert SHIH DIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: lun 21 mar 2011 14:35:07 CET ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Mon Mar 21 14:44:23 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Mon, 21 Mar 2011 08:44:23 -0500 Subject: Distributed Nagios Configuration with Passive Checks In-Reply-To: <2017228CAF598D4F8B68E7555B958761014B5138@pr-pro-exch01-3.SMY.local> References: <2017228CAF598D4F8B68E7555B958761014B5138@pr-pro-exch01-3.SMY.local> Message-ID: If I understand you correctly, are you trying to have your master server accept passive checks from other Nagios servers and check services and servers itself? If so, what I think would be easier (and is the method recommended by the docs) would be to just set up a second Nagios server (or instance) to run the checks that the master is currently doing and have the master only accept passive checks. The master would have enable_notifications on, execute_service_checks off. The slaves would have enable_notifications off, execute_service_checks on. There's more to it than just that, read the following guide for more information: http://nagios.sourceforge.net/docs/3_0/distributed.html Also, if you simply want a unified interface, you might want to look at Nagios Fusion. I haven't used it, but it might be what you want. Good luck, Jeffrey. On Sun, Mar 20, 2011 at 9:43 PM, Samuel Kidman wrote: > Hello > > > > I am trying to set up a distributed nagios configuration that will monitor > n mine-sites. There is a single master server that will accept passive > checks from all of the mine sites providing a unified view of network status > throughout the organisation. > > > > I have set up host groups that represent groups of hosts with similar > function and have the same service checks ran against them such as switches > and PLCs. Whenever we get a new device I can just add it to the right host > group and it gets all of its service checks by being a member of that > hostgroup. > > > > My question is how do I disable active checks for the service checks for > the remote minesites without having to create a separate service check for > each site? The only thing I?ve been able to think of is using an external > command at nagios start up that checks all of the services on the master > server and works out which ones belong to remote sites and then disables > active checks on each one, but this seems like a messy way. > > > If there was a way to have host group intersections in the hostgroups > property in service checks I could specify two services and two hostgroups ? > a local and a remote one. The local check applys to its function group AND > all devices at the head office while the remote check applies to its > function group AND all remote hosts, however at present I think this > functionality is unavailable. > > > > Just looking for some configuration suggestions on how to get this to work. > > > > *Sam Kidman* > > *IT Support Officer* > > -------------------------- > > *T:* 08 9225 0944 > > * * > > > > > > [image: Description: panres] > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Jarlath.Lyons at Tideworks.com Mon Mar 21 16:09:04 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Mon, 21 Mar 2011 15:09:04 +0000 Subject: Issue in configuring Nagios Appender In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 tonvoon at gmail.com Mon Mar 21 16:26:21 2011 From: tonvoon at gmail.com (Ton Voon) Date: Mon, 21 Mar 2011 15:26:21 +0000 Subject: Distributed Nagios Configuration with Passive Checks In-Reply-To: <2017228CAF598D4F8B68E7555B958761014B5138@pr-pro-exch01-3.SMY.local> References: <2017228CAF598D4F8B68E7555B958761014B5138@pr-pro-exch01-3.SMY.local> Message-ID: On 21 Mar 2011, at 02:43, Samuel Kidman wrote: > I am trying to set up a distributed nagios configuration that will monitor n mine-sites. There is a single master server that will accept passive checks from all of the mine sites providing a unified view of network status throughout the organisation. > > I have set up host groups that represent groups of hosts with similar function and have the same service checks ran against them such as switches and PLCs. Whenever we get a new device I can just add it to the right host group and it gets all of its service checks by being a member of that hostgroup. > > My question is how do I disable active checks for the service checks for the remote minesites without having to create a separate service check for each site? The only thing I?ve been able to think of is using an external command at nagios start up that checks all of the services on the master server and works out which ones belong to remote sites and then disables active checks on each one, but this seems like a messy way. > > If there was a way to have host group intersections in the hostgroups property in service checks I could specify two services and two hostgroups ? a local and a remote one. The local check applys to its function group AND all devices at the head office while the remote check applies to its function group AND all remote hosts, however at present I think this functionality is unavailable. > > Just looking for some configuration suggestions on how to get this to work. You want to use templating so that the master is set to "active checks enabled no" while the slave is set to "active checks enabled yes". In Opsview (http://opsview.com), our db based configuration database knows if a host is monitored on the master or on a remote slave. We generate configurations for a host (and services) appropriately. We've also done loads of work so you can manage it from the central master and it will distribute downtimes/acknowledgements/disables to slave systems as well. Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 widet.jmartin at gmail.com Mon Mar 21 16:45:31 2011 From: widet.jmartin at gmail.com (Joe Martin) Date: Mon, 21 Mar 2011 10:45:31 -0500 Subject: Nagios XI question Message-ID: Just exploring using Nagios for monitoring network, Windows, unix, Linux and applications in various ways. We're thinking Nagios XI looks like a good fit with one exception - the documentation states that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a SLES shop. Anyone out there runing XI on SLES (specifically SLES 11)? Thanks, Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 Mar 21 16:51:02 2011 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 21 Mar 2011 15:51:02 +0000 Subject: Nagios XI question In-Reply-To: References: Message-ID: <4D8773E6.2090108@flatto.net> Joe Martin wrote: > Just exploring using Nagios for monitoring network, Windows, unix, > Linux and applications in various ways. We're thinking Nagios XI > looks like a good fit with one exception - the documentation states > that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a > SLES shop. Anyone out there runing XI on SLES (specifically SLES 11)? > > Thanks, > > Joe As Nagios XI is the commercial application and this user list is for the free version , i doubt you'll get the info you ask for . That being said - nagios the free product runs well on SLES , but assume nothing , as again as XI is the commercial app - it could be that the license and support only work as described in the web and info given. Assaf ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Mon Mar 21 17:01:20 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Mon, 21 Mar 2011 09:01:20 -0700 (PDT) Subject: Nagios XI question In-Reply-To: References: Message-ID: <678889.92507.qm@web45915.mail.sp1.yahoo.com> Hi Joe, just one question for You.. Why would you pay for Nagios XI when you can use the same func for free with Nagios+pnp4nagios Khurram Aziz Khalid --- On Mon, 3/21/11, Joe Martin wrote: From: Joe Martin Subject: [Nagios-users] Nagios XI question To: nagios-users at lists.sourceforge.net Date: Monday, March 21, 2011, 3:45 PM Just exploring using Nagios for monitoring network, Windows, unix, Linux and applications in various ways.? We're thinking Nagios XI looks like a good fit with one exception - the documentation states that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a SLES shop.? Anyone out there runing XI on SLES (specifically SLES 11)? Thanks, Joe -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -----Inline Attachment Follows----- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 widet.jmartin at gmail.com Mon Mar 21 17:07:15 2011 From: widet.jmartin at gmail.com (Joe Martin) Date: Mon, 21 Mar 2011 11:07:15 -0500 Subject: Nagios XI question In-Reply-To: <4D8773E6.2090108@flatto.net> References: <4D8773E6.2090108@flatto.net> Message-ID: Thanks for the clarification. I'll try elsewhere. On Mon, Mar 21, 2011 at 10:51 AM, Assaf Flatto wrote: > Joe Martin wrote: > > Just exploring using Nagios for monitoring network, Windows, unix, > > Linux and applications in various ways. We're thinking Nagios XI > > looks like a good fit with one exception - the documentation states > > that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a > > SLES shop. Anyone out there runing XI on SLES (specifically SLES 11)? > > > > Thanks, > > > > Joe > As Nagios XI is the commercial application and this user list is for the > free version , i doubt you'll get the info you ask for . > > That being said - nagios the free product runs well on SLES , but assume > nothing , as again as XI is the commercial app - it could be that the > license and support only work as described in the web and info given. > > Assaf > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 widet.jmartin at gmail.com Mon Mar 21 18:05:23 2011 From: widet.jmartin at gmail.com (Joe Martin) Date: Mon, 21 Mar 2011 12:05:23 -0500 Subject: Nagios XI question In-Reply-To: <678889.92507.qm@web45915.mail.sp1.yahoo.com> References: <678889.92507.qm@web45915.mail.sp1.yahoo.com> Message-ID: Good question. Probably because we're not familiar enough with the Nagios space to know any better... I'll review PNP4Nagios - thanks for the suggestion. Any others? Someone I was just talking to suggested NagiosQL too. On Mon, Mar 21, 2011 at 11:01 AM, khurram aziz wrote: > Hi Joe, > > just one question for You.. Why would you pay for Nagios XI when you can > use the same func for free with Nagios+pnp4nagios > > Khurram Aziz Khalid > > --- On *Mon, 3/21/11, Joe Martin * wrote: > > > From: Joe Martin > Subject: [Nagios-users] Nagios XI question > To: nagios-users at lists.sourceforge.net > Date: Monday, March 21, 2011, 3:45 PM > > > Just exploring using Nagios for monitoring network, Windows, unix, Linux > and applications in various ways. We're thinking Nagios XI looks like a > good fit with one exception - the documentation states that Nagios XI is > only supported on RHEL, CentOS and Fedora - we're a SLES shop. Anyone out > there runing XI on SLES (specifically SLES 11)? > > Thanks, > > Joe > > -----Inline Attachment Follows----- > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > -----Inline Attachment Follows----- > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -------------- 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 rosenski at wave-computer.de Mon Mar 21 20:51:15 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Mon, 21 Mar 2011 20:51:15 +0100 Subject: define service with multiple contactgroups Message-ID: <201103212051.16061.rosenski@wave-computer.de> Hi, I'd like to create *one* service definition which I can use to alert different contact_groups depending on the hostgroup the server belongs to. I'd like to contact different teams for our windows and linuxserver. Below I added a short snippet of what I've done so far. As you can see I played around with serviceescalations but had no luck. When the service is critical both pager receive a notification. My next thought is to use the generic template and create two service template snippets and change the contactgroup, but I don't like to define ecery service twice. Perhaps there's a better way to achieve the desired behaviour. Any help is appreciated. Regards, Axel ### SNIP ### define contactgroup{ contactgroup_name pager-admin alias Pager Administration contactgroup_members pager-linuxadmin, pager-windowsadmin } define service{ name tpl-service-standard contact_groups pager-admin register 0 } define service{ service_description Load use tpl-service-standard servicegroups sgrp-check-standard check_command check_nrpe!check_load hostgroup_name hgrp-linux-server, hgrp-windows-server } define serviceescalation{ hostgroup_name hgrp-linux-server servicegroup_name sgrp-check-standard contact_groups pager-linuxadmin first_notification 1 last_notification 2 notification_interval 10 } define serviceescalation{ hostgroup_name hgrp-linux-server servicegroup_name sgrp-check-standard contact_groups pager-linuxadmin, phone-linuxadmin first_notification 3 last_notification 0 notification_interval 10 } define serviceescalation{ hostgroup_name hgrp-windows-server servicegroup_name sgrp-check-standard contact_groups pager-windowsadmin first_notification 1 last_notification 2 notification_interval 10 } define serviceescalation{ hostgroup_name hgrp-windows-server servicegroup_name sgrp-check-standard contact_groups pager-windowsadmin,phone-windowsadmin first_notification 3 last_notification 0 notification_interval 10 } -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Mar 21 20:18:41 2011 From: jpratt at norwich.edu (James Pratt) Date: Mon, 21 Mar 2011 15:18:41 -0400 Subject: Nagios XI question In-Reply-To: <678889.92507.qm@web45915.mail.sp1.yahoo.com> References: <678889.92507.qm@web45915.mail.sp1.yahoo.com> Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD256E68@nuexchange.norwich.edu> Perhaps he just wanted to check it out for the nagios core configuration gui , as i am doing today... OTOH, i can see xi being a very nice product for folks/sites who do not want to hassle with maintaining/setting up all the free stuff... (although, I personally do not think it's worth the $, at least based on my few days of trial (and error lol). Cheers, James From: khurram aziz [mailto:khurramazizkhalid at yahoo.com] Sent: Monday, March 21, 2011 12:01 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios XI question Hi Joe, just one question for You.. Why would you pay for Nagios XI when you can use the same func for free with Nagios+pnp4nagios Khurram Aziz Khalid --- On Mon, 3/21/11, Joe Martin wrote: From: Joe Martin Subject: [Nagios-users] Nagios XI question To: nagios-users at lists.sourceforge.net Date: Monday, March 21, 2011, 3:45 PM Just exploring using Nagios for monitoring network, Windows, unix, Linux and applications in various ways.? We're thinking Nagios XI looks like a good fit with one exception - the documentation states that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a SLES shop.? Anyone out there runing XI on SLES (specifically SLES 11)? Thanks, Joe -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d -----Inline Attachment Follows----- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Mar 21 22:04:05 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Mon, 21 Mar 2011 17:04:05 -0400 Subject: define service with multiple contactgroups In-Reply-To: <201103212051.16061.rosenski@wave-computer.de> References: <201103212051.16061.rosenski@wave-computer.de> Message-ID: Check out the documentation's section on implied inheritance. It might let you do what you want: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html Services can inherit their contact_groups from their associated host definition. You do this by *not* assigning a contact_group in the service definition. -----Original Message----- From: Axel Rosenski [mailto:rosenski at wave-computer.de] Sent: Monday, March 21, 2011 3:51 PM I'd like to create *one* service definition which I can use to alert different contact_groups depending on the hostgroup the server belongs to. I'd like to contact different teams for our windows and linuxserver. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samuel.Kidman at panres.com Tue Mar 22 01:40:53 2011 From: Samuel.Kidman at panres.com (Samuel Kidman) Date: Tue, 22 Mar 2011 08:40:53 +0800 Subject: Distributed Nagios Configuration with PassiveChecks In-Reply-To: References: <2017228CAF598D4F8B68E7555B958761014B5138@pr-pro-exch01-3.SMY.local> Message-ID: <2017228CAF598D4F8B68E7555B958761014B5146@pr-pro-exch01-3.SMY.local> > -----Original Message----- > From: Jeffrey Watts [mailto:jeffrey.w.watts at gmail.com] > Sent: Monday, 21 March 2011 9:44 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Distributed Nagios Configuration with > PassiveChecks > > If I understand you correctly, are you trying to have your master server > accept passive checks from other Nagios servers and check services and > servers itself? That's right. > > If so, what I think would be easier (and is the method recommended by the > docs) would be to just set up a second Nagios server (or instance) to run the > checks that the master is currently doing and have the master only accept > passive checks. > Would there be any issues with running the HQ instance on the same server as the master instance? Regards, Sam ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Tue Mar 22 05:48:02 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Mon, 21 Mar 2011 23:48:02 -0500 Subject: Nagios XI question In-Reply-To: References: Message-ID: <1300769282.3691.3.camel@timmins> On Mon, 2011-03-21 at 10:45 -0500, Joe Martin wrote: > Just exploring using Nagios for monitoring network, Windows, unix, > Linux and applications in various ways. We're thinking Nagios XI > looks like a good fit with one exception - the documentation states > that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a > SLES shop. Anyone out there runing XI on SLES (specifically SLES 11)? While the actual code (a mix of C, Perl, and PHP) don't care what distribution it is, all of the installation scripts, documentation, cron jobs, etc. are tailored for RHEL/CentOS, and it would be very difficult to get them properly ported over. We may expand the distro support in the future, but for the time being it is limited to those. That said, you can still use XI in a SLES shop. You would need one system (or virtual machine) running XI on a CentOS base, but it could then monitor your SLES systems as targets. The documentation for the Agent piece currently covers RHEL, CentOS, Fedora, Ubuntu, and Debian, but that would be quite a bit easier to adapt to SLES than XI itself. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Tue Mar 22 05:56:33 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Mon, 21 Mar 2011 23:56:33 -0500 Subject: Nagios XI question In-Reply-To: <678889.92507.qm@web45915.mail.sp1.yahoo.com> References: <678889.92507.qm@web45915.mail.sp1.yahoo.com> Message-ID: <1300769793.3691.12.camel@timmins> On Mon, 2011-03-21 at 09:01 -0700, khurram aziz wrote: > just one question for You.. Why would you pay for Nagios XI when you > can use the same func for free with Nagios+pnp4nagios There's a bit more too it than that. Nagios XI does include a number of free projects packaged together, including Nagios Core, pnp4nagios, NagiosQL, and MRTG, and for some people there's value in having that pre-packaged, but that's not the prime selling point. The bigger issues are things like the configuration wizards, easier configuration of contacts and contact methods, the ability to build custom dashboards, autodiscovery, expanded management-friendly reporting and visualizations, and some other pre-built integration pieces. On a related note though, we are working on something to better demonstrate the capabilities of the free components like pnp4nagios, so people can see what's possible with each and find out about some of the cool community projects that are out there. You should see more about that in our newsletter and on Twitter soon. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Tue Mar 22 07:13:12 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Tue, 22 Mar 2011 02:13:12 -0400 Subject: Issue in configuring Nagios Appender In-Reply-To: <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:461451106 at 22032011-1FC0] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 rosenski at wave-computer.de Tue Mar 22 10:23:23 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Tue, 22 Mar 2011 10:23:23 +0100 Subject: define service with multiple contactgroups In-Reply-To: References: <201103212051.16061.rosenski@wave-computer.de> Message-ID: <201103221023.23569.rosenski@wave-computer.de> Hey, that's been the solution. It's working now the way I want. Thanks, Axel Am Montag, 21. M?r. 11, 22:04:05 schrieb Chris Beattie: > Check out the documentation's section on implied inheritance. It might let > you do what you want: > > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html > > Services can inherit their contact_groups from their associated host > definition. You do this by *not* assigning a contact_group in the service > definition. -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jarlath.Lyons at Tideworks.com Tue Mar 22 16:18:14 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Tue, 22 Mar 2011 15:18:14 +0000 Subject: Issue in configuring Nagios Appender In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Tue Mar 22 18:09:11 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 22 Mar 2011 13:09:11 -0400 Subject: A question on using send_nsca Message-ID: I am trying to send a test job to my nagios server from a monitored client using send_nsca. I am running suse linux 10 on both client & nagios server. Currently, everything is working correctly from within nagios using send_nsca as I am set up as distributed environment. I am now in the process of taking some in house built scripts & trying to send the results to nagios via send_nsca. My issue is, if I do this from the command line : /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg < /tmp/test I see the check come across to the nagios server ( granted it doesn't know what to do with it as the info is not set up in Nagios. The /tmp/test file is nothing more than a tab delimited file as this : HOSTNAME TestMessage 0 This is a test message. What I have been trying to do is run the same thing above, without the redirect to a discrete file. Every way I try it it fails and just shows me the help page for send_nsca. Should I be able to do this some way like this ? /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg HOSTNAME TestMessage 0 This is a test message It appears that the format of the message is incorrect. I am not getting any tab in between the parameters. I have tried using a \t and [tab] but still not working. Also tried doing an echo -e of the above with a xargs but not correct. Blaming this actually on my scripting skills more than Nagios :) Can anyone shed some light / point me in a direction what I am doing wrong here? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Jarlath.Lyons at Tideworks.com Tue Mar 22 18:22:05 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Tue, 22 Mar 2011 17:22:05 +0000 Subject: A question on using send_nsca In-Reply-To: References: Message-ID: <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> This example on a linux system should help .... [root at jlyonslx test_harness]# /usr/bin/printf "HOST\tSERVICE\tCRITICAL\tMy Message ....\n" | /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c ./nsca_send.cfg 1 data packet(s) sent to host successfull Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, March 22, 2011 10:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A question on using send_nsca I am trying to send a test job to my nagios server from a monitored client using send_nsca. I am running suse linux 10 on both client & nagios server. Currently, everything is working correctly from within nagios using send_nsca as I am set up as distributed environment. I am now in the process of taking some in house built scripts & trying to send the results to nagios via send_nsca. My issue is, if I do this from the command line : /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg < /tmp/test I see the check come across to the nagios server ( granted it doesn't know what to do with it as the info is not set up in Nagios. The /tmp/test file is nothing more than a tab delimited file as this : HOSTNAME TestMessage 0 This is a test message. What I have been trying to do is run the same thing above, without the redirect to a discrete file. Every way I try it it fails and just shows me the help page for send_nsca. Should I be able to do this some way like this ? /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg HOSTNAME TestMessage 0 This is a test message It appears that the format of the message is incorrect. I am not getting any tab in between the parameters. I have tried using a \t and [tab] but still not working. Also tried doing an echo -e of the above with a xargs but not correct. Blaming this actually on my scripting skills more than Nagios :) Can anyone shed some light / point me in a direction what I am doing wrong here? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Tue Mar 22 18:33:44 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 22 Mar 2011 13:33:44 -0400 Subject: A question on using send_nsca In-Reply-To: <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> References: , <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> Message-ID: Thanks very much Jar, that worked regards, Steve From: Jarlath.Lyons at Tideworks.com To: nagios-users at lists.sourceforge.net Date: Tue, 22 Mar 2011 17:22:05 +0000 Subject: Re: [Nagios-users] A question on using send_nsca This example on a linux system should help ?. [root at jlyonslx test_harness]# /usr/bin/printf "HOST\tSERVICE\tCRITICAL\tMy Message ....\n" | /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c ./nsca_send.cfg 1 data packet(s) sent to host successfull Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, March 22, 2011 10:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A question on using send_nsca I am trying to send a test job to my nagios server from a monitored client using send_nsca. I am running suse linux 10 on both client & nagios server. Currently, everything is working correctly from within nagios using send_nsca as I am set up as distributed environment. I am now in the process of taking some in house built scripts & trying to send the results to nagios via send_nsca. My issue is, if I do this from the command line : /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg < /tmp/test I see the check come across to the nagios server ( granted it doesn't know what to do with it as the info is not set up in Nagios. The /tmp/test file is nothing more than a tab delimited file as this : HOSTNAME TestMessage 0 This is a test message. What I have been trying to do is run the same thing above, without the redirect to a discrete file. Every way I try it it fails and just shows me the help page for send_nsca. Should I be able to do this some way like this ? /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg HOSTNAME TestMessage 0 This is a test message It appears that the format of the message is incorrect. I am not getting any tab in between the parameters. I have tried using a \t and [tab] but still not working. Also tried doing an echo -e of the above with a xargs but not correct. Blaming this actually on my scripting skills more than Nagios :) Can anyone shed some light / point me in a direction what I am doing wrong here? Thanks, Steve ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.png Type: image/png Size: 8228 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Jarlath.Lyons at Tideworks.com Tue Mar 22 18:44:31 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Tue, 22 Mar 2011 17:44:31 +0000 Subject: A question on using send_nsca In-Reply-To: References: , <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> Message-ID: <45EDF03D8939C5499AF295D43606A4A41085B0@LWEXMB02.usa.int> No problem .... Btw ()... if your client is written in java, you could use the NagiosAppender to automatically forward error log entries http://www.novell.com/communities/node/4131/application-monitoring-made-easy-java-applications-using-nagios Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, March 22, 2011 10:34 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] A question on using send_nsca Thanks very much Jar, that worked regards, Steve ________________________________ From: Jarlath.Lyons at Tideworks.com To: nagios-users at lists.sourceforge.net Date: Tue, 22 Mar 2011 17:22:05 +0000 Subject: Re: [Nagios-users] A question on using send_nsca This example on a linux system should help .... [root at jlyonslx test_harness]# /usr/bin/printf "HOST\tSERVICE\tCRITICAL\tMy Message ....\n" | /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c ./nsca_send.cfg 1 data packet(s) sent to host successfull Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, March 22, 2011 10:09 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A question on using send_nsca I am trying to send a test job to my nagios server from a monitored client using send_nsca. I am running suse linux 10 on both client & nagios server. Currently, everything is working correctly from within nagios using send_nsca as I am set up as distributed environment. I am now in the process of taking some in house built scripts & trying to send the results to nagios via send_nsca. My issue is, if I do this from the command line : /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg < /tmp/test I see the check come across to the nagios server ( granted it doesn't know what to do with it as the info is not set up in Nagios. The /tmp/test file is nothing more than a tab delimited file as this : HOSTNAME TestMessage 0 This is a test message. What I have been trying to do is run the same thing above, without the redirect to a discrete file. Every way I try it it fails and just shows me the help page for send_nsca. Should I be able to do this some way like this ? /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg HOSTNAME TestMessage 0 This is a test message It appears that the format of the message is incorrect. I am not getting any tab in between the parameters. I have tried using a \t and [tab] but still not working. Also tried doing an echo -e of the above with a xargs but not correct. Blaming this actually on my scripting skills more than Nagios :) Can anyone shed some light / point me in a direction what I am doing wrong here? Thanks, Steve ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 sa185043 at ncr.com Wed Mar 23 05:35:09 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Mar 2011 00:35:09 -0400 Subject: Issue in configuring Nagios Appender In-Reply-To: <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> Thanks Again. It helped. Now, I am stuck with following exception - Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I am not using any password and the decryption_method is set to 0 in nsca.cfg file. What can be the possible cause of the error then? Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Tuesday, March 22, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:735562904 at 23032011-1FC7] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:735562904 at 23032011-1FC7] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 rmeden at gmail.com Wed Mar 23 05:47:01 2011 From: rmeden at gmail.com (Robert Eden) Date: Tue, 22 Mar 2011 23:47:01 -0500 Subject: define service with multiple contactgroups In-Reply-To: <201103221023.23569.rosenski@wave-computer.de> References: <201103212051.16061.rosenski@wave-computer.de> <201103221023.23569.rosenski@wave-computer.de> Message-ID: <4D897B45.6020108@gmail.com> I've recently taken over our Nagios config so am still learning, but we seem to do something similar using two services, they just have the same description. You can't tell there are two services when looking at the alerts or web pages. (example syntax below, probably full or errors) define service{ service_description Load use tpl-service-standard servicegroups sgrp-check-standard check_command check_nrpe!check_load hostgroup_name win-hosts contactgroup win-admins } define service{ service_description Load use tpl-service-standard servicegroups sgrp-check-standard check_command check_nrpe!check_load hostgroup_name unix-hosts contactgroup unix-admins } ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Mar 23 05:54:47 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Mar 2011 00:54:47 -0400 Subject: define service with multiple contactgroups In-Reply-To: <4D897B45.6020108@gmail.com> References: <201103212051.16061.rosenski@wave-computer.de> <201103221023.23569.rosenski@wave-computer.de> <4D897B45.6020108@gmail.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD72ECBD@susday218.corp.ncr.com> Purpose of both the services are essentially the same but they come with Nagios installation because they have defined these configurations for windows as well as linux users. You must use only one of them depending on the OS being used. Regards, Sakshi Anand -----Original Message----- From: Robert Eden [mailto:rmeden at gmail.com] Sent: Wednesday, March 23, 2011 10:17 AM To: Nagios Users List Subject: Re: [Nagios-users] define service with multiple contactgroups I've recently taken over our Nagios config so am still learning, but we seem to do something similar using two services, they just have the same description. You can't tell there are two services when looking at the alerts or web pages. (example syntax below, probably full or errors) define service{ service_description Load use tpl-service-standard servicegroups sgrp-check-standard check_command check_nrpe!check_load hostgroup_name win-hosts contactgroup win-admins } define service{ service_description Load use tpl-service-standard servicegroups sgrp-check-standard check_command check_nrpe!check_load hostgroup_name unix-hosts contactgroup unix-admins } ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Mar 23 10:39:37 2011 From: vmanojv at rediffmail.com (Nair) Date: 23 Mar 2011 09:39:37 -0000 Subject: =?utf-8?q?Nagios_Weekly_Service_Check?= Message-ID: <20110323093937.49204.qmail@f5mail-236-203.rediffmail.com> Hi Friends I have below service check defined to perform check every Monday. define timeperiod{ timeperiod_name only_mon alias Only on monday monday 11:00-17:00 } define service{ service_description TEST_SRV host_name localhost max_check_attempts 1 normal_check_interval 120 retry_check_interval 1 check_period only_mon check_command TEST_CMD use template_TEST } The service was last reported on 2011-03-14 17:00:00.But,I am expected to get check reuslt on 2011-03-21 11:00:00. Can you please give me an idea why the weekly check schedule fails. Thank you Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Wed Mar 23 10:50:00 2011 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Wed, 23 Mar 2011 10:50:00 +0100 Subject: A question on using send_nsca In-Reply-To: <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> References: <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> Message-ID: <4D89C248.6060503@riege.com> Hijacking this question a little, but maybe it will help other as well: On 22.03.2011 18:22, Jarlath Lyons wrote: > [root at jlyonslx test_harness]# /usr/bin/printf > "HOST\tSERVICE\tCRITICAL\tMy Message ....\n" | > /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c > ./nsca_send.cfg > > 1 data packet(s) sent to host successfull > So far so good. But what abound sending Performance Data AND extended service output via NSCA and parsing that correctly? As a matter of fact I try to do that in a remote monitoring setup with a second nagios instance, so it's not totally the same. Just so you get an idea, here's what's in my nagios.cfg on the remote machine, which is send via nsca service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|$SERVICEPERFDATA$ What I tried was this: service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|$SERVICEPERFDATA$\n$LONGSERVICEOUTPUT$ Didn't work. Any clues? Thanks, Dennis -- .............................................................. Riege Software International GmbH Fon: +49 (2159) 9148 0 Mollsfeld 10 Fax: +49 (2159) 9148 11 40670 Meerbusch Web: www.riege.com Germany E-Mail: kuhlmeier at riege.com --- --- Handelsregister: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege USt-ID-Nr.: DE120585842 Gabriele Riege Johannes Riege .............................................................. YOU CARE FOR FREIGHT, WE CARE FOR YOU -------------- next part -------------- A non-text attachment was scrubbed... Name: kuhlmeier.vcf Type: text/x-vcard Size: 306 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 rosenski at wave-computer.de Wed Mar 23 13:46:43 2011 From: rosenski at wave-computer.de (Axel Rosenski) Date: Wed, 23 Mar 2011 13:46:43 +0100 Subject: define service with multiple contactgroups In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD72ECBD@susday218.corp.ncr.com> References: <201103212051.16061.rosenski@wave-computer.de> <4D897B45.6020108@gmail.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72ECBD@susday218.corp.ncr.com> Message-ID: <201103231346.43626.rosenski@wave-computer.de> Am Mittwoch, 23. M?r. 11, 05:54:47 schrieb Anand, Sakshi: > Purpose of both the services are essentially the same but they come with > Nagios installation because they have defined these configurations for > windows as well as linux users. > > You must use only one of them depending on the OS being used. > > I've recently taken over our Nagios config so am still learning, but we > > seem to do something similar using two services, they just have the same > > description. You can't tell there are two services when looking at the > > alerts or web pages. > > > > (example syntax below, probably full or errors) How do you manage service escalations with only one service defined? When I use two hostgroup, one service and one servicegroup definition for all default checks the first notifications goes to the correct group, but escalations for this service go to all members of both teams I want to send escalations only to one team. Here's my initial config: # linux server define host{ use tpl-host-default name tpl-host-linux contact_groups pager-linuxadmin hostgroups hgrp-linux-server register 0 } define host{ use tpl-host-linux host_name 10.9.1.121 alias lxdev address 10.9.1.121 } define service{ service_description Swap use tpl-service-standard servicegroups sgrp-check-standard check_command check_nrpe!check_space_swap hostgroup_name hgrp-linux-server } define serviceescalation{ hostgroup_name hgrp-linux-server servicegroup_name sgrp-check-standard contact_groups +cgrp-nagios-test-escalation-mail first_notification 3 last_notification 0 notification_interval 10 } ## Windows Server define serviceescalation{ hostgroup_name hgrp-windows-server servicegroup_name sgrp-check-standard contact_groups +cgrp-nagios-test-escalation-phone first_notification 3 last_notification 0 notification_interval 10 } As mentioned in the first reply of my initial question i did not have a contact_group for my service templates and with this the notifications are sent to the contact group of the host definition. But when I inspect the settings in objects.cache all standard services escalate to both teams. define serviceescalation { host_name 10.9.1.121 service_description Swap escalation_options w,u,c,r contact_groups pager-linuxadmin,cgrp-nagios-test-escalation-phone } define serviceescalation { host_name 10.9.1.121 service_description Swap escalation_options w,u,c,r contact_groups pager-linuxadmin,cgrp-nagios-test-escalation-mail } What do I have to change that escalations work properly? I tried to split the servicegroups definition for both teams, but afaics I need to define 2 services for each hostgroup. -- Axel Rosenski - Administration - ______________________________ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Gesch?ftsf?hrer: Carsten Kellmann Registergericht Gie?en HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosenski at wave-computer.de http://www.wave-computer.de ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.sturme at live.nl Wed Mar 23 14:12:46 2011 From: tom.sturme at live.nl (tom sturme) Date: Wed, 23 Mar 2011 14:12:46 +0100 Subject: Donwtime_sched not working correctly In-Reply-To: References: Message-ID: From: tom.sturme at live.nl To: nagios-users-request at lists.sourceforge.net Subject: Donwtime_sched not working correctly Date: Wed, 23 Mar 2011 13:00:34 +0100 Hi, I'm trying to run downtime_sched 3.2 with nagios 3.2.2 I've done the steps that are defined in the readme file. If I define a downtime in the webinterface for example a host, it doesn't actually schedule the downtime, sow the host doesn't go into the downtime. My files look like this: Downtime_job.pl #!/usr/bin/perl # vim:ts=4 # # this should be run regularly from your crontabs, to schedule any outages # for the forthcoming 24 hours. # Daily: # crontabs: 01 07 * * * downtime_job.pl > /dev/null 2>&1 # Hourly: # crontabs: 01 * * * * downtime_job.pl > /dev/null 2>&1 # WARNING! Only minor verification is made on the config file. If you give # incorrect hostnames, service descriptions, or hostgrouname then it # will not be noticed until Nagios tries to parse the command! # See companion file for example of structure of schedule.cfg file. # # Version 1.1 : fixed for nagios 1.2 # Version 1.2 : trim trailing spaces from parameters, allow smaller increments # Version 1.3 : allow wildcards in service name, check for already sched # 1.5 : optimisation # 1.6 : fix lookahead correctly, big rewrite # 2.0 : Nagios 2 support # 2.1 : Fix split regexp to allow spaces as well as commas # 3.0 : Nagios 3 support # 3.1 : Month days error # 3.2 : Month day errors, leap year corrections use strict; use Time::Local; my($NAGDIR) = "/usr/local/lib/nagios" ; # Nagios root directory my($NAGVER) = 3; # 1 2 or 3 my($SVCALSO) = 0; # schedule outages for services on hosts as well as hosts? my($OBJECTS,$RETENTIONDAT,$STATUSDAT,$DOWNDAT,$STATUSLOG,$HGCFG,$DOWNLOG) = ('','','','','','',''); # Always define these my($CFGFILE) = "$NAGDIR/etc/schedule.cfg"; # my configuration file my($CMDFILE) = "/var/run/nagios/rw/nagios.cmd"; # Nagios CMD file # Define this for Nagios 2 or 3 $OBJECTS = "$NAGDIR/log/objects.cache" # Nagios 2/3 objects file if( $NAGVER>1 ); # Define this for Nagios 3 $STATUSDAT = "$NAGDIR/log/status.dat" # Nagios status file if( $NAGVER > 2 ); $RETENTIONDAT = "$NAGDIR/log/retention.dat" # Nagios retained status file if( $NAGVER > 2 ); # Define this for Nagios 2 $DOWNDAT = "$NAGDIR/log/downtime.dat" # Nagios 2 existing downtime if( $NAGVER >= 2 and $NAGVER < 3 ); # Or these for Nagios 1 if( $NAGVER < 2 ) { $STATUSLOG = "$NAGDIR/log/status.log"; # Nagios status log file $HGCFG = "$NAGDIR/etc/hostgroups.cfg";# hostgroup definitions $DOWNLOG = "$NAGDIR/log/downtime.log"; # existing sched downtime } my($FREQUENCY) = 1440*7; # how many minutes to look ahead. Should be at least # 1440 (one day) and <= 1 week. Only the next outage # is scheduled, not all of them. my($MINDUR) = 5; # shortest outage allowed in minutes my($DEBUG) = 0; # set to 1 to produce helpful debugging information my($rv); # Nothing more to change after this point! ect. Downtime_sched.cgi #!/usr/bin/perl # vim:ts=4 # # Steve Shipway # View and modify the recurring downtime schedules for Nagios # These are activated by the downtime_job.pl script in Nagios' crontabs # TO DO: Add authentication to this, so you can only schedule for your own # hosts and hostgroups! # # Version 1.3: added verification of host and service names, allow wildcards # Version 1.4: More validity checks # 1.6: no real changes # 2.0: nagios 2.x support # 3.0: nagios 3.x support use strict; use CGI; my($NAGIOS) = "/usr/local/lib/nagios"; my($CFGFILE) = "$NAGIOS/etc/schedule.cfg"; # My config file! my($CMDCGI) = "/nagios/cgi-bin/cmd.cgi"; # If you have Nagios 1.x define this my($STATUSLOG) = "$NAGIOS/log/status.log";# if defined, check validity # If you have Nagios 2.x or 3.x, define this my($OBJECTS) = "$NAGIOS/log/objects.cache";# if defined, use nagios2 cache my($USER); my($DEBUG) = 0; my($rv); my( @schedules ) = (); my($q,$cmd,$seq,$type); my(%hostsvc,%hgroup); ect. Crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) 01 * * * * /usr/local/lib/nagios/downtime_job.pl >/usr/local/nagios/logs/downtime.log 2>&1 # Am I doing something wrong? Or are I'm forgetting something? Help would be appreciated. Cheers, Sturme -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Mar 23 14:36:52 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 23 Mar 2011 14:36:52 +0100 Subject: A question on using send_nsca In-Reply-To: <4D89C248.6060503@riege.com> References: <45EDF03D8939C5499AF295D43606A4A410858E@LWEXMB02.usa.int> <4D89C248.6060503@riege.com> Message-ID: <4D89F774.6000302@op5.se> On 03/23/2011 10:50 AM, Dennis Kuhlmeier wrote: > Hijacking this question a little, but maybe it will help other as well: > > On 22.03.2011 18:22, Jarlath Lyons wrote: >> [root at jlyonslx test_harness]# /usr/bin/printf >> "HOST\tSERVICE\tCRITICAL\tMy Message ....\n" | >> /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c >> ./nsca_send.cfg >> >> 1 data packet(s) sent to host successfull >> > > So far so good. But what abound sending Performance Data AND > extended service output via NSCA and parsing that correctly? Can't be done. Extended output can't be submitted to the command pipe. Use merlin if you want to connect multiple nagios pollers and have everything work seemlessly. You'll find some basic info at http://www.op5.org/community/plugin-inventory/op5-projects/merlin and code at http://git.op5.org/git/?p=nagios/merlin.git;a=summary Enjoy -- 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. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Mar 23 14:42:31 2011 From: kuhlmeier at riege.com (Dennis Kuhlmeier) Date: Wed, 23 Mar 2011 14:42:31 +0100 Subject: Using NRPE with sudo on RHEL6 Message-ID: <4D89F8C7.2080002@riege.com> Hello, one new thing about RHEL6 is a somewhat more strict sudo approach combined with SELinux. I have nrpe running as user nagios, using sudo logged on as user nagios is not an issue, works fine. But nrpe running as a daemon cannot sudo to root, which I need for several check scripts. No problem in permissive mode. sealert output: <---snip---> $ sealert -l 666fd015-e7a0-4e28-9d5f-ba95689bb549 Summary: SELinux is preventing /bin/bash "getattr" access on /usr/bin/sudo. Detailed Description: SELinux denied access requested by sh. It is not expected that this access is required by sh and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context unconfined_u:system_r:nrpe_t:s0 Target Context system_u:object_r:sudo_exec_t:s0 Target Objects /usr/bin/sudo [ file ] Source sh Source Path /bin/bash Port Host hostname.domain.de Source RPM Packages bash-4.1.2-3.el6 Target RPM Packages sudo-1.7.2p2-9.el6 Policy RPM selinux-policy-3.7.19-54.el6_0.3 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name hostname.domain.de Platform Linux hostname.domain.de 2.6.32-71.18.2.el6.x86_64 #1 SMP Wed Mar 2 14:17:40 EST 2011 x86_64 x86_64 Alert Count 150 First Seen Fri Mar 18 18:17:03 2011 Last Seen Wed Mar 23 14:17:00 2011 Local ID 666fd015-e7a0-4e28-9d5f-ba95689bb549 Line Numbers Raw Audit Messages node=hostname.domain.de type=AVC msg=audit(1300886220.376:22605): avc: denied { getattr } for pid=18437 comm="sh" path="/usr/bin/sudo" dev=dm-1 ino=191489 scontext=unconfined_u:system_r:nrpe_t:s0 tcontext=system_u:object_r:sudo_exec_t:s0 tclass=file node=hostname.domain.de type=SYSCALL msg=audit(1300886220.376:22605): arch=c000003e syscall=4 success=no exit=-13 a0=14daeb0 a1=7fffb93d9c40 a2=7fffb93d9c40 a3=e items=0 ppid=18436 pid=18437 auid=500 uid=495 gid=493 euid=495 suid=495 fsuid=495 egid=493 sgid=493 fsgid=493 tty=(none) ses=26 comm="sh" exe="/bin/bash" subj=unconfined_u:system_r:nrpe_t:s0 key=(null) <---snip---> I have managed to build a local SELinux policy for this issue, but then another issue comes up. Before I keep building local policies and having to install them on all RHEL6 hosts, is there a simpler, known approach to this? Have been struggling with info found here: http://www.0x61.com/forum/selinux-security-f278/sudo-selinux-t1304141.html But I am still unsatisfied with the complexity of this issue which I can't be the only one to suffer from - and I haven't solved it yet. Disabling SELinux is not an option. Thanks for any insight on this, Dennis -- .............................................................. Riege Software International GmbH Fon: +49 (2159) 9148 0 Mollsfeld 10 Fax: +49 (2159) 9148 11 40670 Meerbusch Web: www.riege.com Germany E-Mail: kuhlmeier at riege.com --- --- Handelsregister: Managing Directors: Amtsgericht Neuss HRB-NR 4207 Christian Riege USt-ID-Nr.: DE120585842 Gabriele Riege Johannes Riege .............................................................. YOU CARE FOR FREIGHT, WE CARE FOR YOU -------------- next part -------------- A non-text attachment was scrubbed... Name: kuhlmeier.vcf Type: text/x-vcard Size: 306 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Jarlath.Lyons at Tideworks.com Wed Mar 23 16:16:24 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Wed, 23 Mar 2011 15:16:24 +0000 Subject: Issue in configuring Nagios Appender In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A4108668@LWEXMB02.usa.int> You need to make sure that you tell send_nsca to use the same encryption scheme that the server is using. Since you're the client, you don't control this .... The server will have it's own file specified ..... On my server ..... [root at jlyonslx test_harness]# cat /etc/xinetd.d/nsca # default: on # description: The nsca service can deliver nagios commands to the nagios server service nsca { disable = no flags = REUSE port = 5667 socket_type = stream protocol = tcp wait = no user = nagios group = nagios passenv = PATH server = /usr/local/nagios/addons/nsca/nsca # env = HOME=/usr/local/nagios server_args = -c /usr/local/nagios/addons/nsca/nsca.cfg --inetd # bind = 127.0.0.1 } The simplest thing to do is copy the nsca.cfg file to anywhere you need it when running the client ..... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Tuesday, March 22, 2011 9:35 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Again. It helped. Now, I am stuck with following exception - Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I am not using any password and the decryption_method is set to 0 in nsca.cfg file. What can be the possible cause of the error then? Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Tuesday, March 22, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 sa185043 at ncr.com Wed Mar 23 17:07:23 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Mar 2011 12:07:23 -0400 Subject: Issue in configuring Nagios Appender In-Reply-To: <45EDF03D8939C5499AF295D43606A4A4108668@LWEXMB02.usa.int> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108668@LWEXMB02.usa.int> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD7C931A@susday218.corp.ncr.com> Lyons, I do have access to the server too. However, I am not able to understand which line in the below file tells which encryption scheme needs to be used. Please confirm. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 23, 2011 8:46 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender You need to make sure that you tell send_nsca to use the same encryption scheme that the server is using. Since you're the client, you don't control this .... The server will have it's own file specified ..... On my server ..... [root at jlyonslx test_harness]# cat /etc/xinetd.d/nsca # default: on # description: The nsca service can deliver nagios commands to the nagios server service nsca { disable = no flags = REUSE port = 5667 socket_type = stream protocol = tcp wait = no user = nagios group = nagios passenv = PATH server = /usr/local/nagios/addons/nsca/nsca # env = HOME=/usr/local/nagios server_args = -c /usr/local/nagios/addons/nsca/nsca.cfg --inetd # bind = 127.0.0.1 } The simplest thing to do is copy the nsca.cfg file to anywhere you need it when running the client ..... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:819560416 at 23032011-1FE3] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Tuesday, March 22, 2011 9:35 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Again. It helped. Now, I am stuck with following exception - Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I am not using any password and the decryption_method is set to 0 in nsca.cfg file. What can be the possible cause of the error then? Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Tuesday, March 22, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:819560416 at 23032011-1FE3] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:819560416 at 23032011-1FE3] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 marc.fournier at cira.ca Wed Mar 23 17:19:09 2011 From: marc.fournier at cira.ca (Marc Fournier) Date: Wed, 23 Mar 2011 12:19:09 -0400 Subject: Hiding service checks from certain contact_groups ... Message-ID: I'm working on cleaning up our local nagios setup, and one of the things I'd like to do is have certain contact_groups see a host, but only certain service checks within that host ? For instance, I have Host A, with Service A, B, C, D, E being montored I want ContactGroup A to see everything, but ContactGroupB to only see Host A (in the Hosts list) and Host A: Service A (in the Services list ? But, as soon as I add ContactGroup B to the contract_groups directive in the host definition for Host A, they see all Services, even though I have contract_groups for the Services defined as only being ContactGroup A ? So the host:contract_groups directive seems to be overriding the server:contact_groups directive ? Is there a way of disabling that, so that it doesn't cascade/override like that? Thank you ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Jarlath.Lyons at Tideworks.com Wed Mar 23 17:18:12 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Wed, 23 Mar 2011 16:18:12 +0000 Subject: Issue in configuring Nagios Appender In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD7C931A@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108668@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD7C931A@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A4108686@LWEXMB02.usa.int> Here is my file ... just make sure that the value used for encryption_method is the same value used by the server (decryption_method). (NOTE: The log4j appender only supports 0 and 1 currently .. hope that works for you ....) ---------- file start #################################################### # Sample NSCA Client Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 02-21-2002 #################################################### # ENCRYPTION PASSWORD # This is the password/passphrase that should be used to encrypt the # outgoing packets. Note that the nsca daemon must use the same # password when decrypting the packet! # IMPORTANT: You don't want all the users on this system to be able # to read the password you specify here, so make sure to set # restrictive permissions on this config file! #password= # ENCRYPTION METHOD # This option determines the method by which the send_nsca client will # encrypt the packets it sends to the nsca daemon. The encryption # method you choose will be a balance between security and performance, # as strong encryption methods consume more processor resources. # You should evaluate your security needs when choosing an encryption # method. # # Note: The encryption method you specify here must match the # decryption method the nsca daemon uses (as specified in # the nsca.cfg file)!! # Values: # 0 = None (Do NOT use this option) # 1 = Simple XOR (No security, just obfuscation, but very fast) # # 2 = DES # 3 = 3DES (Triple DES) # 4 = CAST-128 # 5 = CAST-256 # 6 = xTEA # 7 = 3WAY # 8 = BLOWFISH # 9 = TWOFISH # 10 = LOKI97 # 11 = RC2 # 12 = ARCFOUR # # 14 = RIJNDAEL-128 # 15 = RIJNDAEL-192 # 16 = RIJNDAEL-256 # # 19 = WAKE # 20 = SERPENT # # 22 = ENIGMA (Unix crypt) # 23 = GOST # 24 = SAFER64 # 25 = SAFER128 # 26 = SAFER+ # encryption_method=0 ---------- file end Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 23, 2011 9:07 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Lyons, I do have access to the server too. However, I am not able to understand which line in the below file tells which encryption scheme needs to be used. Please confirm. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 23, 2011 8:46 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender You need to make sure that you tell send_nsca to use the same encryption scheme that the server is using. Since you're the client, you don't control this .... The server will have it's own file specified ..... On my server ..... [root at jlyonslx test_harness]# cat /etc/xinetd.d/nsca # default: on # description: The nsca service can deliver nagios commands to the nagios server service nsca { disable = no flags = REUSE port = 5667 socket_type = stream protocol = tcp wait = no user = nagios group = nagios passenv = PATH server = /usr/local/nagios/addons/nsca/nsca # env = HOME=/usr/local/nagios server_args = -c /usr/local/nagios/addons/nsca/nsca.cfg --inetd # bind = 127.0.0.1 } The simplest thing to do is copy the nsca.cfg file to anywhere you need it when running the client ..... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Tuesday, March 22, 2011 9:35 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Again. It helped. Now, I am stuck with following exception - Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I am not using any password and the decryption_method is set to 0 in nsca.cfg file. What can be the possible cause of the error then? Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Tuesday, March 22, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 sa185043 at ncr.com Wed Mar 23 17:36:19 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Mar 2011 12:36:19 -0400 Subject: Issue in configuring Nagios Appender In-Reply-To: <45EDF03D8939C5499AF295D43606A4A4108686@LWEXMB02.usa.int> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108668@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD7C931A@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108686@LWEXMB02.usa.int> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD7C9326@susday218.corp.ncr.com> Thanks Lyons. I suspected this to be the issue too. Initially I was not using any encryption or password for these checks but after this exception, I made changes in nsca.cfg (on server) and nsca_send.cfg (on client) to set encryption/decryption method and password, but no use. I keep getting same error with any combination of these values. :( Is there some other way of debugging the issue? Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 23, 2011 9:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Here is my file ... just make sure that the value used for encryption_method is the same value used by the server (decryption_method). (NOTE: The log4j appender only supports 0 and 1 currently .. hope that works for you ....) ---------- file start #################################################### # Sample NSCA Client Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 02-21-2002 #################################################### # ENCRYPTION PASSWORD # This is the password/passphrase that should be used to encrypt the # outgoing packets. Note that the nsca daemon must use the same # password when decrypting the packet! # IMPORTANT: You don't want all the users on this system to be able # to read the password you specify here, so make sure to set # restrictive permissions on this config file! #password= # ENCRYPTION METHOD # This option determines the method by which the send_nsca client will # encrypt the packets it sends to the nsca daemon. The encryption # method you choose will be a balance between security and performance, # as strong encryption methods consume more processor resources. # You should evaluate your security needs when choosing an encryption # method. # # Note: The encryption method you specify here must match the # decryption method the nsca daemon uses (as specified in # the nsca.cfg file)!! # Values: # 0 = None (Do NOT use this option) # 1 = Simple XOR (No security, just obfuscation, but very fast) # # 2 = DES # 3 = 3DES (Triple DES) # 4 = CAST-128 # 5 = CAST-256 # 6 = xTEA # 7 = 3WAY # 8 = BLOWFISH # 9 = TWOFISH # 10 = LOKI97 # 11 = RC2 # 12 = ARCFOUR # # 14 = RIJNDAEL-128 # 15 = RIJNDAEL-192 # 16 = RIJNDAEL-256 # # 19 = WAKE # 20 = SERPENT # # 22 = ENIGMA (Unix crypt) # 23 = GOST # 24 = SAFER64 # 25 = SAFER128 # 26 = SAFER+ # encryption_method=0 ---------- file end Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:533393216 at 23032011-1FEA] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 23, 2011 9:07 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Lyons, I do have access to the server too. However, I am not able to understand which line in the below file tells which encryption scheme needs to be used. Please confirm. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 23, 2011 8:46 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender You need to make sure that you tell send_nsca to use the same encryption scheme that the server is using. Since you're the client, you don't control this .... The server will have it's own file specified ..... On my server ..... [root at jlyonslx test_harness]# cat /etc/xinetd.d/nsca # default: on # description: The nsca service can deliver nagios commands to the nagios server service nsca { disable = no flags = REUSE port = 5667 socket_type = stream protocol = tcp wait = no user = nagios group = nagios passenv = PATH server = /usr/local/nagios/addons/nsca/nsca # env = HOME=/usr/local/nagios server_args = -c /usr/local/nagios/addons/nsca/nsca.cfg --inetd # bind = 127.0.0.1 } The simplest thing to do is copy the nsca.cfg file to anywhere you need it when running the client ..... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:533393216 at 23032011-1FEA] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Tuesday, March 22, 2011 9:35 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Again. It helped. Now, I am stuck with following exception - Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I am not using any password and the decryption_method is set to 0 in nsca.cfg file. What can be the possible cause of the error then? Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Tuesday, March 22, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:533393216 at 23032011-1FEA] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:533393216 at 23032011-1FEA] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 Jarlath.Lyons at Tideworks.com Wed Mar 23 17:42:16 2011 From: Jarlath.Lyons at Tideworks.com (Jarlath Lyons) Date: Wed, 23 Mar 2011 16:42:16 +0000 Subject: Issue in configuring Nagios Appender In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD7C9326@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD5E8C32@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD72E503@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A41083FD@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72E7DA@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108557@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD72ECA0@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108668@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD7C931A@susday218.corp.ncr.com> <45EDF03D8939C5499AF295D43606A4A4108686@LWEXMB02.usa.int> <0270B60DC8448C4EA47D54E8CA8C554789DD7C9326@susday218.corp.ncr.com> Message-ID: <45EDF03D8939C5499AF295D43606A4A41086C6@LWEXMB02.usa.int> Start simple. Set decryption_method = 0 on the server. Restart the server Set encryption_method = 0 on your application config file. Restart the application Make sure that you are editing the correct file(s) ... and not some copy elsewhere ..... I've seen this error before, and it has always been a misconfiguration between client and server encryption .... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 23, 2011 9:36 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. I suspected this to be the issue too. Initially I was not using any encryption or password for these checks but after this exception, I made changes in nsca.cfg (on server) and nsca_send.cfg (on client) to set encryption/decryption method and password, but no use. I keep getting same error with any combination of these values. :( Is there some other way of debugging the issue? Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 23, 2011 9:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Here is my file ... just make sure that the value used for encryption_method is the same value used by the server (decryption_method). (NOTE: The log4j appender only supports 0 and 1 currently .. hope that works for you ....) ---------- file start #################################################### # Sample NSCA Client Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 02-21-2002 #################################################### # ENCRYPTION PASSWORD # This is the password/passphrase that should be used to encrypt the # outgoing packets. Note that the nsca daemon must use the same # password when decrypting the packet! # IMPORTANT: You don't want all the users on this system to be able # to read the password you specify here, so make sure to set # restrictive permissions on this config file! #password= # ENCRYPTION METHOD # This option determines the method by which the send_nsca client will # encrypt the packets it sends to the nsca daemon. The encryption # method you choose will be a balance between security and performance, # as strong encryption methods consume more processor resources. # You should evaluate your security needs when choosing an encryption # method. # # Note: The encryption method you specify here must match the # decryption method the nsca daemon uses (as specified in # the nsca.cfg file)!! # Values: # 0 = None (Do NOT use this option) # 1 = Simple XOR (No security, just obfuscation, but very fast) # # 2 = DES # 3 = 3DES (Triple DES) # 4 = CAST-128 # 5 = CAST-256 # 6 = xTEA # 7 = 3WAY # 8 = BLOWFISH # 9 = TWOFISH # 10 = LOKI97 # 11 = RC2 # 12 = ARCFOUR # # 14 = RIJNDAEL-128 # 15 = RIJNDAEL-192 # 16 = RIJNDAEL-256 # # 19 = WAKE # 20 = SERPENT # # 22 = ENIGMA (Unix crypt) # 23 = GOST # 24 = SAFER64 # 25 = SAFER128 # 26 = SAFER+ # encryption_method=0 ---------- file end Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Wednesday, March 23, 2011 9:07 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Lyons, I do have access to the server too. However, I am not able to understand which line in the below file tells which encryption scheme needs to be used. Please confirm. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Wednesday, March 23, 2011 8:46 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender You need to make sure that you tell send_nsca to use the same encryption scheme that the server is using. Since you're the client, you don't control this .... The server will have it's own file specified ..... On my server ..... [root at jlyonslx test_harness]# cat /etc/xinetd.d/nsca # default: on # description: The nsca service can deliver nagios commands to the nagios server service nsca { disable = no flags = REUSE port = 5667 socket_type = stream protocol = tcp wait = no user = nagios group = nagios passenv = PATH server = /usr/local/nagios/addons/nsca/nsca # env = HOME=/usr/local/nagios server_args = -c /usr/local/nagios/addons/nsca/nsca.cfg --inetd # bind = 127.0.0.1 } The simplest thing to do is copy the nsca.cfg file to anywhere you need it when running the client ..... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Tuesday, March 22, 2011 9:35 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Again. It helped. Now, I am stuck with following exception - Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? I am not using any password and the decryption_method is set to 0 in nsca.cfg file. What can be the possible cause of the error then? Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Tuesday, March 22, 2011 8:48 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Try shortening the name you are using, and at least remove the space between Connection and Monitoring. Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 11:13 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Thanks Lyons. Now, after adding the appender-ref, I am getting following exception - log4j:ERROR Parsing error on line 18 and column 94 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type ID must be a name. log4j:ERROR Parsing error on line 47 and column 54 log4j:ERROR Attribute value "NAGIOS-Connection Monitoring" of type IDREF must be a name. Does anyone have any idea about reason of this error. Thanks & Regards, Sakshi Anand ________________________________ From: Jarlath Lyons [mailto:Jarlath.Lyons at Tideworks.com] Sent: Monday, March 21, 2011 8:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender It appears the appender is correctly defined, but just not linked to the root logger .... Try this ... Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 [cid:image001.gif at 01C8E1BC.4F6ACE00] From: Anand, Sakshi [mailto:sa185043 at ncr.com] Sent: Monday, March 21, 2011 5:14 AM To: Nagios Users List Subject: Re: [Nagios-users] Issue in configuring Nagios Appender Plz help. Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Sunday, March 20, 2011 11:31 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue in configuring Nagios Appender All, I am trying to configure nagios appender for one of my applications which is using log4j to log data. Also, my NSCA configuration is running fine. However, I am not able to send checks from the application using nagios appender. Following is what my log4j.xml looks like (it is successfully writing to console and to log file too) - Please help me in finding the issue and a way to debug it. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8228 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 tonvoon at gmail.com Wed Mar 23 18:16:39 2011 From: tonvoon at gmail.com (Ton Voon) Date: Wed, 23 Mar 2011 17:16:39 +0000 Subject: Hiding service checks from certain contact_groups ... In-Reply-To: References: Message-ID: On 23 Mar 2011, at 16:19, Marc Fournier wrote: > > I'm working on cleaning up our local nagios setup, and one of the things I'd like to do is have certain contact_groups see a host, but only certain service checks within that host ? > > For instance, I have > > Host A, with Service A, B, C, D, E being montored > > I want ContactGroup A to see everything, but ContactGroupB to only see Host A (in the Hosts list) and Host A: Service A (in the Services list ? > > But, as soon as I add ContactGroup B to the contract_groups directive in the host definition for Host A, they see all Services, even though I have contract_groups for the Services defined as only being ContactGroup A ? So the host:contract_groups directive seems to be overriding the server:contact_groups directive ? > > Is there a way of disabling that, so that it doesn't cascade/override like that? In Opsview (http://opsview.com), we've patched the Nagios CGIs so it "slices" exactly as you say: that host membership does not include all services on that host. We have this explained here under "Slice services within hosts": http://labs.opsview.com/2007/09/nagios-patch-day/ We plan on putting this back into core Nagios, but would need to add tests and haven't found the time yet.... Ton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 widet.jmartin at gmail.com Wed Mar 23 20:55:16 2011 From: widet.jmartin at gmail.com (Joe Martin) Date: Wed, 23 Mar 2011 14:55:16 -0500 Subject: Nagios XI question In-Reply-To: <1300769282.3691.3.camel@timmins> References: <1300769282.3691.3.camel@timmins> Message-ID: Thanks Tony. On Mon, Mar 21, 2011 at 11:48 PM, Tony Yarusso wrote: > On Mon, 2011-03-21 at 10:45 -0500, Joe Martin wrote: > > Just exploring using Nagios for monitoring network, Windows, unix, > > Linux and applications in various ways. We're thinking Nagios XI > > looks like a good fit with one exception - the documentation states > > that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a > > SLES shop. Anyone out there runing XI on SLES (specifically SLES 11)? > > While the actual code (a mix of C, Perl, and PHP) don't care what > distribution it is, all of the installation scripts, documentation, cron > jobs, etc. are tailored for RHEL/CentOS, and it would be very difficult > to get them properly ported over. We may expand the distro support in > the future, but for the time being it is limited to those. > > That said, you can still use XI in a SLES shop. You would need one > system (or virtual machine) running XI on a CentOS base, but it could > then monitor your SLES systems as targets. The documentation for the > Agent piece currently covers RHEL, CentOS, Fedora, Ubuntu, and Debian, > but that would be quite a bit easier to adapt to SLES than XI itself. > > -- > Tony Yarusso > Technical Team > ___ > Nagios Enterprises, LLC > Email: tyarusso at nagios.com > Web: www.nagios.com > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 marc.fournier at cira.ca Wed Mar 23 22:31:43 2011 From: marc.fournier at cira.ca (Marc Fournier) Date: Wed, 23 Mar 2011 17:31:43 -0400 Subject: Web Hostgroups View / Screen ... hostgroups missing ... Message-ID: I have a User defined that, when I login, and click on Host Groups, only one of the two hostgroups for which he is a member gets listed ? Although all of the hosts are listed if I go into the Hosts section ? For example, if I go under Hosts -> HostA, it shows 'Member of GroupA, GroupB' ? If I click on either Group A or Group B, it gives me the error: "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." Yet, as the same logged in user, if I go back to Hosts -> HostB, where HostB is a member of GroupC, and I click on GroupC, it gives me a listing of all of the hosts that are in GroupC (as I'd expect) ? By the fact that I can see the hosts in GroupA via Hosts, shouldn't I be able to see them Grouped as GroupA in the Host Group Screen? Or is there something else that I need to enable that I'm not cluign into here? Thx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 at mnnwahl.com Thu Mar 24 00:04:56 2011 From: mike at mnnwahl.com (mike at mnnwahl.com) Date: Wed, 23 Mar 2011 19:04:56 -0400 (EDT) Subject: ERROR: Dell OpenManage Server Administrator (OMSA) is not installed Message-ID: <2140323011.66666.1300921496391.JavaMail.open-xchange@oxusltgw08.schlund.de> Does it matter where in the NSC.ini file this goes? The above should be configured in nrpe.cfg if you're using NRPE. If you're using the .exe file for Windows with NSClient++, you should configure this in the file nsc.ini on the host. Example: I have this under the NRPE Handlers. ? [NRPE Handlers] ; The old plugins we'll deprecate check_disk=scripts\deprecated\diskspace_nrpe_nt.exe $ARG1$ check_cpuload=scripts\deprecated\cpuload_nrpe_nt.exe $ARG1$ check_memload=scripts\deprecated\memload_nrpe_nt.exe $ARG1$ win_service=scripts\deprecated\service_nrpe_nt.exe $ARG1$ check_sysinfo=scripts\deprecated\check_sysinfo.exe check_openmanage.exe --omreport "C:\Program Files (x86)\Dell\SysMgt\oma\bin\omreport.exe" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 justinp at norchemlab.com Wed Mar 23 23:56:04 2011 From: justinp at norchemlab.com (Justin T Pryzby) Date: Wed, 23 Mar 2011 15:56:04 -0700 Subject: compact definition of multiple hosts or service groups? Message-ID: <20110323225604.GB27651@norchemlab.com> Hi Everyone, Is there any way to add multiple hosts or service groups at once? Thanks Justin ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lcardona at buzz-media.com Thu Mar 24 00:15:43 2011 From: lcardona at buzz-media.com (Liz Cardona) Date: Wed, 23 Mar 2011 16:15:43 -0700 Subject: compact definition of multiple hosts or service groups? In-Reply-To: <20110323225604.GB27651@norchemlab.com> References: <20110323225604.GB27651@norchemlab.com> Message-ID: Hey justin, Yeah you can add multiple host by creating hostgroups. Thanks, On 3/23/11 3:56 PM, "Justin T Pryzby" wrote: > Hi Everyone, > > Is there any way to add multiple hosts or service groups at once? > > Thanks > Justin > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve_f60 at hotmail.com Thu Mar 24 00:51:34 2011 From: steve_f60 at hotmail.com (Steve F) Date: Wed, 23 Mar 2011 19:51:34 -0400 Subject: Question on encryption for send_nsca Message-ID: I have a small test Nagios 3.2 environment on a Suse platform ( 11 & 10 boxes )and was wondering about the encryption methods used. I am working fine with no encryption configured on host or central server. I am getting all of the checks on the console. Once I set it to any value other than 0 on both the server & host, I no longer get anything on the central server. I've tried using the simple XOR and 3DES & DES If I send a test job from the command line as per the instructions, with no encryption set ( not even simple XOR ) I see the reply in the nagios.log file on the Nagios server. If I set the encryption on both & send the test job again,( restarting nagios on both) it says 1 packet was sent successfully but nothing shows up on the central server. I am still learning my way thru Suse & Nagios so not sure if the encryption process is part of the send_nsca or Suse. I don't know what encryption is installed on the suse boxes or even how to check. Is there a way to test or check what encryption(s) are installed on the boxes? Since this is ultimately a totally private network, can I use the value of 0 for no encryption ? I know the cfg file explicitly says its not recommended Sorry for the stupid questions, but Nagios will do alot for my environment if I can get it squared away. Thanks for your time. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Thu Mar 24 00:19:36 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 24 Mar 2011 10:19:36 +1100 Subject: compact definition of multiple hosts or service groups? In-Reply-To: <20110323225604.GB27651@norchemlab.com> References: <20110323225604.GB27651@norchemlab.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB4B34DAED7A@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: Justin T Pryzby [mailto:justinp at norchemlab.com] > Sent: Thursday, 24 March 2011 9:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] compact definition of multiple hosts or service > groups? > > Hi Everyone, > > Is there any way to add multiple hosts or service groups at once? > > Thanks > Justin Using templates with host groups, it's easy to quickly create such things. Couple them with an include_dir structure, and you just have to drop files in to place (and reload) to deploy changes. What specifically were you trying to add? Stuart ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 24 01:33:17 2011 From: benny at bennyvision.com (C. Bensend) Date: Wed, 23 Mar 2011 19:33:17 -0500 Subject: Web Hostgroups View / Screen ... hostgroups missing ... In-Reply-To: References: Message-ID: <7e3811029809a0d13ab258512a6c663b.squirrel@webmail.stinkweasel.net> > I have a User defined that, when I login, and click on Host Groups, only > one of the two hostgroups for which he is a member gets listed Although > all of the hosts are listed if I go into the Hosts section > > For example, if I go under Hosts -> HostA, it shows 'Member of GroupA, > GroupB' If I click on either Group A or Group B, it gives me the error: > > "It appears as though you do not have permission to view information for > any of the hosts you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file." I'll give you pretty good odds you're *not* a contact for one of those hosts... See the message I posted last month: http://marc.info/?l=nagios-users&m=129788210317124&w=2 Could this be the same situation? Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Mar 24 02:48:04 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 24 Mar 2011 09:48:04 +0800 Subject: Hiding service checks from certain contact_groups ... In-Reply-To: References: Message-ID: have you tried to remove the contact_groups on host definitions and define them on service definitions separately? On Thu, Mar 24, 2011 at 12:19 AM, Marc Fournier wrote: > > I'm working on cleaning up our local nagios setup, and one of the things I'd > like to do is have certain contact_groups see a host, but only certain > service checks within that host ? > For instance, I have > Host A, with Service A, B, C, D, E being montored > I want ContactGroup A to see everything, but ContactGroupB to only see Host > A (in the Hosts list) and Host A: Service A (in the Services list ? > But, as soon as I add ContactGroup B to the contract_groups directive in the > host definition for Host A, they see all?Services, even though I have > contract_groups for the Services defined as only being ContactGroup A ? So > the host:contract_groups directive seems to be overriding the > server:contact_groups directive ? > Is there a way of disabling that, so that it doesn't cascade/override like > that? > Thank you ? > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Mar 24 02:55:29 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 24 Mar 2011 09:55:29 +0800 Subject: compact definition of multiple hosts or service groups? In-Reply-To: <20110323225604.GB27651@norchemlab.com> References: <20110323225604.GB27651@norchemlab.com> Message-ID: http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html On Thu, Mar 24, 2011 at 6:56 AM, Justin T Pryzby wrote: > Hi Everyone, > > Is there any way to add multiple hosts or service groups at once? > > Thanks > Justin > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Mar 24 18:48:40 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Thu, 24 Mar 2011 13:48:40 -0400 Subject: 'Status Totals' bug? Message-ID: <0F3D91EA70124C468301FF70A8ED16D402A1D94963@BOYV7EXVS1.opm.gov> I'm running 3.2.2 on multiple Linux boxes, so I've tested this with RHEL 4, 5, and 6. I hate to yell 'bug!', because I know it's usually user error - but I think this is one. Click on 'Host Groups', and select anything under 'Service Status Totals' on the top. Say, 'OK'. It goes to here: http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=15 as it should. Click on something under 'Host Status Totals' - say, 'Down' - and it goes here: http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=4 Click back over on 'OK' on 'Service', and it now goes here: http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=4 and shows I've got no services. Replicable on Firefox and IE. Resets if you reload 'Host Groups'. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 dyolduz at gmail.com Thu Mar 24 21:50:14 2011 From: dyolduz at gmail.com (=?ISO-8859-1?Q?Deniz_Yold=FCz?=) Date: Thu, 24 Mar 2011 22:50:14 +0200 Subject: pnp4nagios - gentoo Message-ID: Hi, I'm newbie on gentoo and i emerged pnp4nagios. The problem is i can't find the ssi files for popups? Anybody experienced it before? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Mar 24 22:16:32 2011 From: jpratt at norwich.edu (James Pratt) Date: Thu, 24 Mar 2011 17:16:32 -0400 Subject: pnp4nagios - gentoo In-Reply-To: References: Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD2958E1@nuexchange.norwich.edu> Hi - Can you elaborate? I understand you added pnp4nagios to your Gentoo box... but... what ssi files, what pop-ups? I would read through the INSTALL file, and/or manual/docs on the version of pnp4nagios for your specific ebuild - There could be some small manual configuration bits you may have missed - i know that Gentoo tends to change *lots* of things in their packages/ebuilds... (or used to anyhow). (You also may have luck on the Gentoo support/discussion boards, i know they used to be quite active if no one here knows your answer). Cheers, James From: Deniz Yold?z [mailto:dyolduz at gmail.com] Sent: Thursday, March 24, 2011 4:50 PM To: Nagios Users List Subject: [Nagios-users] pnp4nagios - gentoo Hi, I'm newbie on gentoo and i emerged pnp4nagios. The problem is i can't find the ssi files for popups? Anybody experienced it before? Thanks. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve+nagios.users at swsystem.co.uk Fri Mar 25 02:46:32 2011 From: steve+nagios.users at swsystem.co.uk (Steve Wilson) Date: Fri, 25 Mar 2011 01:46:32 +0000 Subject: pnp4nagios - gentoo In-Reply-To: References: Message-ID: <4D8BF3F8.6050901@swsystem.co.uk> On 24/03/2011 20:50, Deniz Yold?z wrote: > Hi, > I'm newbie on gentoo and i emerged pnp4nagios. The problem is i can't > find the ssi files for popups? > > Anybody experienced it before? > I run gentoo on my server and for $dayjob I've been working with nagios etc from source. I came across the same problem with pnp4nagios. running 'equery f pnp4nagios' which lists all the files installed as part of that package returned no ssi files, so I just copied the file over from the extracted source on the work server. I guess the packagers felt people wouldn't want it as default but forgot to copy it somewhere it could be used if they wanted it. You'll find the source tarball in /usr/portage/distfiles Steve. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Mar 25 04:31:03 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 25 Mar 2011 11:31:03 +0800 Subject: 'Status Totals' bug? In-Reply-To: <0F3D91EA70124C468301FF70A8ED16D402A1D94963@BOYV7EXVS1.opm.gov> References: <0F3D91EA70124C468301FF70A8ED16D402A1D94963@BOYV7EXVS1.opm.gov> Message-ID: look at the top left corner, there is a "Display Filters" box which indicates what will be show out. according to your scenario, should there be a "OK" service under a "Down" host? On Fri, Mar 25, 2011 at 1:48 AM, Boyer, Timothy A. wrote: > I?m running 3.2.2 on multiple Linux boxes, so I?ve tested this with RHEL 4, > 5, and 6.? I hate to yell ?bug!?, because I know it?s usually user error ? > but I think this is one. > > > > Click on ?Host Groups?, and select anything under ?Service Status Totals? on > the top.? Say, ?OK?.? It goes to here: > > > > http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=15 > > > > as it should.? Click on something under ?Host Status Totals? ? say, ?Down? ? > and it goes here: > > > > http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=4 > > > > Click back over on ?OK? on ?Service?, and it now goes here: > > > > http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=4 > > > > and shows I?ve got no services. > > > > > > Replicable on Firefox and IE.? Resets if you reload ?Host Groups?. > > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Fri Mar 25 09:27:43 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Fri, 25 Mar 2011 03:27:43 -0500 Subject: Exchange back up Message-ID: <1301041663.30651.2.camel@timmins> For anyone who was having trouble with exchange.nagios.org in the last few hours, it's back up now. Apache had a boo-boo and bailed, apparently. (And of *course* it waited just until everyone had left the office to do so - heh.) -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 14:49:49 2011 From: Timothy.Boyer at opm.gov (Boyer, Timothy A.) Date: Fri, 25 Mar 2011 09:49:49 -0400 Subject: 'Status Totals' bug? In-Reply-To: References: <0F3D91EA70124C468301FF70A8ED16D402A1D94963@BOYV7EXVS1.opm.gov> Message-ID: <0F3D91EA70124C468301FF70A8ED16D402A1D94990@BOYV7EXVS1.opm.gov> Ah. Never noticed the 'Display Filters'. So it's sticky - pick the 'OK service', then pick a 'Down host' without doing a refresh, and you'll get all OK services on any down hosts. That's one way of doing it, if a little counterintuitive. And I was right - user error. :) Thanks much... -----Original Message----- From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: Thursday, March 24, 2011 11:31 PM To: Nagios Users List Subject: Re: [Nagios-users] 'Status Totals' bug? look at the top left corner, there is a "Display Filters" box which indicates what will be show out. according to your scenario, should there be a "OK" service under a "Down" host? On Fri, Mar 25, 2011 at 1:48 AM, Boyer, Timothy A. wrote: > I'm running 3.2.2 on multiple Linux boxes, so I've tested this with RHEL 4, > 5, and 6.? I hate to yell 'bug!', because I know it's usually user error - > but I think this is one. > > > > Click on 'Host Groups', and select anything under 'Service Status Totals' on > the top.? Say, 'OK'.? It goes to here: > > > > http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=15 > > > > as it should.? Click on something under 'Host Status Totals' - say, 'Down' - > and it goes here: > > > > http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=4 > > > > Click back over on 'OK' on 'Service', and it now goes here: > > > > http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=all&style=detail&servicestatustypes=2&hoststatustypes=4 > > > > and shows I've got no services. > > > > > > Replicable on Firefox and IE.? Resets if you reload 'Host Groups'. > > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 25 17:08:11 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Fri, 25 Mar 2011 12:08:11 -0400 Subject: Persistent WAP Acknowledgements Message-ID: I noticed that acknowledgements submitted through Nagios' WAP interface are set as persistent. However, they're not set that way by default if you use the regular web interface. The command description box reads like the option is not selected by default. I'm not a C programmer, but I dug around anyway. The lines in statuswml.c containing show up that way if I look at the WAP page's source and it looks like that gets submitted to cmd.cgi. If I look at cmd.c, persistent_comment gets initialized to false. Then it looks like the comparison in lines 458-459 reset it to true somehow if cmd.cgi was called by WAP. Incidentally, it looks like cmd.c line 984 is missing an angle bracket ("") I'm running Nagios 3.2.3 compiled from source on a 64-bit CentOS 5.5 box. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 vmanojv at rediffmail.com Fri Mar 25 17:18:31 2011 From: vmanojv at rediffmail.com (Nair) Date: 25 Mar 2011 16:18:31 -0000 Subject: =?utf-8?q?How_to_schedule_weekly_service_check=2E?= Message-ID: <20110325161831.52911.qmail@f5mail-236-226.rediffmail.com> Friends Can anyone please share how to configure a service check to perform check once in a week. Thank you Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Fri Mar 25 17:44:40 2011 From: jpratt at norwich.edu (James Pratt) Date: Fri, 25 Mar 2011 12:44:40 -0400 Subject: How to schedule weekly service check. In-Reply-To: <20110325161831.52911.qmail@f5mail-236-226.rediffmail.com> References: <20110325161831.52911.qmail@f5mail-236-226.rediffmail.com> Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD295A86@nuexchange.norwich.edu> Hi, there is an archived thread about a similar request; it should help get you fixed up - http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24221.html Regards, Jamie From: Nair [mailto:vmanojv at rediffmail.com] Sent: Friday, March 25, 2011 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to schedule weekly service check. Friends Can anyone please share how to configure a service check to perform check once in a week. Thank you Nair ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Roddan at sbsworldwide.com Sun Mar 27 22:45:51 2011 From: Peter.Roddan at sbsworldwide.com (Peter Roddan) Date: Sun, 27 Mar 2011 21:45:51 +0100 Subject: Check_APC_PDU Command Definition Message-ID: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> Hi Everyone, Apologies is this is a silly question or something I've missed, but I've been going round in circles for ages on this one! I'm trying to use Marius Rieder's pearl script to check the status of some APC PDUs. I have the command working ok, but it's the Nagios Commands that I'm failing on - it's been a while since I set up our Nagios install, so I think I've some something wrong. I'm running Nagios Core 3.2.3, and I'm using the script from here http://oss.isg.inf.ethz.ch/nagiosplug/ If I log onto the nagios server as the nagios user, and run the command from the libexec folder (check_apc_pdu -H
-C public) I get the response : "OK: All Outlets ok. | load=25" I have put the following command definition in : # 'check_apc_pdu' command definition define command{ command_name check_apc_pdu command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public } And defined the following service define service{ use generic-service ; Inherit values from a template hostgroup_name apc ; The name of the host the service is associated with service_description check_apc ; The service description check_command check_apc_pdu ; The command used to monitor the service normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined } However, my APC PDUs report an error for this service, with a status information of "(Null)" I'd be grateful for anyone who could point me in the right direction of where I'm going wrong. Thanks, Peter Peter Roddan Senior Systems Analyst SBS Worldwide Ltd - Dartford DDI No: +44 (0)1322 424741 Email :Peter.Roddan at sbsworldwide.com Website :sbsworldwide.com [cid:image001.jpg at 01CBECC5.C66680F0] P Think before you print! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 48202 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- 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 selble at higherone.com Mon Mar 28 15:09:49 2011 From: selble at higherone.com (Sean Elble) Date: Mon, 28 Mar 2011 09:09:49 -0400 Subject: Possible Memory Leak in Nagios? Message-ID: <789BBB82D1C8B348B2BC1EBC037EC89758CE9449@mail02.higherone.com> Hi all, I recently built a new Nagios system running CentOS 5.5 (as up-to-date as can be), and I'm finding a strange issue with memory usage on the system (that didn't exist prior to putting the system live). Despite no resident processes taking up much in the way of RAM (~200 MB, give or take at any one time, and it's consistent from hour-to-hour and day-to-day), the memory usage excluding buffers and cache continues to grow by a significant amount on a daily basis: [user at nagios ~]# ps -eo rss,size,pid,cmd | awk '{ SUM += $1 } END { print SUM/1024 }'; free -m 195.863 total used free shared buffers cached Mem: 3939 3629 310 0 170 677 -/+ buffers/cache: 2781 1158 Swap: 5951 0 5951 (Yes, I know the result from ps won't match free, but the discrepancy between the two keeps increasing at a consistent rate) It's been a consistent 300-400 MB per day increase in usage for no apparent reason, and the only reason I bring it up here is because the system's memory usage pattern was quite normal prior to Nagios running on it. I compiled Nagios (3.2.3) and the Nagios plugins (1.4.15) from source, with no special options for either: configure:9208: result: *** Configuration summary for nagios 3.2.3 10-03-2010 ***: configure:9215: result: Nagios executable: nagios configure:9217: result: Nagios user/group: nagios,nagios configure:9219: result: Command user/group: nagios,nagios configure:9230: result: Embedded Perl: no configure:9234: result: Event Broker: yes configure:9240: result: Install ${prefix}: /usr/local/nagios configure:9242: result: Lock file: ${prefix}/var/nagios.lock configure:9244: result: Check result directory: ${prefix}/var/spool/checkresults configure:9246: result: Init directory: /etc/rc.d/init.d configure:9248: result: Apache conf.d directory: /etc/httpd/conf.d configure:9250: result: Mail program: /bin/mail configure:9252: result: Host OS: linux-gnu configure:9259: result: HTML URL: http://localhost/nagios/ configure:9261: result: CGI URL: http://localhost/nagios/cgi-bin/ configure:9263: result: Traceroute (used by WAP): /bin/traceroute This thread inspired me to check on check_snmp using Valgrind, and while it does appear to be leaking memory (~500 bytes per run), I'm wondering if anyone else has seen this behavior before, given that I'm not using the embedded Perl option that the OP in that thread was using (though comments there make me wonder if it's worth trying). If anyone has seen this before, or has any thoughts on what the issue might be, I'd certainly appreciate it. Thanks, -- Sean Elble Linux Systems Administrator Higher One, Inc. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Mon Mar 28 16:59:03 2011 From: vmanojv at rediffmail.com (Nair) Date: 28 Mar 2011 14:59:03 -0000 Subject: =?utf-8?q?How_to_schedule_weekly_service_check=2E?= In-Reply-To: <369C2BA4DE2C8F4A88BC422AD06C96BD295A86@nuexchange.norwich.edu> References: <369C2BA4DE2C8F4A88BC422AD06C96BD295A86@nuexchange.norwich.edu> Message-ID: <1301071656.S.7530.19352.F.H.TkphbWVzIFByYXR0AFJlOiBbTmFnaW9zLXVzZXJzXSBIb3cgdG8gc2NoZWR1bGUgd2Vla2x5IHNlcnZpY2U_.f5-236-234.old.1301324343.46873@webmail.rediffmail.com> Thank you, Jamie. However, similar set of config not working with me. define timeperiod{ timeperiod_name only_mon alias Only on monday monday 11:00-17:00 } define service{ service_description TEST_SRV host_name localhost max_check_attempts 1 normal_check_interval 120 retry_check_interval 1 check_period only_mon check_command TEST_CMD use template_TEST } Here, after the first check, the recurring checks fails to do, unless i reload the nagios. Still no clue about the reason !! :( Thank you Nair On Fri, 25 Mar 2011 22:17:36 +0530 wrote >Hi, there is an archived thread about a similar request; it should help get you fixed up - http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24221.html Regards, Jamie From: Nair [mailto:vmanojv at rediffmail.com] Sent: Friday, March 25, 2011 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to schedule weekly service check. Friends Can anyone please share how to configure a service check to perform check once in a week. Thank you Nair ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Mar 28 18:00:24 2011 From: jpratt at norwich.edu (James Pratt) Date: Mon, 28 Mar 2011 12:00:24 -0400 Subject: How to schedule weekly service check. In-Reply-To: <1301071656.S.7530.19352.F.H.TkphbWVzIFByYXR0AFJlOiBbTmFnaW9zLXVzZXJzXSBIb3cgdG8gc2NoZWR1bGUgd2Vla2x5IHNlcnZpY2U_.f5-236-234.old.1301324343.46873@webmail.rediffmail.com> References: <369C2BA4DE2C8F4A88BC422AD06C96BD295A86@nuexchange.norwich.edu> <1301071656.S.7530.19352.F.H.TkphbWVzIFByYXR0AFJlOiBbTmFnaW9zLXVzZXJzXSBIb3cgdG8gc2NoZWR1bGUgd2Vla2x5IHNlcnZpY2U_.f5-236-234.old.1301324343.46873@webmail.rediffmail.com> Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD295D8F@nuexchange.norwich.edu> Hi. Sorry it's not working for you - from below, i am deducing you have it setup to check every 2 minutes, from 11am-5pm, only on Mondays. Is this correct? Can you post your host definition, and maybe the command template for template_TEST/TEST_CMD, as I'm not sure why it's not recurring after check 1. Btw, i was under the assumption you only wanted it to actually run a check once per week, perhaps I am missing what you are really trying to accomplish, sorry. Thanks, Jamie From: Nair [mailto:vmanojv at rediffmail.com] Sent: Monday, March 28, 2011 10:59 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users]How to schedule weekly service check. Thank you, Jamie. However, similar set of config not working with me. define timeperiod{ timeperiod_name only_mon alias Only on monday monday 11:00-17:00 } define service{ service_description TEST_SRV host_name localhost max_check_attempts 1 normal_check_interval 120 retry_check_interval 1 check_period only_mon check_command TEST_CMD use template_TEST } Here, after the first check, the recurring checks fails to do, unless i reload the nagios. Still no clue about the reason !! :( Thank you Nair On Fri, 25 Mar 2011 22:17:36 +0530 wrote >Hi, there is an archived thread about a similar request; it should help get you fixed up - http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg24221.html Regards, Jamie From: Nair [mailto:vmanojv at rediffmail.com] Sent: Friday, March 25, 2011 12:19 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to schedule weekly service check. Friends Can anyone please share how to configure a service check to perform check once in a week. Thank you Nair ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 Paul.Singh at bamford.co.uk Mon Mar 28 18:14:10 2011 From: Paul.Singh at bamford.co.uk (Paul Singh) Date: Mon, 28 Mar 2011 17:14:10 +0100 Subject: Remote commands Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4026 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Outlook.jpg Type: image/jpeg Size: 220598 bytes Desc: Outlook.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Mar 28 18:38:19 2011 From: jpratt at norwich.edu (James Pratt) Date: Mon, 28 Mar 2011 12:38:19 -0400 Subject: Remote commands Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD295D9E@nuexchange.norwich.edu> Hi, I think your only problem may that you have no "-H $HOSTADDRESS$" on any of your defined commands - This means they will likely execute locally, which is probably why you see the same output. hope that helps jamie From: Paul Singh [mailto:Paul.Singh at bamford.co.uk] Sent: Monday, March 28, 2011 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Remote commands Setup: nagios core v 3.2.3 Nagios monitoring machine: my laptop running windows xpsp3 Remote servers to be monitored: windows server 2003 Directories: C:\Program Files\ICW\etc\nagios\nagios.cfg C:\Program Files\ICW\etc\nagios\nagwin\commands.cfg C:\Program Files\ICW\etc\nagios\nagwin\contacts.cfg C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg C:\Program Files\ICW\etc\nagios\nagwin\timeperiods.cfg C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg Hello. Hope you are well. First time emailing so thought better to put too much info than not enough! I'm trying to define services and commands that will monitor my remote servers. So at present, I have my localhost for which I have the following local commands in localhost.cfg: # Define local commands # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_winprocess --warning $ARG1$ --critical $ARG2$ } # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_pdm2 --processor --warning $ARG1$ --critical $ARG2$ --psamples $ARG3$ --pinterval $ARG4$ } # 'check_local_pyhsical_mem' command definition define command{ command_name check_local_physical_mem command_line $USER1$/check_pdm2 --memory physical --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_virtual_mem command_line $USER1$/check_pdm2 --memory virtual --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_pagefile_mem command_line $USER1$/check_pdm2 --memory pagefile --warning $ARG1$ --critical $ARG2$ } # Define a service to check the disk space of system disk C on the local machine. # Warning if < 20% free, critical if < 10% free space. define service{ use local-service ; Name of service template to use host_name localhost service_description System disk check_command check_local_disk!C:!95!99 } # Define a service to check the number of currently running procs on the local machine. # Warning if > 250 processes, critical if > 400 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400 } # Define a service to check the load on the local machine. 5 samples with 5 secs intervals. # Warning at 80%, Critical at 95% define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!85!95!5!5 } # Define a service to check the physical memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Physical memory check_command check_local_physical_mem!80!90 } # Define a service to check the virtual memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Virtual memory check_command check_local_virtual_mem!80!90 } # Define a service to check the page file usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Page file check_command check_local_pagefile_mem!80!90 } So all these work fine for the localhost. What I'm trying to do now is setup the exact same capability but for the remote servers, and this is where I'm getting stuck. Although I can define a service for the remote servers, the output displayed is the same as I have for my localhost. So for example in the screenshot below, the c: Disk space service, the remote service I tried to setup, is actually using the local command line and showing the same output as the System Disk service on localhost. Can you please advise on how to setup up equivalent remote commands similar to the local commands above? Eventually, I am looking to set up equivalent remote services for current load, page file, phys mem etc that I currently have for localhost. So far I have: C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg define service{ use remote-service ; Name of service template to use host_name bamford-lon-fn1 service_description c: Disk Space check_command check_remote_disk!C:!95!99 } C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg # 'check_remote_disk' command definition define command{ command_name check_remote_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg # Remote service definition template- This is NOT a real service, just a template! define service{ name remote-service use generic-service max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 register 0 } I've seen something about this on the wiki at http://wiki.nagios.org/index.php/Howtos:checkbyssh_RedHat but those commands are more centered around red hat and ssh. Also tried http://wiki.nagios.org/index.php/Howtos:specific but windows os isn't listed (unless windows uses same commands as those listed?). If you could help in any way I'd be most grateful. If I've missed something out/you need more info please let me know. Thx, Paul. Regards, Paul Singh IT Support | Bamford & Daylesford Organic | DDI: +44 (0) 207 259 4938 | Mobile: 07500 607 488 11a West Halkin Street, London SW1X 8JL Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 220598 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 4026 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 Paul.Singh at bamford.co.uk Mon Mar 28 18:43:09 2011 From: Paul.Singh at bamford.co.uk (Paul Singh) Date: Mon, 28 Mar 2011 17:43:09 +0100 Subject: Nagios-users Digest, Vol 58, Issue 22 - Remote Commands In-Reply-To: References: Message-ID: Ok, thanks James. I'll have a look at that. Regards, Paul Singh -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: 28 March 2011 17:39 To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 58, Issue 22 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Remote commands (James Pratt) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Mar 2011 12:38:19 -0400 From: "James Pratt" Subject: Re: [Nagios-users] Remote commands To: "Nagios Users List" Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD295D9E at nuexchange.norwich.edu> Content-Type: text/plain; charset="us-ascii" Hi, I think your only problem may that you have no "-H $HOSTADDRESS$" on any of your defined commands - This means they will likely execute locally, which is probably why you see the same output. hope that helps jamie From: Paul Singh [mailto:Paul.Singh at bamford.co.uk] Sent: Monday, March 28, 2011 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Remote commands Setup: nagios core v 3.2.3 Nagios monitoring machine: my laptop running windows xpsp3 Remote servers to be monitored: windows server 2003 Directories: C:\Program Files\ICW\etc\nagios\nagios.cfg C:\Program Files\ICW\etc\nagios\nagwin\commands.cfg C:\Program Files\ICW\etc\nagios\nagwin\contacts.cfg C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg C:\Program Files\ICW\etc\nagios\nagwin\timeperiods.cfg C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg Hello. Hope you are well. First time emailing so thought better to put too much info than not enough! I'm trying to define services and commands that will monitor my remote servers. So at present, I have my localhost for which I have the following local commands in localhost.cfg: # Define local commands # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_winprocess --warning $ARG1$ --critical $ARG2$ } # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_pdm2 --processor --warning $ARG1$ --critical $ARG2$ --psamples $ARG3$ --pinterval $ARG4$ } # 'check_local_pyhsical_mem' command definition define command{ command_name check_local_physical_mem command_line $USER1$/check_pdm2 --memory physical --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_virtual_mem command_line $USER1$/check_pdm2 --memory virtual --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_pagefile_mem command_line $USER1$/check_pdm2 --memory pagefile --warning $ARG1$ --critical $ARG2$ } # Define a service to check the disk space of system disk C on the local machine. # Warning if < 20% free, critical if < 10% free space. define service{ use local-service ; Name of service template to use host_name localhost service_description System disk check_command check_local_disk!C:!95!99 } # Define a service to check the number of currently running procs on the local machine. # Warning if > 250 processes, critical if > 400 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400 } # Define a service to check the load on the local machine. 5 samples with 5 secs intervals. # Warning at 80%, Critical at 95% define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!85!95!5!5 } # Define a service to check the physical memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Physical memory check_command check_local_physical_mem!80!90 } # Define a service to check the virtual memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Virtual memory check_command check_local_virtual_mem!80!90 } # Define a service to check the page file usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Page file check_command check_local_pagefile_mem!80!90 } So all these work fine for the localhost. What I'm trying to do now is setup the exact same capability but for the remote servers, and this is where I'm getting stuck. Although I can define a service for the remote servers, the output displayed is the same as I have for my localhost. So for example in the screenshot below, the c: Disk space service, the remote service I tried to setup, is actually using the local command line and showing the same output as the System Disk service on localhost. Can you please advise on how to setup up equivalent remote commands similar to the local commands above? Eventually, I am looking to set up equivalent remote services for current load, page file, phys mem etc that I currently have for localhost. So far I have: C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg define service{ use remote-service ; Name of service template to use host_name bamford-lon-fn1 service_description c: Disk Space check_command check_remote_disk!C:!95!99 } C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg # 'check_remote_disk' command definition define command{ command_name check_remote_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg # Remote service definition template- This is NOT a real service, just a template! define service{ name remote-service use generic-service max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 register 0 } I've seen something about this on the wiki at http://wiki.nagios.org/index.php/Howtos:checkbyssh_RedHat but those commands are more centered around red hat and ssh. Also tried http://wiki.nagios.org/index.php/Howtos:specific but windows os isn't listed (unless windows uses same commands as those listed?). If you could help in any way I'd be most grateful. If I've missed something out/you need more info please let me know. Thx, Paul. Regards, Paul Singh IT Support | Bamford & Daylesford Organic | DDI: +44 (0) 207 259 4938 | Mobile: 07500 607 488 11a West Halkin Street, London SW1X 8JL Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 220598 bytes Desc: image001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 4026 bytes Desc: image002.jpg ------------------------------ ------------------------------------------------------------------------ ------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 58, Issue 22 ******************************************** Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Singh at bamford.co.uk Tue Mar 29 12:06:53 2011 From: Paul.Singh at bamford.co.uk (Paul Singh) Date: Tue, 29 Mar 2011 11:06:53 +0100 Subject: Nagios-users Digest, Vol 58, Issue 22 - Remote Commands In-Reply-To: References: Message-ID: Hi Jamie. Following your advice, I ammended the service entry as follows: define service{ use remote-service ; Name of service template to use host_name bamford-lon-fn1 service_description c: Disk Space check_command check_remote_disk!-H 172.16.56.16!C:!95!99 register 1 } However, when I load the nagios web page, the status of this service now comes up unknown. Have I still done this wrong or do I need to add -H to the generic-service which is defined in templates.cfg? Regards, Paul Singh IT Support | Bamford & Daylesford Organic | DDI: +44 (0) 207 259 4938 | Mobile: 07500 607 488 11a West Halkin Street, London SW1X 8JL -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: 28 March 2011 17:39 To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 58, Issue 22 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Remote commands (James Pratt) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Mar 2011 12:38:19 -0400 From: "James Pratt" Subject: Re: [Nagios-users] Remote commands To: "Nagios Users List" Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD295D9E at nuexchange.norwich.edu> Content-Type: text/plain; charset="us-ascii" Hi, I think your only problem may that you have no "-H $HOSTADDRESS$" on any of your defined commands - This means they will likely execute locally, which is probably why you see the same output. hope that helps jamie From: Paul Singh [mailto:Paul.Singh at bamford.co.uk] Sent: Monday, March 28, 2011 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Remote commands Setup: nagios core v 3.2.3 Nagios monitoring machine: my laptop running windows xpsp3 Remote servers to be monitored: windows server 2003 Directories: C:\Program Files\ICW\etc\nagios\nagios.cfg C:\Program Files\ICW\etc\nagios\nagwin\commands.cfg C:\Program Files\ICW\etc\nagios\nagwin\contacts.cfg C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg C:\Program Files\ICW\etc\nagios\nagwin\timeperiods.cfg C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg Hello. Hope you are well. First time emailing so thought better to put too much info than not enough! I'm trying to define services and commands that will monitor my remote servers. So at present, I have my localhost for which I have the following local commands in localhost.cfg: # Define local commands # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_winprocess --warning $ARG1$ --critical $ARG2$ } # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_pdm2 --processor --warning $ARG1$ --critical $ARG2$ --psamples $ARG3$ --pinterval $ARG4$ } # 'check_local_pyhsical_mem' command definition define command{ command_name check_local_physical_mem command_line $USER1$/check_pdm2 --memory physical --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_virtual_mem command_line $USER1$/check_pdm2 --memory virtual --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_pagefile_mem command_line $USER1$/check_pdm2 --memory pagefile --warning $ARG1$ --critical $ARG2$ } # Define a service to check the disk space of system disk C on the local machine. # Warning if < 20% free, critical if < 10% free space. define service{ use local-service ; Name of service template to use host_name localhost service_description System disk check_command check_local_disk!C:!95!99 } # Define a service to check the number of currently running procs on the local machine. # Warning if > 250 processes, critical if > 400 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400 } # Define a service to check the load on the local machine. 5 samples with 5 secs intervals. # Warning at 80%, Critical at 95% define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!85!95!5!5 } # Define a service to check the physical memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Physical memory check_command check_local_physical_mem!80!90 } # Define a service to check the virtual memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Virtual memory check_command check_local_virtual_mem!80!90 } # Define a service to check the page file usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Page file check_command check_local_pagefile_mem!80!90 } So all these work fine for the localhost. What I'm trying to do now is setup the exact same capability but for the remote servers, and this is where I'm getting stuck. Although I can define a service for the remote servers, the output displayed is the same as I have for my localhost. So for example in the screenshot below, the c: Disk space service, the remote service I tried to setup, is actually using the local command line and showing the same output as the System Disk service on localhost. Can you please advise on how to setup up equivalent remote commands similar to the local commands above? Eventually, I am looking to set up equivalent remote services for current load, page file, phys mem etc that I currently have for localhost. So far I have: C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg define service{ use remote-service ; Name of service template to use host_name bamford-lon-fn1 service_description c: Disk Space check_command check_remote_disk!C:!95!99 } C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg # 'check_remote_disk' command definition define command{ command_name check_remote_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg # Remote service definition template- This is NOT a real service, just a template! define service{ name remote-service use generic-service max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 register 0 } I've seen something about this on the wiki at http://wiki.nagios.org/index.php/Howtos:checkbyssh_RedHat but those commands are more centered around red hat and ssh. Also tried http://wiki.nagios.org/index.php/Howtos:specific but windows os isn't listed (unless windows uses same commands as those listed?). If you could help in any way I'd be most grateful. If I've missed something out/you need more info please let me know. Thx, Paul. Regards, Paul Singh IT Support | Bamford & Daylesford Organic | DDI: +44 (0) 207 259 4938 | Mobile: 07500 607 488 11a West Halkin Street, London SW1X 8JL Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 220598 bytes Desc: image001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 4026 bytes Desc: image002.jpg ------------------------------ ------------------------------------------------------------------------ ------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 58, Issue 22 ******************************************** Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakob+nagios at f-prot.com Tue Mar 29 14:29:16 2011 From: jakob+nagios at f-prot.com (JS) Date: Tue, 29 Mar 2011 12:29:16 +0000 Subject: Service check did not exit properly Message-ID: <4D91D09C.4020808@f-prot.com> Hi. When I run a certain service check on my server via the shell it works fine. However after adding it to Nagios, using exactly the same parameters, it failes and the message "Service check did not exit properly" appears in my Nagios interface. How can I debug this? I've enabled debug logging in nagios.cfg but the log file still tell me very little. Re, JS ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Tue Mar 29 14:53:58 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Tue, 29 Mar 2011 08:53:58 -0400 Subject: Service check did not exit properly In-Reply-To: <4D91D09C.4020808@f-prot.com> References: <4D91D09C.4020808@f-prot.com> Message-ID: <4D91F2860200002F0001E76B@trw.com> Did you set the user and group permissions correctly? >>> JS 2011/03/29 14:29 >>> Hi. When I run a certain service check on my server via the shell it works fine. However after adding it to Nagios, using exactly the same parameters, it failes and the message "Service check did not exit properly" appears in my Nagios interface. How can I debug this? I've enabled debug logging in nagios.cfg but the log file still tell me very little. Re, JS ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Tue Mar 29 15:01:31 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 29 Mar 2011 13:01:31 +0000 Subject: Service check did not exit properly In-Reply-To: <4D91D09C.4020808@f-prot.com> References: <4D91D09C.4020808@f-prot.com> Message-ID: <4D91D82B.90504@flatto.net> JS wrote: > Hi. > > When I run a certain service check on my server via the shell it works > fine. > > However after adding it to Nagios, using exactly the same parameters, > it failes and the message "Service check did not exit properly" appears > in my Nagios interface. > > How can I debug this? I've enabled debug logging in nagios.cfg but > the log file still tell me very little. > > Re, > JS > > can you provide more detail about your configuration ? and the script exit codes ? Assaf ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakob+nagios at f-prot.com Tue Mar 29 15:38:31 2011 From: jakob+nagios at f-prot.com (JS) Date: Tue, 29 Mar 2011 13:38:31 +0000 Subject: Service check did not exit properly In-Reply-To: <4D91F2860200002F0001E76B@trw.com> References: <4D91D09C.4020808@f-prot.com> <4D91F2860200002F0001E76B@trw.com> Message-ID: <4D91E0D7.4030101@f-prot.com> Hmm, on the script? It's all owned by root currently, everything else works fine, owned by root: root at nagios:~# cd /usr/local/nagios/libexec/ root at nagios:/usr/local/nagios/libexec# ls -la check_email* -rwxr-xr-x 1 root root 38883 2011-03-25 18:00 check_email_delivery root at nagios:/usr/local/nagios/libexec# ls -la check_ping -rwxr-xr-x 1 root root 85407 2009-09-23 13:39 check_ping root at nagios:/usr/local/nagios/libexec# I'm trying to add the check_email_delivery script. --js On 29.3.2011 12:53, Andre Kruger wrote: > Did you set the user and group permissions correctly? > > >>> JS 2011/03/29 14:29 >>> > Hi. > > When I run a certain service check on my server via the shell it works > fine. > > However after adding it to Nagios, using exactly the same parameters, > it failes and the message "Service check did not exit properly" appears > in my Nagios interface. > > How can I debug this? I've enabled debug logging in nagios.cfg but > the log file still tell me very little. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakob+nagios at f-prot.com Tue Mar 29 16:09:34 2011 From: jakob+nagios at f-prot.com (JS) Date: Tue, 29 Mar 2011 14:09:34 +0000 Subject: Service check did not exit properly Message-ID: <4D91E81E.5030506@f-prot.com> On 29.3.2011 13:01, Assaf Flatto wrote: > JS wrote: >> >> When I run a certain service check on my server via the shell it works >> fine. >> >> However after adding it to Nagios, using exactly the same parameters, >> it failes and the message "Service check did not exit properly" appears >> in my Nagios interface. >> >> How can I debug this? I've enabled debug logging in nagios.cfg but >> the log file still tell me very little. >> > can you provide more detail about your configuration ? and the script > exit codes ? Sure Assaf. Here is my command configuration: define command{ command_name check_email_delivery_static command_line /usr/local/nagios/libexec/check_email_delivery -H imap.testdomain.local --mailfrom nagios-test at testdomain.local --mailto mail-delivery-test at testdomain.local --username testdomain\\\\\\\\mbox.maildelivery --password S0m3p4ss0123 -w 10 -c 90 --smtp-server 192.168.1.59 --imapssl --libexec /usr/local/nagios/libexec } And when I run this in the shell the output is: root at nagios:~# /usr/local/nagios/libexec/check_email_delivery -H imap.testdomain.local --mailfrom nagios-test at testdomain.local --mailto mail-delivery-test at testdomain.local --username testdomain\\\\\\\\mbox.maildelivery --password S0m3p4ss0123 -w 10 -c 90 --smtp-server 192.168.1.59 --imapssl --libexec /usr/local/nagios/libexec EMAIL DELIVERY OK - 6 seconds, 6 delay | delay=6s;10;90;0 elapsed=6s root at nagios:~# And yes, I need 8 backslashes -- i'm using LikewiseOpen on my IMAP server so I can log in with Active Directory users. These eight slashes are translated to a single one, testdomain\user. Silly but works. I am using check_email_delivery version 0.6.9, the latest ver. from http://buhacoff.net/software/check_email_delivery/ Re, JS ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Tue Mar 29 16:37:28 2011 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 29 Mar 2011 14:37:28 +0000 Subject: Service check did not exit properly In-Reply-To: <4D91E81E.5030506@f-prot.com> References: <4D91E81E.5030506@f-prot.com> Message-ID: <4D91EEA8.8010405@flatto.net> JS wrote: > On 29.3.2011 13:01, Assaf Flatto wrote: > >> JS wrote: >> >>> When I run a certain service check on my server via the shell it works >>> fine. >>> >>> However after adding it to Nagios, using exactly the same parameters, >>> it failes and the message "Service check did not exit properly" appears >>> in my Nagios interface. >>> >>> How can I debug this? I've enabled debug logging in nagios.cfg but >>> the log file still tell me very little. >>> >>> >> can you provide more detail about your configuration ? and the script >> exit codes ? >> > > Sure Assaf. > Here is my command configuration: > > define command{ > command_name check_email_delivery_static > command_line /usr/local/nagios/libexec/check_email_delivery > -H imap.testdomain.local --mailfrom nagios-test at testdomain.local > --mailto mail-delivery-test at testdomain.local --username > testdomain\\\\\\\\mbox.maildelivery --password S0m3p4ss0123 -w 10 -c 90 > --smtp-server 192.168.1.59 --imapssl --libexec /usr/local/nagios/libexec > } > > And when I run this in the shell the output is: > > root at nagios:~# /usr/local/nagios/libexec/check_email_delivery -H > imap.testdomain.local --mailfrom nagios-test at testdomain.local --mailto > mail-delivery-test at testdomain.local --username > testdomain\\\\\\\\mbox.maildelivery --password S0m3p4ss0123 -w 10 -c 90 > --smtp-server 192.168.1.59 --imapssl --libexec /usr/local/nagios/libexec > EMAIL DELIVERY OK - 6 seconds, 6 delay | delay=6s;10;90;0 elapsed=6s > root at nagios:~# > > And yes, I need 8 backslashes -- i'm using LikewiseOpen on my IMAP > server so I can log in with Active Directory users. These eight slashes > are translated to a single one, testdomain\user. Silly but works. > > I am using check_email_delivery version 0.6.9, the latest ver. from > http://buhacoff.net/software/check_email_delivery/ > > Re, > JS > > First thing - try running the script as the nagios user , this might give you more information about why it fails . if memory serves me right , this script is calling some system calls that run in a root privileges space so you may need to sudo the script to make it run properly. Assaf ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardo.maraschini at opservices.com.br Tue Mar 29 16:23:23 2011 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Tue, 29 Mar 2011 11:23:23 -0300 (BRT) Subject: Service check did not exit properly In-Reply-To: <4D91E0D7.4030101@f-prot.com> References: <4D91E0D7.4030101@f-prot.com> Message-ID: <14224505.140.1301408603148.JavaMail.root@mail.opservices.com.br> hello, i'm not sure about it, but maybe you can try to configure your check command to put the error messages into a file. you could configure your check command to something like this: /usr/local/nagios/libexec/check_email_delivery 2>>/tmp/check_email_delivery.errors after the check happen through nagios, look for possible errors on file /tmp/check_email_delivery.errors. hth -- Ricardo Jos? Maraschini OpServices Tecnologia da Informa??o Your IT under control http://www.monitoringconferencelatinamerica.com/ ----- "JS" escreveu: > Hmm, on the script? It's all owned by root currently, everything else > works fine, owned by root: > > root at nagios:~# cd /usr/local/nagios/libexec/ > root at nagios:/usr/local/nagios/libexec# ls -la check_email* > -rwxr-xr-x 1 root root 38883 2011-03-25 18:00 check_email_delivery > root at nagios:/usr/local/nagios/libexec# ls -la check_ping > -rwxr-xr-x 1 root root 85407 2009-09-23 13:39 check_ping > root at nagios:/usr/local/nagios/libexec# > > I'm trying to add the check_email_delivery script. > > --js > > On 29.3.2011 12:53, Andre Kruger wrote: > > Did you set the user and group permissions correctly? > > > > >>> JS 2011/03/29 14:29 >>> > > Hi. > > > > When I run a certain service check on my server via the shell it > works > > fine. > > > > However after adding it to Nagios, using exactly the same > parameters, > > it failes and the message "Service check did not exit properly" > appears > > in my Nagios interface. > > > > How can I debug this? I've enabled debug logging in nagios.cfg but > > the log file still tell me very little. > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet > the > growing manageability and security demands of your customers. > Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your > software > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at kognitio.com Tue Mar 29 16:25:17 2011 From: Deborah.Martin at kognitio.com (Deborah Martin) Date: Tue, 29 Mar 2011 07:25:17 -0700 Subject: Monitoring Microstrategy Message-ID: Folks, Would anyone know where I could get a plugin to monitor Microstrategy ? I've googled but not really found anything useful. Thanks, Deborah *************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *************************************************************************** ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Singh at bamford.co.uk Tue Mar 29 16:43:37 2011 From: Paul.Singh at bamford.co.uk (Paul Singh) Date: Tue, 29 Mar 2011 15:43:37 +0100 Subject: Nagios-users Digest, Vol 58, Issue 22 - Remote Commands In-Reply-To: <9670C703331E014C95C2EA756BDBC3725FCE013C8A@bamford-lon-ex1.Bamford-ltd.local> References: <9670C703331E014C95C2EA756BDBC3725FCE013C8A@bamford-lon-ex1.Bamford-ltd.local> Message-ID: Hi guys. Any word on this? -----Original Message----- From: Paul Singh Sent: 29 March 2011 11:07 To: nagios-users at lists.sourceforge.net Subject: RE: Nagios-users Digest, Vol 58, Issue 22 - Remote Commands Hi Jamie. Following your advice, I ammended the service entry as follows: define service{ use remote-service ; Name of service template to use host_name bamford-lon-fn1 service_description c: Disk Space check_command check_remote_disk!-H 172.16.56.16!C:!95!99 register 1 } However, when I load the nagios web page, the status of this service now comes up unknown. Have I still done this wrong or do I need to add -H to the generic-service which is defined in templates.cfg? Regards, Paul Singh IT Support | Bamford & Daylesford Organic | DDI: +44 (0) 207 259 4938 | Mobile: 07500 607 488 11a West Halkin Street, London SW1X 8JL -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: 28 March 2011 17:39 To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 58, Issue 22 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Remote commands (James Pratt) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Mar 2011 12:38:19 -0400 From: "James Pratt" Subject: Re: [Nagios-users] Remote commands To: "Nagios Users List" Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD295D9E at nuexchange.norwich.edu> Content-Type: text/plain; charset="us-ascii" Hi, I think your only problem may that you have no "-H $HOSTADDRESS$" on any of your defined commands - This means they will likely execute locally, which is probably why you see the same output. hope that helps jamie From: Paul Singh [mailto:Paul.Singh at bamford.co.uk] Sent: Monday, March 28, 2011 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Remote commands Setup: nagios core v 3.2.3 Nagios monitoring machine: my laptop running windows xpsp3 Remote servers to be monitored: windows server 2003 Directories: C:\Program Files\ICW\etc\nagios\nagios.cfg C:\Program Files\ICW\etc\nagios\nagwin\commands.cfg C:\Program Files\ICW\etc\nagios\nagwin\contacts.cfg C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg C:\Program Files\ICW\etc\nagios\nagwin\timeperiods.cfg C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg Hello. Hope you are well. First time emailing so thought better to put too much info than not enough! I'm trying to define services and commands that will monitor my remote servers. So at present, I have my localhost for which I have the following local commands in localhost.cfg: # Define local commands # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_winprocess --warning $ARG1$ --critical $ARG2$ } # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_pdm2 --processor --warning $ARG1$ --critical $ARG2$ --psamples $ARG3$ --pinterval $ARG4$ } # 'check_local_pyhsical_mem' command definition define command{ command_name check_local_physical_mem command_line $USER1$/check_pdm2 --memory physical --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_virtual_mem command_line $USER1$/check_pdm2 --memory virtual --warning $ARG1$ --critical $ARG2$ } # 'check_local_virtual_mem' command definition define command{ command_name check_local_pagefile_mem command_line $USER1$/check_pdm2 --memory pagefile --warning $ARG1$ --critical $ARG2$ } # Define a service to check the disk space of system disk C on the local machine. # Warning if < 20% free, critical if < 10% free space. define service{ use local-service ; Name of service template to use host_name localhost service_description System disk check_command check_local_disk!C:!95!99 } # Define a service to check the number of currently running procs on the local machine. # Warning if > 250 processes, critical if > 400 users. define service{ use local-service ; Name of service template to use host_name localhost service_description Total Processes check_command check_local_procs!250!400 } # Define a service to check the load on the local machine. 5 samples with 5 secs intervals. # Warning at 80%, Critical at 95% define service{ use local-service ; Name of service template to use host_name localhost service_description Current Load check_command check_local_load!85!95!5!5 } # Define a service to check the physical memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Physical memory check_command check_local_physical_mem!80!90 } # Define a service to check the virtual memory usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Virtual memory check_command check_local_virtual_mem!80!90 } # Define a service to check the page file usage the local machine. # Critical if less than 90% of swap is in use, warning if 80% is in use define service{ use local-service ; Name of service template to use host_name localhost service_description Page file check_command check_local_pagefile_mem!80!90 } So all these work fine for the localhost. What I'm trying to do now is setup the exact same capability but for the remote servers, and this is where I'm getting stuck. Although I can define a service for the remote servers, the output displayed is the same as I have for my localhost. So for example in the screenshot below, the c: Disk space service, the remote service I tried to setup, is actually using the local command line and showing the same output as the System Disk service on localhost. Can you please advise on how to setup up equivalent remote commands similar to the local commands above? Eventually, I am looking to set up equivalent remote services for current load, page file, phys mem etc that I currently have for localhost. So far I have: C:\Program Files\ICW\etc\nagios\nagwin\hosts.cfg define service{ use remote-service ; Name of service template to use host_name bamford-lon-fn1 service_description c: Disk Space check_command check_remote_disk!C:!95!99 } C:\Program Files\ICW\etc\nagios\nagwin\localhost.cfg # 'check_remote_disk' command definition define command{ command_name check_remote_disk command_line $USER1$/check_pdm2 --disk --drive $ARG1$ --warning $ARG2$ --critical $ARG3$ } C:\Program Files\ICW\etc\nagios\nagwin\templates.cfg # Remote service definition template- This is NOT a real service, just a template! define service{ name remote-service use generic-service max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 register 0 } I've seen something about this on the wiki at http://wiki.nagios.org/index.php/Howtos:checkbyssh_RedHat but those commands are more centered around red hat and ssh. Also tried http://wiki.nagios.org/index.php/Howtos:specific but windows os isn't listed (unless windows uses same commands as those listed?). If you could help in any way I'd be most grateful. If I've missed something out/you need more info please let me know. Thx, Paul. Regards, Paul Singh IT Support | Bamford & Daylesford Organic | DDI: +44 (0) 207 259 4938 | Mobile: 07500 607 488 11a West Halkin Street, London SW1X 8JL Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. -------------- next part -------------- An HTML attachment was scrubbed... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 220598 bytes Desc: image001.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 4026 bytes Desc: image002.jpg ------------------------------ ------------------------------------------------------------------------ ------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 58, Issue 22 ******************************************** Bamford Ltd. Registered Office: 11A West Halkin Street London, England. SW1X 8JL Registered No. 4950734 England & Wales The contents of this Email communication are confidential to the addressee. If you are not the intended recipient you may not disclose or distribute this communication in any form but should immediately contact the Sender. The information, images, documents and views expressed in this Email are personal to the Sender and do not expressly or implicitly represent official positions and policies of the Bamford group of companies and no authority exists on behalf of Bamford to make any agreements, representations or other binding commitment by means of Email. Certified 100% virus free by Postini Please consider the environment before printing this email. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jannehson51 at yahoo.com Wed Mar 30 14:17:27 2011 From: jannehson51 at yahoo.com (Janne H) Date: Wed, 30 Mar 2011 05:17:27 -0700 (PDT) Subject: Need some help with generating a graph Message-ID: <773706.99879.qm@web112806.mail.gq1.yahoo.com> Hello. I'm trying to generate a graph (with nagiosgrapher) for a check that is run by nrpe. /usr/lib/nagios/plugins/check_nrpe -H some.server.com -c check_apachestatus The result is OK - 2 current apache requests | 'apache requests'=2;5;10 so far, it's fine, but how can I produce a graph this? I need a config file for this, but I need some help on what that file should look like. I think I need a line: graph_log_regex - (\d+) current apache but then the rest is a mystery to me. Anybody with a working example? ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Boblitz at BERTSCHI.com Wed Mar 30 14:29:44 2011 From: John.Boblitz at BERTSCHI.com (Boblitz John) Date: Wed, 30 Mar 2011 14:29:44 +0200 Subject: statusmap.cgi will not install Message-ID: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> Good Day, I have installed nagios on my debian server and, except for the status map - all seems to work as planned. I searched on the forums and saw a similar problem indicating to check the config logs and I found I didn't have everything. So I downlaoded the Boutelles GD tarball and installed as per http://www.debianhelp.co.uk/nagiosinstall.htm but I still ahve no luck - statusmap.cgi refuses to be compiled. I hope someone here can help. What I have: debian squeeze for amd64 - patched to current gd-2.0.33. nagios-3.2.3. nagios-plugins-1.4.15 I've run ./configure with and without --enable-statusmap - doesn't seem to make a difference. the config.log however indicates (often!) that confdefs.h fails. Significantly, it fails on: configure:6502: checking for gdImagePng in -lgd (order 1) configure:6535: gcc -o conftest -g -O2 conftest.c -lgd -lttf -lpng -ljpeg -lz -lm >&5 /usr/bin/ld: cannot find -lttf collect2: ld returned 1 exit status configure:6541: $? = 1 configure: failed program was: | /* confdefs.h. */ [removed a bunch of declarations!] | /* end confdefs.h. */ | /* Override any gcc2 internal prototype to avoid an error. */ | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char gdImagePng(); | | int | main () | { | gdImagePng() | ; | return 0; | } configure:6568: result: no Thanks in advance ... John ---- Who is General Failure, and why is he reading my hard disk? ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallacegerheim at gmail.com Wed Mar 30 15:00:43 2011 From: wallacegerheim at gmail.com (Gerheim) Date: Wed, 30 Mar 2011 10:00:43 -0300 Subject: Distributed Monitoring Message-ID: Hello folks, I'm new on Nagios and nagios-users mailing list. I was looking for addons for Nagios but i didn't find one wich attends me. Let me explain my scenario. If someone could help me, i ll be grateful. I have one nagios central with centreon. I have another nagios (worker), with centreon, wich i want to configure some hots and hostgroups that i don't want to configure on nagios central. But i want to monitor workers host and hotsgroups with nagios central. Summarizing, when i manipulate hosts on workers i don't want to put in nagios central. I've found NCSA, DNX and Gearman but it don't help. Could anyone? Thanks! *Wallace Knopp de Menezes Gerheim* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Mar 30 15:07:51 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 30 Mar 2011 13:07:51 +0000 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: <4D932B27.2010604@flatto.net> Gerheim wrote: > Hello folks, > > I'm new on Nagios and nagios-users mailing list. > I was looking for addons for Nagios but i didn't find one wich attends me. > Let me explain my scenario. If someone could help me, i ll be grateful. > > I have one nagios central with centreon. I have another nagios > (worker), with centreon, wich i want to configure some hots and > hostgroups that i don't want to configure on nagios central. But i > want to monitor workers host and hotsgroups with nagios central. > > Summarizing, when i manipulate hosts on workers i don't want to put in > nagios central. > I've found NCSA, DNX and Gearman but it don't help. > > Could anyone? > Thanks! > > /Wallace Knopp de Menezes Gerheim/ Hello and Welcome. For distributed nagios you want to start here http://nagios.sourceforge.net/docs/3_0/distributed.html The main point that you will need to know is that in order for the central nagios to see the hosts monitored by the worker , the definition of the remote monitored hosts need to also be on the central nagios ( defined as passive checks and hosts) . Nagios currently has no way of "detecting "the "child" hosts of the worker and adding them to it's configuration , there for they have to be defined on both servers ( with minor changes : active/passive) . Assaf ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakob+nagios at f-prot.com Wed Mar 30 15:09:41 2011 From: jakob+nagios at f-prot.com (JS) Date: Wed, 30 Mar 2011 13:09:41 +0000 Subject: Service check did not exit properly In-Reply-To: <4D91EEA8.8010405@flatto.net> References: <4D91E81E.5030506@f-prot.com> <4D91EEA8.8010405@flatto.net> Message-ID: <4D932B95.9000702@f-prot.com> On 29.3.2011 14:37, Assaf Flatto wrote: > First thing - try running the script as the nagios user , this might > give you more information about why it fails . > > if memory serves me right , this script is calling some system calls > that run in a root privileges space so you may need to sudo the script > to make it run properly. Neverminnnnnnnnnnnnnnnnnd. There were some EPN files in the check_email_delivery tar ball. Using those provided much better results ;-) Thanks for all your replies. Re, JS ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 30 16:31:09 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 30 Mar 2011 16:31:09 +0200 Subject: statusmap.cgi will not install In-Reply-To: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> Message-ID: <4D933EAD.8090206@univie.ac.at> Boblitz John wrote: > Good Day, > > I have installed nagios on my debian server and, except for the status > map - all seems to work as planned. > > I searched on the forums and saw a similar problem indicating to check > the config logs and I found I didn't have > everything. So I downlaoded the Boutelles GD tarball and installed as > per http://www.debianhelp.co.uk/nagiosinstall.htm > > but I still ahve no luck - statusmap.cgi refuses to be compiled. > > I hope someone here can help. > > What I have: > > debian squeeze for amd64 - patched to current > gd-2.0.33. the dev(el) packages are also needed in order to let configure finding the header includes. but i'd rather suggest installing nagios from packages too. > > nagios-3.2.3. > nagios-plugins-1.4.15 > > I've run ./configure with and without --enable-statusmap - doesn't seem > to make a difference. > > the config.log however indicates (often!) that confdefs.h fails. > > Significantly, it fails on: > > configure:6502: checking for gdImagePng in -lgd (order 1) > configure:6535: gcc -o conftest -g -O2 conftest.c -lgd -lttf -lpng > -ljpeg -lz -lm>&5 > /usr/bin/ld: cannot find -lttf > collect2: ld returned 1 exit status > configure:6541: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > > [removed a bunch of declarations!] > > | /* end confdefs.h. */ > | /* Override any gcc2 internal prototype to avoid an error. */ > | /* We use char because int might match the return type of a gcc2 > | builtin and then its argument prototype would still apply. */ > | char gdImagePng(); > | > | int > | main () > | { > | gdImagePng() > | ; > | return 0; > | } > configure:6568: result: no > > Thanks in advance ... > > > John > > ---- > > Who is General Failure, and why is he reading my hard disk? > > > > > > > > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From augustineas at gmail.com Wed Mar 30 16:41:19 2011 From: augustineas at gmail.com (Adam Augustine) Date: Wed, 30 Mar 2011 08:41:19 -0600 Subject: Check_APC_PDU Command Definition In-Reply-To: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> References: <4AF89336841CA740B4338F482A8FC74C11BA6D744C@message-drt.sbsworldwide.com> Message-ID: When you say "my APC PDUs report an error for this service", do you mean they report critical, unknown, or something else? On Sun, Mar 27, 2011 at 2:45 PM, Peter Roddan wrote: > Hi Everyone, > > > > Apologies is this is a silly question or something I?ve missed, but I?ve > been going round in circles for ages on this one! > > I?m trying to use Marius Rieder?s pearl script to check the status of some > APC PDUs. > > I have the command working ok, but it?s the Nagios Commands that I?m > failing on ? it?s been a while since I set up our Nagios install, so I think > I?ve some something wrong. > > I?m running Nagios Core 3.2.3, and I?m using the script from here > http://oss.isg.inf.ethz.ch/nagiosplug/ > > > > If I log onto the nagios server as the nagios user, and run the command > from the libexec folder (check_apc_pdu ?H
-C public) I get the > response : > > > > ?OK: All Outlets ok. | load=25? > > > > I have put the following command definition in : > > > > # 'check_apc_pdu' command definition > > define command{ > > command_name check_apc_pdu > > command_line $USER1$/check_apc_pdu.pl -H $HOSTADDRESS$ -C public > > } > > > > And defined the following service > > > > define service{ > > use > generic-service ; Inherit values from a template > > hostgroup_name apc ; > The name of the host the service is associated with > > service_description > check_apc ; The service description > > check_command check_apc_pdu > ; The command used to monitor the service > > normal_check_interval 5 ; > Check the service every 5 minutes under normal conditions > > retry_check_interval 1 ; > Re-check the service every minute until its final/hard state is determined > > } > > > > > > However, my APC PDUs report an error for this service, with a status > information of ?(Null)? > > I?d be grateful for anyone who could point me in the right direction of > where I?m going wrong. > > > > > > Thanks, > > > > Peter > > > > *Peter Roddan* > Senior Systems Analyst * > > SBS Worldwide Ltd - Dartford * > DDI No: +44 (0)1322 424741 > Email :Peter.Roddan at sbsworldwide.com > Website :sbsworldwide.com > > [image: Description: > http://www.sbsworldwide.com/_images/signatures/sig_logo.jpg] > > P Think before you print! > > > > ________________________________________________________________________ > THE DRIVING FORCE BEHIND FREIGHT MANAGEMENT > ________________________________________________________________________ > This email and any files transmitted with it are confidential and may be > privileged or otherwise protected from disclosure. The email is intended > solely for the use of the individual or entity to whom it is addressed and, > if you are not the intended recipient, you must not copy this message or > attachment or disclose the contents to any other person. If you have > received this email in error please notify hostmaster at sbsworldwide.com > > This e-mail has been scanned for all viruses by Messagelabs but no > responsibility will be accepted by SBS Worldwide Group if the recipient?s > computer system is corrupted by information transmitted from this computer > system nor for any delays or problems arising out of or caused by any > corruption. > > All business is conducted strictly subject to SBS standard contract terms > and conditions which are as follows:- > > 1) Business transacted by SBS Worldwide Ltd (UK): British International > Freight Association (BIFA) Standard Trading Conditions, latest edition > > 2) Business transacted by SBS Worldwide Inc (USA): National Customs Brokers > And Forwarders Association of America (NCBFAA) Terms & Conditions of > Service, latest edition > > Copies will be supplied on request or can be viewed on our website as > follows:- > > http://www.sbsworldwide.com/legals > > All quotes , rates and surcharges are subject to market fluctuation. > > SBS Worldwide Ltd registered in England No: 1739816 > > Registered Office: SBS Cargo Centre, Anchor Boulevard, Crossways, Dartford, > Kent DA2 6SB, England > > ________________________________________________________________________ > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 48202 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 John.Boblitz at BERTSCHI.com Wed Mar 30 16:59:12 2011 From: John.Boblitz at BERTSCHI.com (Boblitz John) Date: Wed, 30 Mar 2011 16:59:12 +0200 Subject: statusmap.cgi will not install In-Reply-To: <4D933EAD.8090206@univie.ac.at> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> <4D933EAD.8090206@univie.ac.at> Message-ID: <718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> Thanks for the repsonse. >>the dev(el) packages are also needed in order to let configure finding the header includes. ?? Which packages? I thought I had found all of them! libgd2-xpm libgd2-xpm-dev libgd2 (was listed, but was not installed as it is virtual package in libgd2-xpm) libpng12-dev libjpeg62-dev libgd-tools libpng3-dev (was listed, but was not installed as libpng12-dev superceeded it) >>but i'd rather suggest installing nagios from packages too. I tried that in the beginning, but that was not working properly either .... Cheers, ??? John ---- Who is General Failure, and why is he reading my hard disk? ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve+nagios.users at swsystem.co.uk Wed Mar 30 16:40:39 2011 From: steve+nagios.users at swsystem.co.uk (Steve Wilson) Date: Wed, 30 Mar 2011 15:40:39 +0100 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: <4D9340E7.6020201@swsystem.co.uk> On 30/03/11 14:00, Gerheim wrote: > Hello folks, > > I'm new on Nagios and nagios-users mailing list. > I was looking for addons for Nagios but i didn't find one wich attends me. > Let me explain my scenario. If someone could help me, i ll be grateful. > > I have one nagios central with centreon. I have another nagios > (worker), with centreon, wich i want to configure some hots and > hostgroups that i don't want to configure on nagios central. But i > want to monitor workers host and hotsgroups with nagios central. > > Summarizing, when i manipulate hosts on workers i don't want to put in > nagios central. > I've found NCSA, DNX and Gearman but it don't help. > > Could anyone? > Thanks! > At $dayjob I discovered the same problem, however we also had another problem in that a lot of the servers we want to monitor are in "walled gardens" and only have http(s) access to the internet. Our solution was to semi-create our own uploader mechanism, we use nsca on the receiver side and use a custom submit_check_results that instead of piping the results through nsca_send it writes them into a data file for the time/service which gets stored for scheduled upload via cron. This scheduled uploader keeps track of the hosts/localhost.cfg file and if it detects change adds that to be uploaded too. These files are then bzipped and uploaded via curl to a php script on the nagios server that knows how to save them in for use. The nagios server then has a scheduled process that first looks to see if there's a new config file for hosts and moves it into etc/hosts/*.cfg ( separate files per host ) and then reloads nagios, it then takes the contents of the remaining nagios data files and pipes the contents of them through ncsa. Although this scenario is far from perfect and we've only been working on it for 2 weeks on and off it seems to suit our needs. Maybe looking at a config collector plugin, something like the cisco router config one, and modifying it to store the nagios host config could be used to pass the config through nsca, although I'm not sure how you'd process that on the server to update the host config there. / / -- Steve Wilson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 Mar 30 17:12:03 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 30 Mar 2011 17:12:03 +0200 Subject: statusmap.cgi will not install In-Reply-To: <718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> <4D933EAD.8090206@univie.ac.at> <718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> Message-ID: <4D934843.2060905@univie.ac.at> Boblitz John wrote: > Thanks for the repsonse. > >>> the dev(el) packages are also needed in order to let configure finding the header includes. > ?? Which packages? I thought I had found all of them! > libgd2-xpm > libgd2-xpm-dev > libgd2 (was listed, but was not installed as it is virtual package in libgd2-xpm) > libpng12-dev > libjpeg62-dev > libgd-tools > libpng3-dev (was listed, but was not installed as libpng12-dev superceeded it) are these installed or did you just *find* them ? did you run make distclean before running configure another time? >>> but i'd rather suggest installing nagios from packages too. > I tried that in the beginning, but that was not working properly either .... "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. > Cheers, > > ??? > > John > > ---- > > Who is General Failure, and why is he reading my hard disk? > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adrien.peyron at logica.com Wed Mar 30 17:15:30 2011 From: adrien.peyron at logica.com (Peyron, Adrien) Date: Wed, 30 Mar 2011 15:15:30 +0000 Subject: (no subject) Message-ID: <4497808FA3F1234EAFED26DCE247BA1A2573621C@SE-EX021.groupinfra.com> Hi everyone, I face a little trouble with notifications. Everything seems normal in Nagios (wether web interface and ogs) about sending a mail to an address. But for some checks, the mail is never processed to my postfix for one user (it works perfectly for three other users). Does anyone already faces this issue ? Regards, Adrien Peyron Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 John.Boblitz at BERTSCHI.com Wed Mar 30 17:35:15 2011 From: John.Boblitz at BERTSCHI.com (Boblitz John) Date: Wed, 30 Mar 2011 17:35:15 +0200 Subject: statusmap.cgi will not install In-Reply-To: <4D934843.2060905@univie.ac.at> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> <4D933EAD.8090206@univie.ac.at><718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> <4D934843.2060905@univie.ac.at> Message-ID: <718413D5BCF618498A68930091C4BE9B055D4825@dueexs01.bertschi.domain> >>are these installed or did you just *find* them ? LOL! Yes, they are installed - "found" them on a list of prerequites. >>"was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. Agree. Unfortunately, it wasn't working there either (likely because I'm missing something stupid). In other words - since I was missing the Prerequisites, the debian packages weren't installing the statusmap either. Thats when I started looking for better info ... Apparently, I'm still missing something "trivial" for the statusmap to get compiled ... Only thing I see is the fail of ld to find -lttf ... Thanks again! -----Urspr?ngliche Nachricht----- Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Gesendet: Mittwoch, 30. M?rz 2011 17:12 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] statusmap.cgi will not install Boblitz John wrote: > Thanks for the repsonse. > >>> the dev(el) packages are also needed in order to let configure finding the header includes. > ?? Which packages? I thought I had found all of them! > libgd2-xpm > libgd2-xpm-dev > libgd2 (was listed, but was not installed as it is virtual package in libgd2-xpm) > libpng12-dev > libjpeg62-dev > libgd-tools > libpng3-dev (was listed, but was not installed as libpng12-dev superceeded it) are these installed or did you just *find* them ? did you run make distclean before running configure another time? >>> but i'd rather suggest installing nagios from packages too. > I tried that in the beginning, but that was not working properly either .... "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. > Cheers, > > ??? > > John > > ---- > > Who is General Failure, and why is he reading my hard disk? > > > > ---------------------------------------------------------------------- > -------- Create and publish websites with WebMatrix Use the most > popular FREE web apps or write code yourself; WebMatrix provides all > the features you need to develop and publish your website. > http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 30 18:20:42 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 30 Mar 2011 16:20:42 +0000 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: <06585FB16E769345BC795C57A077FD55019DDF@WPSDGQFQ.OPR.STATEFARM.ORG> My vote is to look at Multisite and livestatus from check_mk project. Dan From: Gerheim [mailto:wallacegerheim at gmail.com] Sent: Wednesday, March 30, 2011 8:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring Hello folks, I'm new on Nagios and nagios-users mailing list. I was looking for addons for Nagios but i didn't find one wich attends me. Let me explain my scenario. If someone could help me, i ll be grateful. I have one nagios central with centreon. I have another nagios (worker), with centreon, wich i want to configure some hots and hostgroups that i don't want to configure on nagios central. But i want to monitor workers host and hotsgroups with nagios central. Summarizing, when i manipulate hosts on workers i don't want to put in nagios central. I've found NCSA, DNX and Gearman but it don't help. Could anyone? Thanks! Wallace Knopp de Menezes Gerheim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 Mar 30 18:36:54 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 30 Mar 2011 18:36:54 +0200 Subject: statusmap.cgi will not install In-Reply-To: <718413D5BCF618498A68930091C4BE9B055D4825@dueexs01.bertschi.domain> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> <4D933EAD.8090206@univie.ac.at><718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> <4D934843.2060905@univie.ac.at> <718413D5BCF618498A68930091C4BE9B055D4825@dueexs01.bertschi.domain> Message-ID: <4D935C26.1010705@univie.ac.at> Boblitz John wrote: > >>> are these installed or did you just *find* them ? > LOL! Yes, they are installed - "found" them on a list of prerequites. it's never that clear, what users do. especially, when it comes to installing pre-requisites :p >>> "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. > Agree. Unfortunately, it wasn't working there either (likely because I'm missing something stupid). In other words - since I was missing the > Prerequisites, the debian packages weren't installing the statusmap either. Thats when I started looking for better info ... > > Apparently, I'm still missing something "trivial" for the statusmap to get compiled ... > > Only thing I see is the fail of ld to find -lttf ... hmmm are you using the defaults repos, or the debian backports? and is it lenny or squeeze? > Thanks again! > > -----Urspr?ngliche Nachricht----- > Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > Gesendet: Mittwoch, 30. M?rz 2011 17:12 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] statusmap.cgi will not install > > Boblitz John wrote: >> Thanks for the repsonse. >> >>>> the dev(el) packages are also needed in order to let configure finding the header includes. >> ?? Which packages? I thought I had found all of them! >> libgd2-xpm >> libgd2-xpm-dev >> libgd2 (was listed, but was not installed as it is virtual package in libgd2-xpm) >> libpng12-dev >> libjpeg62-dev >> libgd-tools >> libpng3-dev (was listed, but was not installed as libpng12-dev superceeded it) > are these installed or did you just *find* them ? > > did you run make distclean before running configure another time? > >>>> but i'd rather suggest installing nagios from packages too. >> I tried that in the beginning, but that was not working properly either .... > "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. > >> Cheers, >> >> ??? >> >> John >> >> ---- >> >> Who is General Failure, and why is he reading my hard disk? >> >> >> >> ---------------------------------------------------------------------- >> -------- Create and publish websites with WebMatrix Use the most >> popular FREE web apps or write code yourself; WebMatrix provides all >> the features you need to develop and publish your website. >> http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > fax: +43 1 4277 14338 > web: http://www.univie.ac.at/zid > http://www.aco.net > > Icinga Core& IDOUtils Developer > http://www.icinga.org > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlemerlus at merethis.com Wed Mar 30 18:35:22 2011 From: rlemerlus at merethis.com (Romain Le Merlus) Date: Wed, 30 Mar 2011 18:35:22 +0200 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: Hi Wallace, On Wed, Mar 30, 2011 at 3:00 PM, Gerheim wrote: > I'm new on Nagios and nagios-users mailing list. > I was looking for addons for Nagios but i didn't find one wich attends me. > Let me explain my scenario. If someone could help me, i ll be grateful. > I have one nagios central with centreon. I have another nagios (worker), > with centreon, wich i want to configure some hots and hostgroups that i > don't want to configure on nagios central. But i want to monitor workers > host and hotsgroups with nagios central. > Summarizing, when i manipulate hosts on workers i don't want to put in > nagios central. > The standard distributed configuration for Centreon is to have a central web server (Centreon & Nagios) and pollers (Nagios). The whole configuration is define on the central server and you associate each host recorded on the correct Nagios engine. Then, with the access control list feature, you can easily choose to display or not hostgroup/host monitoring on the web side for each user connected. Best regards. -- Romain LE MERLUS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 at mnnwahl.com Wed Mar 30 20:00:25 2011 From: mike at mnnwahl.com (mike at mnnwahl.com) Date: Wed, 30 Mar 2011 14:00:25 -0400 (EDT) Subject: Opsview 3.9 -- Configuring the Check OpenManage Plugin for dell servers Message-ID: <1452543488.268752.1301508026108.JavaMail.open-xchange@oxusltgw05.schlund.de> ? Has anyone had success is getting this to work? I have never gotten this work and would love to monitor the Dell openmanage parts in opsview. ? Thanks ? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 maxhetrick at verizon.net Wed Mar 30 20:15:49 2011 From: maxhetrick at verizon.net (Max Hetrick) Date: Wed, 30 Mar 2011 14:15:49 -0400 Subject: Opsview 3.9 -- Configuring the Check OpenManage Plugin for dell servers In-Reply-To: <1452543488.268752.1301508026108.JavaMail.open-xchange@oxusltgw05.schlund.de> References: <1452543488.268752.1301508026108.JavaMail.open-xchange@oxusltgw05.schlund.de> Message-ID: <4D937355.5090504@verizon.net> On 03/30/2011 02:00 PM, mike at mnnwahl.com wrote: > Has anyone had success is getting this to work? I have never gotten this > work and would love to monitor the Dell openmanage parts in opsview. I'd suggest contacting the Opsview community forum, as this really isn't a Nagios issue. Regards, Max ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cameron at campworkz.com Wed Mar 30 19:45:52 2011 From: cameron at campworkz.com (Cameron Camp) Date: Wed, 30 Mar 2011 10:45:52 -0700 Subject: check_snmp output unit conversion Message-ID: <1301507152.29672.22.camel@dv7-laptop> I'm running a command like: ./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l 'Runtime Remaining' -u 'Minutes' on an APC UPS monitoring card, which outputs in seconds like: SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime Remaining=132000 which is 22 minutes. If I divide the output by 6000 I get 22, how would I adjust the output to give me this? I could do it with bash piping, but suspect there's a better way to do it (and it might break something with check_snmp command and the rest of nagios). thx, Cameron ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallacegerheim at gmail.com Wed Mar 30 20:48:54 2011 From: wallacegerheim at gmail.com (Gerheim) Date: Wed, 30 Mar 2011 15:48:54 -0300 Subject: Distributed Monitoring In-Reply-To: References: Message-ID: Thanks everyone for reply. I think i wasn't correctly on my explanation ... My nagios central have a lot of objects (included nagios client objects). I want to manipulate only a few on nagios client. I'm looking to decentralize the "scope" of clients. For example: i have 3 clients. Each one are responsable to monitor some hosts. When they do that, they return the results to central. Clients have nagios and centreon too. Thanks Ps.: Sorry if i wasn't clear. I'm learning English. -- Wallace -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 jcasale at activenetwerx.com Wed Mar 30 21:01:01 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Wed, 30 Mar 2011 19:01:01 +0000 Subject: check_snmp output unit conversion In-Reply-To: <1301507152.29672.22.camel@dv7-laptop> References: <1301507152.29672.22.camel@dv7-laptop> Message-ID: >./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >'Runtime Remaining' -u 'Minutes' > >on an APC UPS monitoring card, which outputs in seconds like: > >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >Remaining=132000 > >which is 22 minutes. If I divide the output by 6000 I get 22, how would >I adjust the output to give me this? I could do it with bash piping, but >suspect there's a better way to do it (and it might break something with >check_snmp command and the rest of nagios). What version of check_snmp? Mine is current and yields expected data. jlc ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 30 23:41:19 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 30 Mar 2011 22:41:19 +0100 Subject: Nagios Weekly Service Check In-Reply-To: <20110323093937.49204.qmail@f5mail-236-203.rediffmail.com> References: <20110323093937.49204.qmail@f5mail-236-203.rediffmail.com> Message-ID: On 23 March 2011 09:39, Nair wrote: > > Hi Friends > > I have below service check defined to perform check every Monday. > > define timeperiod{ > timeperiod_name only_mon > alias Only on monday > monday 11:00-17:00 > } > > define service{ > service_description TEST_SRV > host_name localhost > max_check_attempts 1 > normal_check_interval 120 > retry_check_interval 1 > check_period only_mon > check_command TEST_CMD > use template_TEST > } > The service was last reported on 2011-03-14 17:00:00.But,I am expected to get check reuslt on 2011-03-21 11:00:00. Can you please give me an idea why the weekly check schedule fails. Firstly, note that Nagios will usually only record an entry in the log if the status has changed. Did you check the status of the service and see what the last check time was? If you only want one check at a specific time once a week, then personally I would configure a script to run the check in cron and send a passive check result to Nagios. It's maybe a bit of a pain to learn how to do it the first time but a very useful technique for all sorts of things. hth, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cameron at campworkz.com Thu Mar 31 02:30:35 2011 From: cameron at campworkz.com (Cameron Camp) Date: Wed, 30 Mar 2011 17:30:35 -0700 Subject: check_snmp output unit conversion Message-ID: <1301531435.29672.81.camel@dv7-laptop> >>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >>'Runtime Remaining' -u 'Minutes' >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >>Remaining=132000 >> >>which is 22 minutes. >What version of check_snmp? Mine is current and yields expected data. >jlc packages listed below from Debian Squeeze standard repos Nagios3 3.2.1 nagios_plugins 1.4.15 check_snmp 1.4.15 thx, Cameron ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cameron at campworkz.com Thu Mar 31 03:24:45 2011 From: cameron at campworkz.com (Cameron Camp) Date: Wed, 30 Mar 2011 18:24:45 -0700 Subject: check_snmp output unit conversion Message-ID: <1301534685.29672.89.camel@dv7-laptop> >>>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >>'Runtime Remaining' -u 'Minutes' >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >>Remaining=132000 >> >>which is 22 minutes. >>What version of check_snmp? Mine is current and yields expected data. >>jlc >packages listed below from Debian Squeeze standard repos >Nagios3 3.2.1 >nagios_plugins 1.4.15 >check_snmp 1.4.15 what is strange is that it converts when I have no -w or -c ./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 : SNMP OK - Timeticks: (138000) 0:23:00.00 | but when I include warn/critical it shows seconds again, no matter whether I use seconds like ./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 100000 -c 80000 : SNMP CRITICAL - *138000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=138000 or minutes like ./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 10 : SNMP CRITICAL - *132000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=132000 Thx, Cameron ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Thu Mar 31 03:27:00 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Thu, 31 Mar 2011 01:27:00 +0000 Subject: check_snmp output unit conversion In-Reply-To: <1301531435.29672.81.camel@dv7-laptop> References: <1301531435.29672.81.camel@dv7-laptop> Message-ID: >check_snmp 1.4.15 Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:) ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Boblitz at BERTSCHI.com Thu Mar 31 08:12:16 2011 From: John.Boblitz at BERTSCHI.com (Boblitz John) Date: Thu, 31 Mar 2011 08:12:16 +0200 Subject: statusmap.cgi will not install In-Reply-To: <4D935C26.1010705@univie.ac.at> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> <4D933EAD.8090206@univie.ac.at><718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> <4D934843.2060905@univie.ac.at><718413D5BCF618498A68930091C4BE9B055D4825@dueexs01.bertschi.domain> <4D935C26.1010705@univie.ac.at> Message-ID: <718413D5BCF618498A68930091C4BE9B055D487C@dueexs01.bertschi.domain> "it's never that clear, what users do. especially, when it comes to installing pre-requisites :p" Quote of the Day! "hmmm are you using the defaults repos, or the debian backports? and is it lenny or squeeze?" Squeeze - patched daily... The lib* packages were loaded via package installer (downloaded from the debian mirror ...) Nagios, the plugins and the GD Utilities from the tarballs from Nagios & Boutelles. (I'm following the instructions from here: http://www.debianhelp.co.uk/nagiosinstall.htm, obviously with some adaptation of the versions ....) To be clear - Nagios itself, and the plugins install and run. The statusmap.cgi however is listed as not found when I request that interface in the browser. Maybe I should just look for the ne-key .... -----Urspr?ngliche Nachricht----- Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Gesendet: Mittwoch, 30. M?rz 2011 18:37 An: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] statusmap.cgi will not install Boblitz John wrote: > >>> are these installed or did you just *find* them ? > LOL! Yes, they are installed - "found" them on a list of prerequites. it's never that clear, what users do. especially, when it comes to installing pre-requisites :p >>> "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. > Agree. Unfortunately, it wasn't working there either (likely because > I'm missing something stupid). In other words - since I was missing the Prerequisites, the debian packages weren't installing the statusmap either. Thats when I started looking for better info ... > > Apparently, I'm still missing something "trivial" for the statusmap to get compiled ... > > Only thing I see is the fail of ld to find -lttf ... hmmm are you using the defaults repos, or the debian backports? and is it lenny or squeeze? > Thanks again! > > -----Urspr?ngliche Nachricht----- > Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > Gesendet: Mittwoch, 30. M?rz 2011 17:12 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] statusmap.cgi will not install > > Boblitz John wrote: >> Thanks for the repsonse. >> >>>> the dev(el) packages are also needed in order to let configure finding the header includes. >> ?? Which packages? I thought I had found all of them! >> libgd2-xpm >> libgd2-xpm-dev >> libgd2 (was listed, but was not installed as it is virtual package in libgd2-xpm) >> libpng12-dev >> libjpeg62-dev >> libgd-tools >> libpng3-dev (was listed, but was not installed as libpng12-dev superceeded it) > are these installed or did you just *find* them ? > > did you run make distclean before running configure another time? > >>>> but i'd rather suggest installing nagios from packages too. >> I tried that in the beginning, but that was not working properly either .... > "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. > >> Cheers, >> >> ??? >> >> John >> >> ---- >> >> Who is General Failure, and why is he reading my hard disk? >> >> >> >> --------------------------------------------------------------------- >> - >> -------- Create and publish websites with WebMatrix Use the most >> popular FREE web apps or write code yourself; WebMatrix provides all >> the features you need to develop and publish your website. >> http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > fax: +43 1 4277 14338 > web: http://www.univie.ac.at/zid > http://www.aco.net > > Icinga Core& IDOUtils Developer > http://www.icinga.org > > > ---------------------------------------------------------------------- > -------- Create and publish websites with WebMatrix Use the most > popular FREE web apps or write code yourself; WebMatrix provides all > the features you need to develop and publish your website. > http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > -------- Create and publish websites with WebMatrix Use the most > popular FREE web apps or write code yourself; WebMatrix provides all > the features you need to develop and publish your website. > http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 31 08:46:06 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 31 Mar 2011 08:46:06 +0200 Subject: statusmap.cgi will not install In-Reply-To: <718413D5BCF618498A68930091C4BE9B055D487C@dueexs01.bertschi.domain> References: <718413D5BCF618498A68930091C4BE9B055D4790@dueexs01.bertschi.domain> <4D933EAD.8090206@univie.ac.at><718413D5BCF618498A68930091C4BE9B055D47FE@dueexs01.bertschi.domain> <4D934843.2060905@univie.ac.at><718413D5BCF618498A68930091C4BE9B055D4825@dueexs01.bertschi.domain> <4D935C26.1010705@univie.ac.at> <718413D5BCF618498A68930091C4BE9B055D487C@dueexs01.bertschi.domain> Message-ID: <4D94232E.4070207@univie.ac.at> Boblitz John wrote: > > "it's never that clear, what users do. especially, when it comes to installing pre-requisites :p" > > Quote of the Day! > > "hmmm are you using the defaults repos, or the debian backports? and is it lenny or squeeze?" > > Squeeze - patched daily... > > The lib* packages were loaded via package installer (downloaded from the debian mirror ...) > > Nagios, the plugins and the GD Utilities from the tarballs from Nagios& Boutelles. (I'm following the instructions > from here: http://www.debianhelp.co.uk/nagiosinstall.htm, obviously with some adaptation of the versions ....) > > To be clear - Nagios itself, and the plugins install and run. The statusmap.cgi however is listed as > not found when I request that interface in the browser. > > Maybe I should just look for the ne-key .... http://backports.debian.org/Instructions/ but as far as i have seen there are no recent 3.2.3 packages. i'm only checking regularly those from icinga ;-) so taking custom packages would be preferred either way. > > > > -----Urspr?ngliche Nachricht----- > Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > Gesendet: Mittwoch, 30. M?rz 2011 18:37 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] statusmap.cgi will not install > > Boblitz John wrote: >>>> are these installed or did you just *find* them ? >> LOL! Yes, they are installed - "found" them on a list of prerequites. > it's never that clear, what users do. especially, when it comes to installing pre-requisites :p > >>>> "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. >> Agree. Unfortunately, it wasn't working there either (likely because >> I'm missing something stupid). In other words - since I was missing the Prerequisites, the debian packages weren't installing the statusmap either. Thats when I started looking for better info ... >> >> Apparently, I'm still missing something "trivial" for the statusmap to get compiled ... >> >> Only thing I see is the fail of ld to find -lttf ... > hmmm are you using the defaults repos, or the debian backports? and is it lenny or squeeze? > >> Thanks again! >> >> -----Urspr?ngliche Nachricht----- >> Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] >> Gesendet: Mittwoch, 30. M?rz 2011 17:12 >> An: nagios-users at lists.sourceforge.net >> Betreff: Re: [Nagios-users] statusmap.cgi will not install >> >> Boblitz John wrote: >>> Thanks for the repsonse. >>> >>>>> the dev(el) packages are also needed in order to let configure finding the header includes. >>> ?? Which packages? I thought I had found all of them! >>> libgd2-xpm >>> libgd2-xpm-dev >>> libgd2 (was listed, but was not installed as it is virtual package in libgd2-xpm) >>> libpng12-dev >>> libjpeg62-dev >>> libgd-tools >>> libpng3-dev (was listed, but was not installed as libpng12-dev superceeded it) >> are these installed or did you just *find* them ? >> >> did you run make distclean before running configure another time? >> >>>>> but i'd rather suggest installing nagios from packages too. >>> I tried that in the beginning, but that was not working properly either .... >> "was not working" is a rather huge phrase. i'm pretty sure the debian packages deliever the statusmap.cgi for free providing compiled cgis. >> >>> Cheers, >>> >>> ??? >>> >>> John >>> >>> ---- >>> >>> Who is General Failure, and why is he reading my hard disk? >>> >>> >>> >>> --------------------------------------------------------------------- >>> - >>> -------- Create and publish websites with WebMatrix Use the most >>> popular FREE web apps or write code yourself; WebMatrix provides all >>> the features you need to develop and publish your website. >>> http://p.sf.net/sfu/ms-webmatrix-sf >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 >> fax: +43 1 4277 14338 >> web: http://www.univie.ac.at/zid >> http://www.aco.net >> >> Icinga Core& IDOUtils Developer >> http://www.icinga.org >> >> >> ---------------------------------------------------------------------- >> -------- Create and publish websites with WebMatrix Use the most >> popular FREE web apps or write code yourself; WebMatrix provides all >> the features you need to develop and publish your website. >> http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> ---------------------------------------------------------------------- >> -------- Create and publish websites with WebMatrix Use the most >> popular FREE web apps or write code yourself; WebMatrix provides all >> the features you need to develop and publish your website. >> http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > fax: +43 1 4277 14338 > web: http://www.univie.ac.at/zid > http://www.aco.net > > Icinga Core& IDOUtils Developer > http://www.icinga.org > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From geetha.er at gmail.com Thu Mar 31 11:54:04 2011 From: geetha.er at gmail.com (geetha ramani) Date: Thu, 31 Mar 2011 15:24:04 +0530 Subject: nagios -error Message-ID: hi , i am getting the following error in nagios Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. i have checked everything and verified the configuration options. its works properly in the begining,once i stopped nagios and restarted again it creates this problem and am getting the above error. ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 31 12:01:35 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 31 Mar 2011 10:01:35 +0000 Subject: nagios -error In-Reply-To: References: Message-ID: <4D9450FF.9030407@flatto.net> geetha ramani wrote: > hi , > i am getting the following error in nagios > > Whoops! > > Error: Could not read object configuration data! > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option to > check for errors. > 2. Check the Nagios log file for messages relating to startup or > status data errors. > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try > sending a message to one of the mailing lists. More information can be > found at http://www.nagios.org. > > i have checked everything and verified the configuration options. > its works properly in the begining,once i stopped nagios and restarted > again it creates this problem and am getting the above error. > > Make sure you do not have mulitiple nagios processes running on the system. can you also post the pre load check output or the log section with the errors ? Assaf ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 31 13:50:04 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 31 Mar 2011 12:50:04 +0100 Subject: Donwtime_sched not working correctly In-Reply-To: References: Message-ID: On 23 March 2011 13:12, tom sturme wrote: > > > ________________________________ > From: tom.sturme at live.nl > To: nagios-users-request at lists.sourceforge.net > Subject: Donwtime_sched not working correctly > Date: Wed, 23 Mar 2011 13:00:34 +0100 > > Hi, > > I'm trying to run downtime_sched 3.2 with nagios 3.2.2 That's interesting. I'm on version .30 myself. I must upgrade sometime! > I've done the steps that are defined in the readme file. I can't remember why, but I have the job running at 1 minute past 1 each morning in cron like so: $ crontab -u nagios -l # m h dom mon dow command # Automated scheduled down-time for Nagios. 01 01 * * * /usr/local/nagios/bin/downtime_job.pl > /usr/local/nagios/var/downtime.log 2>&1 To be honest it's probably better if it runs later as you have it as it might not run when the clocks change each year the way I have it. Note that unlike the instructions in the README, I have it outputting to a log file. This is really helpful in seeing if the cron job is working or not. Give it a try, see what comes up in the log file the next morning and if you're still stuck I'll take a closer look for you. Cheers, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 31 13:55:29 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 31 Mar 2011 12:55:29 +0100 Subject: Donwtime_sched not working correctly In-Reply-To: References: Message-ID: p.s. I see in your email you are already outputting to a log file. Is there anything interesting in your /usr/local/nagios/logs/downtime.log file? I see you have yours in the system wide crontab. I don't know if it makes a huge difference but I guess it might help to have it in the crontab for user nagios instead. Cheers, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 31 14:02:24 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 31 Mar 2011 13:02:24 +0100 Subject: Question on encryption for send_nsca In-Reply-To: References: Message-ID: On 23 March 2011 23:51, Steve F wrote: > I have a small test Nagios 3.2 environment on a Suse platform ( 11 & 10 > boxes )and was wondering about the encryption methods used. > > I am working fine with no encryption configured on host or central server. I > am getting all of the checks on the console.? Once I set it to any value > other than 0 on both the server & host, I no longer get anything on the > central server.? I've tried using the simple XOR and 3DES & DES > > If I send a test job from the command line as per the instructions, with no > encryption set ( not even simple XOR ) I see the reply in the nagios.log > file on the Nagios server.? If I set the encryption on both & send the test > job again,( restarting nagios on both)? it says 1 packet was sent > successfully but nothing shows up on the central server. > > I am still learning my way thru Suse & Nagios so not sure if the encryption > process is part of the send_nsca or Suse.? I don't know what encryption is > installed on the suse boxes or even how to check. > > Is there a way to test or check what encryption(s) are installed on the > boxes? > > Since this is ultimately a totally private network, can I use the value of 0 > for no encryption ?? I know the cfg file explicitly says its not recommended I was using LOKI97 (can't remember why now) for Unix systems but then found I couldn't get it working for Windows systems and ended up configuring a separate nsca daemon to receive checks from Windows servers with XOR encryption. Personally unless you're exposed to the outside world or have any checks which transfer passwords or other sensitive information over nsca I wouldn't worry about encryption - it's probably more hassle than it's worth. hth, Jim ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sunny_Jaisinghani at symantec.com Thu Mar 31 14:04:41 2011 From: Sunny_Jaisinghani at symantec.com (Sunny Jaisinghani) Date: Thu, 31 Mar 2011 17:34:41 +0530 Subject: Host notifications not working In-Reply-To: References: Message-ID: Hello Nagios Users, I recently upgraded from Nagios 1.4 to 3.2.3 on RHEL 5. I had to make several changes to my config files to make it work. Everything works, except host notifications. Nagios detects any DOWN hosts but doesn't send out notifications. Here are the commands i use for service and host notifications. please note : service notifications work perfectly fine. The script not.pl is being used since years without any problem. Since the same script is used for service notifications i don't feel the script is broken. Also, when i manually run this script(with the required ARGs) it sends out an email notification. Also, when i submit a passive check through the console for a host DOWN; i get an email notification. define command{ command_name not-service command_line /usr/lib/nagios/not.pl -S -i '$CONTACTALIAS$||$CONTACTEMAIL$||$HOSTNAME$||$HOSTADDRESS$||$HOSTSTATE$| |$SERVICEDESC$||$SERVICE STATE$||$NOTIFICATIONTYPE$||$SERVICENOTIFICATIONNUMBER$||$SHORTDATETIME$ ||$SERVICEOUTPUT$' } define command{ command_name not-host command_line /usr/lib/nagios/not.pl -H -i '$CONTACTALIAS$||$CONTACTEMAIL$||$HOSTNAME$||$HOSTADDRESS$||$HOSTSTATE$| |$NOTIFICATIONTYPE$||$HO STNOTIFICATIONNUMBER$||$SHORTDATETIME$||$HOSTOUTPUT$' } nagios.log: [1301568796] HOST NOTIFICATION: noc;ss01;DOWN;not -host;PING CRITICAL - Packet loss = 100% [1301568806] HOST NOTIFICATION: noc;ss02;DOWN;not -host;PING CRITICAL - Packet loss = 100% [1301568826] HOST NOTIFICATION: noc;ss03;DOWN;not-host;PING CRITICAL - Packet loss = 100% [1301569426] HOST NOTIFICATION: noc;ts01;DOWN;not-host;PING CRITICAL - Packet loss = 100% [1301569696] HOST NOTIFICATION: noc;ss01;DOWN;not-host;PING CRITICAL - Packet loss = 100% Am i missing anything that nagios 3 is not happy about. Thanks Sunny -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 geetha.er at gmail.com Thu Mar 31 14:38:48 2011 From: geetha.er at gmail.com (geetha ramani) Date: Thu, 31 Mar 2011 18:08:48 +0530 Subject: nagios -error In-Reply-To: <4D9450FF.9030407@flatto.net> References: <4D9450FF.9030407@flatto.net> Message-ID: hi, i have added a new user for nagios webaccess . i have checked the nagios configuration,there was no error. i have added the new user in my contacts.cfg and also in htpasswd. i can able to view the list of services running on nagios .but sometinmes i am getting the below error ,can anybody tell me anything i have missed for the configuration of new user in nagios. It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. ... On Thu, Mar 31, 2011 at 3:31 PM, Assaf Flatto wrote: > geetha ramani wrote: >> hi , >> ?i am getting the following error in nagios >> >> Whoops! >> >> Error: Could not read object configuration data! >> >> Here are some things you should check in order to resolve this error: >> >> ? ?1. Verify configuration options using the -v command-line option to >> check for errors. >> ? ?2. Check the Nagios log file for messages relating to startup or >> status data errors. >> >> Make sure you read the documentation on installing, configuring and >> running Nagios thoroughly before continuing. If all else fails, try >> sending a message to one of the mailing lists. More information can be >> found at http://www.nagios.org. >> >> i have checked everything and verified the configuration options. >> its works properly in the begining,once i stopped nagios and restarted >> again it creates this problem and am getting the above error. >> >> > Make sure you do not have mulitiple ?nagios processes running on the system. > > can you also post the pre load check output or the log section with the > errors ? > > Assaf > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Thu Mar 31 15:42:05 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Thu, 31 Mar 2011 14:42:05 +0100 Subject: nagios send_nsca Message-ID: Hi - hope someone can help me with the above, I want to use this to send multiple lines of output via send_nsca and them to be displayed as separate lines in Nagios under the "Status Information" box BUT ALL for the same Service check. I've done this in the past and can't for the life of me remember how I did it now. So the input file will be something like this: This is line 1
This is line 2
This is line 3
etc. Like I say I'm sure at a previous role I was doing it like this and it worked fine, however now all I get displayed in Nagios is: This is line 1
This is line 2
This is line 3
etc. Rather than: This is line 1 This is line 2 This is line 3 etc. Thanks. Julian Grunnell | UNIX Analyst, Infrastructure | TD Waterhouse T: +44 (0) 113 346 2824 | M: +44 (0) 788 935 2527 _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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 Mar 31 17:14:07 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 31 Mar 2011 16:14:07 +0100 Subject: nagios send_nsca In-Reply-To: References: Message-ID: On 31 March 2011 14:42, wrote: > > Hi - hope someone can help me with the above, I want to use this to send > multiple lines of output via send_nsca and them to be displayed as separate > lines in Nagios under the "Status Information" box BUT ALL for the same > Service check. I've done this in the past and can't for the life of me > remember how I did it now. So the input file will be something like this: > > ? ? ? ? ? This is line 1
This is > line 2
This is line 3
etc. > > Like I say I'm sure at a previous role I was doing it like this and it > worked fine, however now all I get displayed in Nagios is: > > This is line 1
This is line 2
This is line 3
etc. > > Rather than: > > This is line 1 > This is line 2 > This is line 3 > etc. I'm not entirely sure, but is it this directive in cgi.cfg you need?:- # ESCAPE HTML TAGS # This option determines whether HTML tags in host and service # status output is escaped in the web interface. If enabled, # your plugin output will not be able to contain clickable links. escape_html_tags=0 ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khurramazizkhalid at yahoo.com Thu Mar 31 22:51:04 2011 From: khurramazizkhalid at yahoo.com (khurram aziz) Date: Thu, 31 Mar 2011 13:51:04 -0700 (PDT) Subject: monitor http traffic Message-ID: <781033.17800.qm@web45901.mail.sp1.yahoo.com> Hi, I?have a windows server 2003 based web server ( IIS) that has?5 websites running on it and each web site has a?application pool allocated to it.?What I want to do is to add this web server in my Nagios? so that I can?keep an eye on?whether these?services are running or not and at the same time also to graph their performance using?pnp4nagios... can some1 walk me through the configurations plz....... ?Khurram Aziz Khalid -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf -------------- 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