From yokoyoko at rd.aisin.co.jp Mon Jun 1 02:41:05 2009 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Mon, 1 Jun 2009 09:41:05 +0900 Subject: (ndoutils) DB create error In-Reply-To: <1278455220.2325141243332235974.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1278455220.2325141243332235974.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: Hi :-) I cleared up. I found no file in the folder db/ except installdb I don't know the reason. I put mysql.sql in db/ Folder. I could install ndoutils. Thaks a lot ! --------------------------------------------------------- Yoshinari Yokota MailTo:yokoyoko at rd.aisin.co.jp (Office) --------------------------------------------------------- > Are you sure there is a database called ndoutils? If not, you'll > have to create it ("create database ndoutils" or something similar). > > Marc-Andr? > > ----- Mail Original ----- > De: yokoyoko at rd.aisin.co.jp > ?: nagios-users at lists.sourceforge.net > Envoy?: Mardi 26 Mai 2009 11h17:47 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: [Nagios-users] (ndoutils) DB create error > > > > Hi, everybody :-) > > I have a problem about ndoutils. > Please help me ! > > < Problem > > > ./installdb -u root -p yokoMySql -h localhost -d ndoutils > > DBD::mysql::db do failed: Table 'ndoutils.nagios_dbversion' doesn't > exist at ./installdb line 51. > No installation script found! at ./installdb line 62 > > So, I cannot create DB. > > < System > > > OS : Red Hat Enterprise Linux 5 > Nagios : Ver. 3.10 > ndoutils : 1.4b7 > > Best Regard > --------------------------------------------------------- > Yoshinari Yokota > --------------------------------------------------------- > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at danielemmanuelfeinsmith.com Mon Jun 1 07:21:37 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Sun, 31 May 2009 22:21:37 -0700 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> Message-ID: <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Dear Nagios Community, I am pleased to announce the first and only fully native iPhone and iPod Touch app for Nagios, Brooklyn for Nagios, is now on the iPhone store and can be downloaded at: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=317040435&mt=8 This app is different from iNag and other similar iPhone applications that use Nagios in that it does not require any changes whatsoever to your Nagios server. It is a complete Nagios standalone native client. Just download it to your iPhone or iPod Touch, set up the settings to point to your nagios server, and you're done. If your server is accessible through VPN, first set up your VPN connection on your iPhone or iPod Touch. Enjoy! And please send any feedback or requests to daniel at feinsmithsoftware.com Coming soon: Support for other platforms, including Groundwork Open Source. Best Regards, Daniel. On May 30, 2009, at 5:05 PM, Marc Powell wrote: > > On May 30, 2009, at 11:43 AM, Arnar ??rarinsson wrote: > >> Hi all, >> How can I make it so that if a host goes down Nagios will only >> report the host down and not all the services on that host ? >> All I want to get is a host down alert. >> Yes I know RTFM... but I have and I can't seem to find this in the >> docs. > > Nagios will only send an e-mail for the single Host down event but > will always display both the host and services as down (because they > are). This is not configurable behavior and I can't think of any > creative way to change the status of the services in that event that > isn't a pain... > > -- > Marc > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From art at flugstodir.is Mon Jun 1 10:09:22 2009 From: art at flugstodir.is (=?ISO-8859-1?Q?Arnar_=DE=F3rarinsson?=) Date: Mon, 1 Jun 2009 08:09:22 +0000 Subject: newbie question... In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <4A229DAB.6030209@gmail.com> Message-ID: So there is no way of getting just the host down alert when a host goes down ? To explain a little, lets say I'm monitoring CPU, memory and disk space on a host. The host goes down and Nagios sends an alert by email for the host down event and also for the CPU, memory and disk space events. All I need to know about this event is that the host is down. Just think that it's not neccessary to send an alert email about services on a host that is down. /Arnar Marc Powell 05/31/2009 03:53 PM To Nick Hasser cc nagios-user Mailinglist Subject Re: [Nagios-users] newbie question... On May 31, 2009, at 10:09 AM, Nick Hasser wrote: > I haven't had a situation like this yet, so this is more a theoretical > question, but how do you monitor services which are provided by > redundant servers with failover (i.e. services are still up when a > particular physical server is down)? Using the check_cluster plugin is most common. You monitor the individual machines and services and check_cluster reflects the overall state of the service being monitored. http://nagios.sourceforge.net/docs/3_0/clusters.html -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar og er eingongu aetladur theim sem hann er stiladur a. Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist ekki starfsemi Flugstoda ohf. Ef Thu ert ekki skradur mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast hafdu strax samband vid sendanda. ------------------------------------------------ This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Mon Jun 1 11:47:22 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Mon, 01 Jun 2009 15:17:22 +0530 Subject: How to send notification to non-admin group ? In-Reply-To: <94122085-94D2-4E1F-8D23-300108EAA083@ena.com> References: <4A1F9A29.8030003@infoservices.in> <4A1FB124.2070905@infoservices.in> <94122085-94D2-4E1F-8D23-300108EAA083@ena.com> Message-ID: <4A23A3AA.8030401@infoservices.in> Marc Powell wrote: > On May 29, 2009, at 4:55 AM, J. Bakshi wrote: > > >>>> contact_groups admins,others ; Notifications get sent to >>>> the admins by default >>>> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A >>>> REAL >>>> HOST, JUST A TEMPLATE! >>>> > > >> yes, I have restarted the nagios a no. of times but no success. >> Regarding the host defination I have already posted it in my >> previous post. >> > > What you posted originally was not a host definition but rather a host > _template_. The difference is critical and you even explain it in ALL > CAPS above. The 'register 0' means that nagios isn't supposed to treat > it as a host to check but rather as something that will be referenced > in a subsequent host definition with a 'use' statement. Find where > you 'use serverA' and look at that definition. If contact_groups is > defined there, what's used in the template doesn't matter. > It is working now. I have to put the group in the "define service" section also. Thanks > >> There is a noticeable line like >> >> contact_groups admins,others ; Notifications get sent to the >> admins by default >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^ >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> > > This wouldn't matter if the actual host definition overrides it. > That's what I'm trying to determine. > > >> is there anything which prevents my non admin group ? >> > > Nothing outside of a configuration or logic error would. admins, non- > admins, it's all the same to nagios. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 14:06:04 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 07:06:04 -0500 Subject: newbie question... In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <4A229DAB.6030209@gmail.com> Message-ID: <09B6D808-6A50-4F19-BEF0-300AE3F9B8B6@ena.com> On Jun 1, 2009, at 3:09 AM, Arnar ??rarinsson wrote: > So there is no way of getting just the host down alert when a host > goes down ? > > To explain a little, lets say I'm monitoring CPU, memory and disk > space on a host. > The host goes down and Nagios sends an alert by email for the host > down event and > also for the CPU, memory and disk space events. All I need to know > about this event is that the host is down. > Just think that it's not neccessary to send an alert email about > services on a host that is down. And so does nagios. As I said earlier, nagios does this automatically. To restate - when a host is down, nagios suppresses all e-mail notifications about that hosts services, but will still display them as down in the GUI. It will only send the host down notification. The first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html states it best. It still applies to 3.x but I haven't found the section that states it as clearly. -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mattias.ryrlen at op5.com Mon Jun 1 15:03:10 2009 From: mattias.ryrlen at op5.com (=?ISO-8859-1?Q?Mattias_Ryrl=E9n?=) Date: Mon, 1 Jun 2009 15:03:10 +0200 Subject: Only hard status on tactical display? In-Reply-To: <200905032101.57134.divan.santana@gmail.com> References: <200905032101.57134.divan.santana@gmail.com> Message-ID: <8357ce520906010603w402be942wdfe51f8d41d22a4e@mail.gmail.com> Hi, i have reported this to http://tracker.nagios.com as feature: 16: Possibility to only show HARD states in tac.cgi Best Regards Mattias Ryrl?n On Sun, May 3, 2009 at 9:01 PM, Divan Santana wrote: > Hi All, > > Has anyone managed to figure out how to only show "hard" status' on the > tactical display screen? > > I hope so... otherwise I'd like to request this as a feature/wish list... > -- > Divan Santana > > > On Tuesday 16 December 2008 17:24:10 Matthew Pounsett wrote: >> My tactical display gets posted on a large monitor in the office which >> is visible to all staff. ?Since the tactical display shows every soft >> warning or critical state, I often get questions about "what's >> broken?" when we've merely lost a single UDP packet while testing a >> DNS server, or something similarly innocuous. ?I'm considering >> modifying tac.cgi so that it only displays warning or critical HARD >> statuses, and not SOFT. I did a few searches on nagios exchange and >> didn't find anything already there... but thought I'd ask to avoid re- >> inventing the wheel: has anyone done this before that wants to share >> code? >> >> If I don't hear back from anyone I'll go ahead and try to do this >> myself. ?If successful I'll share the diff back to the list. >> >> Cheers, >> ? Matt > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- V?nliga h?lsningar / Best Regards Mattias Ryrl?n __________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 G?teborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Mon Jun 1 17:31:06 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 1 Jun 2009 11:31:06 -0400 Subject: New perl module: Nagios::Plugin::WWW::Mechanize In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD608FD0CC9@missemsa01.bsg.ad.adp.com> References: <06ACB648-D50B-4BA0-A3C1-C7CD5BF7DFF6@opsera.com> <30A417B62E7EE448B3864ADC881CEFD608FD0CC9@missemsa01.bsg.ad.adp.com> Message-ID: >-----Original Message----- >From: Onotsky, Steve x55328 [mailto:Steve.Onotsky at broadridge.com] >Sent: Friday, May 29, 2009 12:04 PM >To: Ton Voon; Nagios Users Mailinglist >Subject: Re: [Nagios-users] New perl module: >Nagios::Plugin::WWW::Mechanize > >> -----Original Message----- >> From: Ton Voon [mailto:ton.voon at opsera.com] >> Sent: May 29, 2009 04:27 >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] New perl module: >Nagios::Plugin::WWW::Mechanize >> >> Hi! >> >> Just to let you all know there is a new perl module on CPAN: >> Nagios::Plugin::WWW::Mechanize. >> >> You can use this to monitor your website, POSTing your login >> credentials, navigating through your site, and picking out specific >> content information. The example shows how I use it to capture the >> number of users that are subscribed to the opsview-users mailing list, >> after logging into Mailman's authentication system. >> >> News story here: http://nagiosplugins.org/node/102 > >Cheers! This is exactly the thing I'd been waiting for. Yes, I know I >could use webinject, but I'm much happier with a Perl interface. >Thanks! > >> I'll also be running a workshop on this at the Nordic Meet next week. >> You'll wonder how you lived without this! See you there! >> >> Ton > >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. > This certainly sounds cool. The only reason I'd been starting to look at WebInject myself was for NTLM authentication support which it's rumoured to have, but I couldn't get to work. Any chance this new perl module might support NTLM authentication? (I have a Sharepoint server I want to check). Thanks Mark ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abiemeralds at yahoo.com Mon Jun 1 18:42:55 2009 From: abiemeralds at yahoo.com (emma abi) Date: Mon, 1 Jun 2009 09:42:55 -0700 (PDT) Subject: Can't do Serial Checks with Nagios 3.0.6 Message-ID: <820100.50811.qm@web53910.mail.re2.yahoo.com> --- On Thu, 5/28/09, emma abi wrote: > From: emma abi > Subject: Can't do Serial Checks with Nagios 3.0.6 > To: nagios-users at lists.sourceforge.net > Date: Thursday, May 28, 2009, 4:24 PM > hello Ethan, > Really I want to appreciate your work on Nagios it is > really a wonderful solution. > I have a challenge with monitoring with Nagios 3.0.6. > My network diagram is somehow complex and I want Nagios to > monitoring it accurately for me. > > All my remote sites are connected to a Hub while they take > Internet access from the head office that is remote. I am at > the monitoring office which is different from both the head > office and the remotes sites. > > Since they get their internet access from the headoffice, I > want nagios to monitoring it in such a way that once the > head office goes down, all remote regardless of the fact > that they are not connected to he headoffice directly. How > do I do this. > > I have done a parent/child relationship btw the headoffice > and the remotes but the remote still remain up when the > headoffice goes down. I have done host dependencies but it > is still thesame thing. > please help. > I am using sles10 SP2 with nagios 3.0.6 with nagiosql, > NdoUtils and Nagvis1.4. > > Expecting your reply cos it is really challenging. > > thanks > > > > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wesbrooksj at amerch.com Mon Jun 1 18:56:54 2009 From: wesbrooksj at amerch.com (Justin Wesbrooks) Date: Mon, 1 Jun 2009 11:56:54 -0500 Subject: Installing Nagios on virtual hosted env on RHEL Message-ID: <5B7FCF78-FC8E-445D-9D5B-54914E380816@amerch.com> Hi guys, I'm new to Nagios. I just followed the quick start guide for installing on Fedora (though I'm on RHEL). Everything went ok. I tried to hit the /nagios page and get nothing. I'm using virtual hosts so I tried to add a virtual host that pointed to /usr/local/ nagios as the doc root. That doesn't work either. I'm doing a very vanilla install at this point with the default config files etc. Any pointers? Thanks ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at mndigital.com Mon Jun 1 19:45:31 2009 From: jsullivan at mndigital.com (Janet Sullivan) Date: Mon, 1 Jun 2009 10:45:31 -0700 Subject: check_http oddness Message-ID: <639A81928082A94DA5EC95A8E723B94938BC28@SEAMAIL01.musicnet.com> I'm having an interesting problem with check_http. It's popping off a critical alert after timing out, but a packet capture on the box running check_http shows that the server did return data - for some reason check_http just isn't showing it, even when I use -v from the command line. This is against a "FlashCom/3.04" server (Flash Streaming). Here's an example capture from curl (user name & password XXX'd out): Command: Curl http://tkfstrm06:8080/admin/ping?auser=XXX\&apswd=XXX Sent: GET /admin/ping?auser=XXX&apswd=XXX HTTP/1.1 User-Agent: curl/7.19.5 (amd64-portbld-freebsd7.2) libcurl/7.19.5 OpenSSL/0.9.8e zlib/1.2.3 c-ares/1.4.0 libssh2/1.1 Host: tkfstrm06:8080 Accept: */* Received: HTTP/1.1 200 OK Connection: Keep-Alive Content-Length: 178 Content-Type: application/xml Cache-Control: no-cache Server: FlashCom/3.0.4 .status .NetConnection.Call.Success .Mon 01 Jun 2009 10:15:30 AM PDT And now check_http. Command used: ./check_http -I tkfstrm06 -p 8080 -u /admin/ping?auser=XXX\&apaswd=XXX -v Check_http reports a timeout, however, a packet capture shows that data was in fact received. Data Sent: GET /admin/ping?auser=XXX&apaswd=XXX HTTP/1.0 User-Agent: check_http/v2053 (nagios-plugins 1.4.13) Connection: close Data Received: HTTP/1.0 200 OK Connection: Keep-Alive Content-Length: 254 Content-Type: application/xml Pragma: no-cache Cache-Control: no-cache Server: FlashCom/3.0.4 .error .NetConnection.Connect.Rejected .Administrator login failed for user untrust. .Mon 01 Jun 2009 10:15:35 AM PDT I'm at a loss here. I've tried using -H instead of -I, and I've tried matching the headers as best as I can, but the same problem persists. Check_http still doesn't show that its getting any data back to its query... but I know from tcpdump that it is, and quickly. Any suggestions? Check_http does work against other sites from this box, but seems to have this problem against any Flash server I try. Since ie, firefox, curl, wget, and lynx all work against these flash servers, it makes me think something is odd with check_http. Janet Sullivan, Sr. Network Engineer MusicNet, Inc. d/b/a MediaNet Digital, Inc. 2401 Elliott Avenue, Suite 300 Seattle, WA? 98121 T (206) 269-6020 * F (206) 269-6100 * jsullivan at mndigital.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Mon Jun 1 19:47:49 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 1 Jun 2009 14:47:49 -0300 Subject: Plugin to check squid Message-ID: Hi, Are there any plugin to check the performance of squid? Cheers Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 20:20:42 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 13:20:42 -0500 Subject: Installing Nagios on virtual hosted env on RHEL In-Reply-To: <5B7FCF78-FC8E-445D-9D5B-54914E380816@amerch.com> References: <5B7FCF78-FC8E-445D-9D5B-54914E380816@amerch.com> Message-ID: <274EF766-C3B2-47A3-BC84-7F5D8C6016F0@ena.com> On Jun 1, 2009, at 11:56 AM, Justin Wesbrooks wrote: > Hi guys, > I'm new to Nagios. I just followed the quick start guide for > installing on Fedora (though I'm on RHEL). Everything went ok. I > tried to hit the /nagios page and get nothing. I'm using virtual > hosts so I tried to add a virtual host that pointed to /usr/local/ > nagios as the doc root. That doesn't work either. I'm doing a very > vanilla install at this point with the default config files etc. Any > pointers? This is what I use (under apache 1.3 at least). Access is at http://my.nagios.foo/ -- ServerName my.nagios.foo Serveradmin admin at email.address DocumentRoot /usr/local/nagios/share ScriptAlias /cgi/ "/usr/local/nagios/sbin/" ErrorLog /var/log/httpd/my.nagios.foo-error.log CustomLog /var/log/httpd/my.nagios.foo-access.log combined AllowOverride AuthConfig Options ExecCGI Satisfy All AllowOverride AuthConfig order allow,deny allow from all -- Marc ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Jun 1 20:46:05 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 01 Jun 2009 14:46:05 -0400 Subject: Host dependencies not being picked up... Message-ID: <4A2421ED.4000403@gmail.com> The bulk of my systems are behind one of three switches. I just went through my hosts.cfg file and added the "parents" line and appropriate switch name for each, but the host dependencies aren't showing up. I do use a host template for most of the servers and then other specifics. Below is a sample of what's defined. Initially I thought the issue was the Nagios server being in the same switch as one of the switches, but the last entry below shows a switch defined as a parent and the Nagios server is not behind the switch (Nagios is behind flscrb234srvsw5, the last host is behind flscrb234srvsw6). The VLAN is the same for all the hosts in the three switches... all hosts operate on 10.1.1.x/16 or 10.1.80.x/16 which is all a single VLAN. I'd appreciate any thoughts on why it might not be working: # -- Network Switches define host { name Network-Switches register 0 hostgroups network-switches check_command check-host-alive icon_image cisco.jpg icon_image_alt Cisco Device max_check_attempts 3 check_period 24x7 contact_groups networkadmins notification_interval 120 notification_period 24x7 notification_options d, u, r, f, s } define host { host_name flscrb234srvsw5 use Network-Switches alias 4948-5 - B234 address 10.100.0.45 } define host { host_name flscrb234srvsw6 use Network-Switches alias 4948-6 - B234 address 10.100.0.46 } ... ##### Linux Hosts ##### # -- Linux host define host { name Linux-Servers register 0 hostgroups linux-servers check_command check-host-alive icon_image tux.png icon_image_alt Linux Server max_check_attempts 3 check_period 24x7 contact_groups unixadmins notification_interval 120 notification_period 24x7 notification_options d, u, r, f, s } define host { host_name aten use Linux-Servers alias Aten (SLES) address 10.1.80.3 parents flscrb234srvsw5 } ... define host { host_name delos use Linux-Servers alias Delos (CentOS) address 10.1.1.93 parents flscrb234srvsw6 } Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 673 services. Checking hosts... Checked 168 hosts. Checking host groups... Checked 23 host groups. Checking service groups... Checked 36 service groups. Checking contacts... Checked 9 contacts. Checking contact groups... Checked 12 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 30 service dependencies. Checking host escalations... Checked 0 host escalations. *Checking host dependencies... Checked 0 host dependencies.* Checking commands... Checked 58 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 20:55:00 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 13:55:00 -0500 Subject: Host dependencies not being picked up... In-Reply-To: <4A2421ED.4000403@gmail.com> References: <4A2421ED.4000403@gmail.com> Message-ID: On Jun 1, 2009, at 1:46 PM, Andrew Davis wrote: > The bulk of my systems are behind one of three switches. I just went > through my hosts.cfg file and added the "parents" line and > appropriate switch name for each, but the host dependencies aren't > showing up. Parents and host dependencies are not the same thing. parents is probably what you want and have configured correctly based on the information you've provided. Nagios doesn't count them for the summary. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 20:58:23 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 13:58:23 -0500 Subject: Plugin to check squid In-Reply-To: References: Message-ID: On Jun 1, 2009, at 12:47 PM, Eduardo Barreto wrote: > Hi, > > Are there any plugin to check the performance of squid? Define performance... To me, that's how quickly squid is serving data. check_http can check that. See the recent thread 'General tcp_check question' for an example. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Jun 1 21:00:11 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 01 Jun 2009 15:00:11 -0400 Subject: newbie question... In-Reply-To: <09B6D808-6A50-4F19-BEF0-300AE3F9B8B6@ena.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <4A229DAB.6030209@gmail.com> <09B6D808-6A50-4F19-BEF0-300AE3F9B8B6@ena.com> Message-ID: <4A24253B.4090909@gmail.com> Marc Powell wrote: > On Jun 1, 2009, at 3:09 AM, Arnar ??rarinsson wrote: > > >> So there is no way of getting just the host down alert when a host >> goes down ? >> >> To explain a little, lets say I'm monitoring CPU, memory and disk >> space on a host. >> The host goes down and Nagios sends an alert by email for the host >> down event and >> also for the CPU, memory and disk space events. All I need to know >> about this event is that the host is down. >> Just think that it's not neccessary to send an alert email about >> services on a host that is down. >> > > And so does nagios. As I said earlier, nagios does this automatically. > To restate - when a host is down, nagios suppresses all e-mail > notifications about that hosts services, but will still display them > as down in the GUI. It will only send the host down notification. > > The first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html > states it best. It still applies to 3.x but I haven't found the > section that states it as clearly. > > -- > Marc > If I'm interpreting your question correctly, you're saying that when one of your servers actually goes down, you ARE getting alerts (email/SMS/whatever) for more than just the host being down??? I see what Marc's saying... he's telling you this shouldn't be. Nagios was built to check first that the host is up and reachable, and if its not to notify you the host is down, but to not ALERT you about all host-dependent tests that are now failing. Nagios will still try all tests and fail on them and the web interface will reflect more than just the HOST DOWN, but the only email/SMS you get should be for the HOST DOWN. However, you may need to clarify what you mean by *down*. *Down* does not always mean off or 100% non-responsive. In the case of *nix systems I've seen quite a few times where a server will hang, fail, or segfault but still be reachable over the network. The reason is that parts of the OS are in memory and things like pings from remote hosts still respond, even though the overall functionality of the host itself is down (ISP's get this a lot: host pings, but you can't ssh in, for example). If Nagios can ping the host, it will then try the other tests and alert on them. Here's a quick way to narrow this down: turn off the server (shut down and pull power). The Nagios web interface should show the host down and all tests as failing, but the only email/SMS you should get is the host down. If you still get emailed/alerted then you might have a configuration error. Perhaps you didn't properly define your host checks as opposed to service checks? Do you have a check_ping or check_icmp host check for each host? AD -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Jun 1 21:06:57 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 01 Jun 2009 15:06:57 -0400 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Message-ID: <4A2426D1.6050002@gmail.com> You mention VPN support, but what about SSL support for exposed, but secured Nagios sites? Can it handle self-signed certs or only those from a valid, public CA? Also, personally I don't mind the $5 charge, but you might consider giving it away for free for 30 days or so, getting patches and fixes and such, then charging for it after the first release of bugfixes. You might quickly find that just cause it works on your Nagios site that doesn't mean it will work on all and some code changes might be needed. Just my $0.02 worth... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan D. Emmanuel Feinsmith wrote: > Dear Nagios Community, > > I am pleased to announce the first and only fully native iPhone and > iPod Touch app for Nagios, Brooklyn for Nagios, is now on the iPhone > store and can be downloaded at: > > http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=317040435&mt=8 > > This app is different from iNag and other similar iPhone applications > that use Nagios in that it does not require any changes whatsoever to > your Nagios server. It is a complete Nagios standalone native client. > Just download it to your iPhone or iPod Touch, set up the settings to > point to your nagios server, and you're done. If your server is > accessible through VPN, first set up your VPN connection on your > iPhone or iPod Touch. > > Enjoy! And please send any feedback or requests to daniel at feinsmithsoftware.com > > Coming soon: Support for other platforms, including Groundwork Open > Source. > > Best Regards, > Daniel. > > On May 30, 2009, at 5:05 PM, Marc Powell wrote: > > >> On May 30, 2009, at 11:43 AM, Arnar ??rarinsson wrote: >> >> >>> Hi all, >>> How can I make it so that if a host goes down Nagios will only >>> report the host down and not all the services on that host ? >>> All I want to get is a host down alert. >>> Yes I know RTFM... but I have and I can't seem to find this in the >>> docs. >>> >> Nagios will only send an e-mail for the single Host down event but >> will always display both the host and services as down (because they >> are). This is not configurable behavior and I can't think of any >> creative way to change the status of the services in that event that >> isn't a pain... >> >> -- >> Marc >> ------------------------------------------------------------------------------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity >> professionals. Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp as they present alongside digital heavyweights like >> Barbarian >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 1 21:09:32 2009 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Mon, 1 Jun 2009 16:09:32 -0300 (BRT) Subject: check_http oddness In-Reply-To: <639A81928082A94DA5EC95A8E723B94938BC28@SEAMAIL01.musicnet.com> References: <639A81928082A94DA5EC95A8E723B94938BC28@SEAMAIL01.musicnet.com> Message-ID: <12190085.267991243883372803.JavaMail.root@mail.opservices.com.br> Hi, ----- "Janet Sullivan" escreveu: > Command: > > Curl http://tkfstrm06:8080/admin/ping?auser=XXX\&apswd=XXX > > ./check_http -I tkfstrm06 -p 8080 -u > /admin/ping?auser=XXX\&apaswd=XXX -v > There's a difference in GET var apaswd between your tries. On former URL you used apswd, and on the second you use apaswd. Which is the correct one? -rm ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Mon Jun 1 21:24:53 2009 From: nccomp at gmail.com (Andrew Davis) Date: Mon, 01 Jun 2009 15:24:53 -0400 Subject: Host dependencies not being picked up... In-Reply-To: References: <4A2421ED.4000403@gmail.com> Message-ID: <4A242B05.7000502@gmail.com> Double-checking the docs I think I just realized this... If I understand this right, the "parents" option is used for Nagios itself (prehaps better re-worded as "internally") to define the network topology for the core host check. If the switch is down, it won't mark a host as Down, only as Unreachable. For a "host dependency", I have to define something like this: define hostdependency{ host_name Host A dependent_host_name Host C notification_failure_criteria d } define hostdependency{ host_name Host B dependent_host_name Host C notification_failure_criteria d,u } Am I understanding this right? What gets me is that what Nagios seems to call a parent is, to me anyway, a network/host dependency. Hosts are dependent on the network and services are dependent on hosts. I guess I'm missing where a "host dependency" would actually be of any value... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marc Powell wrote: > On Jun 1, 2009, at 1:46 PM, Andrew Davis wrote: > > >> The bulk of my systems are behind one of three switches. I just went >> through my hosts.cfg file and added the "parents" line and >> appropriate switch name for each, but the host dependencies aren't >> showing up. >> > > Parents and host dependencies are not the same thing. parents is > probably what you want and have configured correctly based on the > information you've provided. Nagios doesn't count them for the summary. > > -- > Marc > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zcolgan at clearbearing.com Mon Jun 1 21:02:51 2009 From: zcolgan at clearbearing.com (Zack Colgan) Date: Mon, 01 Jun 2009 15:02:51 -0400 Subject: Host dependencies not being picked up... In-Reply-To: <4A2421ED.4000403@gmail.com> References: <4A2421ED.4000403@gmail.com> Message-ID: <4A2425DB.5060801@clearbearing.com> Andrew Davis wrote: > The bulk of my systems are behind one of three switches. I just went > through my hosts.cfg file and added the "parents" line and appropriate > switch name for each, but the host dependencies aren't showing up. I do > use a host template for most of the servers and then other specifics. > Below is a sample of what's defined. Initially I thought the issue was > the Nagios server being in the same switch as one of the switches, but > the last entry below shows a switch defined as a parent and the Nagios > server is not behind the switch (Nagios is behind flscrb234srvsw5, the > last host is behind flscrb234srvsw6). The VLAN is the same for all the > hosts in the three switches... all hosts operate on 10.1.1.x/16 or > 10.1.80.x/16 which is all a single VLAN. I'd appreciate any thoughts on > why it might not be working: > > *snip* > > define host { > host_name flscrb234srvsw5 > use Network-Switches > alias 4948-5 - B234 > address 10.100.0.45 > } > > define host { > host_name flscrb234srvsw6 > use Network-Switches > alias 4948-6 - B234 > address 10.100.0.46 > } > ... > *snip* > > define host { > host_name aten > use Linux-Servers > alias Aten (SLES) > address 10.1.80.3 > parents flscrb234srvsw5 > } > ... > define host { > host_name delos > use Linux-Servers > alias Delos (CentOS) > address 10.1.1.93 > parents flscrb234srvsw6 > } > > > Reading configuration data... > > Running pre-flight check on configuration data... > > *snip* > > *Checking host dependencies... > Checked 0 host dependencies.* Host dependencies are not generated with the use of the parents directive. Specifying parents allows you to create a topology for the status map, and also to allow Nagios to detect a host as being UNREACHABLE versus DOWN, if they are a child of another host. If you want host (or service) dependencies, you must create dependency objects: http://nagios.sourceforge.net/docs/3_0/dependencies.html -Zack ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 1 21:43:59 2009 From: maxhetrick at verizon.net (Max Hetrick) Date: Mon, 01 Jun 2009 15:43:59 -0400 Subject: Host dependencies not being picked up... In-Reply-To: <4A242B05.7000502@gmail.com> References: <4A2421ED.4000403@gmail.com> <4A242B05.7000502@gmail.com> Message-ID: <4A242F7F.4090901@verizon.net> Andrew Davis wrote: > Double-checking the docs I think I just realized this... > > If I understand this right, the "parents" option is used for Nagios > itself (prehaps better re-worded as "internally") to define the network > topology for the core host check. If the switch is down, it won't mark a > host as Down, only as Unreachable. > > For a "host dependency", I have to define something like this: > > define hostdependency{ > host_name Host A > dependent_host_name Host C > notification_failure_criteria d > } > > define hostdependency{ > host_name Host B > dependent_host_name Host C > notification_failure_criteria d,u > } > > Am I understanding this right? > > What gets me is that what Nagios seems to call a parent is, to me > anyway, a network/host dependency. Hosts are dependent on the network > and services are dependent on hosts. I guess I'm missing where a "host > dependency" would actually be of any value... Host dependencies aren't to be confused with parent/child relationships. Parent/child relationships are what actually define the network topology. Host dependencies are just for defining a dependency from host "A" to from host "B" and so on. I'm not sure the usefulness of this, but I'm sure someone uses it. http://www.nagios.org/faqs/viewfaq.php?faq_id=145 Regards, Max ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 21:59:19 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 14:59:19 -0500 Subject: Host dependencies not being picked up... In-Reply-To: <4A242B05.7000502@gmail.com> References: <4A2421ED.4000403@gmail.com> <4A242B05.7000502@gmail.com> Message-ID: <2A3C735D-4B4D-4899-913F-6C5D216F85BB@ena.com> On Jun 1, 2009, at 2:24 PM, Andrew Davis wrote: > Double-checking the docs I think I just realized this... > > If I understand this right, the "parents" option is used for Nagios > itself (prehaps better re-worded as "internally") to define the > network topology for the core host check. If the switch is down, it > won't mark a host as Down, only as Unreachable. > > For a "host dependency", I have to define something like this: > > define hostdependency{ > host_name Host A > dependent_host_name Host C > notification_failure_criteria d > } > Am I understanding this right? Correct. > What gets me is that what Nagios seems to call a parent is, to me > anyway, a network/host dependency. Hosts are dependent on the > network and services are dependent on hosts. I guess I'm missing > where a "host dependency" would actually be of any value... Yes, they are very similar... hostdependencies give you more flexibility about when it's valid and under what conditions though. Like you, I'm hard-pressed to come up with an example of when it's actually interesting... I guess the best example I can think of based on my understanding is if you have your nagios server on a different LAN than two other servers. Server B is dependent on Server A for functioning. If ServerA and ServerB are unreachable from nagios, that may not be a big deal; they could still be providing services locally just fine. If ServerA is down though, that's a different matter. *shrug* I could be completely off base on that scenario ;) I don't use dependencies -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glen.j.barber at gmail.com Mon Jun 1 22:01:32 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon, 1 Jun 2009 16:01:32 -0400 Subject: Host dependencies not being picked up... In-Reply-To: <4A242F7F.4090901@verizon.net> References: <4A2421ED.4000403@gmail.com> <4A242B05.7000502@gmail.com> <4A242F7F.4090901@verizon.net> Message-ID: <4ad871310906011301l6a13e930v532f5b46ce5ab0@mail.gmail.com> On Mon, Jun 1, 2009 at 3:43 PM, Max Hetrick wrote: > > Host dependencies aren't to be confused with parent/child relationships. > Parent/child relationships are what actually define the network topology. > > Host dependencies are just for defining a dependency from host "A" to > from host "B" and so on. I'm not sure the usefulness of this, but I'm > sure someone uses it. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=145 > > Regards, > Max > I could see the usefulness for remote sites, checking that a router is on a network, before scanning servers/clients inside the network. Obviously if the router is unreachable, you don't want to continue scanning that part of the network. Regards, -- Glen Barber FreeBSD Tutorials: http://www.dev-urandom.com ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Mon Jun 1 22:03:21 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Mon, 1 Jun 2009 17:03:21 -0300 Subject: duplicate services definition Message-ID: Hello! I'm trying to modify how my configuration files are written, and have choosed to make one CFG file per host monitored. The file contain the host itself and all the services monitored on that host. Using this configuration makes nagios3 return a bunch of WARNING messages about "Duplicate definition", but works just fine. Are there any problems in using this kind of design? Nagios version 3.0.3 Configuration Example: define host{ use servers host_name SERVER_1 alias SERVER 1 address 192.168.0.1 _IF_INDEX 123 } define service{ use generic-service-3min host_name SERVER_1 service_description CHECK_4CPUs_20_50 check_command check-cpu-snmp-hostmib-4cpu!25%!50% contact_groups cg-Discos } define service{ use generic-service-3min host_name SERVER_1 service_description CHECK_VIRMEM_WIN check_command check-virmem-snmp-win!100!500 } define service{ use generic-service-3min host_name SERVER_1 service_description CHECK_RAMMEM_HOSTMIB check_command check-rammem-snmp-hostmib!1!2 } define service{ use generic-service-3min host_name SERVER_1 service_description IFDATAS_INDEX check_command check-ifs-snmp-index!$_HOSTIF_INDEX$ contact_groups cg-Discos } define service{ use generic-service-3min host_name SERVER_1 service_description CHECK_VIRMEM_WIN check_command check-virmem-snmp-win!100!500 } define service{ use generic-service-3min host_name SERVER_1 service_description CHECK_RAMMEM_HOSTMIB check_command check-rammem-snmp-hostmib!1!2 } define service{ use generic-service-3min host_name SERVER_1 service_description IFDATAS_INDEX check_command check-ifs-snmp-index!$_HOSTIF_INDEX$ contact_groups cg-Discos } WARNING MESSAGE: Warning: Duplicate definition found for service 'IFDATAS_INDEX' on host 'SERVER_1' (config file '/etc/nagios3/SERVER_1.cfg', starting on line 30) Warning: Duplicate definition found for service 'CHECK_RAMMEM_HOSTMIB' on host 'SERVER_1' (config file '/etc/nagios3/SERVER_1.cfg', starting on line 23) Warning: Duplicate definition found for service 'CHECK_VIRMEM_WIN' on host 'SERVER_1' (config file '/etc/nagios3/SERVER_1.cfg', starting on line 17) Running pre-flight check on configuration data... -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 1 22:14:46 2009 From: maxhetrick at verizon.net (Max Hetrick) Date: Mon, 01 Jun 2009 16:14:46 -0400 Subject: duplicate services definition In-Reply-To: References: Message-ID: <4A2436B6.6020108@verizon.net> Livio Zanol Puppim wrote: > I'm trying to modify how my configuration files are written, and have > choosed to make one CFG file per host monitored. The file contain the > host itself and all the services monitored on that host. Using this > configuration makes nagios3 return a bunch of WARNING messages about > "Duplicate definition", but works just fine. Are there any problems in > using this kind of design? Warning messages can generally be ignored, as they are only recommended messages to fix. The only problem would be a lot of extra typing that isn't needed is all. Generally, you specify host_name as follows for more than one host: host_name host1,host2,host3 Regards, Max ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wesbrooksj at amerch.com Mon Jun 1 21:47:40 2009 From: wesbrooksj at amerch.com (Justin Wesbrooks) Date: Mon, 1 Jun 2009 14:47:40 -0500 Subject: Run nagios at the root of my domain Message-ID: Where is the config option to make Nagios run at the root of my domain (i.e. http://nagios.mydomain.com instead of http://nagios.mydomain.com/nagios) ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 22:16:23 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 15:16:23 -0500 Subject: duplicate services definition In-Reply-To: References: Message-ID: <7461565A-9862-4E8C-815B-3A12896BB5DC@ena.com> On Jun 1, 2009, at 3:03 PM, Livio Zanol Puppim wrote: > Hello! > > I'm trying to modify how my configuration files are written, and > have choosed to make one CFG file per host monitored. The file > contain the host itself and all the services monitored on that host. > Using this configuration makes nagios3 return a bunch of WARNING > messages about "Duplicate definition", but works just fine. Are > there any problems in using this kind of design? You shouldn't be seeing Duplicate warnings unless the definitions are duplicated. You don't want duplicates and probably have them defined in both your old and new configs, both of which you've told nagios to use (cfg_file in nagios.cfg). Bear in mind that if you're using the cfg_dir directive there, it's recursive and may be catching you as well.. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glen.j.barber at gmail.com Mon Jun 1 22:26:04 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon, 1 Jun 2009 16:26:04 -0400 Subject: Run nagios at the root of my domain In-Reply-To: References: Message-ID: <4ad871310906011326v45fc4f69m9873cec96c31c2cd@mail.gmail.com> On Mon, Jun 1, 2009 at 3:47 PM, Justin Wesbrooks wrote: > Where is the config option to make Nagios run at the root of my domain > (i.e. http://nagios.mydomain.com instead of http://nagios.mydomain.com/nagios) > You would have to change the Directory directive for Apache. -- Glen Barber FreeBSD Tutorials: http://www.dev-urandom.com ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Mon Jun 1 22:27:41 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Mon, 1 Jun 2009 16:27:41 -0400 Subject: Fwd: error while configuring nagios plugins 1.4.9 In-Reply-To: <699b436a0905291044jc7ed9c1k5673ee33edd69226@mail.gmail.com> References: <699b436a0905291044jc7ed9c1k5673ee33edd69226@mail.gmail.com> Message-ID: <699b436a0906011327w6cb99c0dpbbc013caa908f4f2@mail.gmail.com> Hello Experts, Resolved the issue by using : ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios --host=x86_64-redhat-linux ---------- Forwarded message ---------- From: Anirudh Srinivasan Date: Fri, May 29, 2009 at 1:44 PM Subject: error while configuring nagios plugins 1.4.9 To: nagios-users at lists.sourceforge.net Hello Nagios Experts, While installing Nagios Plugins 1.4.9 i see the following errors : # ./configure --libexecdir=/usr/lib/nagios/plugins --with-nagios-user=nagios --with-nagios-group=nagios checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Then check config .log : The CORE TEST portion shows : ## ----------- ## ## Core tests. ## ## ----------- ## configure:1626: checking for a BSD-compatible install configure:1681: result: /usr/bin/install -c configure:1692: checking whether build environment is sane configure:1735: result: yes configure:1800: checking for gawk configure:1816: found /bin/gawk configure:1826: result: gawk configure:1836: checking whether make sets $(MAKE) configure:1856: result: yes configure:2032: checking build system type configure:2050: result: x86_64-unknown-linux-gnu configure:2058: checking host system type configure:2072: result: x86_64-unknown-linux-gnu configure:2162: checking for gcc configure:2178: found /usr/bin/gcc configure:2188: result: gcc configure:2432: checking for C compiler version configure:2435: gcc --version &5 gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2438: $? = 0 configure:2440: gcc -v &5 Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enab le-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=x86_64-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3) configure:2443: $? = 0 configure:2445: gcc -V &5 gcc32: argument to `-V' is missing configure:2448: $? = 1 configure:2471: checking for C compiler default output file name configure:2474: gcc conftest.c >&5 /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a when searching for -lgcc /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o' is incompatible with i386:x86-64 output configure:2477: $? = 0 configure:2523: result: a.out configure:2528: checking whether the C compiler works configure:2534: ./a.out ./configure: line 2535: 23494 Segmentation fault ./$ac_file configure:2537: $? = 139 configure:2546: error: cannot run C compiled programs. Any help would be highly appreciated. Thanks in Adv -- Anirudh Srinivasan -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 1 22:33:58 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 15:33:58 -0500 Subject: Run nagios at the root of my domain In-Reply-To: References: Message-ID: <1A70A722-34E8-4B8D-A48E-5793EC124232@ena.com> On Jun 1, 2009, at 2:47 PM, Justin Wesbrooks wrote: > Where is the config option to make Nagios run at the root of my domain > (i.e. http://nagios.mydomain.com instead of http://nagios.mydomain.com/nagios) An example configuration was posted to the list just 2 hours before you sent this. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 1 22:11:10 2009 From: maxhetrick at verizon.net (Max Hetrick) Date: Mon, 01 Jun 2009 16:11:10 -0400 Subject: Host dependencies not being picked up... In-Reply-To: <2A3C735D-4B4D-4899-913F-6C5D216F85BB@ena.com> References: <4A2421ED.4000403@gmail.com> <4A242B05.7000502@gmail.com> <2A3C735D-4B4D-4899-913F-6C5D216F85BB@ena.com> Message-ID: <4A2435DE.1060809@verizon.net> Marc Powell wrote: > Yes, they are very similar... hostdependencies give you more > flexibility about when it's valid and under what conditions though. > Like you, I'm hard-pressed to come up with an example of when it's > actually interesting... I guess the best example I can think of based > on my understanding is if you have your nagios server on a different > LAN than two other servers. Server B is dependent on Server A for > functioning. If ServerA and ServerB are unreachable from nagios, that > may not be a big deal; they could still be providing services locally > just fine. If ServerA is down though, that's a different matter. > *shrug* I could be completely off base on that scenario ;) I don't use > dependencies Ahh, yeah I guess that makes sense. I don't use them either, except for a few service dependencies. We have an i5 AS400 here where the services that we're checking are dependent on a login service. If you can't login, you can't check the services, but that doesn't mean that the other services are down. This is the only time I've ever needed to use host/service dependencies. I guess there are specific applications for the need of them. :) Regards, Max ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Mon Jun 1 22:46:34 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Mon, 1 Jun 2009 17:46:34 -0300 Subject: duplicate services definition In-Reply-To: <7461565A-9862-4E8C-815B-3A12896BB5DC@ena.com> References: <7461565A-9862-4E8C-815B-3A12896BB5DC@ena.com> Message-ID: In fact, to mantain a good configuration design (using automatic scripts and nice language to users) I want duplicate service names since I'm defing the same service for each host. I just want to know if this will bring me any problem at all. 2009/6/1 Marc Powell > > On Jun 1, 2009, at 3:03 PM, Livio Zanol Puppim wrote: > > > Hello! > > > > I'm trying to modify how my configuration files are written, and > > have choosed to make one CFG file per host monitored. The file > > contain the host itself and all the services monitored on that host. > > Using this configuration makes nagios3 return a bunch of WARNING > > messages about "Duplicate definition", but works just fine. Are > > there any problems in using this kind of design? > > You shouldn't be seeing Duplicate warnings unless the definitions are > duplicated. You don't want duplicates and probably have them defined > in both your old and new configs, both of which you've told nagios to > use (cfg_file in nagios.cfg). Bear in mind that if you're using the > cfg_dir directive there, it's recursive and may be catching you as > well.. > > -- > Marc > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSingh at lightspeedresearch.com Mon Jun 1 23:45:55 2009 From: CSingh at lightspeedresearch.com (CSingh at lightspeedresearch.com) Date: Mon, 1 Jun 2009 16:45:55 -0500 Subject: Trouble with check_nrpe+check_hpasm Message-ID: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> I am monitoring system named locsys from NAGIOS server named Nagios. I can get check_hpasm to work locally on the system being monitored (locsys) but I am unable to get check_hpasm to work with check_nrpe when monitored through NAGIOS server. Other monitoring commands work fine with check_nrpe with the same combination. Here are some command outputs to provide a better understanding. [root at locsys ~]# /usr/local/nagios/libexec/check_hpasm OK - System: 'proliant dl360 g3', S/N: 'xxxxxx', ROM: 'P31 09/15/2004', hardware working fine, da: 1 logical drives, 2 physical drives On NAGIOS server I get this: [root at nagios ~]# /usr/local/nagios/libexec/check_nrpe -H locsys -c check_hpasm CHECK_NRPE: Socket timeout after 10 seconds. Other check_nrpe monitoring commands work fine with the same combination: [root at nagios ~]# /usr/local/nagios/libexec/check_nrpe -H locsys -c check_memory OK: 66% (2028M) free memory. Any clues would be appreciated. Regards, Charan This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 2 00:26:27 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 17:26:27 -0500 Subject: duplicate services definition In-Reply-To: References: <7461565A-9862-4E8C-815B-3A12896BB5DC@ena.com> Message-ID: <76B7D32A-64F9-496C-877F-BC9C6C2C34C7@ena.com> On Jun 1, 2009, at 3:46 PM, Livio Zanol Puppim wrote: > In fact, to mantain a good configuration design (using automatic > scripts and nice language to users) I want duplicate service names > since I'm defing the same service for each host. I just want to know > if this will bring me any problem at all. As long as the host_name + service_description combination is unique, you'll have no problems. You could have 10,000 HTTP service_descriptions as long as they're associated to 10,000 different host_name's. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 2 00:39:37 2009 From: marc at ena.com (Marc Powell) Date: Mon, 1 Jun 2009 17:39:37 -0500 Subject: Trouble with check_nrpe+check_hpasm In-Reply-To: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> References: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> Message-ID: <3ED86F8C-8C2D-490C-8CD8-636647AC00D6@ena.com> On Jun 1, 2009, at 4:45 PM, wrote: > > I am monitoring system named locsys from NAGIOS server named Nagios. > > I can get check_hpasm to work locally on the system being monitored > (locsys) but I am unable to get check_hpasm to work with check_nrpe > when monitored through NAGIOS server. Other monitoring commands work > fine with check_nrpe with the same combination. Here are some > command outputs to provide a better understanding. > > [root at locsys ~]# /usr/local/nagios/libexec/check_hpasm > OK - System: 'proliant dl360 g3', S/N: 'xxxxxx', ROM: 'P31 > 09/15/2004', hardware working fine, da: 1 logical drives, 2 physical > drives Does this work as the user NRPE runs as? You should never test nagios- related tasks as root. Permission differences will lead you down wrong paths and waste a lot of time. > Any clues would be appreciated. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf - Troubleshooting section. If the first part doesn't help, NRPE's debug mode may. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Tue Jun 2 11:19:42 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 2 Jun 2009 11:19:42 +0200 Subject: Antwort: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Message-ID: > This app is different from iNag and other similar iPhone applications > that use Nagios in that it does not require any changes whatsoever to > your Nagios server. It is a complete Nagios standalone native client. > Just download it to your iPhone or iPod Touch, set up the settings to > point to your nagios server, and you're done. If your server is > accessible through VPN, first set up your VPN connection on your > iPhone or iPod Touch. Well, big question is: Will it be available for real business phones too? Blackberry anyone? ;-) Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 2 11:19:46 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 02 Jun 2009 11:19:46 +0200 Subject: Trouble with check_nrpe+check_hpasm In-Reply-To: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> (CSingh@lightspeedresearch.com's message of "Mon, 1 Jun 2009 16:45:55 -0500") References: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> Message-ID: <15tzlcrxaa5.fsf@tux.uio.no> writes: > CHECK_NRPE: Socket timeout after 10 seconds. You may want to increase the timeout. check_hpasm can take ages to finish, depending on the amount of storage attached to the server. It's not the fault of check_hpasm, but "hpacucli", which it uses to check the storage subsystem. We have increased the NRPE timeout to 180 sec on some servers to work around this. Regards, -- Trond Hasle Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linuxmail at 4lin.net Tue Jun 2 13:12:09 2009 From: linuxmail at 4lin.net (Denny Schierz) Date: Tue, 02 Jun 2009 13:12:09 +0200 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Message-ID: <1243941129.10520.8.camel@miyazaki> hi, i bought this tool too and i can't use it, cause of SSL and client cert. I'm able to view the nagios status side with safari (what for a bad browser, anyway) so, what do i need to get it? cu denny -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 2 13:52:47 2009 From: jpratt at norwich.edu (James Pratt) Date: Tue, 2 Jun 2009 07:52:47 -0400 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <1243941129.10520.8.camel@miyazaki> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com><0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <1243941129.10520.8.camel@miyazaki> Message-ID: <8147CCE3C4A8764DA9980125EE70E823D32928@nuexchg.norwich.edu> Hi, This may help you, or possibly the developer: http://www.iphonedevsdk.com/forum/iphone-sdk-development/5423-nsurlerror domain-bad-server-certificate.html hth, cheers, James -----Original Message----- From: Denny Schierz [mailto:linuxmail at 4lin.net] Sent: Tuesday, June 02, 2009 7:12 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! hi, i bought this tool too and i can't use it, cause of SSL and client cert. I'm able to view the nagios status side with safari (what for a bad browser, anyway) so, what do i need to get it? cu denny ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frontin at irit.fr Tue Jun 2 15:18:57 2009 From: frontin at irit.fr (Jean Frontin) Date: Tue, 02 Jun 2009 15:18:57 +0200 Subject: Empty message Message-ID: <4A2526C1.7030304@irit.fr> Hi, Nagios 3.0.6 on fedora core 8. Sometimes I receive empty messages from nagios. subject is empty and the body also. I can't reproduce the message !!!!!! Any ideas to solve this problem Regards -- Jean Frontin Service Informatique I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 9 t?l (33)(5) 61 55 63 03 m?l frontin at irit.fr ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Tue Jun 2 16:35:01 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Tue, 2 Jun 2009 16:35:01 +0200 Subject: Antwort: Re: Antwort: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <204FDC0A-722B-46E3-8C88-27C5A0B879DE@danielemmanuelfeinsmith.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <204FDC0A-722B-46E3-8C88-27C5A0B879DE@danielemmanuelfeinsmith.com> Message-ID: > I have considered and done some preliminary research on developing the > app for the Blackberry. The Blackberry SDK is nowhere near as powerful > as that of the iPhone, and also, the amount of memory available to > running software is also quite a bit less, so as a result, the options > are somewhat limited on that platform. I cannot directly compare it, since I do not know anything about iPhone development, but I can't believe that the BB SDK is so far less powerful compared to the iPhone SDK. Which SDK did you check out? BB offers 3 (or was it 2?) different SDKs for the 3 different methods of coding for BBs. - the web applications: very, very easy, but surely also very limited - MDS applications: easy to code, but still more powerful then webapplications - pure Java applications: can do basically everything you want them to do If you already have a Java application, it shouldn't be too hard to port it to Blackberry I think? Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at danielemmanuelfeinsmith.com Tue Jun 2 16:26:41 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Tue, 2 Jun 2009 07:26:41 -0700 Subject: Antwort: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Message-ID: <204FDC0A-722B-46E3-8C88-27C5A0B879DE@danielemmanuelfeinsmith.com> Sascha, I have considered and done some preliminary research on developing the app for the Blackberry. The Blackberry SDK is nowhere near as powerful as that of the iPhone, and also, the amount of memory available to running software is also quite a bit less, so as a result, the options are somewhat limited on that platform. I have investigated the Google Android platform as another possibility. All coding on Android is in Java. Its UI is, again, very limited in comparison to the iPhone/iPod Touch, and the number of people with those phones is also pretty small. Also up coming is the new Palm Pre platform, which is quite interesting. I am still researching the Blackberry development option. It'd be nice to get an idea of demand. I wonder how many serious admins are using Blackberry's vs. iPhones. Daniel. On Jun 2, 2009, at 2:19 AM, Sascha.Runschke at gfkl.com wrote: >> This app is different from iNag and other similar iPhone applications >> that use Nagios in that it does not require any changes whatsoever to >> your Nagios server. It is a complete Nagios standalone native client. >> Just download it to your iPhone or iPod Touch, set up the settings to >> point to your nagios server, and you're done. If your server is >> accessible through VPN, first set up your VPN connection on your >> iPhone or iPod Touch. > > Well, big question is: > > Will it be available for real business phones too? > Blackberry anyone? ;-) > > Regards > Sascha > > > > GFKL Financial Services AG > Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp > Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma > Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Tue Jun 2 15:33:35 2009 From: scarolan at gmail.com (Sean Carolan) Date: Tue, 2 Jun 2009 08:33:35 -0500 Subject: Undetected flapping URL monitor - how to fix? Message-ID: <277020fc0906020633p57e373a5p88a844e84e17224c@mail.gmail.com> We ran into a situation over the weekend where a particular URL monitor was flapping back and forth between OK and CRITICAL every ten minutes or so. We have it set up so the monitor only goes into a HARD state and sends an alert after three successive failures. The issue is that there was a real, legitimate problem with the configuration that was causing it to flop around like this, but nobody got alerted because it never went into HARD state. How would you handle this situation? We need to be notified when these kinds of situations arise in the future. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at danielemmanuelfeinsmith.com Tue Jun 2 16:16:36 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Tue, 2 Jun 2009 07:16:36 -0700 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <1243941129.10520.8.camel@miyazaki> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <1243941129.10520.8.camel@miyazaki> Message-ID: Hi Denny, Thanks for purchasing Brooklyn. SSL is not supported in the current release. There will be an incremental release within the next two weeks that will support SSL. I will inform the list at that time, and then all you will need to do is perform an update of your application and you will get the new functionality without any added cost. There will be some other features and bug fixes in that release that we are working on. Thanks for your patience and apologies for the inconvenience. I will update the App page to indicate that SSL is not supported yet. Daniel. On Jun 2, 2009, at 4:12 AM, Denny Schierz wrote: > hi, > > i bought this tool too and i can't use it, cause of SSL and client > cert. > I'm able to view the nagios status side with safari (what for a bad > browser, anyway) so, what do i need to get it? > > cu denny > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Tue Jun 2 17:03:32 2009 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Tue, 2 Jun 2009 17:03:32 +0200 Subject: check_http oddness In-Reply-To: <639A81928082A94DA5EC95A8E723B94938BC28@SEAMAIL01.musicnet.com> References: <639A81928082A94DA5EC95A8E723B94938BC28@SEAMAIL01.musicnet.com> Message-ID: <20090602150332.GC48314562@CIS.FU-Berlin.DE> * Janet Sullivan [2009-06-01 10:45]: > Check_http reports a timeout, however, a packet capture shows that > data was in fact received. > > Data Sent: > > GET /admin/ping?auser=XXX&apaswd=XXX HTTP/1.0 > User-Agent: check_http/v2053 (nagios-plugins 1.4.13) > Connection: close > > Data Received: > > HTTP/1.0 200 OK > Connection: Keep-Alive While the plugin expects the server to close the connection after sending the response, the server initiates a HTTP/1.0-style persistent connection. The plugin doesn't handle this properly and awaits more data until it runs into the timeout. Could you check whether you can reproduce the problem using the current snapshot and the "-H" option (in which case the plugin should request an HTTP/1.1 connection)? See: http://nagiosplug.sourceforge.net/snapshot/ Thanks, Holger ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSingh at lightspeedresearch.com Tue Jun 2 17:20:56 2009 From: CSingh at lightspeedresearch.com (CSingh at lightspeedresearch.com) Date: Tue, 2 Jun 2009 10:20:56 -0500 Subject: Trouble with check_nrpe+check_hpasm In-Reply-To: <15tzlcrxaa5.fsf@tux.uio.no> References: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> <15tzlcrxaa5.fsf@tux.uio.no> Message-ID: <8427C571F164AA4D97AD0C4BF2758F3C01CF02F7@KTNAPXCH001C.kt.group.local> -----Original Message----- From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Sent: Tuesday, June 02, 2009 5:20 AM To: Singh, Charanbeer (LSBSR tech) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Trouble with check_nrpe+check_hpasm writes: > CHECK_NRPE: Socket timeout after 10 seconds. >You may want to increase the timeout. check_hpasm can take ages to >finish, depending on the amount of storage attached to the server. It's >not the fault of check_hpasm, but "hpacucli", which it uses to check the >storage subsystem. We have increased the NRPE timeout to 180 sec on some >servers to work around this. Thank you for this suggestion, it was nice to be aware about this problem. Regards, -- Trond Hasle Amundsen Center for Information Technology Services, University of Oslo This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSingh at lightspeedresearch.com Tue Jun 2 17:19:16 2009 From: CSingh at lightspeedresearch.com (CSingh at lightspeedresearch.com) Date: Tue, 2 Jun 2009 10:19:16 -0500 Subject: Trouble with check_nrpe+check_hpasm In-Reply-To: <3ED86F8C-8C2D-490C-8CD8-636647AC00D6@ena.com> References: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> <3ED86F8C-8C2D-490C-8CD8-636647AC00D6@ena.com> Message-ID: <8427C571F164AA4D97AD0C4BF2758F3C01CF02E7@KTNAPXCH001C.kt.group.local> -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, June 01, 2009 6:40 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Trouble with check_nrpe+check_hpasm On Jun 1, 2009, at 4:45 PM, wrote: > > I am monitoring system named locsys from NAGIOS server named Nagios. > > I can get check_hpasm to work locally on the system being monitored > (locsys) but I am unable to get check_hpasm to work with check_nrpe > when monitored through NAGIOS server. Other monitoring commands work > fine with check_nrpe with the same combination. Here are some > command outputs to provide a better understanding. > > [root at locsys ~]# /usr/local/nagios/libexec/check_hpasm > OK - System: 'proliant dl360 g3', S/N: 'xxxxxx', ROM: 'P31 > 09/15/2004', hardware working fine, da: 1 logical drives, 2 physical > drives Does this work as the user NRPE runs as? You should never test nagios- related tasks as root. Permission differences will lead you down wrong paths and waste a lot of time. > Any clues would be appreciated. http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf - Troubleshooting section. If the first part doesn't help, NRPE's debug mode may. -- Marc Thanks for your suggestion. I was able to get it fixed. Check_hpasm plugin needs to be run with root privileges. So, on locsys, 1. I had to allow the user NRPE runs as (xyzuser), privileges to the command /usr/local/nagios/libexec/check_hpasm in /etc/sudoers xyzuser ALL=NOPASSWD:/sbin/hpasmcli,/usr/local/nagios/libexec/check_hpasm (Note that check_hpasm documentation already mentions giving sudo access to nrpe user for /sbin/hpasmcli). and 2. Define the check_hpasm command in nrpe.cfg prefixed with sudo as follows: command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm Regards, Charan ------------------------------------------------------------------------ ------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Jun 2 17:26:33 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 02 Jun 2009 11:26:33 -0400 Subject: 3D Status Map Java exception Message-ID: <4A2544A9.3010101@gmail.com> Client is a Mac (OS X 10.5.7) with Firefox 3.x. A VRML viewer *is* installed. Clicking on the 3-D Status Map link launch a Java applet that then says: "Unable to launch the application." If I click the "Details" button, the header of the window says: "Error: Could not parse launch file. Error at line 0." In the Launch File field, I see: #VRML V2.0 utf8 WorldInfo{ title "Nagios 3-D Network Status View" info ["Copyright (c) 1999-2002 Ethan Galstad" "egalstad at nagios.org"] } Background{ skyColor 0.1 0.1 0.15 ~ I truncated the rest ~ The Exception field shows: JNLParseException[ Could not parse launch file. Error at line 0.] at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:58) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:143) at com.sun.javaws.Main.launchApp(Main.java:253) at com.sun.javaws.Main.continueInSecureThread(Main.java:213) at com.sun.javaws.Main$1.run(Main.java:108) at java.lang.Thread.run(Thread.java:637) And the Wrapped Exception field shows: Failed to find the '<' charater that marks the end of a CDATA element. Exception parsing xml at line 0 at com.sun.deploy.xml.XMLParser.skipPCData(XMLParser.java:182) at com.sun.deploy.xml.XMLParser.nextToken(XMLParser.java:100) at com.sun.deploy.xml.XMLParser.parse(XMLParser.java:58) at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:56) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:143) at com.sun.javaws.Main.launchApp(Main.java:253) at com.sun.javaws.Main.continueInSecureThread(Main.java:213) at com.sun.javaws.Main$1.run(Main.java:108) at java.lang.Thread.run(Thread.java:637) Any ideas? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 2 17:35:17 2009 From: marc at ena.com (Marc Powell) Date: Tue, 2 Jun 2009 10:35:17 -0500 Subject: Empty message In-Reply-To: <4A2526C1.7030304@irit.fr> References: <4A2526C1.7030304@irit.fr> Message-ID: <50A0CCF8-3D05-4E14-A3A0-98C9860BCDB4@ena.com> On Jun 2, 2009, at 8:18 AM, Jean Frontin wrote: > Hi, > > Nagios 3.0.6 on fedora core 8. > Sometimes I receive empty messages from nagios. subject is empty and > the > body also. I can't reproduce the message !!!!!! > > Any ideas to solve this problem Never heard of this. Are you sure it came from Nagios or did it come from the nagios user? Can you find a matching NOTIFICATION in nagios.log? Do you have any cron jobs that run as nagios that might be sending the message? Is it periodic? -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 2 17:34:52 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 02 Jun 2009 17:34:52 +0200 Subject: Trouble with check_nrpe+check_hpasm In-Reply-To: <8427C571F164AA4D97AD0C4BF2758F3C01CF02E7@KTNAPXCH001C.kt.group.local> (CSingh@lightspeedresearch.com's message of "Tue, 2 Jun 2009 10:19:16 -0500") References: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local> <3ED86F8C-8C2D-490C-8CD8-636647AC00D6@ena.com> <8427C571F164AA4D97AD0C4BF2758F3C01CF02E7@KTNAPXCH001C.kt.group.local> Message-ID: <15t1vq2y7hf.fsf@tux.uio.no> writes: > Thanks for your suggestion. I was able to get it fixed. Check_hpasm > plugin needs to be run with root privileges. So, on locsys, No, it doesn't. The check_hpasm plugin will automatically try to use sudo unless it is run as root. Add the following to your /etc/sudoers file: xyzuser ALL=NOPASSWD:/sbin/hpasmcli xyzuser ALL=NOPASSWD:/usr/sbin/hpacucli Also, you need to disable "requiretty", i.e. comment out this line: Defaults requiretty That is all :) Cheers, -- Trond Hasle Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSingh at lightspeedresearch.com Tue Jun 2 18:02:42 2009 From: CSingh at lightspeedresearch.com (CSingh at lightspeedresearch.com) Date: Tue, 2 Jun 2009 11:02:42 -0500 Subject: Trouble with check_nrpe+check_hpasm In-Reply-To: <15t1vq2y7hf.fsf@tux.uio.no> References: <8427C571F164AA4D97AD0C4BF2758F3C01CA994F@KTNAPXCH001C.kt.group.local><3ED86F8C-8C2D-490C-8CD8-636647AC00D6@ena.com><8427C571F164AA4D97AD0C4BF2758F3C01CF02E7@KTNAPXCH001C.kt.group.local> <15t1vq2y7hf.fsf@tux.uio.no> Message-ID: <8427C571F164AA4D97AD0C4BF2758F3C01CF0523@KTNAPXCH001C.kt.group.local> -----Original Message----- From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Sent: Tuesday, June 02, 2009 11:35 AM To: Singh, Charanbeer (LSBSR tech) Cc: marc at ena.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Trouble with check_nrpe+check_hpasm writes: > Thanks for your suggestion. I was able to get it fixed. Check_hpasm > plugin needs to be run with root privileges. So, on locsys, No, it doesn't. The check_hpasm plugin will automatically try to use sudo unless it is run as root. Add the following to your /etc/sudoers file: xyzuser ALL=NOPASSWD:/sbin/hpasmcli xyzuser ALL=NOPASSWD:/usr/sbin/hpacucli Also, you need to disable "requiretty", i.e. comment out this line: Defaults requiretty That is all :) Cheers, -- Trond Hasle Amundsen Center for Information Technology Services, University of Oslo Interestingly, I already had the above in my /etc/sudoers when I was getting the error. I tried to run /usr/local/nagios/libexec/check_hpasm as xyzuser and it prompted me for a password (apparently it was trying to use sudo on its own). Allowing /usr/local/nagios/libexec/check_hpasm in /etc/sudoers to xyzuser and then defining the check_hpasm command in nrpe.cfg prefixed with sudo fixed the problem. Charan This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dchen at bis.doc.gov Tue Jun 2 18:34:50 2009 From: dchen at bis.doc.gov (Dong Chen) Date: Tue, 02 Jun 2009 12:34:50 -0400 Subject: notification by host In-Reply-To: References: Message-ID: <4A251C6A020000E400001A3E@bis-gwia.docbis.doc.gov> Hi, We have quite a few servers. In nagios config, each server inherites from multiple hostgroup, such as hardware, os, applications. Right now, different class of alerts, e.g. harddrive alerts, from all the machines are sending to the same contact person. What would be an easiest way to modify the current configuration that all the alerts for a particular machine is (also) send to one person? For example, we have host 1 running service A, service B, service C host 2 running service A, service B, service C host 3 running service A, service B, service C All the alerts from host 1,2,3 for service A go to John; alerts from host 1,2,3 for service B go to Jack; ... Now, I would want all the alert for service A,B,C from host also be sent to Joe. Thanks, ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Jun 2 18:41:09 2009 From: perldork at webwizarddesign.com (Max) Date: Tue, 2 Jun 2009 12:41:09 -0400 Subject: Antwort: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <204FDC0A-722B-46E3-8C88-27C5A0B879DE@danielemmanuelfeinsmith.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <204FDC0A-722B-46E3-8C88-27C5A0B879DE@danielemmanuelfeinsmith.com> Message-ID: On Tue, Jun 2, 2009 at 10:26 AM, D. Emmanuel Feinsmith wrote: > Sascha, > > I have considered and done some preliminary research on developing the > app for the Blackberry. The Blackberry SDK is nowhere near as powerful > as that of the iPhone, and also, the amount of memory available to > running software is also quite a bit less, so as a result, the options > are somewhat limited on that platform. I think a better approach for Blackberry, and the one I am started on, is to do this as a web UI for blackberry. I have started on a PHP-based UI that is Blackberry friendly for our corporate users to use; if it turns out to be useful enough to share with others I will definitely do so as a GPL project. The first functionality I am implementing is acknowledging alerts with comments via blackberry and viewing the states of hosts and services via blackberry .. things that our SAs care about most when a notification comes in at 2 am :p. - Max ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Jun 2 18:55:55 2009 From: perldork at webwizarddesign.com (Max) Date: Tue, 2 Jun 2009 12:55:55 -0400 Subject: notification by host In-Reply-To: <4A251C6A020000E400001A3E@bis-gwia.docbis.doc.gov> References: <4A251C6A020000E400001A3E@bis-gwia.docbis.doc.gov> Message-ID: On Tue, Jun 2, 2009 at 12:34 PM, Dong Chen wrote: > Hi, > > We have quite a few servers. In nagios config, each server inherites from multiple hostgroup, such as hardware, os, applications. Right now, different class of alerts, e.g. harddrive alerts, from all the machines are sending to the same contact person. What would be an easiest way to modify the current configuration that all the alerts for a particular machine is (also) send to one person? > > For example, we have > host 1 running service A, service B, service C > host 2 running service A, service B, service C > host 3 running service A, service B, service C > All the alerts from host 1,2,3 ?for service A go to John; > alerts from host 1,2,3 for service B go to Jack; > ... > Now, I would want all the alert for service A,B,C from host also be sent to Joe. I'd recommend you read about and use escalations to do notifications for custom groups of hosts and services: http://nagios.sourceforge.net/docs/3_0/escalations.html We use escalations for just this purpose as we have a number of service definitions that are associated with host groups that our end users cannot modify, while they can modify/create/delete their own escalation definitions. The one thing to keep in mind if you go the escalation route is that OK state escalations need to be separate escalation definitions with a last notification of 1 so that the OK is only sent out one time. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Tue Jun 2 19:20:16 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Tue, 2 Jun 2009 13:20:16 -0400 Subject: Antwort: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <204FDC0A-722B-46E3-8C88-27C5A0B879DE@danielemmanuelfeinsmith.com> Message-ID: <2274b9c30906021020me182aabvbc7aaf5fbb95a412@mail.gmail.com> BB version would be awesome. On 6/2/09, Max wrote: > On Tue, Jun 2, 2009 at 10:26 AM, D. Emmanuel Feinsmith > wrote: >> Sascha, >> >> I have considered and done some preliminary research on developing the >> app for the Blackberry. The Blackberry SDK is nowhere near as powerful >> as that of the iPhone, and also, the amount of memory available to >> running software is also quite a bit less, so as a result, the options >> are somewhat limited on that platform. > > I think a better approach for Blackberry, and the one I am started on, > is to do this as a web UI for blackberry. I have started on a > PHP-based UI that is Blackberry friendly for our corporate users to > use; if it turns out to be useful enough to share with others I will > definitely do so as a GPL project. The first functionality I am > implementing is acknowledging alerts with comments via blackberry and > viewing the states of hosts and services via blackberry .. things that > our SAs care about most when a notification comes in at 2 am :p. > > - Max > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaiho8 at gmail.com Tue Jun 2 23:02:16 2009 From: jaiho8 at gmail.com (Jai Ram) Date: Tue, 2 Jun 2009 17:02:16 -0400 Subject: Not Able to Access Graphs Message-ID: <9cfff3f00906021402s108e0bcm34b43afec33da8c9@mail.gmail.com> Hello All, I have installed Nagios on solaris10. But I have a problem in accessing graphs.When I try to access the graphs I am facing the below error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster at name.mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ------------------------------ Apache/2.0.58 (Unix) DAV/2 Server at nagiosserver Port 80 *And below are the errors from apache log*. [Tue Jun 02 16:44:45 2009] [error] [client 10.187.152.223] Premature end of script headers: graphs.cgi, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:46 2009] [error] [client 10.187.152.223] (2)No such file or directory: exec of '/opt/nagios/sbin/graphs.cgi' failed, referer: http:// /nagiosserver/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:46 2009] [error] [client 10.187.152.223] Premature end of script headers: graphs.cgi, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:48 2009] [error] [client 10.187.152.223] (2)No such file or directory: exec of '/opt/nagios/sbin/graphs.cgi' failed, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:48 2009] [error] [client 10.187.152.223] Premature end of script headers: graphs.cgi, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:50 2009] [error] [client 10.187.152.223] (2)No such file or directory: exec of '/opt/nagios/sbin/graphs.cgi' failed, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:50 2009] [error] [client 10.187.152.223] Premature end of script headers: graphs.cgi, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:53 2009] [error] [client 10.187.152.223] (2)No such file or directory: exec of '/opt/nagios/sbin/graphs.cgi' failed, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid [Tue Jun 02 16:44:53 2009] [error] [client 10.187.152.223] Premature end of script headers: graphs.cgi, referer: http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid *Any ideas to solve this problem* Thanks In Advance. Jai Ram. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Tue Jun 2 22:54:56 2009 From: Rick.Garland at quantum.com (Rick Garland) Date: Tue, 2 Jun 2009 14:54:56 -0600 Subject: monitoring F5 Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E10D@DENMSGV1.QUANTUM.COM> Hi all: Got a new request to monitor F5 appliances. I see lots of posts out there but want to get some feedback. What do you feel is important to monitor on the F5? Thanks ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum Corporation. Furthermore, Quantum Corporation is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glen.j.barber at gmail.com Tue Jun 2 23:18:04 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue, 2 Jun 2009 17:18:04 -0400 Subject: Not Able to Access Graphs In-Reply-To: <9cfff3f00906021402s108e0bcm34b43afec33da8c9@mail.gmail.com> References: <9cfff3f00906021402s108e0bcm34b43afec33da8c9@mail.gmail.com> Message-ID: <4ad871310906021418u19f1f50bo720e129bb6eb58da@mail.gmail.com> Hi, On Tue, Jun 2, 2009 at 5:02 PM, Jai Ram wrote: > Hello All, > > I have installed Nagios on solaris10. But I have a problem in accessing > graphs.When I try to access the graphs I am facing the below error. > > Internal Server Error > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, webmaster at name.mydomain.com and > inform them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error log. > > ________________________________ > Apache/2.0.58 (Unix) DAV/2 Server at nagiosserver Port 80 > And below are the errors from apache log. > > [Tue Jun 02 16:44:45 2009] [error] [client 10.187.152.223] Premature end of > script headers: graphs.cgi, referer: > http://nagiosserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=grid > [Tue Jun 02 16:44:46 2009] [error] [client 10.187.152.223] (2)No such file > or directory: exec of '/opt/nagios/sbin/graphs.cgi' failed, referer: > http:///nagiosserver/cgi-bin/status.cgi?hostgroup=all&style=grid Is this error log hand typed in? If not, the problem could be with "http:///nagiosserver" -- Glen Barber http://www.dev-urandom.com http://www.linkedin.com/in/glenjbarber ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Jun 2 23:36:25 2009 From: perldork at webwizarddesign.com (Max) Date: Tue, 2 Jun 2009 17:36:25 -0400 Subject: Not Able to Access Graphs In-Reply-To: <9cfff3f00906021402s108e0bcm34b43afec33da8c9@mail.gmail.com> References: <9cfff3f00906021402s108e0bcm34b43afec33da8c9@mail.gmail.com> Message-ID: Hi Jai, On Tue, Jun 2, 2009 at 5:02 PM, Jai Ram wrote: > Hello All, > > I have installed Nagios on solaris10. But I have a problem in accessing > graphs.When I try to access the graphs I am facing the below error. > > Internal Server Error > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, webmaster at name.mydomain.com and > inform them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error log. Have you verified that graphs.cgi actually exists on the filesystem as /opt/nagios/sbin/graphs.cgi? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jun 3 00:26:41 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 2 Jun 2009 15:26:41 -0700 Subject: monitoring F5 In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E10D@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E10D@DENMSGV1.QUANTUM.COM> Message-ID: <20090602222641.GT13489@bakgwai.americas.hpqcorp.net> On Tue, 02 Jun 2009, Rick Garland wrote: > Hi all: > > Got a new request to monitor F5 appliances. > I see lots of posts out there but want to get some feedback. > What do you feel is important to monitor on the F5? F5 makes a lot of different appliances with a vary wide range of functions, so that's an awfully broad question. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Jun 3 01:14:33 2009 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 2 Jun 2009 16:14:33 -0700 Subject: Can't do Serial Checks with Nagios 3.0.6 In-Reply-To: <820100.50811.qm@web53910.mail.re2.yahoo.com> References: <820100.50811.qm@web53910.mail.re2.yahoo.com> Message-ID: <20090602231433.GU13489@bakgwai.americas.hpqcorp.net> On Mon, 01 Jun 2009, emma abi wrote: > --- On Thu, 5/28/09, emma abi wrote: > > > From: emma abi > > Subject: Can't do Serial Checks with Nagios 3.0.6 > > To: nagios-users at lists.sourceforge.net > > Date: Thursday, May 28, 2009, 4:24 PM > > hello Ethan, > > Really I want to appreciate your work on Nagios it is > > really a wonderful solution. > > I have a challenge with monitoring with Nagios 3.0.6. > > My network diagram is somehow complex and I want Nagios to > > monitoring it accurately for me. > > > > All my remote sites are connected to a Hub while they take > > Internet access from the head office that is remote. I am at > > the monitoring office which is different from both the head > > office and the remotes sites. > > > > Since they get their internet access from the headoffice, I > > want nagios to monitoring it in such a way that once the > > head office goes down, all remote regardless of the fact > > that they are not connected to he headoffice directly. How > > do I do this. > > > > I have done a parent/child relationship btw the headoffice > > and the remotes but the remote still remain up when the > > headoffice goes down. I have done host dependencies but it > > is still thesame thing. > > please help. > > I am using sles10 SP2 with nagios 3.0.6 with nagiosql, > > NdoUtils and Nagvis1.4. > > > > Expecting your reply cos it is really challenging. As long as you have the parenting set up correctly, Nagios should do exactly what you want. With very little to go on, it sounds like you're set up like this: Nagios --- Head Office -- Remote Office Assuming everything has a parent on it, and the chain of parents leads directly back ifrom the Remote Office to the Nagios box, everything should just work. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Jun 3 09:11:15 2009 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 3 Jun 2009 12:41:15 +0530 Subject: Nagios 3.0.6 and Nagvis 1.4 Message-ID: <6b16fb4c0906030011o4e829003vede3614cbd0bcf71@mail.gmail.com> Hi, As per http://docs.nagvis.org/1.4/en_US/index.html for system requirements, Is Nagvis 1.4 compatible with Nagios 3.0.6 Stable release. ? Thanks, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Jones at health.wa.gov.au Wed Jun 3 09:46:38 2009 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Wed, 3 Jun 2009 15:46:38 +0800 Subject: Adding Cisco enterprise MIBs Message-ID: I'm running Nagios 3.1 on Ubuntu 8.1 monitoring routers and switches I'm trying to add the Cisco MIBs I've downloaded. How do I verify which directory and .conf file needs updating please? Thx Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at it-slav.net Wed Jun 3 09:29:44 2009 From: peter at it-slav.net (Peter Andersson) Date: Wed, 03 Jun 2009 09:29:44 +0200 Subject: Nordic meet on Nagios has started with live video feed Message-ID: <4A262668.8090109@it-slav.net> Hi list, If anybody is intersted, Nordic meet on Nagios has started and is broadcasted on Internet. Take a peak at: http://nordicmeetonnagios.op5.org/ Best regards Peter Andersson -- I blog, therefore I am. http://www.it-slav.net/blogs ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at it-slav.net Wed Jun 3 09:35:05 2009 From: peter at it-slav.net (Peter Andersson) Date: Wed, 03 Jun 2009 09:35:05 +0200 Subject: Nordic meet on Nagios has started with live video feed Message-ID: <4A2627A9.90303@it-slav.net> Hi list, If anybody is intersted, Nordic meet on Nagios has started and is broadcasted on Internet. Take a peak at: http://nordicmeetonnagios.op5.org/ Best regards Peter Andersson -- I blog, therefore I am. http://www.it-slav.net/blogs ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frontin at irit.fr Wed Jun 3 10:36:41 2009 From: frontin at irit.fr (Jean Frontin) Date: Wed, 03 Jun 2009 10:36:41 +0200 Subject: Empty message In-Reply-To: <50A0CCF8-3D05-4E14-A3A0-98C9860BCDB4@ena.com> References: <4A2526C1.7030304@irit.fr> <50A0CCF8-3D05-4E14-A3A0-98C9860BCDB4@ena.com> Message-ID: <4A263619.3040007@irit.fr> Hello Marc, Thanks you for your help. I look at the nagios.log and I find this : [1243947971] SERVICE NOTIFICATION: frontin;localhost;Total Processes;WARNING;notify-by-email;PROCS WARNING: 261 processes with STATE = RSZDT [1243949541] SERVICE NOTIFICATION: frontin;localhost;Root Partition;CRITICAL;notify-by-email;DISK CRITICAL - free space: / 0 MB (0% inode=96%): Let me explain why the message is empty, or where must I search, (nagois sends me a message, normal !) Regards Jean Frontin Marc Powell a ?crit : > On Jun 2, 2009, at 8:18 AM, Jean Frontin wrote: > >> Hi, >> >> Nagios 3.0.6 on fedora core 8. >> Sometimes I receive empty messages from nagios. subject is empty and >> the >> body also. I can't reproduce the message !!!!!! >> >> Any ideas to solve this problem > > Never heard of this. Are you sure it came from Nagios or did it come > from the nagios user? Can you find a matching NOTIFICATION in > nagios.log? Do you have any cron jobs that run as nagios that might be > sending the message? Is it periodic? > > -- > Marc > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whit+nagios at transpect.com Wed Jun 3 15:13:59 2009 From: whit+nagios at transpect.com (Whit Blauvelt) Date: Wed, 3 Jun 2009 09:13:59 -0400 Subject: Please define "defined" in this context Message-ID: <20090603131359.GA17104@transpect.com> Hi, Starting to set up Nagios, and puzzled at something that must be simple, but the language is unclear. The example localhost.cfg has this section: define service{ use local-service ; Name of service template to use host_name localhost service_description HTTP check_command check_http notifications_enabled 0 } I've changed two things in it: First, I've switched all the host_name's from "localhost" to the real hostname. Second, since the http instance on the system requires a login, I invoked ./check_http --help and learned: -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication So now I have define service{ use local-service ; Name of service template to use host_name realhost service_description HTTP check_command check_http --authorization=httpuser:pass notifications_enabled 0 } But that doesn't work: # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ... Error: Service check command 'check_http --authorization=httpuser:pass' specified in service 'HTTP' for host 'realhost' not defined anywhere! What does "defined" means in this context? What does "anywhere" mean? I'd say that the command is well-defined, in that check_http is a standard request, and it's being followed by one of the flags it defines in its help. Plus, that overall action is being defined right in "localhost.cfg". In the context of Nagios "not defined" and "anywhere" must be terms of art, rather than common English. How can a beginner learn what they mean in Nagios-speak? What's the "where" to put the "definition" to make this simple http login request work? Regards, Whit ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From torresgi at ninds.nih.gov Wed Jun 3 15:21:32 2009 From: torresgi at ninds.nih.gov (Giovanni Torres) Date: Wed, 03 Jun 2009 09:21:32 -0400 Subject: Adding Cisco enterprise MIBs In-Reply-To: References: Message-ID: <4A2678DC.50506@ninds.nih.gov> If you're adding MIBs to Ubuntu, the default directory for snmp mibs are /usr/share/snmp/mibs/, that is, if you have the libsnmp-base package installed. Just place the cisco mibs in that default directory and that should do it. Now, to verify that the mibs are working, you can use a mib browser such as mbrowse (apt-get install mbrowse). Make sure your /etc/snmp/snmpd.conf configuration file matches how you have your routers and switches configured for snmp. with mbrowse, plug in a snmp-configured hostname, and browse click through the tree until you reach your mib, usually below .1.3.6.1.4.1.9.9 note that not all OIDs in a MIB are supported for all IOS versions. cisco usually has a link for each IOS version and what MIBs are supported. once the mib is verified and working, use the check_snmp check_command in your .cfg files of the routers and switches you want to monitor. Hope this helps. If not, please pose a more specific question of what steps you are trying to accomplish. Giovanni Jones, Stuart wrote: > I'm running Nagios 3.1 on Ubuntu 8.1 monitoring routers and switches I'm > trying to add the Cisco MIBs I've downloaded. How do I verify which > directory and .conf file needs updating please? > Thx Stuart > > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 16:27:58 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 09:27:58 -0500 Subject: Please define "defined" in this context In-Reply-To: <20090603131359.GA17104@transpect.com> References: <20090603131359.GA17104@transpect.com> Message-ID: <9314866A-6C1F-428A-B94C-496490AF6CCC@ena.com> On Jun 3, 2009, at 8:13 AM, Whit Blauvelt wrote: > Hi, > > Starting to set up Nagios, and puzzled at something that must be > simple, but > the language is unclear Welcome... > define service{ > use local-service ; Name > of service template to use > host_name realhost > service_description HTTP > check_command check_http -- > authorization=httpuser:pass > notifications_enabled 0 > } > > But that doesn't work: Correct, it won't. The check_command is the short name that references a command{} definition, with optional !-separated parameters. > # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > ... > Error: Service check command 'check_http -- > authorization=httpuser:pass' specified in service 'HTTP' for host > 'realhost' not defined anywhere! > > What does "defined" means in this context? There is no command{} definition with a command_name of 'check_http -- authorization=httpuser:pass' and corresponding command_line to be executed. > What does "anywhere" mean? In any cfg_file referenced by nagios.cfg. > I'd say that the command is well-defined, in that check_http is a > standard > request, and it's being followed by one of the flags it defines in > its help. > Plus, that overall action is being defined right in "localhost.cfg". Your guess was wrong and you misunderstand what it is you're changing. check_command is a reference to a command_name in a command{} definition. The corresponding command_line would be executed for the check and that's where you need to make your change. > In the context of Nagios "not defined" and "anywhere" must be terms of > art, rather than common English. How can a beginner learn what they > mean in > Nagios-speak? What's the "where" to put the "definition" to make > this simple > http login request work? Reading the documentation would be a good start. I highly recommend you read through them fully at least once. Much time has been spent on them to address questions such as this and they're very thorough. All the objects are referenced as Definitions so 'not defined' isn't art so much as English. The terminology is used extensively within the docs. Some good starting points -- http://nagios.sourceforge.net/docs/3_0/config.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html and this one will help you generalize the check you're trying to do -- http://nagios.sourceforge.net/docs/3_0/macros.html -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed Jun 3 16:26:46 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 3 Jun 2009 16:26:46 +0200 Subject: nSvcEvent and nSvcNotify traps Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch> As someone an Idea? When an event occurs, Nagios is sending the variable $NOTIFICATIONTYPE within Email : ===email======================================== TEST***** Nagios ***** Notification Type: PROBLEM Service: Ntp Host: test1 Address: server_test State: CRITICAL Date/Time: Tue Jun 2 16:37:59 CEST 2009 Additional Info: NTP CRITICAL: No response from NTP server ===checkcommand.cfg==================================== define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "TEST***** Nagios *****\n\nNotificatio n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $ HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info :\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALI AS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But it doesn't run with snmp trap ?????: ===checkcommand.cfg==================================== Define command{ command_line $USER1$/send_trap server_test public $HOSTNAME$ $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ $NOTIFICATIONTYPE$ } ===/usr/local/nagios/libexec/send_trap========== /usr/bin/snmptrap -v 2c -c $2 $1 '' NAGIOS-NOTIFY-MIB::nSvcEvent \ nSvcHostname s "$3" nSvcDesc s "$4" nSvcStateID i $5 nSvcOutput s "$6" nSvcNotifyType i "$7" echo `date` >>//etc/nagios/send_trap_result.txt echo "Param. 1:"$1 >>/etc/nagios/send_trap_result.txt echo "Param. 2:"$2 >>/etc/nagios/send_trap_result.txt echo "Param. 3:"$3 >>/etc/nagios/send_trap_result.txt echo "Param. 4:"$4 >>/etc/nagios/send_trap_result.txt echo "Param. 5:"$5 >>/etc/nagios/send_trap_result.txt echo "Param. 6:"$6 >>/etc/nagios/send_trap_result.txt echo "Param. 7:"$7 >>/etc/nagios/send_trap_result.txt echo "Param. 8:"$8 >>/etc/nagios/send_trap_result.txt echo "Param. 9:"$9 >>/etc/nagios/send_trap_result.txt echo "Param.10:"$10 >>/etc/nagios/send_trap_result.txt echo "Param.11:"$11 >>/etc/nagios/send_trap_result.txt echo "Param.12:"$12 >>/etc/nagios/send_trap_result.txt echo "Param.13:"$13 >>/etc/nagios/send_trap_result.txt echo `date` >>//etc/nagios/send_trap_result.txt ===send_trap.result.txt=========================== Tue Jun 2 16:42:52 CEST 2009 Param. 1: Param. 2: Param. 3:test1 Param. 4:Ntp Param. 5:0 Param. 6:NTP Param. 7:OK: Param. 8:Offset Param. 9:unknown Param.10: Param.11: Param.12: Param.13: Tue Jun 2 16:42:52 CEST 2009 I'd like to receive in my snmp trap the nSvcNotifyType like : Notification Type: PROBLEM Notification Type: RECOVERY ... Do a trap snmp sending only a nSvcEvent NOTIFICATION-TYPE or a nSvcNotify NOTIFICATION-TYPE too ????? What's the difference between them ???? Where should I find documentation about that ???? regards jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 16:38:24 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 09:38:24 -0500 Subject: Can't do Serial Checks with Nagios 3.0.6 In-Reply-To: <20090602231433.GU13489@bakgwai.americas.hpqcorp.net> References: <820100.50811.qm@web53910.mail.re2.yahoo.com> <20090602231433.GU13489@bakgwai.americas.hpqcorp.net> Message-ID: <789AC8C3-EBEE-4117-977C-AFE54E275E33@ena.com> On Jun 2, 2009, at 6:14 PM, Patrick Morris wrote: > On Mon, 01 Jun 2009, emma abi wrote: > >> --- On Thu, 5/28/09, emma abi wrote: >>> All my remote sites are connected to a Hub while they take >>> Internet access from the head office that is remote. I am at >>> the monitoring office which is different from both the head >>> office and the remotes sites. > As long as you have the parenting set up correctly, Nagios should do > exactly what you want. With very little to go on, it sounds like > you're > set up like this: > > Nagios --- Head Office -- Remote Office > > Assuming everything has a parent on it, and the chain of parents leads > directly back ifrom the Remote Office to the Nagios box, everything > should > just work. While it's not entirely clear, I think it's more complicated than this. I interpret it as -- Internet | Head Office | Nagios ------ Remote Site From his perspective, the remote site is still up no matter the status of the head office, even though from a production standpoint it's broken. Host dependencies and parenting won't work because the status of the remote site is always OK. My only suggestion would be to create a check that's run from Remote Site to the Internet that would fail to know when it's broken. If the OP really needed to have the status of all the services at that site show critical I think he'd need to do something creative like disable active checks of those services, and submit a passive CRITICAL result for them as part of an event_handler. Do the opposite when the head office recovered... Icky and my thinking may not be clear this morning... -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Jun 3 16:47:47 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 03 Jun 2009 10:47:47 -0400 Subject: 3D Status Map Java exception error? In-Reply-To: <4A2544A9.3010101@gmail.com> References: <4A2544A9.3010101@gmail.com> Message-ID: <4A268D13.7070401@gmail.com> Client is a Mac (OS X 10.5.7) with Firefox 3.x. A VRML viewer *is* installed. Clicking on the 3-D Status Map link launch a Java applet that then says: "Unable to launch the application." If I click the "Details" button, the header of the window says: "Error: Could not parse launch file. Error at line 0." In the Launch File field, I see: #VRML V2.0 utf8 WorldInfo{ title "Nagios 3-D Network Status View" info ["Copyright (c) 1999-2002 Ethan Galstad" "egalstad at nagios.org"] } Background{ skyColor 0.1 0.1 0.15 ~ I truncated the rest ~ The Exception field shows: JNLParseException[ Could not parse launch file. Error at line 0.] at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:58) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:143) at com.sun.javaws.Main.launchApp(Main.java:253) at com.sun.javaws.Main.continueInSecureThread(Main.java:213) at com.sun.javaws.Main$1.run(Main.java:108) at java.lang.Thread.run(Thread.java:637) And the Wrapped Exception field shows: Failed to find the '<' charater that marks the end of a CDATA element. Exception parsing xml at line 0 at com.sun.deploy.xml.XMLParser.skipPCData(XMLParser.java:182) at com.sun.deploy.xml.XMLParser.nextToken(XMLParser.java:100) at com.sun.deploy.xml.XMLParser.parse(XMLParser.java:58) at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:56) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:52) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:64) at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:143) at com.sun.javaws.Main.launchApp(Main.java:253) at com.sun.javaws.Main.continueInSecureThread(Main.java:213) at com.sun.javaws.Main$1.run(Main.java:108) at java.lang.Thread.run(Thread.java:637) Any ideas? A. Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 17:11:16 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 10:11:16 -0500 Subject: 3D Status Map Java exception error? In-Reply-To: <4A268D13.7070401@gmail.com> References: <4A2544A9.3010101@gmail.com> <4A268D13.7070401@gmail.com> Message-ID: <3514E297-52E6-4DE8-9D47-B86855B5209D@ena.com> On Jun 3, 2009, at 9:47 AM, Andrew Davis wrote: > Client is a Mac (OS X 10.5.7) with Firefox 3.x. A VRML viewer *is* > installed. Why so coy about which one you've installed? That's an important bit of information, no? At the very least you can confirm that someone else has successfully used it. > Clicking on the 3-D Status Map link launch a Java applet that then > says: "Unable to launch the application." > > If I click the "Details" button, the header of the window says: > "Error: Could not parse launch file. Error at line 0." Sounds like a compatibility issue with the supposed VRML viewer you've chosen. Does it speak VRML V2.0? Have you tried a different viewer? -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Wed Jun 3 17:16:15 2009 From: Rick.Garland at quantum.com (Rick Garland) Date: Wed, 3 Jun 2009 09:16:15 -0600 Subject: monitoring F5 In-Reply-To: <20090602222641.GT13489@bakgwai.americas.hpqcorp.net> References: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E10D@DENMSGV1.QUANTUM.COM> <20090602222641.GT13489@bakgwai.americas.hpqcorp.net> Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E1F1@DENMSGV1.QUANTUM.COM> Got some additional information. These are F5 BigIP load balancers. Does this help or is more info needed? -----Original Message----- Sent: Tuesday, June 02, 2009 4:27 PM To: Rick Garland Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitoring F5 On Tue, 02 Jun 2009, Rick Garland wrote: > Hi all: > > Got a new request to monitor F5 appliances. > I see lots of posts out there but want to get some feedback. > What do you feel is important to monitor on the F5? F5 makes a lot of different appliances with a vary wide range of functions, so that's an awfully broad question. ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum Corporation. Furthermore, Quantum Corporation is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whit+nagios at transpect.com Wed Jun 3 17:22:20 2009 From: whit+nagios at transpect.com (Whit Blauvelt) Date: Wed, 3 Jun 2009 11:22:20 -0400 Subject: Please define "defined" in this context In-Reply-To: <9314866A-6C1F-428A-B94C-496490AF6CCC@ena.com> References: <20090603131359.GA17104@transpect.com> <9314866A-6C1F-428A-B94C-496490AF6CCC@ena.com> Message-ID: <20090603152220.GA19616@transpect.com> On Wed, Jun 03, 2009 at 09:27:58AM -0500, Marc Powell wrote: > All the objects are referenced as Definitions so 'not defined' isn't art > so much as English. Hi Marc, Thanks for all the pointers. When you say "All the objects are referenced as Definitions" - capitalizing "Definitions" makes it clear it's a term of art. I take it then that the inability of the .cfg file to simply function like those of many other configuration files in the *nix universe and pass on flags is a constraint imposed by OOP architectural philosophy? It looks a bit like needless multiplication of entities to a naive view like mine. But I'm sure I'll get used to it. I'm sure at some point the documentation will all come into focus too. At first acquaintance, it's sketchy, scattered and disorganized. I've been doing various sorts of coding and sysadmin for 20 years, and usually new docs are easy for me to grasp. Navigating from the "Nagios 3.x Documentation Table of Contents" - which is where Nagios itself sends me for "Documentation" - it's not at all clear where to go for a definition of "Definition". Nor would it be helpful to just read the whole thing - trying to absorb "Passive Host State Translation" and other arcane, specialized topics leads to cognitive overload and side-tracking, not an answer to the pragmatic question of why Nagios config files don't follow the norms of the *nix space. Nothing against that! Nagios has strong capabilities, and I'm committed to use it. But the "Configuration Overview" page in the Doc would be much improved if it really gave an overview. Instead, it's just a stub of an outline that quickly shunts the reader off to other documents, which in turn are just stubs of outlines that quickly shunt the reader off to yet other places. The job of an overview, IMHO, should be to give an overview, all in one place. It should make sense by itself. Sending the reader to other docs, which send the reader to other docs, which send the reader to other docs - just to get a sense of what the overview is ... well, that's terrible documentation writing, no matter how much time it took to set it up that way. The Overview should function like an Introduction in a book. The Introduction can't demand that the reader read the whole book first to make sense of the Introduction. Maybe at some point I should contribute to the documentation, once I have a good working overview myself. Regards, Whit ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 3 17:26:07 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 3 Jun 2009 11:26:07 -0400 Subject: monitoring F5 In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E1F1@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E10D@DENMSGV1.QUANTUM.COM><20090602222641.GT13489@bakgwai.americas.hpqcorp.net> <8324365F3DDCFE4EA4CBB01F275CDD6503A8E1F1@DENMSGV1.QUANTUM.COM> Message-ID: <8147CCE3C4A8764DA9980125EE70E823D32F2F@nuexchg.norwich.edu> -----Original Message----- From: Rick Garland [mailto:Rick.Garland at quantum.com] Sent: Wednesday, June 03, 2009 11:16 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring F5 Got some additional information. These are F5 BigIP load balancers. Does this help or is more info needed? --- Yes - Google is your friend... :) http://www.google.com/search?source=ig&hl=en&rlz=&=&q=nagios+big-ip&btnG =Google+Search&aq=f&oq= regards, jamie ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 3 18:08:30 2009 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 3 Jun 2009 18:08:30 +0200 (CEST) Subject: monitoring F5 In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E1F1@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD6503A8E10D@DENMSGV1.QUANTUM.COM> <20090602222641.GT13489@bakgwai.americas.hpqcorp.net> <8324365F3DDCFE4EA4CBB01F275CDD6503A8E1F1@DENMSGV1.QUANTUM.COM> Message-ID: <58842.213.255.109.107.1244045310.squirrel@picard.linux.it> Hi, >> Got a new request to monitor F5 appliances. >> I see lots of posts out there but want to get some feedback. >> What do you feel is important to monitor on the F5? For BigIp F5 load balancers I use the controls you can see in the attached images. Bandwidth and Mempool are collected through a couple of plugins I wrote and graphed by a couple of custom template. I do not think it's worth to check disks, since it's assumed they do not grow remarkably. And if they break...well...host down :-) Giorgio Zarrelli -------------- next part -------------- A non-text attachment was scrubbed... Name: f5.bandwidth.current.png Type: image/png Size: 55364 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: f5.caricocpu.current.png Type: image/png Size: 25097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: f5.mempool.current.png Type: image/png Size: 23343 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: load-balancer-bigip-f5-checks.png Type: image/png Size: 9226 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Jun 3 18:13:21 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 03 Jun 2009 12:13:21 -0400 Subject: 3D Status Map Java exception error? In-Reply-To: <3514E297-52E6-4DE8-9D47-B86855B5209D@ena.com> References: <4A2544A9.3010101@gmail.com> <4A268D13.7070401@gmail.com> <3514E297-52E6-4DE8-9D47-B86855B5209D@ena.com> Message-ID: <4A26A121.4010205@gmail.com> Sorry, wasn't trying to be coy. Didn't realize it was relevant. And right now I'm not sure that VRML 2.0 is supported. I'll check that and try another VRML viewer. Curious if anyone else is using Firefox 3.x on Mac OS X with a VRML viewer that works and which one you're using??? A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Marc Powell wrote: > On Jun 3, 2009, at 9:47 AM, Andrew Davis wrote: > > >> Client is a Mac (OS X 10.5.7) with Firefox 3.x. A VRML viewer *is* >> installed. >> > > Why so coy about which one you've installed? That's an important bit > of information, no? At the very least you can confirm that someone > else has successfully used it. > > >> Clicking on the 3-D Status Map link launch a Java applet that then >> says: "Unable to launch the application." >> >> If I click the "Details" button, the header of the window says: >> "Error: Could not parse launch file. Error at line 0." >> > > Sounds like a compatibility issue with the supposed VRML viewer you've > chosen. Does it speak VRML V2.0? Have you tried a different viewer? > > -- > Marc > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Jun 3 18:48:26 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 03 Jun 2009 12:48:26 -0400 Subject: Nagios & Avaya Message-ID: <4A26A95A.9030807@gmail.com> We have recently had a new Avaya VOIP system installed, including eXtreme switches. The NagiosExchange site has at least one SNMP addon for the eXtreme switches... however searching for "avaya", "lucent", "definity", and "audix" all reveal zero hits. I understand that Avaya has their s/w that is somewhat in competition with Nagios, but I can't imagine that no one is polling the Avaya equipment outside of Avaya's own s/w. Is anyone out there querying new'ish Avaya VOIP phone switches, add-on cards, and/or Modular Messaging environments? I'm interested in info (other URL's if needed), existing scripts, howto's, etc... pretty much anything as I'm seeing nothing right now. Thanks, -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 3 19:15:03 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 3 Jun 2009 13:15:03 -0400 Subject: Nagios & Avaya In-Reply-To: <4A26A95A.9030807@gmail.com> References: <4A26A95A.9030807@gmail.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD608FD1294@missemsa01.bsg.ad.adp.com> Apologies for the blank reply, everyone (damned Ctrl-Enter). Andrew, does snmpwalk against the switches give back any useful information? Rather than searching for something that may not exist, by way of canned solutions, you may get off the ground faster to just query the OID(s) you want. ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: June 3, 2009 12:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios & Avaya We have recently had a new Avaya VOIP system installed, including eXtreme switches. The NagiosExchange site has at least one SNMP addon for the eXtreme switches... however searching for "avaya", "lucent", "definity", and "audix" all reveal zero hits. I understand that Avaya has their s/w that is somewhat in competition with Nagios, but I can't imagine that no one is polling the Avaya equipment outside of Avaya's own s/w. Is anyone out there querying new'ish Avaya VOIP phone switches, add-on cards, and/or Modular Messaging environments? I'm interested in info (other URL's if needed), existing scripts, howto's, etc... pretty much anything as I'm seeing nothing right now. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 3 19:13:25 2009 From: Steve.Onotsky at broadridge.com (Onotsky, Steve x55328) Date: Wed, 3 Jun 2009 13:13:25 -0400 Subject: Nagios & Avaya In-Reply-To: <4A26A95A.9030807@gmail.com> References: <4A26A95A.9030807@gmail.com> Message-ID: <30A417B62E7EE448B3864ADC881CEFD608FD1291@missemsa01.bsg.ad.adp.com> ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: June 3, 2009 12:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios & Avaya We have recently had a new Avaya VOIP system installed, including eXtreme switches. The NagiosExchange site has at least one SNMP addon for the eXtreme switches... however searching for "avaya", "lucent", "definity", and "audix" all reveal zero hits. I understand that Avaya has their s/w that is somewhat in competition with Nagios, but I can't imagine that no one is polling the Avaya equipment outside of Avaya's own s/w. Is anyone out there querying new'ish Avaya VOIP phone switches, add-on cards, and/or Modular Messaging environments? I'm interested in info (other URL's if needed), existing scripts, howto's, etc... pretty much anything as I'm seeing nothing right now. Thanks, 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Jun 3 19:25:14 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 03 Jun 2009 13:25:14 -0400 Subject: Nagios & Avaya In-Reply-To: <30A417B62E7EE448B3864ADC881CEFD608FD1294@missemsa01.bsg.ad.adp.com> References: <4A26A95A.9030807@gmail.com> <30A417B62E7EE448B3864ADC881CEFD608FD1294@missemsa01.bsg.ad.adp.com> Message-ID: <4A26B1FA.6000507@gmail.com> I agree completely and will do that if necessary, but where I possible, I prefer not to re-invent the wheel. Seeing nothing on NagiosExchange or the first page of a Google search, I thought I'd poll the list. I was actually really surprised to see absolutely nothing from Google searches and my conspiracy theory mind thought there might be a reason why (Avaya claiming IP on their MIBs/OIDs and take down notices for using them in Nagios add-ons?), but I digress... If I get nothing, I guess I'll just start working on my own... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Onotsky, Steve x55328 wrote: > > Apologies for the blank reply, everyone (damned Ctrl-Enter). > > > > Andrew, does snmpwalk against the switches give back any useful > information? Rather than searching for something that may not exist, > by way of canned solutions, you may get off the ground faster to just > query the OID(s) you want. > > > > > > ------------------------------------------------------------------------ > > *From:* Andrew Davis [mailto:nccomp at gmail.com] > *Sent:* June 3, 2009 12:48 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Nagios & Avaya > > > > We have recently had a new Avaya VOIP system installed, including > eXtreme switches. The NagiosExchange site has at least one SNMP addon > for the eXtreme switches... however searching for "avaya", "lucent", > "definity", and "audix" all reveal zero hits. I understand that Avaya > has their s/w that is somewhat in competition with Nagios, but I can't > imagine that no one is polling the Avaya equipment outside of Avaya's > own s/w. Is anyone out there querying new'ish Avaya VOIP phone > switches, add-on cards, and/or Modular Messaging environments? I'm > interested in info (other URL's if needed), existing scripts, howto's, > etc... pretty much anything as I'm seeing nothing right now. > > > 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. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howard.allison at pva.sozvers.at Wed Jun 3 15:45:53 2009 From: howard.allison at pva.sozvers.at (Howard Allison) Date: Wed, 3 Jun 2009 15:45:53 +0200 Subject: Antwort: Please define "defined" in this context In-Reply-To: <20090603131359.GA17104@transpect.com> References: <20090603131359.GA17104@transpect.com> Message-ID: Whit Blauvelt wrote on 03.06.2009 15:13:59: > Whit Blauvelt > 03.06.2009 15:27 > > An > > nagios-users at lists.sourceforge.net > > Kopie > > Thema > > [Nagios-users] Please define "defined" in this context > > Hi, > > Starting to set up Nagios, and puzzled at something that must be simple, but > the language is unclear. > > The example localhost.cfg has this section: > > define service{ > use local-service ; Name > of service template to use > host_name localhost > service_description HTTP > check_command check_http > notifications_enabled 0 > } > > I've changed two things in it: First, I've switched all the host_name's from > "localhost" to the real hostname. Second, since the http instance on the > system requires a login, I invoked ./check_http --help and learned: > > -a, --authorization=AUTH_PAIR > Username:password on sites with basic authentication > > So now I have > > define service{ > use local-service ; Name > of service template to use > host_name realhost > service_description HTTP > check_command check_http -- > authorization=httpuser:pass > notifications_enabled 0 > } > > But that doesn't work: > > # /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > ... > Error: Service check command 'check_http -- > authorization=httpuser:pass' specified in service 'HTTP' for host > 'realhost' not defined anywhere! > > What does "defined" means in this context? What does "anywhere" mean? I'd > say that the command is well-defined, in that check_http is a standard > request, and it's being followed by one of the flags it defines in its help. > Plus, that overall action is being defined right in "localhost.cfg". > > In the context of Nagios "not defined" and "anywhere" must be terms of > art, rather than common English. How can a beginner learn what they mean in > Nagios-speak? What's the "where" to put the "definition" to make this simple > http login request work? > > Regards, > Whit You need to define the check_http command - in your command definition file.... Howard -------------------------- VERTRAULICHKEIT: Diese Nachricht ist ausschlie?lich f?r denjenigen bestimmt, an den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls Sie nicht der Empf?nger dieser Nachricht sind, weisen wir Sie darauf hin, dass die unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen oder Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht irrt?mlich erhalten haben, vernichten Sie sie bitte sofort. CONFIDENTIALITY: This message is intended only for the use of the individuality or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure. If you are not the intended recipient you are notified that any dissemination, distribution, use or copying of this communication is strictly prohibited. If you received this message in error, please immediately destroy this message. -------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Wed Jun 3 02:15:19 2009 From: jep at obrien-pifer.com (James Pifer) Date: Tue, 02 Jun 2009 20:15:19 -0400 Subject: nagios -->> ndo2db -->> centreon Message-ID: <1243988119.14804.141.camel@storage.obrien-pifer.com> Wondering if anyone here can help me with this. I'm trying to get nagios data written to ndo2db for centreon. Unfortunately the folks on the centreon forum have not been very helpful. If anyone here could help I'd appreciate it. My software versions are: sles10sp2 x64 nagios-plugins-1.4.5-16.13 nagios-2.6-13.16 nagios-plugins-extras-1.4.5-16.13 nagios-www-2.6-13.16 ndoutils-1.4b7 I have these lines in my nagios.cfg file: broker_module=/usr/local/nagios/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg event_broker_options=-1 My /etc/nagios/ndomod.cfg is: instance_name=Central output_type=tcpsocket output=127.0.0.1 tcp_port=5668 output_buffer_items=5000 file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=900 data_processing_options=-1 config_output_options=3 Really not sure if that stuff is correct or not. I'm not sure where the instance_name comes from or if the tcp_port is correct. My ndo database is in mysql and called ndo and I can login using the mysql client with the login that's specified in /usr/local/nagios/etc/ndo2db.cfg. I get this over and over in my nagios log file: [1243973491] ndomod: Still unable to connect to data sink. 6605297 items lost, 5000 queued items to flush. [1243974404] ndomod: Still unable to connect to data sink. 6608938 items lost, 5000 queued items to flush. [1243975317] ndomod: Still unable to connect to data sink. 6612568 items lost, 5000 queued items to flush. [1243976229] ndomod: Still unable to connect to data sink. 6616195 items lost, 5000 queued items to flush. [1243976463] Auto-save of retention data completed successfully. [1243977141] ndomod: Still unable to connect to data sink. 6619829 items lost, 5000 queued items to flush. [1243978053] ndomod: Still unable to connect to data sink. 6623477 items lost, 5000 queued items to flush. [1243978965] ndomod: Still unable to connect to data sink. 6627104 items lost, 5000 queued items to flush. [1243979877] ndomod: Still unable to connect to data sink. 6630729 items lost, 5000 queued items to flush. [1243980063] Auto-save of retention data completed successfully. [1243980789] ndomod: Still unable to connect to data sink. 6634361 items lost, 5000 queued items to flush. [1243981701] ndomod: Still unable to connect to data sink. 6637988 items lost, 5000 queued items to flush. [1243982613] ndomod: Still unable to connect to data sink. 6641613 items lost, 5000 queued items to flush. [1243983525] ndomod: Still unable to connect to data sink. 6645243 items lost, 5000 queued items to flush. [1243983663] Auto-save of retention data completed successfully. I'm not sure where else to look for the problem. If anyone has any ideas or debugging suggestions I'd really appreciate it. Thanks, James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 20:38:33 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 13:38:33 -0500 Subject: Please define "defined" in this context In-Reply-To: <20090603152220.GA19616@transpect.com> References: <20090603131359.GA17104@transpect.com> <9314866A-6C1F-428A-B94C-496490AF6CCC@ena.com> <20090603152220.GA19616@transpect.com> Message-ID: <73F821CE-27F7-47EA-B711-4D7012AB7A6A@ena.com> On Jun 3, 2009, at 10:22 AM, Whit Blauvelt wrote: > On Wed, Jun 03, 2009 at 09:27:58AM -0500, Marc Powell wrote: > >> All the objects are referenced as Definitions so 'not defined' >> isn't art >> so much as English. > > Hi Marc, > > Thanks for all the pointers. When you say "All the objects are > referenced as > Definitions" - capitalizing "Definitions" makes it clear it's a term > of art. > > I take it then that the inability of the .cfg file to simply > function like > those of many other configuration files in the *nix universe and > pass on > flags is a constraint imposed by OOP architectural philosophy? Which config model are you referencing? The Apache model where you can specify Options parameters to a ServerAlias directive and expect it to work? Perhaps the Bind model where the 'masters{}' directive makes perfect sense when used with 'type master'? Maybe it's the UCD-SNMPd model where syslocation information can be specified on com2sec lines? The point being that there's no coherent config model in widespread use, many programs use their own, and it's reasonable to expect a need to understand the specific config model used by a program before jumping in and complaining when things don't work based on your assumptions. Flags work, but they need to be put in the right place (or places depending on the complexity/flexibility you want). > It looks a bit like needless multiplication of entities to a naive > view like mine. But > I'm sure I'll get used to it. Quite the opposite. The config model actually provides for great simplification and reduction of entities in most circumstances and great flexibility for more complex systems. > I'm sure at some point the documentation will all come into focus > too. At > first acquaintance, it's sketchy, scattered and disorganized. I've > been > doing various sorts of coding and sysadmin for 20 years, As have I which makes your commentary about the documentation, and the initial presentation of your question even more baffling. You profess to not be a newbie, but you did some very newbie things; therefore, you got a newbie response. As far as the quality, or lack thereof, of the documentation, all I can say is that it was more than sufficient for me to grasp the concepts you're asking about, even skimming, and sufficient for many other nagios users. Commentary is usually 9-1 that the documentation is as good or better than many other projects. A very significant number of questions to this list are answered in the documentation, either directly or by understanding the concepts detailed there. > Nor would it be helpful to just read the whole thing - trying > to absorb "Passive Host State Translation" and other arcane, > specialized > topics leads to cognitive overload and side-tracking, not an answer > to the > pragmatic question of why Nagios config files don't follow the norms > of > the *nix space. So skip the 'arcane' topics, start with this from the Advice for Beginners section. It's not unreasonable -- 3. Read the documentation. Nagios can be tricky to configure when you've got a good grasp of what's going on, and nearly impossible if you don't. Make sure you read the documentation (particularly the sections on "Configuring Nagios" and "The Basics"). Save the advanced topics for when you've got a good understanding of the basics. > Nothing against that! Nagios has strong capabilities, and I'm > committed to > use it. Indeed it does and it can be very powerful. There's a reason it's popular and the cost isn't primary, I'd say. > Maybe at some point I should contribute to the documentation, once I > have a > good working overview myself. I'm sure it would be welcome. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 20:44:42 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 13:44:42 -0500 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1243988119.14804.141.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> Message-ID: <314771C2-AAF4-4B6A-810E-67F69E408D26@ena.com> On Jun 2, 2009, at 7:15 PM, James Pifer wrote: > Wondering if anyone here can help me with this. I'm trying to get > nagios > data written to ndo2db for centreon. Unfortunately the folks on the > centreon forum have not been very helpful. If anyone here could help > I'd > appreciate it. > > [1243983525] ndomod: Still unable to connect to data sink. 6645243 > items lost, 5000 queued items to flush. > [1243983663] Auto-save of retention data completed successfully. > > I'm not sure where else to look for the problem. If anyone has any > ideas > or debugging suggestions I'd really appreciate it. It looks like ndomod can't talk to ndo2db. Is the ndo2db daemon running and listening on the specified IP/port? Turn on debug in ndo2db.cfg and look in /var/log/messages and the debug file for errors. Check your mysql log for errors as well. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmorris at digitalmorris.com Wed Jun 3 21:01:50 2009 From: dmorris at digitalmorris.com (Derek J. Morris) Date: Wed, 3 Jun 2009 15:01:50 -0400 (EDT) Subject: Log2ndo Not Placing Historical Logs into DB Message-ID: <14959.65.107.105.56.1244055710.squirrel@mail.digitalmorris.com> help using: ./log2ndo -s /usr/local/nagios/var/archives/*.log -d /usr/local/nagios/var/ndo.sock -i default -t unix -p 5668 but nothing is going in to the db, i see db connections successful in log and disconnect successful but nothing is being entered. Running single instance of nagios, default setup of db. NDOUtils 1.47b and Nagios 3.1.0. -Derek ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pepper at cbio.mskcc.org Wed Jun 3 21:43:12 2009 From: pepper at cbio.mskcc.org (Chris Pepper) Date: Wed, 03 Jun 2009 15:43:12 -0400 Subject: Hostgroup subtraction? Message-ID: <4A26D250.9070805@cbio.mskcc.org> We use several hostgroups. I'd like to ensure each host is in a group for its building. My concern is that we need to avoid adding a host without adding it to a building hostgroup. I tried putting the generic parent object in a hostgroup for our main location, and using 'hostgroups -mainlocation,+actuallocation', but apparently hostgroups only allows '+', not '-' or '!'. Is there a way to remove hosts from inherited hostgroups? Is there a way to get a negative listing: all hosts not in any of the (building) hostgroups? Thanks, Chris Pepper -- Chris Pepper: ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Wed Jun 3 21:46:48 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Wed, 3 Jun 2009 15:46:48 -0400 Subject: usage of check_nrpe Message-ID: <699b436a0906031246o558499cel1028c9ffaf2a37d5@mail.gmail.com> I am using NRPE plugins to monitor the remote linux server. Here is my question : i use the following command on the NAGIOS MONITORING SERVER: define command{ command_name check_nrpe_syslog command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_log } My SERVICES.CFG looks like this: define service{ use default-service host_name test-server service_description linux syslog check check_command check_nrpe_syslog } on the REMOTE LINUX SERVER: There are two queries one is "DEAD" and the other is "error" in my nrpe.cfg file command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/log/messages -O /var/log/check_log.messages.error -q 'DEAD' command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/log/messages -O /var/log/check_log.messages.error -q 'error' Will this check both the queries DEAD and error and show on the web interface or will this check only the query "DEAD". I would like to check both the query . How do i work on this . Please help me . Thanks in adv -- Anirudh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 3 21:59:59 2009 From: justinp at norchemlab.com (Justin T Pryzby) Date: Wed, 3 Jun 2009 12:59:59 -0700 Subject: associate a service with its real host Message-ID: <20090603195959.GA9311@norchemlab.com> Hello, Is there any way to monitor host A's externally-available service from host B, while still having it "grouped with" the rest of A's services (many of which are not available from other hosts)? I want to monitor one hosts IMAP service. We're using NRPE, however testing from a 2ndary host asserts that the service is available remotely (that networking works, firewall is allowing the packets, etc.). So for externally-accessible services, I'd like the checks to happen on a 2ndary host (probably the same host running the nagios service). Thanks, Justin ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hytsai at stanford.edu Wed Jun 3 22:11:01 2009 From: hytsai at stanford.edu (Karen Tsai) Date: Wed, 03 Jun 2009 13:11:01 -0700 Subject: Stop Nagios before applying up2date? Message-ID: <6.2.5.6.2.20090603130858.02c64cf0@stanford.edu> Hi, Should we keep Nagios down while applying Linux up2date on the server where Nagios is installed? Thanks, Karen ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergio.ariel at iris.uh.cu Wed Jun 3 21:57:52 2009 From: sergio.ariel at iris.uh.cu (Sergio Ariel) Date: Wed, 03 Jun 2009 15:57:52 -0400 Subject: NTP CRITICAL: Offset unknown Message-ID: <4A26D5C0.6040302@iris.uh.cu> I frequently receive this status from an NRPE check I have running in a remote server. Can somebady tell me where the problem is. I only check 4 server using check_ntp_time to a common NTP server. -- Sergio Ariel de la Campa Saiz Administrador Red UH ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Jun 3 22:27:13 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 03 Jun 2009 16:27:13 -0400 Subject: Stop Nagios before applying up2date? In-Reply-To: <6.2.5.6.2.20090603130858.02c64cf0@stanford.edu> References: <6.2.5.6.2.20090603130858.02c64cf0@stanford.edu> Message-ID: <4A26DCA1.5080902@gmail.com> Its not required, but after a reboot or reload of certain libraries, you could possibly see issues. In general, you should be fine. However our Nagios server is also our Cacti server and Cacti builds against the exact versions of snmp, so when this is upgraded as part of up2date or yum, then we have to recompile Cacti. Depending on what or what else you're doing, you could see similar issues... especially with mySQL, etc. Its sort of a crapshoot... but once you do it the first time, you'll know the answer for all subsequent times. :) A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Karen Tsai wrote: > Hi, > > Should we keep Nagios down while applying Linux up2date on the server > where Nagios is installed? > > Thanks, > Karen > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 23:25:20 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 16:25:20 -0500 Subject: Hostgroup subtraction? In-Reply-To: <4A26D250.9070805@cbio.mskcc.org> References: <4A26D250.9070805@cbio.mskcc.org> Message-ID: On Jun 3, 2009, at 2:43 PM, Chris Pepper wrote: > We use several hostgroups. I'd like to ensure each host is in a > group for its building. My concern is that we need to avoid adding a > host without adding it to a building hostgroup. > > I tried putting the generic parent object in a hostgroup for our main > location, and using 'hostgroups -mainlocation,+actuallocation', but > apparently hostgroups only allows '+', not '-' or '!'. > > Is there a way to remove hosts from inherited hostgroups? In this specific example, using the following in the host{} definition will override the template definition and the host would only be in actuallocation -- hostgroups actuallocation > Is there a way to get a negative listing: all hosts not in any of the > (building) hostgroups? I believe that with use_true_regexp_matching on, 'hostgroups actuallocation, !mainlocation' should work but I haven't tested that... It's the standard convention for other directives. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 23:42:59 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 16:42:59 -0500 Subject: usage of check_nrpe In-Reply-To: <699b436a0906031246o558499cel1028c9ffaf2a37d5@mail.gmail.com> References: <699b436a0906031246o558499cel1028c9ffaf2a37d5@mail.gmail.com> Message-ID: <0593AD9B-5971-4BC6-9CF2-3224B2E8CB9D@ena.com> On Jun 3, 2009, at 2:46 PM, Anirudh Srinivasan wrote: > I am using NRPE plugins to monitor the remote linux server. > > Here is my question : > > There are two queries one is "DEAD" and the other is "error" in my > nrpe.cfg file > command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/log/ > messages -O /var/log/check_log.messages.error -q 'DEAD' > command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/log/ > messages -O /var/log/check_log.messages.error -q 'error' > > Will this check both the queries DEAD and error and show on the web > interface or will this check only the query "DEAD". I would like to > check both the query . It will check only one. You need to define unique command[names] for each check and specify unique service{} definitions for each. If you specify duplicate in nrpe.cfg, by testing I see that only the last defined command is executed. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 3 23:57:21 2009 From: marc at ena.com (Marc Powell) Date: Wed, 3 Jun 2009 16:57:21 -0500 Subject: associate a service with its real host In-Reply-To: <20090603195959.GA9311@norchemlab.com> References: <20090603195959.GA9311@norchemlab.com> Message-ID: On Jun 3, 2009, at 2:59 PM, Justin T Pryzby wrote: > Hello, > > Is there any way to monitor host A's externally-available service from > host B, while still having it "grouped with" the rest of A's services > (many of which are not available from other hosts)? > > I want to monitor one hosts IMAP service. We're using NRPE, however > testing from a 2ndary host asserts that the service is available > remotely (that networking works, firewall is allowing the packets, > etc.). So for externally-accessible services, I'd like the checks to > happen on a 2ndary host (probably the same host running the nagios > service). If you're wanting to check IMAP on a remote machine from the nagios machine then that's nothing special. Just define a service for hostA that calls check_imap without using NRPE. If you have something more complex like nagios -> hostB -> hostA then something like this is what you need -- define command { command_name check_imap_special command_line $USER1$/check_nrpe $ARG1$ -c check_imap ... } define service { host_name hostA service_description IMAP ... check_command check_imap_special! } This presumes that nrpe.cfg on hostB has a command definition of check_imap that has the IP or name of hostA hard-coded into it. If you've enabled command arguments for NRPE, you could pass that IP using the $HOSTADDRESS$ macro like -- define command { command_name check_imap_special command_line $USER1$/check_nrpe $ARG1$ -c check_imap -a $HOSTADDRESS $ ... } nrpe.cfg -- command[check_imap]=/usr/local/nagios/libexec/check_imap -H $ARG1$ -w 10 -c 30 ... -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 02:05:29 2009 From: jep at obrien-pifer.com (James Pifer) Date: Wed, 03 Jun 2009 20:05:29 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <314771C2-AAF4-4B6A-810E-67F69E408D26@ena.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <314771C2-AAF4-4B6A-810E-67F69E408D26@ena.com> Message-ID: <1244073929.14804.148.camel@storage.obrien-pifer.com> > > [1243983525] ndomod: Still unable to connect to data sink. 6645243 > > items lost, 5000 queued items to flush. > > [1243983663] Auto-save of retention data completed successfully. > > > > I'm not sure where else to look for the problem. If anyone has any > > ideas > > or debugging suggestions I'd really appreciate it. > > It looks like ndomod can't talk to ndo2db. Is the ndo2db daemon > running and listening on the specified IP/port? Turn on debug in > ndo2db.cfg and look in /var/log/messages and the debug file for > errors. Check your mysql log for errors as well. I seem to have made some progress. I had multiple ndomod.cfg and ndo2db.cfg. Centreon was writing them to one place and ndo was using the other. I renamed the originals and linked them so they are referencing the same ones. Now I see this in /var/lib/nagios/nagios.log: [1244069666] ndomod: Successfully reconnected to data sink! 0 items lost, 57 queued items to flush. [1244069666] ndomod: Successfully flushed 57 queued items to data sink. [1244070063] Auto-save of retention data completed successfully. Unfortunately I still don't see the host I setup in centreon being monitored by nagios, and it's not listed in nagios' status.log. I also don't see anything in mysql.log or messages. Thanks, James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Thu Jun 4 02:19:30 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Thu, 4 Jun 2009 10:19:30 +1000 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1243988119.14804.141.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> Message-ID: <4A279FB2.B47D.0048.0@stgeorge.com.au> James, The instance name refers to the Nagios instance id and 'Central' is the default created by Centreon. Port 5668 is the default port that the NDO broker module will send data to. The corresponding NDO receiver port is defined in the ndo2db.cfg file and these 2 need to match up. 2 things to look at, when you compiled NDO the modules generated were ndomod-2x.o and ndomod-3x.o, your config is referring to ndomod.o, did you rename the compiled module to match ? Ndo2db does not automatically start, you need to start it and create an init script to start the daemon during boot up. HTH, Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: finchs at stgeorge.com.au www.stgeorge.com.au ______________________________________ St.George Bank IT - Good with people. Good with monitoring. >>> James Pifer 03/06/2009 10:15 am >>> Wondering if anyone here can help me with this. I'm trying to get nagios data written to ndo2db for centreon. Unfortunately the folks on the centreon forum have not been very helpful. If anyone here could help I'd appreciate it. My software versions are: sles10sp2 x64 nagios-plugins-1.4.5-16.13 nagios-2.6-13.16 nagios-plugins-extras-1.4.5-16.13 nagios-www-2.6-13.16 ndoutils-1.4b7 I have these lines in my nagios.cfg file: broker_module=/usr/local/nagios/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg event_broker_options=-1 My /etc/nagios/ndomod.cfg is: instance_name=Central output_type=tcpsocket output=127.0.0.1 tcp_port=5668 output_buffer_items=5000 file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=900 data_processing_options=-1 config_output_options=3 Really not sure if that stuff is correct or not. I'm not sure where the instance_name comes from or if the tcp_port is correct. My ndo database is in mysql and called ndo and I can login using the mysql client with the login that's specified in /usr/local/nagios/etc/ndo2db.cfg. I get this over and over in my nagios log file: [1243973491] ndomod: Still unable to connect to data sink. 6605297 items lost, 5000 queued items to flush. [1243974404] ndomod: Still unable to connect to data sink. 6608938 items lost, 5000 queued items to flush. [1243975317] ndomod: Still unable to connect to data sink. 6612568 items lost, 5000 queued items to flush. [1243976229] ndomod: Still unable to connect to data sink. 6616195 items lost, 5000 queued items to flush. [1243976463] Auto-save of retention data completed successfully. [1243977141] ndomod: Still unable to connect to data sink. 6619829 items lost, 5000 queued items to flush. [1243978053] ndomod: Still unable to connect to data sink. 6623477 items lost, 5000 queued items to flush. [1243978965] ndomod: Still unable to connect to data sink. 6627104 items lost, 5000 queued items to flush. [1243979877] ndomod: Still unable to connect to data sink. 6630729 items lost, 5000 queued items to flush. [1243980063] Auto-save of retention data completed successfully. [1243980789] ndomod: Still unable to connect to data sink. 6634361 items lost, 5000 queued items to flush. [1243981701] ndomod: Still unable to connect to data sink. 6637988 items lost, 5000 queued items to flush. [1243982613] ndomod: Still unable to connect to data sink. 6641613 items lost, 5000 queued items to flush. [1243983525] ndomod: Still unable to connect to data sink. 6645243 items lost, 5000 queued items to flush. [1243983663] Auto-save of retention data completed successfully. I'm not sure where else to look for the problem. If anyone has any ideas or debugging suggestions I'd really appreciate it. Thanks, James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null *** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking this link https://www.mailcontrol.com/sr/6ov0Ez2Xb2jTndxI!oX7UidyY9wa1yn6sEecMPqOl07mkXxbs3cRt6lJ8LIwaR+er0s3dE0!F2mENNTgBxFzrw== . *** ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/xxx Size: 1753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: applicaton/octect-stream Size: 14841 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Thu Jun 4 02:18:10 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 04 Jun 2009 10:18:10 +1000 Subject: Standard Nagios CGI Usage Documentation Message-ID: <4A2712C2.7030701@edcint.co.nz> Has anyone every come across some documentation that is aimed at new Nagios users that describes how to use the standard CGI interface, explains concepts of acknowledgements, downtime, etc etc? -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimmyjose2980 at gmail.com Thu Jun 4 05:05:56 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Thu, 4 Jun 2009 08:35:56 +0530 Subject: SNMP configuration for Nagios: sysUpTime. Message-ID: Hi *All*, I am trying to get SNMP to work within the *web interface of NAGIOS*. I have a Windows-based machine installed with SNMP service and configured with its public community. However, Nagios' web interface is unable to pull the *sysUpTime.0* from this Windows machine though PING works. *Observation*: check_snmp works fine snmpwalk works fine I believe, it has something to do with the SNMP configuration files. Can someone give pointers to documents that suggest what changes need to be done for this? =-=-= OS : Ubuntu 8.10 Nagios version: 3.0.6 snmp version : 5.4.1 =-=-= Thanks, *Jim* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Thu Jun 4 07:12:38 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 4 Jun 2009 10:42:38 +0530 Subject: Agentless Vs Agent based Message-ID: Dear Experts, What are the differences and advantages b/w agentless nagios setup and agent based (NRPE, NSCclient) Nagios monitoring. Please help me in understanding which is better to go with Agentless or Agent based. Please Help. Thanks & Regards, Chethan M N, Sr Engineer - EMS ------------------------------------------------------------------------ -------- Go Green P Save a Tree - 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.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Thu Jun 4 07:21:35 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 4 Jun 2009 10:51:35 +0530 Subject: Agentless Vs Agent based Message-ID: Dear Experts, What are the differences and advantages b/w agentless nagios setup and agent based (NRPE, NSCclient) Nagios monitoring. Please help me in understanding which is better to go with Agentless or Agent based. Please Help. Thanks & Regards, Chethan M N, Sr Engineer - EMS ------------------------------------------------------------------------ -------- Go Green P Save a Tree - 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.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Thu Jun 4 07:53:26 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 4 Jun 2009 11:23:26 +0530 Subject: Agentless Vs Agent based Message-ID: Dear Experts, What are the differences and advantages b/w agentless nagios setup and agent based (NRPE, NSCclient) Nagios monitoring. Please help me in understanding which is better to go with Agentless or Agent based. Please Help. Thanks & Regards, Chethan M N, Sr Engineer - EMS ------------------------------------------------------------------------ -------- Go Green P Save a Tree - 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.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 4 08:14:49 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 03 Jun 2009 23:14:49 -0700 Subject: Agentless Vs Agent based In-Reply-To: References: Message-ID: <4A276659.4060702@kkeane.com> There is no such thing as "better" here - else everybody would just be using that method. The difference is simply that agent-based Nagios monitoring requires that you install software on the client, while agentless monitoring allows you to monitor the computer from afar using SNMP, WMI and the like. Because an agent runs on the computer itself, it can access quite a bit of data that may not be available remotely - but at the same time, the agent is more intrusive and requires more configuration. It is not unusual to use both methods at the same time, actually. Also, you have different security considerations for agentless vs. agent-based monitoring. Agentless monitoring requires that you enable SNMP, WMI, and/or other remote-access technologies. Agent-based monitoring requires that you put additional software (the agent) onto the monitored computer, and usually that software has to run as root or administrator or local system or a similar account with high permissions. Every time you add software to a computer, you also add potential exploits. chethan.mnc at wipro.com wrote: > > > > Dear Experts, > > > > What are the differences and advantages b/w agentless nagios setup and > agent based (NRPE, NSCclient) Nagios monitoring. > > > > Please help me in understanding which is better to go with Agentless > or Agent based. > > > > Please Help. > > > > > > *Thanks & Regards,* > > > > *Chethan M N,* > Sr Engineer - EMS > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimmyjose2980 at gmail.com Thu Jun 4 08:22:35 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Thu, 4 Jun 2009 11:52:35 +0530 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: <4A2765F9.5050506@acces.co.jp> References: <4A2765F9.5050506@acces.co.jp> Message-ID: Oh yes, as I mentioned earlier, it worked fine. On doing "snmpwalk -v1 -c xxxx 172.25.198.36 sysUpTime.0" it returns DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (17703247) 2 days, 1:10:32.47 On doing "check_snmp -H 172.25.198.36 -C xxxx -o sysUpTime.0", it returns SNMP OK - TimeTicks: (17742960) 2 days, 1:17:09.60 Thanks, Jim =-=-= 2009/6/4 Ian Masters > > I am trying to get SNMP to work within the /web interface of NAGIOS/. > > I have a Windows-based machine installed with SNMP service and > > configured with its public community. However, Nagios' web interface is > > unable to pull the *sysUpTime.0* from this Windows machine though PING > > works. > > Have you tried the command from the command line first? e.g. > /usr/local/nagios/libexec/check_snmp -H 192.168.1.1 -C xxxx -o sysUpTime.0 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 4 08:29:52 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 03 Jun 2009 23:29:52 -0700 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: References: Message-ID: <4A2769E0.5000807@kkeane.com> I'm not quite sure what you mean when you are saying "trying to get SNMP to work within the web interface of Nagios". These two things really have very little to do with each other. The Web interface is simply something that lets you, the user, access status information. Any checking is configured in configuration files. You simply can't add a check in the Nagios web interface (although there are some third-party Web interfaces that do allow you to maintain the configuration files with a Web interface). If you correctly configure your check in the Nagios configuration files, the result will pop up in the web interface automatically - Nagios doesn't care whether the check result comes from SNMP or some other mechanism. Jimmyboy wrote: > Hi *All*, > > I am trying to get SNMP to work within the /web interface of NAGIOS/. > I have a Windows-based machine installed with SNMP service and > configured with its public community. However, Nagios' web interface > is unable to pull the *sysUpTime.0* from this Windows machine though > PING works. > > _Observation_: > check_snmp works fine > snmpwalk works fine > > I believe, it has something to do with the SNMP configuration files. > > Can someone give pointers to documents that suggest what changes need > to be done for this? > > =-=-= > OS : Ubuntu 8.10 > Nagios version: 3.0.6 > snmp version : 5.4.1 > =-=-= > > > Thanks, > *Jim* > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chethan.mnc at wipro.com Thu Jun 4 08:27:00 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 4 Jun 2009 11:57:00 +0530 Subject: Agentless Vs Agent based In-Reply-To: <4A276659.4060702@kkeane.com> References: <4A276659.4060702@kkeane.com> Message-ID: Hi Kevin, Thanks a lot for the valuable information. Are there any different documents for Agentless Nagios setup and Agent based nagios setup? Please let me know. Thanks & Regards, ? Chethan M N, Sr Engineer - EMS -------------------------------------------------------------------------------- Wipro Ltd Electronic City, Bangalore. Mob: +91-9886555387 | Dir: +91-080-30299658??? Email: chethan.mnc at wipro.com Website: http://www.wipro.com? Go Green ? Save a Tree -?Please consider the environment before printing this email -----Original Message----- From: Kevin Keane [mailto:subscription at kkeane.com] Sent: Thursday, June 04, 2009 11:45 AM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Agentless Vs Agent based There is no such thing as "better" here - else everybody would just be using that method. The difference is simply that agent-based Nagios monitoring requires that you install software on the client, while agentless monitoring allows you to monitor the computer from afar using SNMP, WMI and the like. Because an agent runs on the computer itself, it can access quite a bit of data that may not be available remotely - but at the same time, the agent is more intrusive and requires more configuration. It is not unusual to use both methods at the same time, actually. Also, you have different security considerations for agentless vs. agent-based monitoring. Agentless monitoring requires that you enable SNMP, WMI, and/or other remote-access technologies. Agent-based monitoring requires that you put additional software (the agent) onto the monitored computer, and usually that software has to run as root or administrator or local system or a similar account with high permissions. Every time you add software to a computer, you also add potential exploits. chethan.mnc at wipro.com wrote: > > > > Dear Experts, > > > > What are the differences and advantages b/w agentless nagios setup and > agent based (NRPE, NSCclient) Nagios monitoring. > > > > Please help me in understanding which is better to go with Agentless > or Agent based. > > > > Please Help. > > > > > > *Thanks & Regards,* > > > > *Chethan M N,* > Sr Engineer - EMS > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Jun 4 08:31:21 2009 From: ian at acces.co.jp (Ian Masters) Date: Thu, 04 Jun 2009 15:31:21 +0900 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: References: <4A2765F9.5050506@acces.co.jp> Message-ID: <4A276A39.2040009@acces.co.jp> > On doing "check_snmp -H 172.25.198.36 -C xxxx -o sysUpTime.0", it returns > SNMP OK - TimeTicks: (17742960) 2 days, 1:17:09.60 If Nagios can succeed on the command line without changing your snmp config I would presume that means the problem is in your nagios .cfg file. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Thu Jun 4 08:33:13 2009 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 4 Jun 2009 12:03:13 +0530 Subject: Nagios 3.0.6 and Nagvis 1.4 In-Reply-To: <6b16fb4c0906030011o4e829003vede3614cbd0bcf71@mail.gmail.com> References: <6b16fb4c0906030011o4e829003vede3614cbd0bcf71@mail.gmail.com> Message-ID: <6b16fb4c0906032333sedd819dt153d390d3fc4aa9d@mail.gmail.com> On Wed, Jun 3, 2009 at 12:41 PM, Kaushal Shriyan wrote: > Hi, > > As per http://docs.nagvis.org/1.4/en_US/index.html for system > requirements, Is Nagvis 1.4 compatible with Nagios 3.0.6 Stable release. ? > > Thanks, > > Kaushal Hi checking in again for my earlier query posted to this mailing list. Thanks, Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 4 08:49:53 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 03 Jun 2009 23:49:53 -0700 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: <4A276A39.2040009@acces.co.jp> References: <4A2765F9.5050506@acces.co.jp> <4A276A39.2040009@acces.co.jp> Message-ID: <4A276E91.90703@kkeane.com> Ian Masters wrote: >> On doing "check_snmp -H 172.25.198.36 -C xxxx -o sysUpTime.0", it returns >> SNMP OK - TimeTicks: (17742960) 2 days, 1:17:09.60 >> > > If Nagios can succeed on the command line without changing your snmp config I > would presume that means the problem is in your nagios .cfg file. > Either that, or it is a permissions problem or an environment problem. Nagios executes checks as user "nagios" not as "root". Off the top of my head, I'm not sure what, if any, environment variables are passed to the check. -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Jun 4 08:58:32 2009 From: ian at acces.co.jp (Ian Masters) Date: Thu, 04 Jun 2009 15:58:32 +0900 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: References: <4A2765F9.5050506@acces.co.jp> Message-ID: <4A277098.5080409@acces.co.jp> This works fine for me: check_command check_snmp! -H 172.16.1.1 -C xxxx -o sysUpTime.0 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Jun 4 08:13:13 2009 From: ian at acces.co.jp (Ian Masters) Date: Thu, 04 Jun 2009 15:13:13 +0900 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: References: Message-ID: <4A2765F9.5050506@acces.co.jp> > I am trying to get SNMP to work within the /web interface of NAGIOS/. > I have a Windows-based machine installed with SNMP service and > configured with its public community. However, Nagios' web interface is > unable to pull the *sysUpTime.0* from this Windows machine though PING > works. Have you tried the command from the command line first? e.g. /usr/local/nagios/libexec/check_snmp -H 192.168.1.1 -C xxxx -o sysUpTime.0 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jimmyjose2980 at gmail.com Thu Jun 4 09:09:20 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Thu, 4 Jun 2009 12:39:20 +0530 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: <4A277098.5080409@acces.co.jp> References: <4A2765F9.5050506@acces.co.jp> <4A277098.5080409@acces.co.jp> Message-ID: I have snmpd.conf and snmptrapd.conf files within the path '/etc/snmp/'. Shouldn't one need to make changes within these configuration files in order to pass/retrieve relevant information to the web interface of Nagios? What I feel is Nagios is unable to query the network entity and so unable to get the needed information. Appreciate your help!! Thanks, Jim =-=-=-= 2009/6/4 Ian Masters > This works fine for me: > check_command check_snmp! -H 172.16.1.1 -C xxxx -o sysUpTime.0 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenneho.ndu at gmail.com Thu Jun 4 09:17:39 2009 From: kenneho.ndu at gmail.com (Kenneth Holter) Date: Thu, 4 Jun 2009 09:17:39 +0200 Subject: Rebuild Nagios-packages for RHEL 5 Message-ID: Hi all. I'd like to rebuild (from source RPM) a few RHEL 5 Nagios-plugins found in the EPEL repo. Examples of such plugins are "nagios-plugins-load" and "nagios-plugins-disk". The only relevant source RPM I've found is the "nagios-plugins" package. This package seems to include all plugins. Should I use this package to build the above mentioned plugins? If so, does anyone know how to stip the spec file down to just a selected few plugins? I'm quite new to building RPMs, and could use some guidance. Regards, Kenneth Holter -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timp at dts.net.nz Thu Jun 4 08:48:15 2009 From: timp at dts.net.nz (Tim Philips) Date: Thu, 04 Jun 2009 18:48:15 +1200 Subject: Nagios not sending host or service notifications Message-ID: <4A276E2F.5000006@dts.net.nz> Hi, We have hit a weird situation with Nagios and I hope someone in the community can assist or provide some details of additional troubleshooting steps we can/should take. The situation is Nagios doesn't seem to be sending out host or service notifications. I have done the following debugging: 1. Ensure there is no Nagios configuration errors with nagios -v nagios.cfg (no configuration errors) 2. Stopped and started Nagios to ensure there are no configuration errors that -v isn't aware of (and no errors and Nagios restarts correctly) 3. Stopped Nagios and deleted both objects.cache retention.dat and restarted to ensure there was nothing legacy in the configuration 4. Ensure that both on a service, host and global basis that notifications are enabled (and they are) 5. Reviewing the nagios configuration (both in the files and via "view config" from the Nagios UI) When a host (or service) experiences a problem the normal process seems to be happening (from what I see in the UI and the logs): [1244096420] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00-LogVol00;CRITICAL;SOFT;1;DISK CRITICAL - free space: / 17736 MB (4% inode=99%): [1244096480] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00-LogVol00;CRITICAL;SOFT;2;DISK CRITICAL - free space: / 17739 MB (4% inode=99%): [1244096540] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00-LogVol00;CRITICAL;SOFT;3;DISK CRITICAL - free space: / 17739 MB (4% inode=99%): [1244096600] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00-LogVol00;CRITICAL;HARD;4;DISK CRITICAL - free space: / 17739 MB (4% inode=99%): [1244096600] SERVICE NOTIFICATION: nagiosadmin;localhost;root /dev/mapper/VolGroup00-LogVol00;CRITICAL;notify-service-by-email;DISK CRITICAL - free space: / 17739 MB (4% inode=99%): After enabling debugging (debug_level=32) I see the following in the debug log: [1244096600.182820] [032.0] [pid=7951] ** Service Notification Attempt ** Host: 'localhost', Service: 'root /dev/mapper/VolGroup00-LogVol00', Type: 0, Options: 0, Current State: 2, Last Notification: Thu Jan 1 12:00:00 1970 [1244096600.182945] [032.0] [pid=7951] Notification viability test passed. [1244096600.182986] [032.1] [pid=7951] Current notification number: 1 (incremented) [1244096600.183016] [032.1] [pid=7951] Service notification will NOT be escalated. [1244096600.183042] [032.1] [pid=7951] Adding normal contacts for service to notification list. [1244096600.198454] [032.0] [pid=7951] 1 contacts were notified. Next possible notification time: Thu Jun 4 19:23:20 2009 [1244096600.198514] [032.0] [pid=7951] 1 contacts were notified. I'm able to manually use the mail command to send external e-mail (have attempted this several times) and can confirm that I can manually execute the command_line for the notification option: # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } I have addjusted the command_line and changed it to something like (for example): command_line echo "testing" | /usr/bin/mail -s "** TEST SUBJECT **" my at email.address Nagios doesn't have any configuration errors, starts up but still doesn't seem to fire the command!! All this said I'm not seeing anything in the mail server logs indicating that Nagios is even attempting to use notify-service-by-email and send e-mail. Would really appreciate any suggestion anyone can assist with. Cheers -- Tim Philips -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at it-slav.net Thu Jun 4 09:22:00 2009 From: peter at it-slav.net (Peter Andersson) Date: Thu, 04 Jun 2009 09:22:00 +0200 Subject: Today Nordic Meet On Nagios continues with live video Message-ID: <4A277618.1060006@it-slav.net> Hi list, Today Nordic Meet on Nagios continues. The program and live video can be found at: http://nordicmeetonnagios.op5.org/ Regards Peter Andersson -- I blog, therefore I am. http://www.it-slav.net/blogs ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 4 09:30:51 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 04 Jun 2009 00:30:51 -0700 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: References: <4A2765F9.5050506@acces.co.jp> <4A277098.5080409@acces.co.jp> Message-ID: <4A27782B.1050105@kkeane.com> No. These two files are related to the SNMP daemon and the SNMP trap handling, respectively. Basically, SNMP has two different ways it operates. You can query client machines using SNMP, or the client machines can actively send you information (usually only when some event occurs). Actively sending information is called a trap. While you can probably make it work with Nagios, that would be somewhat unusual, and is not what you are looking for here. The snmptrapd.conf file deals with traps. check_snmp (and snmpwalk, snmpget etc.) use a plain client/server approach. On the nagios machine, you have a client - check_snmp. On the monitored client, you have an SNMP "server" called snmpd (in Linux). Windows, as well as many routers, switches etc. all also have similar SNMP servers running. As the name suggests, snmpd.conf is used to configure this daemon. In other words, you would need to set that up on the monitored client if it is a Linux client. check_snmp and snmpget don't use it. Off the top of my head, I don't know how to configure snmp (probably a file called snmp.conf - without the d, along with a whole directory tree under /etc/snmp), but in most Linux distributions it should be pretty much already configured the way you need it. You may need to install a couple MIBs for devices you want to monitor. Most of what you would need to do is done on the command line to the check_snmp command. Jimmyboy wrote: > I have snmpd.conf and snmptrapd.conf files within the path '/etc/snmp/'. > Shouldn't one need to make changes within these configuration files in > order to pass/retrieve relevant information to the web interface of > Nagios? > > What I feel is Nagios is unable to query the network entity and so > unable to get the needed information. > > Appreciate your help!! > > Thanks, > Jim > > =-=-=-= > > 2009/6/4 Ian Masters > > > This works fine for me: > check_command check_snmp! -H 172.16.1.1 -C xxxx -o sysUpTime.0 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Jun 4 10:06:40 2009 From: ian at acces.co.jp (Ian Masters) Date: Thu, 04 Jun 2009 17:06:40 +0900 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: <4A27782B.1050105@kkeane.com> References: <4A2765F9.5050506@acces.co.jp> <4A277098.5080409@acces.co.jp> <4A27782B.1050105@kkeane.com> Message-ID: <4A278090.9020000@acces.co.jp> If your command is working from the command line chances are it will succeed if you configure your cfg file as I indicated. I have noticed that hrSystemUptime.0 gives more accurate information than sysUpTime.0 if you have access to that oid. On the system I'm checking (a linux box) hrSystemUptime.0 agrees with the uptime command but sysUpTime.0 does not. I have no idea why. I'd be interested to know. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Thu Jun 4 10:26:57 2009 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Thu, 4 Jun 2009 10:26:57 +0200 Subject: nSvcEvent and nSvcNotify traps In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch> Message-ID: Von: Meyer Jerome [mailto:Jerome.Meyer at baldata.ch] Gesendet: Mittwoch, 03. Juni 2009 16:27 An: Nagios-users at lists.sourceforge.net Betreff: [Nagios-users] nSvcEvent and nSvcNotify traps As someone an Idea? When an event occurs, Nagios is sending the variable $NOTIFICATIONTYPE within Email : ===email======================================== TEST***** Nagios ***** Notification Type: PROBLEM Service: Ntp Host: test1 Address: server_test State: CRITICAL Date/Time: Tue Jun 2 16:37:59 CEST 2009 Additional Info: NTP CRITICAL: No response from NTP server ===checkcommand.cfg==================================== define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "TEST***** Nagios *****\n\nNotificatio n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $ HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info :\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALI AS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } But it doesn't run with snmp trap ?????: ===checkcommand.cfg==================================== Define command{ command_line $USER1$/send_trap server_test public $HOSTNAME$ $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ $NOTIFICATIONTYPE$ } ===/usr/local/nagios/libexec/send_trap========== /usr/bin/snmptrap -v 2c -c $2 $1 '' NAGIOS-NOTIFY-MIB::nSvcEvent \ nSvcHostname s "$3" nSvcDesc s "$4" nSvcStateID i $5 nSvcOutput s "$6" nSvcNotifyType i "$7" echo `date` >>//etc/nagios/send_trap_result.txt echo "Param. 1:"$1 >>/etc/nagios/send_trap_result.txt echo "Param. 2:"$2 >>/etc/nagios/send_trap_result.txt echo "Param. 3:"$3 >>/etc/nagios/send_trap_result.txt echo "Param. 4:"$4 >>/etc/nagios/send_trap_result.txt echo "Param. 5:"$5 >>/etc/nagios/send_trap_result.txt echo "Param. 6:"$6 >>/etc/nagios/send_trap_result.txt echo "Param. 7:"$7 >>/etc/nagios/send_trap_result.txt echo "Param. 8:"$8 >>/etc/nagios/send_trap_result.txt echo "Param. 9:"$9 >>/etc/nagios/send_trap_result.txt echo "Param.10:"$10 >>/etc/nagios/send_trap_result.txt echo "Param.11:"$11 >>/etc/nagios/send_trap_result.txt echo "Param.12:"$12 >>/etc/nagios/send_trap_result.txt echo "Param.13:"$13 >>/etc/nagios/send_trap_result.txt echo `date` >>//etc/nagios/send_trap_result.txt ===send_trap.result.txt=========================== Tue Jun 2 16:42:52 CEST 2009 Param. 1: Param. 2: Param. 3:test1 Param. 4:Ntp Param. 5:0 Param. 6:NTP Param. 7:OK: Param. 8:Offset Param. 9:unknown Param.10: Param.11: Param.12: Param.13: Tue Jun 2 16:42:52 CEST 2009 I'd like to receive in my snmp trap the nSvcNotifyType like : Notification Type: PROBLEM Notification Type: RECOVERY ... Do a trap snmp sending only a nSvcEvent NOTIFICATION-TYPE or a nSvcNotify NOTIFICATION-TYPE too ????? What's the difference between them ???? Where should I find documentation about that ???? regards jerome Hi ! NAGIOS_NOTIFY_MIB says : nHostEvent NOTIFICATION-TYPE DESCRIPTION "The SNMP trap that is generated as a result of an event with the host in Nagios." nHostNotify NOTIFICATION-TYPE DESCRIPTION "The SNMP trap that is generated as a result of an event requiring notification for a host in Nagios." $NOTIFICATIONTYPE$ is a string and the MIB uses integer.# http://nagios.sourceforge.net/docs/3_0/macrolist.html#notificationtype Does send_trap cover that? if not: Today I finished a small C program to translate the string into integer and send traps (for nHostNotify and nSvcNotify) based on Nagiosmib 1.0.1 If you are interested in... (maybe some parts need a bit of improvement as I am not an advanced c programmer ) regards Gerald OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Thu Jun 4 13:27:18 2009 From: sri.lumpa at free.fr (MAD) Date: Thu, 4 Jun 2009 13:27:18 +0200 (CEST) Subject: Nagios does not run any check anymore In-Reply-To: <1260635441.419861244114626983.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <1260635441.419861244114626983.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <1728732757.420731244114838706.JavaMail.root@zimbra16-e3.priv.proxad.net> Sorry if that question was already answered but I wasn't able to find a solution. I have Nagios v3.0.6 running some test to check the access to some URL and supervising some local metrics (cpu load, disk space...). For some reason I can't figure out, Nagios stopped running the test and re-scheduled them to June the 6th instead of running them every 5 minutes. I tried to restart it and everything seemed to work fine again.... for 10 minutes and then the checks were postponed again to June the 6th. Besides, when I restarted the server, Nagios unloaded the ndo module 10minutes after the restart. Here is the last lines of the logfile: [Thu Jun 4 11:33:21 2009] SERVICE ALERT: host1;url1;CRITICAL;SOFT;2;HTTP CRITIQUE - cha?ne de caract?re trouv?e [Thu Jun 4 11:33:21 2009] SERVICE ALERT: host1;url2;CRITICAL;SOFT;2;HTTP CRITIQUE - cha?ne de caract?re trouv?e [Thu Jun 4 11:33:21 2009] SERVICE ALERT: host1;url3;CRITICAL;SOFT;2;HTTP CRITIQUE - cha?ne de caract?re trouv?e [Thu Jun 4 11:34:21 2009] SERVICE ALERT: host1;url1;CRITICAL;SOFT;3;HTTP CRITIQUE - cha?ne de caract?re trouv?e [Thu Jun 4 11:34:21 2009] SERVICE ALERT: host1;url2;CRITICAL;SOFT;3;HTTP CRITIQUE - cha?ne de caract?re trouv?e [Thu Jun 4 11:34:21 2009] SERVICE ALERT: host1;url3;CRITICAL;SOFT;3;HTTP CRITIQUE - cha?ne de caract?re trouv?e [Thu Jun 4 12:37:30 2009] Caught SIGTERM, shutting down... [Thu Jun 4 12:37:30 2009] Successfully shutdown... (PID=2715) [Thu Jun 4 12:37:41 2009] Nagios 3.0.6 starting... (PID=1369) [Thu Jun 4 12:37:41 2009] Local time is Thu Jun 04 12:37:41 CEST 2009 [Thu Jun 4 12:37:41 2009] LOG VERSION: 2.0 [Thu Jun 4 12:37:41 2009] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [Thu Jun 4 12:37:41 2009] ndomod: Successfully connected to data sink. 0 queued items to flush. [Thu Jun 4 12:37:41 2009] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [Thu Jun 4 12:37:41 2009] Warning: Host 'host2' has no services associated with it! [Thu Jun 4 12:37:41 2009] Warning: Host 'host3' has no services associated with it! [Thu Jun 4 12:37:41 2009] Warning: Host 'host4' has no services associated with it! [Thu Jun 4 12:37:41 2009] Finished daemonizing... (New PID=1372) [Thu Jun 4 12:38:35 2009] SERVICE DOWNTIME ALERT: host5;urlA;STARTED; Service has entered a period of scheduled downtime [Thu Jun 4 12:38:35 2009] SERVICE DOWNTIME ALERT: host1;url1;STARTED; Service has entered a period of scheduled downtime [Thu Jun 4 12:38:35 2009] SERVICE DOWNTIME ALERT: host1;url2;STARTED; Service has entered a period of scheduled downtime [Thu Jun 4 12:38:35 2009] SERVICE DOWNTIME ALERT: host1;url3;STARTED; Service has entered a period of scheduled downtime [Thu Jun 4 12:47:37 2009] ndomod: Shutdown complete. [Thu Jun 4 12:47:37 2009] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' deinitialized successfully. Does someone know what is happening and how I could fix it? Thank you Marc-Andr? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tommi at ok.is Thu Jun 4 12:46:25 2009 From: tommi at ok.is (=?utf-8?Q?T=C3=B3mas_Edwardsson?=) Date: Thu, 4 Jun 2009 10:46:25 +0000 (GMT) Subject: Load and memory problems with Nagios 3.0.6 In-Reply-To: <32587524.1631244112357722.JavaMail.root@dione.titan.local> References: <32587524.1631244112357722.JavaMail.root@dione.titan.local> Message-ID: <8482573.1651244112385711.JavaMail.root@dione.titan.local> Hi I've been running into problems with Nagios 3.0.6 where CPU and Load go up quick after each start and memory consumption gradually grows. At the start of the graphs below you see where Nagios was started, it runs for something around 20 hours, then it hits the open files limit (1024). After that, the load goes down but memory consumption remains high. Any suggestions as to what might be bugging me? T?mas Edwardsson R??gjafi Opin Kerfi ehf -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cpu_useage.png Type: image/png Size: 40580 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: load_average.png Type: image/png Size: 43265 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: swap.png Type: image/png Size: 29177 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 14:05:01 2009 From: jep at obrien-pifer.com (James Pifer) Date: Thu, 04 Jun 2009 08:05:01 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <4A279FB2.B47D.0048.0@stgeorge.com.au> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> Message-ID: <1244117101.14804.157.camel@storage.obrien-pifer.com> On Thu, 2009-06-04 at 10:19 +1000, Simon Finch wrote: > HTML document attachment (Text.htm) > James, > > The instance name refers to the Nagios instance id and 'Central' is > the default created by Centreon. > Port 5668 is the default port that the NDO broker module will send > data to. The corresponding NDO receiver port is defined in the > ndo2db.cfg file and these 2 need to match up. Yes, these match. > > 2 things to look at, when you compiled NDO the modules generated were > ndomod-2x.o and ndomod-3x.o, your config is referring to ndomod.o, did > you rename the compiled module to match ? Yes, using the 2x.o version > > Ndo2db does not automatically start, you need to start it and create > an init script to start the daemon during boot up. Yes, did this and ndo2db is running. Since yesterday evening I have this in: /var/lib/nagios/nagios.log [1244077263] Auto-save of retention data completed successfully. [1244080863] Auto-save of retention data completed successfully. [1244084463] Auto-save of retention data completed successfully. [1244088063] Auto-save of retention data completed successfully. [1244091663] Auto-save of retention data completed successfully. [1244095263] Auto-save of retention data completed successfully. [1244098863] Auto-save of retention data completed successfully. [1244102463] Auto-save of retention data completed successfully. [1244106063] Auto-save of retention data completed successfully. [1244109663] Auto-save of retention data completed successfully. [1244113263] Auto-save of retention data completed successfully. But I still have a disconnect somewhere. I'm not getting monitoring information in centreon for the host I have setup. Thanks, James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 14:50:32 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 07:50:32 -0500 Subject: Load and memory problems with Nagios 3.0.6 In-Reply-To: <8482573.1651244112385711.JavaMail.root@dione.titan.local> References: <8482573.1651244112385711.JavaMail.root@dione.titan.local> Message-ID: <3E569AF4-8C74-4063-AF31-F80761ED2F6A@ena.com> On Jun 4, 2009, at 5:46 AM, T?mas Edwardsson wrote: > Hi > > I've been running into problems with Nagios 3.0.6 where CPU and Load > go up quick after each start and memory consumption gradually grows. > > At the start of the graphs below you see where Nagios was started, > it runs for something around 20 hours, then it hits the open files > limit (1024). After that, the load goes down but memory consumption > remains high. > > Any suggestions as to what might be bugging me? Do you have the embedded perl interpreter enabled? Are all your perl plugins specifically built to work with the embedded perl interpreter (they need to be). I'd try disabling the embedded perl interpreter in nagios.cfg and see if that makes a difference. If so, you can try to identify the specific plugin(s) that are a problem by re-enabling it, disable ePN for all the plugins with '# nagios: -epn' then re-enable individually to see if the leak re-appears. Information on how to control plugin execution through the ePN can be found near the bottom of http://nagios.sourceforge.net/docs/3_0/embeddedperl.html -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 14:44:53 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 07:44:53 -0500 Subject: nSvcEvent and nSvcNotify traps In-Reply-To: References: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch> Message-ID: On Jun 4, 2009, at 3:26 AM, Ortner, Gerald wrote: > Von: Meyer Jerome [mailto:Jerome.Meyer at baldata.ch] > Gesendet: Mittwoch, 03. Juni 2009 16:27 > An: Nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] nSvcEvent and nSvcNotify traps > > > > As someone an Idea? > > Define command{ > > command_line $USER1$/send_trap server_test public $HOSTNAME$ > $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ $NOTIFICATIONTYPE$ > > } > 1 - You'll probably want to '$SERVICEOUTPUT$' for predictability 2 - Is this command being used as a service_notification_command for a contact or as an event_handler? $NOTIFICATIONTYPE$ isn't valid for event_handlers -- http://nagios.sourceforge.net/docs/3_0/macrolist.html. > Do a trap snmp sending only a nSvcEvent NOTIFICATION-TYPE or a > nSvcNotify NOTIFICATION-TYPE too ????? > A notification to nagios is just running a script. It doesn't matter, know, or care what that script actually does. It could send an e-mail, send a trap, log to a file, and/or ring alarm bells in an underground fortress to send out battalions of techs. In all cases, any macro that is valid for notifications can be passed. > What?s the difference between them ???? > I personally suspect that this isn't a notification but an event_handler. > Where should I find documentation about that ???? > The macros list above is your best source for knowing when/where specific macros can be used. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 16:07:33 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 09:07:33 -0500 Subject: nSvcEvent and nSvcNotify traps In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705DB1603@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705DB1603@iw50.iwbnet.ch> Message-ID: <1D4980D6-BE17-46F1-B583-929CA6A733F7@ena.com> On Jun 4, 2009, at 8:34 AM, Meyer Jerome wrote: >> 2 - Is this command being used as a service_notification_command >> for a >> contact or as an event_handler? $NOTIFICATIONTYPE$ isn't valid for >> event_handlers -- http://nagios.sourceforge.net/docs/3_0/macrolist.html >> . > > 1 - Yes and also to receive the words OK, WARNING, RECOVERY, etc.... > 2 - I checked the web's link and now I understood why this macro > never comes. For testing that, I made a script which gives me all > parameters and I noticed indeed that this macro does not exist for > the event_handler! > > Do you known how many parameter could send the event_handler? There's effectively no limit within nagios that I am aware of. If there is, I suspect it's if the total command_line length exceeds 1024 or 65536 characters but I don't really think those limits exist unless your shell imposes them. > Because my script received a max. of 9 parameters, is't that right?? In the example from your e-mail, you only saw 8 because the 9th, and last one, was $NOTIFICATIONTYPE$ which isn't valid for event_handlers and was therefor null. If you passed other macros that are valid for event_handlers, you would see more. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Thu Jun 4 15:34:56 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Thu, 4 Jun 2009 15:34:56 +0200 Subject: nSvcEvent and nSvcNotify traps In-Reply-To: References: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705DB1603@iw50.iwbnet.ch> Hi Thanks for your answer! See my remarks below... > -----Urspr?ngliche Nachricht----- > Von: Marc Powell [mailto:marc at ena.com] > Gesendet: Donnerstag, 4. Juni 2009 14:45 > An: Nagios Users > Betreff: Re: [Nagios-users] nSvcEvent and nSvcNotify traps > > > On Jun 4, 2009, at 3:26 AM, Ortner, Gerald wrote: > > > Von: Meyer Jerome [mailto:Jerome.Meyer at baldata.ch] > > Gesendet: Mittwoch, 03. Juni 2009 16:27 > > An: Nagios-users at lists.sourceforge.net > > Betreff: [Nagios-users] nSvcEvent and nSvcNotify traps > > > > > > > > As someone an Idea? > > > > > Define command{ > > > > command_line $USER1$/send_trap server_test public $HOSTNAME$ > > $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ $NOTIFICATIONTYPE$ > > > > } > > > 1 - You'll probably want to '$SERVICEOUTPUT$' for predictability > 2 - Is this command being used as a service_notification_command for a > contact or as an event_handler? $NOTIFICATIONTYPE$ isn't valid for > event_handlers -- http://nagios.sourceforge.net/docs/3_0/macrolist.html. 1 - Yes and also to receive the words OK, WARNING, RECOVERY, etc.... 2 - I checked the web's link and now I understood why this macro never comes. For testing that, I made a script which gives me all parameters and I noticed indeed that this macro does not exist for the event_handler! Do you known how many parameter could send the event_handler? Because my script received a max. of 9 parameters, is't that right?? > > > Do a trap snmp sending only a nSvcEvent NOTIFICATION-TYPE or a > > nSvcNotify NOTIFICATION-TYPE too ????? > > > A notification to nagios is just running a script. It doesn't matter, > know, or care what that script actually does. It could send an e-mail, > send a trap, log to a file, and/or ring alarm bells in an underground > fortress to send out battalions of techs. In all cases, any macro that > is valid for notifications can be passed. > > What's the difference between them ???? > > > I personally suspect that this isn't a notification but an > event_handler. Now, I think too... > > Where should I find documentation about that ???? > > > The macros list above is your best source for knowing when/where > specific macros can be used. Thanks for the links, I'll read it... Best regards Jerome > > -- > Marc > > > ----------------------------------------------------------------------------- > - > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyril.Vieville at ebuilder.se Thu Jun 4 16:16:02 2009 From: Cyril.Vieville at ebuilder.se (Cyril Vieville) Date: Thu, 4 Jun 2009 16:16:02 +0200 Subject: services alert interval and customization Message-ID: Hi everybody, My services notification interval is 60 (1 hour) but ideally I would like to be able to send only 1 by day if the percent of my disk usage doesn?t change in the warning state. For example, if my /var is full at 91% but doesn't grow to reach 92% so only 1 alert by day. If it grows to reach 92% so alert. However, I want to get an alert following my services notification interval of 60 if the disk usage is in the critical state. My actual threshold for disks are 90% (warning) and 95% (critical). Best Regards, Cyril Vi?ville -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 16:21:29 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 09:21:29 -0500 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1244117101.14804.157.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> Message-ID: <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> On Jun 4, 2009, at 7:05 AM, James Pifer wrote >> Ndo2db does not automatically start, you need to start it and create >> an init script to start the daemon during boot up. > > Yes, did this and ndo2db is running. > But I still have a disconnect somewhere. I'm not getting monitoring > information in centreon for the host I have setup. If you query the database directly, do you see data? SELECT * FROM nagios.nagios_hosts WHERE host_name = 'your host_name'; SELECT * FROM nagios.nagios_services s, nagios.nagios_hosts h WHERE h.display_name='your host_name' AND h.host_object_id=s.host_object_id; -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 16:36:45 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 09:36:45 -0500 Subject: Nagios not sending host or service notifications In-Reply-To: <4A276E2F.5000006@dts.net.nz> References: <4A276E2F.5000006@dts.net.nz> Message-ID: <12168C94-6559-4F4D-9465-9178046ABBC5@ena.com> On Jun 4, 2009, at 1:48 AM, Tim Philips wrote: > When a host (or service) experiences a problem the normal process > seems to be happening (from what I see in the UI and the logs): > > [1244096420] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- > LogVol00;CRITICAL;SOFT;1;DISK CRITICAL - free space: / 17736 MB (4% > inode=99%): > [1244096480] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- > LogVol00;CRITICAL;SOFT;2;DISK CRITICAL - free space: / 17739 MB (4% > inode=99%): > [1244096540] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- > LogVol00;CRITICAL;SOFT;3;DISK CRITICAL - free space: / 17739 MB (4% > inode=99%): > [1244096600] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- > LogVol00;CRITICAL;HARD;4;DISK CRITICAL - free space: / 17739 MB (4% > inode=99%): > [1244096600] SERVICE NOTIFICATION: nagiosadmin;localhost;root /dev/ > mapper/VolGroup00-LogVol00;CRITICAL;notify-service-by-email;DISK > CRITICAL - free space: / 17739 MB (4% inode=99%): This is good. Nagios is trying to execute the notify-service-by-email command. > [1244096600.198454] [032.0] [pid=7951] 1 contacts were notified. > Next possible notification time: Thu Jun 4 19:23:20 2009 > [1244096600.198514] [032.0] [pid=7951] 1 contacts were notified. ... and nagios believes it was successful > I'm able to manually use the mail command to send external e-mail > (have attempted this several times) and can confirm that I can > manually execute the command_line for the notification option: as the nagios user? (just covering the base)... > I have addjusted the command_line and changed it to something like > (for example): > > command_line echo "testing" | /usr/bin/mail -s "** TEST > SUBJECT **" my at email.address How about eliminating /usr/bin/mail entirely and dumping text to a file in /tmp? command_line echo `date` ' - I notified!' >> /tmp/notif.log > All this said I'm not seeing anything in the mail server logs > indicating that Nagios is even attempting to use notify-service-by- > email and send e-mail. That's interesting and my money is on it being some problem related to /usr/bin/mail. You might try capturing the output of /usr/bin/mail by redirecting to a log file -- command_line echo "testing" | /usr/bin/mail -s "** TEST SUBJECT **" my at email.address >>/tmp/mail.err 2>&1 -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 17:00:09 2009 From: jep at obrien-pifer.com (James Pifer) Date: Thu, 04 Jun 2009 11:00:09 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> Message-ID: <1244127609.14804.188.camel@storage.obrien-pifer.com> On Thu, 2009-06-04 at 09:21 -0500, Marc Powell wrote: > On Jun 4, 2009, at 7:05 AM, James Pifer wrote > > >> Ndo2db does not automatically start, you need to start it and create > >> an init script to start the daemon during boot up. > > > > Yes, did this and ndo2db is running. > > > But I still have a disconnect somewhere. I'm not getting monitoring > > information in centreon for the host I have setup. > > If you query the database directly, do you see data? > > SELECT * FROM nagios.nagios_hosts WHERE host_name = 'your host_name'; > > SELECT * FROM nagios.nagios_services s, nagios.nagios_hosts h WHERE > h.display_name='your host_name' AND h.host_object_id=s.host_object_id; host_name is not a valid column (see below). If I select * from nagios_hosts I only see localhost and Centreon-Server, not the host I added. Thanks, James mysql> SHOW COLUMNS FROM nagios_hosts; +-----------------------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-----------------------------------+--------------+------+-----+---------+----------------+ | host_id | int(11) | NO | PRI | NULL | auto_increment | | instance_id | smallint(6) | NO | MUL | 0 | | | config_type | smallint(6) | NO | | 0 | | | host_object_id | int(11) | NO | MUL | 0 | | | alias | varchar(64) | NO | | | | | display_name | varchar(64) | NO | MUL | | | | address | varchar(128) | NO | | | | | check_command_object_id | int(11) | NO | | 0 | | | check_command_args | varchar(255) | NO | | | | | eventhandler_command_object_id | int(11) | NO | | 0 | | | eventhandler_command_args | varchar(255) | NO | | | | | notification_timeperiod_object_id | int(11) | NO | | 0 | | | check_timeperiod_object_id | int(11) | NO | | 0 | | | failure_prediction_options | varchar(64) | NO | | | | | check_interval | double | NO | | 0 | | | retry_interval | double | NO | | 0 | | | max_check_attempts | smallint(6) | NO | | 0 | | | first_notification_delay | double | NO | | 0 | | | notification_interval | double | NO | | 0 | | | notify_on_down | smallint(6) | NO | | 0 | | | notify_on_unreachable | smallint(6) | NO | | 0 | | | notify_on_recovery | smallint(6) | NO | | 0 | | | notify_on_flapping | smallint(6) | NO | | 0 | | | notify_on_downtime | smallint(6) | NO | | 0 | | | stalk_on_up | smallint(6) | NO | | 0 | | | stalk_on_down | smallint(6) | NO | | 0 | | | stalk_on_unreachable | smallint(6) | NO | | 0 | | | flap_detection_enabled | smallint(6) | NO | | 0 | | | flap_detection_on_up | smallint(6) | NO | | 0 | | | flap_detection_on_down | smallint(6) | NO | | 0 | | | flap_detection_on_unreachable | smallint(6) | NO | | 0 | | | low_flap_threshold | double | NO | | 0 | | | high_flap_threshold | double | NO | | 0 | | | process_performance_data | smallint(6) | NO | | 0 | | | freshness_checks_enabled | smallint(6) | NO | | 0 | | | freshness_threshold | smallint(6) | NO | | 0 | | | passive_checks_enabled | smallint(6) | NO | | 0 | | | event_handler_enabled | smallint(6) | NO | | 0 | | | active_checks_enabled | smallint(6) | NO | | 0 | | | retain_status_information | smallint(6) | NO | | 0 | | | retain_nonstatus_information | smallint(6) | NO | | 0 | | | notifications_enabled | smallint(6) | NO | | 0 | | | obsess_over_host | smallint(6) | NO | | 0 | | | failure_prediction_enabled | smallint(6) | NO | | 0 | | | notes | varchar(255) | NO | | | | | notes_url | varchar(255) | NO | | | | | action_url | varchar(255) | NO | | | | | icon_image | varchar(255) | NO | | | | | icon_image_alt | varchar(255) | NO | | | | | vrml_image | varchar(255) | NO | | | | | statusmap_image | varchar(255) | NO | | | | | have_2d_coords | smallint(6) | NO | | 0 | | | x_2d | smallint(6) | NO | | 0 | | | y_2d | smallint(6) | NO | | 0 | | | have_3d_coords | smallint(6) | NO | | 0 | | | x_3d | double | NO | | 0 | | | y_3d | double | NO | | 0 | | | z_3d | double | NO | | 0 | | +-----------------------------------+--------------+------+-----+---------+----------------+ 58 rows in set (0.00 sec) ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 17:19:59 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 10:19:59 -0500 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1244127609.14804.188.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> Message-ID: <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> On Jun 4, 2009, at 10:00 AM, James Pifer wrote: > On Thu, 2009-06-04 at 09:21 -0500, Marc Powell wrote: >> If you query the database directly, do you see data? >> >> SELECT * FROM nagios.nagios_hosts WHERE host_name = 'your host_name'; >> >> SELECT * FROM nagios.nagios_services s, nagios.nagios_hosts h WHERE >> h.display_name='your host_name' AND >> h.host_object_id=s.host_object_id; > > host_name is not a valid column (see below). Sorry, I did mean display_name there... > If I select * from > nagios_hosts I only see localhost and Centreon-Server, not the host I > added. And nagios is showing this host in it's GUI? event_broker_options is still -1? Have you restarted nagios since fixing the ndo2db issues? I've never used Centreon so I'm just trying to cover logical things... -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Thu Jun 4 17:22:45 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Thu, 4 Jun 2009 17:22:45 +0200 Subject: nSvcEvent and nSvcNotify traps In-Reply-To: <1D4980D6-BE17-46F1-B583-929CA6A733F7@ena.com> References: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch><46EEEA5FAED9CA479556002BA9C27FD705DB1603@iw50.iwbnet.ch> <1D4980D6-BE17-46F1-B583-929CA6A733F7@ena.com> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705DB168E@iw50.iwbnet.ch> > -----Urspr?ngliche Nachricht----- > Von: Marc Powell [mailto:marc at ena.com] > Gesendet: Donnerstag, 4. Juni 2009 16:08 > An: nagios-users Mailinglist > Betreff: Re: [Nagios-users] nSvcEvent and nSvcNotify traps > > > On Jun 4, 2009, at 8:34 AM, Meyer Jerome wrote: > > >> 2 - Is this command being used as a service_notification_command > >> for a > >> contact or as an event_handler? $NOTIFICATIONTYPE$ isn't valid for > >> event_handlers -- http://nagios.sourceforge.net/docs/3_0/macrolist.html > >> . > > > > 1 - Yes and also to receive the words OK, WARNING, RECOVERY, etc.... > > 2 - I checked the web's link and now I understood why this macro > > never comes. For testing that, I made a script which gives me all > > parameters and I noticed indeed that this macro does not exist for > > the event_handler! > > > > Do you known how many parameter could send the event_handler? > > There's effectively no limit within nagios that I am aware of. If > there is, I suspect it's if the total command_line length exceeds 1024 > or 65536 characters but I don't really think those limits exist unless > your shell imposes them. > Yes right! I made some test and it's running well... The only problem that I've seen, it's when a macro contains a sentence such as $SERVICEOUTPUT$ -> "NTP CRITICAL: No response from NTP server", each word is a parameter instead of a string .... Thanks Jerome > > Because my script received a max. of 9 parameters, is't that right?? > > In the example from your e-mail, you only saw 8 because the 9th, and > last one, was $NOTIFICATIONTYPE$ which isn't valid for event_handlers > and was therefor null. If you passed other macros that are valid for > event_handlers, you would see more. > > -- > Marc > > > ----------------------------------------------------------------------------- > - > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 17:36:29 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 10:36:29 -0500 Subject: nSvcEvent and nSvcNotify traps In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705DB168E@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705DB1359@iw50.iwbnet.ch><46EEEA5FAED9CA479556002BA9C27FD705DB1603@iw50.iwbnet.ch> <1D4980D6-BE17-46F1-B583-929CA6A733F7@ena.com> <46EEEA5FAED9CA479556002BA9C27FD705DB168E@iw50.iwbnet.ch> Message-ID: On Jun 4, 2009, at 10:22 AM, Meyer Jerome wrote: > The only problem that I've seen, it's when a macro contains a > sentence such as $SERVICEOUTPUT$ -> "NTP CRITICAL: No response from > NTP server", each word is a parameter instead of a string .... Yes, of course. Your shell passes each space-separated value as a unique $VAR; that's expected for any shell script. That's why I originally recommended quoting $SERVICEOUTPUT$ in your command definition - '$SEVICEOUTPUT'. That will prevent the breakout from happening and the shell will assign the entire quoted sentence to a single $VAR. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 18:10:06 2009 From: jep at obrien-pifer.com (James Pifer) Date: Thu, 04 Jun 2009 12:10:06 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> Message-ID: <1244131806.14804.199.camel@storage.obrien-pifer.com> > And nagios is showing this host in it's GUI? > No it doesn't. I had suspected this was an issue a while back, but got side tracked by all the ndo problems. Any idea how centreon sends the information to nagios? Thanks, James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 18:18:29 2009 From: jep at obrien-pifer.com (James Pifer) Date: Thu, 04 Jun 2009 12:18:29 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> Message-ID: <1244132309.14804.203.camel@storage.obrien-pifer.com> > And nagios is showing this host in it's GUI? > I have two nagios hosts.cfg files: /etc/nagios/hosts.cfg /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg neither of them contains the host I created... I grepped all of the cfg files and none of them contain it... ?ARGH!!!! James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at frozenatom.com Thu Jun 4 16:35:29 2009 From: matt at frozenatom.com (Matt Nelson) Date: Thu, 4 Jun 2009 08:35:29 -0600 Subject: serviceescalations question Message-ID: <148f6bb30906040735h78c5e741me5eedc9591061e64@mail.gmail.com> I would like to apply this serviceescalation to all services. Anyway to say: service_description * this does not work ---^^^^ define serviceescalation{ hostgroup_name All Hosts service_description (I HAVE TO SPECIFY THIS FOR EACH SERVICE...) contact_groups managers first_notification 5 last_notification 0 notification_interval 60 } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu Jun 4 19:25:24 2009 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 4 Jun 2009 09:25:24 -0800 Subject: Hostgroup subtraction? In-Reply-To: References: <4A26D250.9070805@cbio.mskcc.org> Message-ID: <69FCF9D4-13AF-4A60-9000-85F2168122E2@frontierflying.com> On Jun 3, 2009, at 1:25 PM, Marc Powell wrote: > > On Jun 3, 2009, at 2:43 PM, Chris Pepper wrote: > >> We use several hostgroups. I'd like to ensure each host is in a >> group for its building. My concern is that we need to avoid adding a >> host without adding it to a building hostgroup. >> >> I tried putting the generic parent object in a hostgroup for our >> main >> location, and using 'hostgroups -mainlocation,+actuallocation', but >> apparently hostgroups only allows '+', not '-' or '!'. >> >> Is there a way to remove hosts from inherited hostgroups? > > In this specific example, using the following in the host{} definition > will override the template definition and the host would only be in > actuallocation -- > > hostgroups actuallocation For this example, that works, and perhaps for the original poster it's good enough. I'm running into a very similar situation, however, where I have a list of hostgroups in a base definition, and I just want to remove one hostgroup from that list. I don't want to override the entire list, however, because it might change in the future, and then I'd have to change it in two spots. Plus, I want to keep the other hostgroups, I just don't want the one specific one. So is there a way to remove one (or more) item(s) from an inherited hostgroup list, without overriding the entire thing? Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: Israel Brewster.vcf Type: text/directory Size: 397 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 4 19:05:45 2009 From: rlemerlus at merethis.com (Romain Le Merlus) Date: Thu, 4 Jun 2009 19:05:45 +0200 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1244132309.14804.203.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> Message-ID: <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> Hi, On Thu, Jun 4, 2009 at 6:18 PM, James Pifer wrote: > I have two nagios hosts.cfg files: > /etc/nagios/hosts.cfg > /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg > > neither of them contains the host I created... > I grepped all of the cfg files and none of them contain it... It seems that you did not generate & restart your configuration from the main Centreon server ? Configuration > Nagios > Nagios Do you select the correct poller on the form ? Do you have any debug/informations when you run it from Centreon ? Best regards. -- Romain LE MERLUS | Directeur des projets rlemerlus at merethis.com Tel. +33 (0)1 49 69 97 12 Mob. +33(0)6 85 05 02 82 MERETHIS est ?diteur du logiciel Centreon. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu Jun 4 20:02:48 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 04 Jun 2009 14:02:48 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> Message-ID: <4A280C48.1020206@gmail.com> I don't want to come across like a jerk, but wouldn't this better be discussed on the Centreon site? I understand its built on Nagios, but I'm thinking you might get better help and support on the Centreon site itself... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Romain Le Merlus wrote: > Hi, > > On Thu, Jun 4, 2009 at 6:18 PM, James Pifer > wrote: > > I have two nagios hosts.cfg files: > /etc/nagios/hosts.cfg > /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg > > neither of them contains the host I created... > I grepped all of the cfg files and none of them contain it... > > > It seems that you did not generate & restart your configuration from > the main Centreon server ? > Configuration > Nagios > Nagios > > Do you select the correct poller on the form ? > Do you have any debug/informations when you run it from Centreon ? > > Best regards. > -- > Romain LE MERLUS | Directeur des projets > > rlemerlus at merethis.com > Tel. +33 (0)1 49 69 97 12 > Mob. +33(0)6 85 05 02 82 > > MERETHIS est ?diteur du logiciel Centreon. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at andrunas.net Thu Jun 4 19:40:43 2009 From: john at andrunas.net (John Andrunas) Date: Thu, 4 Jun 2009 10:40:43 -0700 Subject: Host/service Contacts question Message-ID: <9c4cd14a0906041040q2a97cf09k11e0744a24373231@mail.gmail.com> If someone is listed as a contact for a host do they also get notified of service problems on that host? If not any recommendations on how to handle that using http://nagios.sourceforge.net/docs/3_0/objecttricks.html -- John ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 20:18:45 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 13:18:45 -0500 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <4A280C48.1020206@gmail.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> <4A280C48.1020206@gmail.com> Message-ID: <9264B9FF-06CE-4908-99CA-18B3D6E979E8@ena.com> On Jun 4, 2009, at 1:02 PM, Andrew Davis wrote: > I don't want to come across like a jerk, but wouldn't this better be > discussed on the Centreon site? I understand its built on Nagios, > but I'm thinking you might get better help and support on the > Centreon site itself.. The OP said in his original post that he started there and didn't get anywhere. *shrug* -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 20:22:42 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 13:22:42 -0500 Subject: serviceescalations question In-Reply-To: <148f6bb30906040735h78c5e741me5eedc9591061e64@mail.gmail.com> References: <148f6bb30906040735h78c5e741me5eedc9591061e64@mail.gmail.com> Message-ID: <10B08CEA-F53F-4131-87FF-36671FD4A21B@ena.com> On Jun 4, 2009, at 9:35 AM, Matt Nelson wrote: > I would like to apply this serviceescalation to all services. > Anyway to say: > > service_description * > > this does not work ---^^^^ > > define serviceescalation{ > hostgroup_name All Hosts > service_description (I HAVE TO SPECIFY THIS FOR EACH > SERVICE...) > contact_groups managers > first_notification 5 > last_notification 0 > notification_interval 60 > } Specific example at http://nagios.sourceforge.net/docs/3_0/objecttricks.html#serviceescalation . You must have 'use_regexp_matching' enabled -- All Hosts: If you want to create identical service escalations for services of the same name/description that are assigned to all hosts that are defined in your configuration files, you can use a wildcard in the host_name directive. The definition below would create a service escalation for all services called SOMESERVICE on all hosts that are defined in your configuration files. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.). define serviceescalation{ host_name * service_description SOMESERVICE other escalation directives ... } There's also an example for all hosts in specific hostgroups. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 20:30:28 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 13:30:28 -0500 Subject: serviceescalations question In-Reply-To: <10B08CEA-F53F-4131-87FF-36671FD4A21B@ena.com> References: <148f6bb30906040735h78c5e741me5eedc9591061e64@mail.gmail.com> <10B08CEA-F53F-4131-87FF-36671FD4A21B@ena.com> Message-ID: On Jun 4, 2009, at 1:22 PM, Marc Powell wrote: ... a bunch of crap. ignore. abort abort abort. I misread the original question. bleh. You're essentially looking for host_name * service_description * If that doesn't work with regexp matching on, then I think the next best path is using servicegroups -- All Services In Multiple Servicegroups: If you want to create service escalations for all services that belong in one or more servicegroups, you can do use the servicegroup_name directive. The definition below would create service escalations for all services that are members of servicegroups SERVICEGROUP1 through SERVICEGROUPN. All the instances of the service escalation would be identical (i.e. have the same contact groups, notification interval, etc.). define serviceescalation{ servicegroup_name SERVICEGROUP1,SERVICEGROUP2,...,SERVICEGROUPN other escalation directives ... } -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 4 20:37:55 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 13:37:55 -0500 Subject: Hostgroup subtraction? In-Reply-To: <69FCF9D4-13AF-4A60-9000-85F2168122E2@frontierflying.com> References: <4A26D250.9070805@cbio.mskcc.org> <69FCF9D4-13AF-4A60-9000-85F2168122E2@frontierflying.com> Message-ID: On Jun 4, 2009, at 12:25 PM, Israel Brewster wrote: > For this example, that works, and perhaps for the original poster > it's good enough. I'm running into a very similar situation, > however, where I have a list of hostgroups in a base definition, and > I just want to remove one hostgroup from that list. I don't want to > override the entire list, however, because it might change in the > future, and then I'd have to change it in two spots. Plus, I want to > keep the other hostgroups, I just don't want the one specific one. > So is there a way to remove one (or more) item(s) from an inherited > hostgroup list, without overriding the entire thing? Thanks. If the previously mentioned ! notation doesn't work then I don't really have any suggestions. I haven't had a need to use that kind of functionality before (I use dead simple inheritance) so I don't have anything to fall back on. If it doesn't work, that'd be a nifty and logical feature IMHO. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 20:38:15 2009 From: jep at obrien-pifer.com (James Pifer) Date: Thu, 04 Jun 2009 14:38:15 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <9264B9FF-06CE-4908-99CA-18B3D6E979E8@ena.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> <4A280C48.1020206@gmail.com> <9264B9FF-06CE-4908-99CA-18B3D6E979E8@ena.com> Message-ID: <1244140695.14804.231.camel@storage.obrien-pifer.com> On Thu, 2009-06-04 at 13:18 -0500, Marc Powell wrote: > On Jun 4, 2009, at 1:02 PM, Andrew Davis wrote: > > > I don't want to come across like a jerk, but wouldn't this better be > > discussed on the Centreon site? I understand its built on Nagios, > > but I'm thinking you might get better help and support on the > > Centreon site itself.. > > The OP said in his original post that he started there and didn't get > anywhere. *shrug* Yes, I spent a couple weeks trying to get help and find answers over there. I agree that SHOULD be the place. I appreciate the help received here. See my other post, I think it's very close now... Thanks, James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Thu Jun 4 20:36:13 2009 From: jep at obrien-pifer.com (James Pifer) Date: Thu, 04 Jun 2009 14:36:13 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> Message-ID: <1244140573.14804.227.camel@storage.obrien-pifer.com> On Thu, 2009-06-04 at 19:05 +0200, Romain Le Merlus wrote: > Hi, > > On Thu, Jun 4, 2009 at 6:18 PM, James Pifer > wrote: > > I have two nagios hosts.cfg files: > /etc/nagios/hosts.cfg > /usr/local/centreon/filesGeneration/nagiosCFG/1/hosts.cfg > > neither of them contains the host I created... > I grepped all of the cfg files and none of them contain it... > > It seems that you did not generate & restart your configuration from > the main Centreon server ? > Configuration > Nagios > Nagios > > Do you select the correct poller on the form ? > Do you have any debug/informations when you run it from Centreon ? Alright, now the information is getting to nagios. I had the hosts added and enabled in centreon, but they were enabled in a host group. When I applied to nagios, the hosts seem to be there in the config file, but still not showing up in the gui. Close now! Thanks, James # cat /etc/nagios/hosts.cfg ################################################################### # # # GENERATED BY CENTREON # # # # Developped by : # # - Julien Mathis # # - Romain Le Merlus # # # # www.centreon.com # # For information : contact at centreon.com # ################################################################### # # # Last modification June 4, 2009, 12:34 pm # # # ################################################################### define host{ name generic-host alias generic-host check_command check_host_alive max_check_attempts 5 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 contact_groups Supervisors notification_interval 0 notification_period 24x7 notification_options d,r notifications_enabled 0 register 0 } define host{ name Printers use generic-host alias Printers register 0 } define host{ name Router-Cisco use generic-host alias Cisco Routers register 0 } define host{ name Router-HP use generic-host alias HP Routers register 0 } define host{ name Servers-Linux use generic-host alias Linux Servers register 0 } define host{ name Servers-Win2K use generic-host alias Windows 2000 Servers register 0 } define host{ name Servers-Win2K3 use generic-host alias Windows 2003 Servers register 0 } define host{ name Switchs-3Com use generic-host alias 3Com Switchs register 0 } define host{ name Switchs-Cisco use generic-host alias Cisco Switchs register 0 } define host{ name Switchs-HP use generic-host alias HP Switchs register 0 } define host{ name Switchs-NORTEL use generic-host alias NORTEL Switchs register 0 } define host{ name UPS use generic-host alias UPS register 0 } define host{ host_name Centreon-Server use Servers-Linux alias Monitoring Server address 127.0.0.1 hostgroups Linux_Servers } define host{ host_name xen02.pca.com use Servers-Linux alias pcalakxen02 address 10.96.4.152 hostgroups Linux_Servers check_command check_host_alive max_check_attempts 10 check_interval 1 active_checks_enabled 0 passive_checks_enabled 0 check_period 24x7 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 notification_interval 1 notification_period 24x7 notification_options d,u notifications_enabled 1 } define host{ host_name xen03.pca.com use Servers-Linux alias pcalakxen03 address 10.96.4.153 hostgroups Linux_Servers check_command check_host_alive max_check_attempts 10 check_interval 1 active_checks_enabled 0 passive_checks_enabled 0 check_period 24x7 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 notification_interval 1 notification_period 24x7 notification_options d,u notifications_enabled 1 } ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Jun 4 22:00:02 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 4 Jun 2009 16:00:02 -0400 Subject: mbstring not loaded error message with nagvis Message-ID: Hi there -- I went through the motions of installing NagVis 1.4 onto our Nagios 3.0.6 server, and when I try to access the nagvis page from the server console, the following error message appears on-screen: the php module "mbstring" is not loaded I verified the php-mbstring package was installed by running the yum utility. What do I need to do in order to get NagVis operational? 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pepper at cbio.mskcc.org Thu Jun 4 22:30:11 2009 From: pepper at cbio.mskcc.org (Chris Pepper) Date: Thu, 04 Jun 2009 16:30:11 -0400 Subject: Hostgroup subtraction? In-Reply-To: References: <4A26D250.9070805@cbio.mskcc.org> <69FCF9D4-13AF-4A60-9000-85F2168122E2@frontierflying.com> Message-ID: <4A282ED3.7030109@cbio.mskcc.org> Marc Powell wrote: > On Jun 4, 2009, at 12:25 PM, Israel Brewster wrote: > >> For this example, that works, and perhaps for the original poster >> it's good enough. I'm running into a very similar situation, >> however, where I have a list of hostgroups in a base definition, and >> I just want to remove one hostgroup from that list. I don't want to >> override the entire list, however, because it might change in the >> future, and then I'd have to change it in two spots. Plus, I want to >> keep the other hostgroups, I just don't want the one specific one. >> So is there a way to remove one (or more) item(s) from an inherited >> hostgroup list, without overriding the entire thing? Thanks. Right, I want to disable one or more hostgroups while preserving the inherited list. > If the previously mentioned ! notation doesn't work then I don't > really have any suggestions. I haven't had a need to use that kind of > functionality before (I use dead simple inheritance) so I don't have > anything to fall back on. If it doesn't work, that'd be a nifty and > logical feature IMHO. I have requested '-' as an enhancement. I'm not sure how I could use "hostgroups actuallocation, !mainlocation", though. My thought was that I'd have a hostgroup 'unlocated' with membership consisting of all hosts not in any of our location hostgroups. This would make it straightforward to find hosts without a specified location and add an appropriate location hostgroup to each. Thanks, Chris Pepper -- Chris Pepper: ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timp at dts.net.nz Thu Jun 4 22:57:06 2009 From: timp at dts.net.nz (Tim Philips) Date: Fri, 05 Jun 2009 08:57:06 +1200 Subject: Nagios not sending host or service notifications In-Reply-To: <12168C94-6559-4F4D-9465-9178046ABBC5@ena.com> References: <4A276E2F.5000006@dts.net.nz> <12168C94-6559-4F4D-9465-9178046ABBC5@ena.com> Message-ID: <4A283522.6000502@dts.net.nz> On 5/6/09 2:36 AM, Marc Powell wrote: Hi Marc, You just saved me _lots_ of time. It looks like someone had adjusted the permissions on /tmp to 0700 and owned by root:root - hence no tmp file could be created by /usr/bin/mail or /usr/bin/mailx I did a stat on the directory but it has been updated several times since Nagios stoppped working so I'm no doubt not going to be able to find out when it was modified and by which uid. Much appreciate your assistance!!!! Cheers > On Jun 4, 2009, at 1:48 AM, Tim Philips wrote: > > >> When a host (or service) experiences a problem the normal process >> seems to be happening (from what I see in the UI and the logs): >> >> [1244096420] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- >> LogVol00;CRITICAL;SOFT;1;DISK CRITICAL - free space: / 17736 MB (4% >> inode=99%): >> [1244096480] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- >> LogVol00;CRITICAL;SOFT;2;DISK CRITICAL - free space: / 17739 MB (4% >> inode=99%): >> [1244096540] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- >> LogVol00;CRITICAL;SOFT;3;DISK CRITICAL - free space: / 17739 MB (4% >> inode=99%): >> [1244096600] SERVICE ALERT: localhost;root /dev/mapper/VolGroup00- >> LogVol00;CRITICAL;HARD;4;DISK CRITICAL - free space: / 17739 MB (4% >> inode=99%): >> [1244096600] SERVICE NOTIFICATION: nagiosadmin;localhost;root /dev/ >> mapper/VolGroup00-LogVol00;CRITICAL;notify-service-by-email;DISK >> CRITICAL - free space: / 17739 MB (4% inode=99%): >> > > This is good. Nagios is trying to execute the notify-service-by-email > command. > > >> [1244096600.198454] [032.0] [pid=7951] 1 contacts were notified. >> Next possible notification time: Thu Jun 4 19:23:20 2009 >> [1244096600.198514] [032.0] [pid=7951] 1 contacts were notified. >> > > ... and nagios believes it was successful > > >> I'm able to manually use the mail command to send external e-mail >> (have attempted this several times) and can confirm that I can >> manually execute the command_line for the notification option: >> > > as the nagios user? (just covering the base)... > > >> I have addjusted the command_line and changed it to something like >> (for example): >> >> command_line echo "testing" | /usr/bin/mail -s "** TEST >> SUBJECT **" my at email.address >> > > How about eliminating /usr/bin/mail entirely and dumping text to a > file in /tmp? > > command_line echo `date` ' - I notified!'>> /tmp/notif.log > > >> All this said I'm not seeing anything in the mail server logs >> indicating that Nagios is even attempting to use notify-service-by- >> email and send e-mail. >> > > That's interesting and my money is on it being some problem related > to /usr/bin/mail. You might try capturing the output of /usr/bin/mail > by redirecting to a log file -- > > command_line echo "testing" | /usr/bin/mail -s "** TEST SUBJECT **" my at email.address > >>/tmp/mail.err 2>&1 > > -- > Marc > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Tim Philips Solutions Architecture Team DTS - A Better Broadband Experience +64-21-438-846 timp at dts.net.nz www.dts.net.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Thu Jun 4 23:01:01 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Thu, 4 Jun 2009 14:01:01 -0700 Subject: disk warning messages Message-ID: <2d4ba7ab0906041401s570869buc9af8cbdaf8f9395@mail.gmail.com> Hello, I'm trying to configure nagios to include the disk full percentage in the subject line of the email notification. For example. Subject: [Nagios] CRITICAL 99% Full on Server1 My commands currently look something like this for checking disk space. Anyone have any suggestions for me? -JJ ================================================================= Check Disk Commands: define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } define command{ command_name check_remote_disk command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_remote_disk } Email Commands: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "Subject: [Nagios] $SERVICESTATE$: $SERVICEDESC$ $HOSTNAME$\nFrom: nagios@$HOSTNAME$.mascorp.com\n\n ***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/sbin/exim "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Service: define service{ use local-service ; Name of service template to use use generic-service ; Name of service template hostgroup_name servers service_description DISK SPACE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 1440 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_remote_disk!4%!2%! } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Thu Jun 4 23:25:26 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Thu, 4 Jun 2009 14:25:26 -0700 Subject: truncated nagios email? Message-ID: <2d4ba7ab0906041425ue65c1b6tecb7670a25921154@mail.gmail.com> When receiving an email notification of disk space full the 'Additional info' line seems to be truncated near "(32 0node=99" Any ideas why this is happening? Thanks, JJ **** Nagios ***** Notification Type: PROBLEM Service: DISK SPACE Host: prod Address: 10.10.10.47 State: CRITICAL Date/Time: Wed Jun 3 22:26:34 UTC 2009 Additional Info: DISK CRITICAL - free space: / 23155 MB (32 0node=99 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at danielemmanuelfeinsmith.com Fri Jun 5 01:03:47 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Thu, 4 Jun 2009 16:03:47 -0700 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Message-ID: Hi John, Thanks for your clarification. I am confused, however. Is the inag.php script not installed on the Nagios server? Daniel. On Jun 4, 2009, at 12:10 PM, John Fullington wrote: > D. Emmanuel Feinsmith danielemmanuelfeinsmith.com> > writes: > >> This app is different from iNag and other similar iPhone applications > > > Since you mentioned my application in your post I would like to > clarify that > iNag does not require you to modify your Nagios server, What iNag > does do is it > allows you to get your Nagios status in a secure and fast way, Using > the > inag.php scrip allows you to access this information without > exposing Nagios to > the whole world. > > iNag is not a screen scraper or a web app, it supports all major > versions of > Nagios 1.x-3.x and also supports SSL. (even self signed), it allows > you to view > the daily event log, and acknowledge host/service problems right > from your > phone. > > Thanks > -John > > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jun 5 01:13:37 2009 From: marc at ena.com (Marc Powell) Date: Thu, 4 Jun 2009 18:13:37 -0500 Subject: disk warning messages In-Reply-To: <2d4ba7ab0906041401s570869buc9af8cbdaf8f9395@mail.gmail.com> References: <2d4ba7ab0906041401s570869buc9af8cbdaf8f9395@mail.gmail.com> Message-ID: On Jun 4, 2009, at 4:01 PM, Jeremiah Jester wrote: > Hello, > > I'm trying to configure nagios to include the disk full percentage > in the subject line of the email notification. For example. Subject: > [Nagios] CRITICAL 99% Full on Server1 > > My commands currently look something like this for checking disk > space. > > Anyone have any suggestions for me? > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "Subject: [Nagios] > $SERVICESTATE$: $SERVICEDESC$ $HOSTNAME$\nFrom: nagios@$HOSTNAME > $.mascorp.com\n\n ***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | / > usr/sbin/exim "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } This is a host notification, not a service notification so I can't show you *exactly* what to do but I'll give you the example for the above and let you extrapolate -- command_line /usr/bin/printf "Subject: [Nagios] $SERVICESTATE$: $SERVICEDESC$ $HOSTNAME$\nFrom: nagios@$HOSTNAME $.mascorp.com\n\n ***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | / usr/sbin/exim "[Nagios] $HOSTSTATE$ $HOSTOUTPUT$" $CONTACTEMAIL$ } Note the change after '|/usr/sbin/exim'. That's where the Subject is specified. For a service notification, you'd use $SERVICE*$ instead of $HOST*$. You may not need $HOSTSTATE$ depending on if the plugin includes the CRITICAL text already. -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Fri Jun 5 02:21:16 2009 From: finchs at stgeorge.com.au (Simon Finch) Date: Fri, 5 Jun 2009 10:21:16 +1000 Subject: random nrpe socket timeout In-Reply-To: References: Message-ID: <4A28F19C.B47D.0048.0@stgeorge.com.au> >> i have troubles in our infrastructure with nrpe giving critical alerts when the nrpe socket timeout. If you add the -u switch to the nrpe_check it will return a status of unknown for the nrpe timeouts instead of critical. The second thing is to add a check on nrpe itself and then setup all of the checks that are run by nrpe as dependancies of the nrpe check. This will stop all of the remote checks from generating critical alerts if the nrpe check times out. HTH, Simon Finch | ESM Specialist Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217 (+61 2 9952 2574 7 +61 412 256 814 Email: finchs at stgeorge.com.au www.stgeorge.com.au ______________________________________ St.George Bank IT - Good with people. Good with monitoring. ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/xxx Size: 1753 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: applicaton/octect-stream Size: 6376 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Jun 5 05:53:46 2009 From: jon at netdork.net (Jon Angliss) Date: Thu, 04 Jun 2009 22:53:46 -0500 Subject: Host/service Contacts question References: <9c4cd14a0906041040q2a97cf09k11e0744a24373231@mail.gmail.com> Message-ID: On Thu, 4 Jun 2009 10:40:43 -0700, John Andrunas wrote: >If someone is listed as a contact for a host do they also get notified >of service problems on that host? If not any recommendations on how >to handle that using >http://nagios.sourceforge.net/docs/3_0/objecttricks.html Assuming the service doesn't have its own contact, or contact_groups, it'll inherit from the host. See the section on implied inheritence at http://nagios.sourceforge.net/docs/3_0/objectinheritance.html. If you want to add additional contacts, I believe you can add more contacts/contact_groups simply using the + in the service definition. -- Jonathan Angliss ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Fri Jun 5 07:58:23 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Fri, 05 Jun 2009 07:58:23 +0200 Subject: mbstring not loaded error message with nagvis In-Reply-To: References: Message-ID: <4A28B3FF.3090204@tugraz.at> Hi ! Please try the following: Create a file test.php with the following content: Put this somewhere in you html folder, e.g where the nagvis config.php and index.php reside). Then acess it via a browser http:///test.php You will see a list if php modules. Check if mbstring is shown. Kaplan, Andrew H. wrote: > > > Hi there -- > > I went through the motions of installing NagVis 1.4 onto our Nagios > 3.0.6 server, and when I try > to access the nagvis page from the server console, the following error > message appears on-screen: > > the php module "mbstring" is not loaded > > I verified the php-mbstring package was installed by running the yum > utility. What do I need to > do in order to get NagVis operational? Thanks. > Please also check if apache was restarted in order to let the php module notice thate mbstring is available. Eventually restart apache and check the output if test.php if the module is available. Regards, -- DI Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alejandro.sanchez at ite.es Fri Jun 5 09:13:13 2009 From: alejandro.sanchez at ite.es (=?iso-8859-1?Q?Alejandro_S=E1nchez_Mero=F1o?=) Date: Fri, 5 Jun 2009 09:13:13 +0200 Subject: Agentless Vs Agent based References: Message-ID: Dear Chethan, In my opinion, that it's a very wide question to answer, maybe you'll find a suitable answer in the official documentation... Give it a try, it's not so hard as it seems at first sight!! ;-) In general, there are not better methods than others, you should study separately each different item to monitor. Alejandro == Alejandro S?nchez Mero?o Area de Inform?tica y Comunicaciones Instituto Tecnol?gico de la Energ?a - http://www.ite.es Valencia - Spain ________________________________ De: chethan.mnc at wipro.com [mailto:chethan.mnc at wipro.com] Enviado el: jueves, 04 de junio de 2009 7:22 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Agentless Vs Agent based Dear Experts, What are the differences and advantages b/w agentless nagios setup and agent based (NRPE, NSCclient) Nagios monitoring. Please help me in understanding which is better to go with Agentless or Agent based. Please Help. Thanks & Regards, Chethan M N, Sr Engineer - EMS -------------------------------------------------------------------------------- Go Green P Save a Tree - 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.gif Type: image/gif Size: 2310 bytes Desc: image001.gif URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri Jun 5 14:15:07 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 5 Jun 2009 12:15:07 +0000 Subject: Deleting comments based on dates Message-ID: <200906051215.07752.assaf.flatto@ssp-intl.com> Hello List I am trying to find a way to remove host / service comments based on their age . i was planning to use the external commands but after reading them i find that it does not give me the flexibility i need . does any one have an idea how to go about this ? Thanks -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omasnjak at gmail.com Fri Jun 5 13:47:26 2009 From: omasnjak at gmail.com (Elvir Kuric) Date: Fri, 5 Jun 2009 13:47:26 +0200 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line Message-ID: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> Hi all, I have an question related to monitoring windows machines using nagios. I installed nagios on debian and it works super. For monitoring windows client I installed on windows NSClient++ - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration elements ) command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 ( just want to make first step with this ) When I execute from my linux -nagios server command as bellow /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load I got error: ExternalCommands: failed to create process (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The system cannot find the path specified. >From this I can conclude that I can access from nagios server to NRPE client on windows server, but for some reason I cannot get correct results. When I check over web for "CPU LOAD " I am getting info as " UNKNOWN " (No output returned from plugin) " Demand is to monitor windows machines, monitoring linux servers works super. Any information is welcom and thank you in advance Elvir ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri Jun 5 15:22:15 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 5 Jun 2009 13:22:15 +0000 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> Message-ID: <200906051322.15480.assaf.flatto@ssp-intl.com> You may want to use the following command define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v CPULOAD -l $ARG1$ } Assaf On Friday 05 June 2009 11:47:26 Elvir Kuric wrote: > Hi all, > > I have an question related to monitoring windows machines using > nagios. I installed nagios on debian and it works > super. For monitoring windows client I installed on windows NSClient++ > - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration > elements ) > > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 ( just want to make first step with this ) > > When I execute from my linux -nagios server command as bellow > > /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load > > I got error: > > ExternalCommands: failed to create process > (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The > system cannot find the path specified. > > >From this I can conclude that I can access from nagios server to NRPE > > client on windows server, but for some reason I cannot get correct > results. > > When I check over web for "CPU LOAD " I am getting info as " UNKNOWN " > (No output returned from plugin) " > > Demand is to monitor windows machines, monitoring linux servers works > super. > > Any information is welcom and thank you in advance > > Elvir > > --------------------------------------------------------------------------- >--- OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. Go to: > http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omasnjak at gmail.com Fri Jun 5 15:09:15 2009 From: omasnjak at gmail.com (Elvir Kuric) Date: Fri, 5 Jun 2009 15:09:15 +0200 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <200906051322.15480.assaf.flatto@ssp-intl.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> <200906051322.15480.assaf.flatto@ssp-intl.com> Message-ID: <1814bfe70906050609i1f213876lcaebe83e5cc909b8@mail.gmail.com> Thank you for mail and information. actually I I am using check_nrpe define command { command_name check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ } as I understood it it is necessary to use it to "call" NRPE daemon on windows server, and remotely execute command check_load, what I do not understand why I am getting error as I described in first mail. Kind regards, Elvir Kuric On Fri, Jun 5, 2009 at 3:22 PM, Assaf Flatto wrote: > You may want to use the following command > > define command{ > ? ? ? ?command_name ? ?check_nt_cpuload > ? ? ? ?command_line ? ?$USER1$/check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v CPULOAD -l $ARG1$ > ? ? ? ?} > > Assaf > > On Friday 05 June 2009 11:47:26 Elvir Kuric wrote: >> Hi all, >> >> I have an question related to monitoring windows machines using >> nagios. I installed nagios on debian and it works >> super. For monitoring windows client I installed on windows NSClient++ >> - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration >> elements ) >> >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c >> 30,25,20 ( just want to make first step with this ) >> >> When I execute from my linux -nagios server command as bellow >> >> /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load >> >> I got error: >> >> ExternalCommands: failed to create process >> (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The >> system cannot find the path specified. >> >> >From this I can conclude that I can access from nagios server to NRPE >> >> client on windows server, but for some reason I cannot get correct >> results. >> >> When I check over web for "CPU LOAD " I am getting info as " UNKNOWN " >> (No output returned from plugin) ?" >> >> Demand is to monitor windows machines, monitoring linux servers works >> super. >> >> Any information is welcom and thank you in advance >> >> Elvir >> >> --------------------------------------------------------------------------- >>--- OpenSolaris 2009.06 is a cutting edge operating system for enterprises >> looking to deploy the next generation of Solaris that includes the latest >> innovations from Sun and the OpenSource community. Download a copy and >> enjoy capabilities such as Networking, Storage and Virtualization. Go to: >> http://p.sf.net/sfu/opensolaris-get >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> ::: reporting any issue. Messages without supporting info will risk being >> ::: sent to /dev/null > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > Along with a few colleagues I am doing The Three Peaks Challenge again > this year to raise money for The Railway Children. > Please sponsor me by making a donation online, simply click on the link > below and give via your switch/credit card. Thank you. > http://www.justgiving.com/londonnorththreepeaks > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jun 5 15:18:57 2009 From: marc at ena.com (Marc Powell) Date: Fri, 5 Jun 2009 08:18:57 -0500 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> Message-ID: On Jun 5, 2009, at 6:47 AM, Elvir Kuric wrote: > Hi all, > > I have an question related to monitoring windows machines using > nagios. I installed nagios on debian and it works > super. For monitoring windows client I installed on windows NSClient++ > - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration > elements ) > > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > ( just want to make first step with this ) > > When I execute from my linux -nagios server command as bellow > > /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load > > I got error: > > ExternalCommands: failed to create process > (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The > system cannot find the path specified. I don't use nsclient++ but to help you understand the concepts and get you pointed in the right direction, check_nrpe contacts a daemon running on a remote host (NRPE or NSClient(++)) and asks that daemon to execute a plugin *installed and runnable* on the remote host. In your case, /usr/lib/nagios/plugins/check_load is almost certainly not installed on your Windows machine, in that path, and it certainly isn't executable by Windows if it was (outside of using Cygwin). This documentation may be useful to you - http://nsclient.com/nscp/wiki/doc/usage/nagios The specific check you're looking for appears to be - http://nsclient.com/nscp/wiki/CheckCPU -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri Jun 5 16:16:39 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 5 Jun 2009 14:16:39 +0000 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <1814bfe70906050609i1f213876lcaebe83e5cc909b8@mail.gmail.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> Message-ID: <200906051416.39901.assaf.flatto@ssp-intl.com> Have you configured ,implanted and defined NRPE tests on the remote machine ? The command you defined in below is the base for nrpe - telling the nagios that when it is executing to use the check_nrpe plugin and attempt to connect to the $HOST , and try to initiate a commad $ARG1$ ( which is the check_load) . have you defined the check_load check on the remote machine ? Assaf On Friday 05 June 2009 13:09:15 Elvir Kuric wrote: > Thank you for mail and information. > > actually I I am using check_nrpe > > define command { > command_name check_nrpe > command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c > $ARG1$ -a $ARG2$ > } > > as I understood it it is necessary to use it to "call" NRPE daemon on > windows server, and remotely execute command check_load, what I do not > understand why I am getting error as I described in first mail. > > Kind regards, > > Elvir Kuric > > On Fri, Jun 5, 2009 at 3:22 PM, Assaf Flatto wrote: > > You may want to use the following command > > > > define command{ > > ? ? ? ?command_name ? ?check_nt_cpuload > > ? ? ? ?command_line ? ?$USER1$/check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v > > CPULOAD -l $ARG1$ } > > > > Assaf > > > > On Friday 05 June 2009 11:47:26 Elvir Kuric wrote: > >> Hi all, > >> > >> I have an question related to monitoring windows machines using > >> nagios. I installed nagios on debian and it works > >> super. For monitoring windows client I installed on windows NSClient++ > >> - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration > >> elements ) > >> > >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > >> 30,25,20 ( just want to make first step with this ) > >> > >> When I execute from my linux -nagios server command as bellow > >> > >> /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load > >> > >> I got error: > >> > >> ExternalCommands: failed to create process > >> (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The > >> system cannot find the path specified. > >> > >> >From this I can conclude that I can access from nagios server to NRPE > >> > >> client on windows server, but for some reason I cannot get correct > >> results. > >> > >> When I check over web for "CPU LOAD " I am getting info as " UNKNOWN " > >> (No output returned from plugin) ?" > >> > >> Demand is to monitor windows machines, monitoring linux servers works > >> super. > >> > >> Any information is welcom and thank you in advance > >> > >> Elvir > >> > >> ------------------------------------------------------------------------ > >>--- --- OpenSolaris 2009.06 is a cutting edge operating system for > >> enterprises looking to deploy the next generation of Solaris that > >> includes the latest innovations from Sun and the OpenSource community. > >> Download a copy and enjoy capabilities such as Networking, Storage and > >> Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> ::: reporting any issue. Messages without supporting info will risk > >> ::: being sent to /dev/null > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > Along with a few colleagues I am doing The Three Peaks Challenge again > > this year to raise money for The Railway Children. > > Please sponsor me by making a donation online, simply click on the link > > below and give via your switch/credit card. Thank you. > > http://www.justgiving.com/londonnorththreepeaks > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally privileged and/or protected by law. It is intended solely for the > > use of the person to whom it is addressed. If you are not the intended > > recipient, please notify the sender immediately and do not disclose the > > contents to any other person, use it for any purpose, or store or copy > > the information in any medium. Please also delete all copies of this > > email and any attachments from your system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We do not accept any liability for losses or damages that > > you may suffer as a result of your receipt of this email including but > > not limited to computer service or system failure, access delays or > > interruption, data non-delivery or mis-delivery, computer viruses or > > other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK Limited. Should you communicate with anyone at Select Service > > Partner UK Limited by email, you consent to us monitoring and reading any > > such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales (company number 05687183) whose registered office is at 1 The > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > >----- OpenSolaris 2009.06 is a cutting edge operating system for > > enterprises looking to deploy the next generation of Solaris that > > includes the latest innovations from Sun and the OpenSource community. > > Download a copy and enjoy capabilities such as Networking, Storage and > > Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Fri Jun 5 16:15:07 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Fri, 5 Jun 2009 11:15:07 -0300 Subject: SMS notification Message-ID: Hi all, How do I set Nagios to send notification through sms. Does anybody can help me? I'm in Brazil and all the companies charges for this kind of services, are there anyother way to send it? Cheers Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omasnjak at gmail.com Fri Jun 5 15:52:42 2009 From: omasnjak at gmail.com (Elvir Kuric) Date: Fri, 5 Jun 2009 15:52:42 +0200 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> Message-ID: <1814bfe70906050652i6de42b77h99015a9515cb2980@mail.gmail.com> Thank you Marc, I think I re-read these links again. I know nagios is not simple, but there out is a lot of material how to set up what I want, at the moment I spent all my ideas regarding this problem. Nice regards, Elvir On Fri, Jun 5, 2009 at 3:18 PM, Marc Powell wrote: > > On Jun 5, 2009, at 6:47 AM, Elvir Kuric wrote: > >> Hi all, >> >> I have an question related to monitoring windows machines using >> nagios. I installed nagios on debian and it works >> super. For monitoring windows client I installed on windows NSClient++ >> - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration >> elements ) >> >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c >> 30,25,20 >> ( just want to make first step with this ) >> >> When I execute from my linux -nagios server command as bellow >> >> /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load >> >> I got error: >> >> ExternalCommands: failed to create process >> (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The >> system cannot find the path specified. > > I don't use nsclient++ but to help you understand the concepts and get > you pointed in the right direction, check_nrpe contacts a daemon > running on a remote host (NRPE or NSClient(++)) and asks that daemon > to execute a plugin *installed and runnable* on the remote host. In > your case, /usr/lib/nagios/plugins/check_load is almost certainly not > installed on your Windows machine, in that path, and it certainly > isn't executable by Windows if it was (outside of using Cygwin). > > This documentation may be useful to you - http://nsclient.com/nscp/wiki/doc/usage/nagios > > The specific check you're looking for appears to be - http://nsclient.com/nscp/wiki/CheckCPU > > -- > Marc > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omasnjak at gmail.com Fri Jun 5 15:50:38 2009 From: omasnjak at gmail.com (Elvir Kuric) Date: Fri, 5 Jun 2009 15:50:38 +0200 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <200906051416.39901.assaf.flatto@ssp-intl.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> <200906051322.15480.assaf.flatto@ssp-intl.com> <1814bfe70906050609i1f213876lcaebe83e5cc909b8@mail.gmail.com> <200906051416.39901.assaf.flatto@ssp-intl.com> Message-ID: <1814bfe70906050650o7e02c3f3i235d3565a37c9ac4@mail.gmail.com> I used this http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html as starting point. Installed nscclient on windows, and then within nsc.ini edited part related nrpe part, defined allowed hosts, port, and placed command to be exectuted command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 and nothing else. On linux machine I did configuration of nagios. Should I install something more on windows machine, where/how I can define check_load on remote ( windows ) machine. Thank you for reply and nice regards, Elvir On Fri, Jun 5, 2009 at 4:16 PM, Assaf Flatto wrote: > Have you configured ,implanted ?and defined NRPE tests on the remote machine ? > > The command you defined in below is the base for nrpe - telling the nagios that when it is executing > to use the check_nrpe plugin and attempt to connect to the $HOST , and try to initiate a commad > $ARG1$ ( which is the check_load) ?. > > have you defined the check_load ?check ?on the remote machine ? > > Assaf > > On Friday 05 June 2009 13:09:15 Elvir Kuric wrote: >> Thank you for mail and information. >> >> actually I I am using check_nrpe >> >> define command { >> ? ? ? command_name ? ?check_nrpe >> ? ? ? command_line ? ?/usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c >> $ARG1$ -a $ARG2$ >> } >> >> as I understood it it is necessary to use it to "call" NRPE daemon on >> windows server, and remotely execute command check_load, what I do not >> understand why I am getting error as I described in first mail. >> >> Kind regards, >> >> Elvir Kuric >> >> On Fri, Jun 5, 2009 at 3:22 PM, Assaf Flatto wrote: >> > You may want to use the following command >> > >> > define command{ >> > ? ? ? ?command_name ? ?check_nt_cpuload >> > ? ? ? ?command_line ? ?$USER1$/check_nt -H $HOSTADDRESS$ -t 20 -p 1248 -v >> > CPULOAD -l $ARG1$ } >> > >> > Assaf >> > >> > On Friday 05 June 2009 11:47:26 Elvir Kuric wrote: >> >> Hi all, >> >> >> >> I have an question related to monitoring windows machines using >> >> nagios. I installed nagios on debian and it works >> >> super. For monitoring windows client I installed on windows NSClient++ >> >> - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other configuration >> >> elements ) >> >> >> >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c >> >> 30,25,20 ( just want to make first step with this ) >> >> >> >> When I execute from my linux -nagios server command as bellow >> >> >> >> /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load >> >> >> >> I got error: >> >> >> >> ExternalCommands: failed to create process >> >> (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The >> >> system cannot find the path specified. >> >> >> >> >From this I can conclude that I can access from nagios server to NRPE >> >> >> >> client on windows server, but for some reason I cannot get correct >> >> results. >> >> >> >> When I check over web for "CPU LOAD " I am getting info as " UNKNOWN " >> >> (No output returned from plugin) ?" >> >> >> >> Demand is to monitor windows machines, monitoring linux servers works >> >> super. >> >> >> >> Any information is welcom and thank you in advance >> >> >> >> Elvir >> >> >> >> ------------------------------------------------------------------------ >> >>--- --- OpenSolaris 2009.06 is a cutting edge operating system for >> >> enterprises looking to deploy the next generation of Solaris that >> >> includes the latest innovations from Sun and the OpenSource community. >> >> Download a copy and enjoy capabilities such as Networking, Storage and >> >> Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> >> ::: reporting any issue. Messages without supporting info will risk >> >> ::: being sent to /dev/null >> > >> > -- >> > Assaf Flatto >> > SSP Ops Team >> > Linux System Administrator >> > 169 Euston Road, London, NW1 2AE >> > >> > Along with a few colleagues I am doing The Three Peaks Challenge again >> > this year to raise money for The Railway Children. >> > Please sponsor me by making a donation online, simply click on the link >> > below and give via your switch/credit card. Thank you. >> > http://www.justgiving.com/londonnorththreepeaks >> > >> > >> > >> > >> > IMPORTANT . this email and the information in it may be confidential, >> > legally privileged and/or protected by law. It is intended solely for the >> > use of the person to whom it is addressed. If you are not the intended >> > recipient, please notify the sender immediately and do not disclose the >> > contents to any other person, use it for any purpose, or store or copy >> > the information in any medium. Please also delete all copies of this >> > email and any attachments from your system. >> > >> > We cannot guarantee the security or confidentiality of email >> > communications. We do not accept any liability for losses or damages that >> > you may suffer as a result of your receipt of this email including but >> > not limited to computer service or system failure, access delays or >> > interruption, data non-delivery or mis-delivery, computer viruses or >> > other harmful components. >> > >> > Copyright in this email and any attachments belong to Select Service >> > Partner UK Limited. Should you communicate with anyone at Select Service >> > Partner UK Limited by email, you consent to us monitoring and reading any >> > such correspondence. >> > >> > Nothing in this email shall be taken or read as suggesting, proposing or >> > relating to any agreement concerted practice or other practice that could >> > infringe UK or EC competition legislation. >> > >> > Select Service Partner UK Limited is a company registered in England and >> > Wales (company number 05687183) whose registered office is at 1 The >> > Heights, Brooklands, Weybridge. Surrey. KT13 0NY >> > >> > >> > >> > ------------------------------------------------------------------------- >> >----- OpenSolaris 2009.06 is a cutting edge operating system for >> > enterprises looking to deploy the next generation of Solaris that >> > includes the latest innovations from Sun and the OpenSource community. >> > Download a copy and enjoy capabilities such as Networking, Storage and >> > Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > ::: reporting any issue. Messages without supporting info will risk being >> > ::: sent to /dev/null > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > Along with a few colleagues I am doing The Three Peaks Challenge again > this year to raise money for The Railway Children. > Please sponsor me by making a donation online, simply click on the link > below and give via your switch/credit card. Thank you. > http://www.justgiving.com/londonnorththreepeaks > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Fri Jun 5 16:57:07 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Fri, 5 Jun 2009 14:57:07 +0000 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <1814bfe70906050650o7e02c3f3i235d3565a37c9ac4@mail.gmail.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> Message-ID: <200906051457.07160.assaf.flatto@ssp-intl.com> you may want to read on nrpe to understand the issue you are having : http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe also see the reply from Marc in this thread . In a nutshell - you can not use nrpe on windows unless you also install Cygwin. you are better off using the chekc_nt command read this : http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html Assaf On Friday 05 June 2009 13:50:38 Elvir Kuric wrote: > I used this > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > > as starting point. Installed nscclient on windows, and then within > nsc.ini edited part related nrpe part, defined allowed hosts, port, > and placed command to be exectuted > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > > and nothing else. On linux machine I did configuration of nagios. > > Should I install something more on windows machine, where/how I can > define check_load on remote ( windows ) machine. > > > Thank you for reply and nice regards, > > Elvir > > On Fri, Jun 5, 2009 at 4:16 PM, Assaf Flatto wrote: > > Have you configured ,implanted ?and defined NRPE tests on the remote > > machine ? > > > > The command you defined in below is the base for nrpe - telling the > > nagios that when it is executing to use the check_nrpe plugin and attempt > > to connect to the $HOST , and try to initiate a commad $ARG1$ ( which is > > the check_load) ?. > > > > have you defined the check_load ?check ?on the remote machine ? > > > > Assaf > > > > On Friday 05 June 2009 13:09:15 Elvir Kuric wrote: > >> Thank you for mail and information. > >> > >> actually I I am using check_nrpe > >> > >> define command { > >> ? ? ? command_name ? ?check_nrpe > >> ? ? ? command_line ? ?/usr/lib/nagios/plugins/check_nrpe -H > >> $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ > >> } > >> > >> as I understood it it is necessary to use it to "call" NRPE daemon on > >> windows server, and remotely execute command check_load, what I do not > >> understand why I am getting error as I described in first mail. > >> > >> Kind regards, > >> > >> Elvir Kuric > >> > >> On Fri, Jun 5, 2009 at 3:22 PM, Assaf Flatto wrote: > >> > You may want to use the following command > >> > > >> > define command{ > >> > ? ? ? ?command_name ? ?check_nt_cpuload > >> > ? ? ? ?command_line ? ?$USER1$/check_nt -H $HOSTADDRESS$ -t 20 -p 1248 > >> > -v CPULOAD -l $ARG1$ } > >> > > >> > Assaf > >> > > >> > On Friday 05 June 2009 11:47:26 Elvir Kuric wrote: > >> >> Hi all, > >> >> > >> >> I have an question related to monitoring windows machines using > >> >> nagios. I installed nagios on debian and it works > >> >> super. For monitoring windows client I installed on windows > >> >> NSClient++ - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other > >> >> configuration elements ) > >> >> > >> >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > >> >> 30,25,20 ( just want to make first step with this ) > >> >> > >> >> When I execute from my linux -nagios server command as bellow > >> >> > >> >> /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load > >> >> > >> >> I got error: > >> >> > >> >> ExternalCommands: failed to create process > >> >> (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The > >> >> system cannot find the path specified. > >> >> > >> >> >From this I can conclude that I can access from nagios server to > >> >> > NRPE > >> >> > >> >> client on windows server, but for some reason I cannot get correct > >> >> results. > >> >> > >> >> When I check over web for "CPU LOAD " I am getting info as " UNKNOWN > >> >> " (No output returned from plugin) ?" > >> >> > >> >> Demand is to monitor windows machines, monitoring linux servers works > >> >> super. > >> >> > >> >> Any information is welcom and thank you in advance > >> >> > >> >> Elvir > >> >> > >> >> --------------------------------------------------------------------- > >> >>--- --- --- OpenSolaris 2009.06 is a cutting edge operating system for > >> >> enterprises looking to deploy the next generation of Solaris that > >> >> includes the latest innovations from Sun and the OpenSource > >> >> community. Download a copy and enjoy capabilities such as Networking, > >> >> Storage and Virtualization. Go to: > >> >> http://p.sf.net/sfu/opensolaris-get > >> >> _______________________________________________ > >> >> Nagios-users mailing list > >> >> Nagios-users at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> >> > >> >> ::: Please include Nagios version, plugin version (-v) and OS when > >> >> ::: reporting any issue. Messages without supporting info will risk > >> >> ::: being sent to /dev/null > >> > > >> > -- > >> > Assaf Flatto > >> > SSP Ops Team > >> > Linux System Administrator > >> > 169 Euston Road, London, NW1 2AE > >> > > >> > Along with a few colleagues I am doing The Three Peaks Challenge again > >> > this year to raise money for The Railway Children. > >> > Please sponsor me by making a donation online, simply click on the > >> > link below and give via your switch/credit card. Thank you. > >> > http://www.justgiving.com/londonnorththreepeaks > >> > > >> > > >> > > >> > > >> > IMPORTANT . this email and the information in it may be confidential, > >> > legally privileged and/or protected by law. It is intended solely for > >> > the use of the person to whom it is addressed. If you are not the > >> > intended recipient, please notify the sender immediately and do not > >> > disclose the contents to any other person, use it for any purpose, or > >> > store or copy the information in any medium. Please also delete all > >> > copies of this email and any attachments from your system. > >> > > >> > We cannot guarantee the security or confidentiality of email > >> > communications. We do not accept any liability for losses or damages > >> > that you may suffer as a result of your receipt of this email > >> > including but not limited to computer service or system failure, > >> > access delays or interruption, data non-delivery or mis-delivery, > >> > computer viruses or other harmful components. > >> > > >> > Copyright in this email and any attachments belong to Select Service > >> > Partner UK Limited. Should you communicate with anyone at Select > >> > Service Partner UK Limited by email, you consent to us monitoring and > >> > reading any such correspondence. > >> > > >> > Nothing in this email shall be taken or read as suggesting, proposing > >> > or relating to any agreement concerted practice or other practice that > >> > could infringe UK or EC competition legislation. > >> > > >> > Select Service Partner UK Limited is a company registered in England > >> > and Wales (company number 05687183) whose registered office is at 1 > >> > The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > >> > > >> > > >> > > >> > ---------------------------------------------------------------------- > >> >--- ----- OpenSolaris 2009.06 is a cutting edge operating system for > >> > enterprises looking to deploy the next generation of Solaris that > >> > includes the latest innovations from Sun and the OpenSource community. > >> > Download a copy and enjoy capabilities such as Networking, Storage and > >> > Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > > >> > ::: Please include Nagios version, plugin version (-v) and OS when > >> > ::: reporting any issue. Messages without supporting info will risk > >> > ::: being sent to /dev/null > > > > -- > > Assaf Flatto > > SSP Ops Team > > Linux System Administrator > > 169 Euston Road, London, NW1 2AE > > > > Along with a few colleagues I am doing The Three Peaks Challenge again > > this year to raise money for The Railway Children. > > Please sponsor me by making a donation online, simply click on the link > > below and give via your switch/credit card. Thank you. > > http://www.justgiving.com/londonnorththreepeaks > > > > > > > > > > IMPORTANT . this email and the information in it may be confidential, > > legally privileged and/or protected by law. It is intended solely for the > > use of the person to whom it is addressed. If you are not the intended > > recipient, please notify the sender immediately and do not disclose the > > contents to any other person, use it for any purpose, or store or copy > > the information in any medium. Please also delete all copies of this > > email and any attachments from your system. > > > > We cannot guarantee the security or confidentiality of email > > communications. We do not accept any liability for losses or damages that > > you may suffer as a result of your receipt of this email including but > > not limited to computer service or system failure, access delays or > > interruption, data non-delivery or mis-delivery, computer viruses or > > other harmful components. > > > > Copyright in this email and any attachments belong to Select Service > > Partner UK Limited. Should you communicate with anyone at Select Service > > Partner UK Limited by email, you consent to us monitoring and reading any > > such correspondence. > > > > Nothing in this email shall be taken or read as suggesting, proposing or > > relating to any agreement concerted practice or other practice that could > > infringe UK or EC competition legislation. > > > > Select Service Partner UK Limited is a company registered in England and > > Wales (company number 05687183) whose registered office is at 1 The > > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > > > > > ------------------------------------------------------------------------- > >----- OpenSolaris 2009.06 is a cutting edge operating system for > > enterprises looking to deploy the next generation of Solaris that > > includes the latest innovations from Sun and the OpenSource community. > > Download a copy and enjoy capabilities such as Networking, Storage and > > Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From epearce at amberpoint.com Fri Jun 5 18:12:47 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Fri, 5 Jun 2009 09:12:47 -0700 Subject: SMS notification References: Message-ID: <4998BF8D1874419BA7451E05709D0233@edgility.com> I'm a very satisfied user of the Multitech SMSFinder and the perl script http://www.nagioswiki.org/wiki/Plugin:check_smsfinder.pl The hardware was about $650 and the the "telemetry" SMS service from AT&T about $9/month. Using this technology means my alerts can get out even if my Internet connection is down and will continue to get out as long as there is power or UPS battery. -e ----- Original Message ----- From: Eduardo Barreto To: nagios-users at lists.sourceforge.net Sent: Friday, June 05, 2009 7:15 AM Subject: [Nagios-users] SMS notification Hi all, How do I set Nagios to send notification through sms. Does anybody can help me? I'm in Brazil and all the companies charges for this kind of services, are there anyother way to send it? Cheers Eduardo Barreto ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fje at fullnet.com Fri Jun 5 18:59:44 2009 From: fje at fullnet.com (John Fullington) Date: Fri, 05 Jun 2009 12:59:44 -0400 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> Message-ID: <4A294F00.50802@fullnet.com> D. Emmanuel Feinsmith wrote: > Hi John, > > Thanks for your clarification. I am confused, however. Is the inag.php > script not installed on the Nagios server? > > Daniel. > > On Jun 4, 2009, at 12:10 PM, John Fullington wrote: > The inag.php script does not have to be on the same server as Nagios, in fact in my day job I have inag.php(renamed of course, I suggest everyone does) on a publicly accessible server, while my Nagios server remains available only internally. This is one of the main reason behind the inag.php script. -John ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Fri Jun 5 19:13:38 2009 From: jep at obrien-pifer.com (James Pifer) Date: Fri, 05 Jun 2009 13:13:38 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1244140695.14804.231.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> <4A280C48.1020206@gmail.com> <9264B9FF-06CE-4908-99CA-18B3D6E979E8@ena.com> <1244140695.14804.231.camel@storage.obrien-pifer.com> Message-ID: <1244222018.14804.254.camel@storage.obrien-pifer.com> On Thu, 2009-06-04 at 14:38 -0400, James Pifer wrote: > On Thu, 2009-06-04 at 13:18 -0500, Marc Powell wrote: > > On Jun 4, 2009, at 1:02 PM, Andrew Davis wrote: > > > > > I don't want to come across like a jerk, but wouldn't this better be > > > discussed on the Centreon site? I understand its built on Nagios, > > > but I'm thinking you might get better help and support on the > > > Centreon site itself.. > > > > The OP said in his original post that he started there and didn't get > > anywhere. *shrug* > > Yes, I spent a couple weeks trying to get help and find answers over > there. I agree that SHOULD be the place. I appreciate the help received > here. See my other post, I think it's very close now... > Thanks for all the help!!! Was able to get everything working. James ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Fri Jun 5 19:58:58 2009 From: bram at openminds.be (Bram Gillemon - Openminds) Date: Fri, 05 Jun 2009 19:58:58 +0200 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <4A294F00.50802@fullnet.com> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <4A294F00.50802@fullnet.com> Message-ID: <4A295CE2.5020009@openminds.be> Today i bought Brooklyn app and configured it, i launched the app. And then it just crashes. I have an iphone 3G with the latest iphone os. Is there a way to debug this? Bram John Fullington wrote: > D. Emmanuel Feinsmith wrote: > >> Hi John, >> >> Thanks for your clarification. I am confused, however. Is the inag.php >> script not installed on the Nagios server? >> >> Daniel. >> >> On Jun 4, 2009, at 12:10 PM, John Fullington wrote: >> >> > > The inag.php script does not have to be on the same server as Nagios, in > fact in my day job I have inag.php(renamed of course, I suggest everyone > does) on a publicly accessible server, while my Nagios server remains > available only internally. This is one of the main reason behind the > inag.php script. > > -John > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at danielemmanuelfeinsmith.com Fri Jun 5 20:27:27 2009 From: daniel at danielemmanuelfeinsmith.com (D. Emmanuel Feinsmith) Date: Fri, 5 Jun 2009 11:27:27 -0700 Subject: Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch! In-Reply-To: <4A295CE2.5020009@openminds.be> References: <1842F3C5-63CC-471F-AAD7-B956C09151B4@ena.com> <0A9FDA81-482F-48CA-923E-5DB20695F588@danielemmanuelfeinsmith.com> <4A294F00.50802@fullnet.com> <4A295CE2.5020009@openminds.be> Message-ID: Hi Bram, I'm going to redirect your email to the support email site and will respond to you from there. Thanks, Daniel. On Jun 5, 2009, at 10:58 AM, Bram Gillemon - Openminds wrote: > Today i bought Brooklyn app and configured it, i launched the app. > > And then it just crashes. I have an iphone 3G with the latest iphone > os. > > Is there a way to debug this? > > Bram > > > > John Fullington wrote: >> D. Emmanuel Feinsmith wrote: >> >>> Hi John, >>> >>> Thanks for your clarification. I am confused, however. Is the >>> inag.php >>> script not installed on the Nagios server? >>> >>> Daniel. >>> >>> On Jun 4, 2009, at 12:10 PM, John Fullington wrote: >>> >>> >> >> The inag.php script does not have to be on the same server as >> Nagios, in >> fact in my day job I have inag.php(renamed of course, I suggest >> everyone >> does) on a publicly accessible server, while my Nagios server remains >> available only internally. This is one of the main reason behind the >> inag.php script. >> >> -John >> >> ------------------------------------------------------------------------------ >> OpenSolaris 2009.06 is a cutting edge operating system for >> enterprises >> looking to deploy the next generation of Solaris that includes the >> latest >> innovations from Sun and the OpenSource community. Download a copy >> and >> enjoy capabilities such as Networking, Storage and Virtualization. >> Go to: http://p.sf.net/sfu/opensolaris-get >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> >> > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Sat Jun 6 00:38:57 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Sat, 6 Jun 2009 00:38:57 +0200 Subject: SMS notification In-Reply-To: References: Message-ID: <200906060038.57128.cschneemann@suse.de> On Friday 05 June 2009 16:15:07 Eduardo Barreto wrote: > Hi all, > > How do I set Nagios to send notification through sms. Does anybody can help > me? I'm in Brazil and all the companies charges for this kind of services, > are there anyother way to send it? Hi, you could use an mobilephone you can connect to your nagios server and use the smstools [1]. So you have to pay the normal fee as if you would send an sms from your mobilephone. As hardware you can use everykind of supported mobilephone (I used an nokia 6310i for this). [1] http://smstools.meinemullemaus.de/ > > > Cheers > > Eduardo Barreto Greetings, Christian -- Christian Schneemann ---------------------------------------- SUSE Linux Products GmbH Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ---------------------------------------- SUSE Linux Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sun Jun 7 21:12:45 2009 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sun, 7 Jun 2009 21:12:45 +0200 Subject: re-execute an event handler just in case the service stays DOWN In-Reply-To: References: <20090122144209.GJ8349@torres.zugschlus.de> Message-ID: <20090607191245.GG18692@torres.zugschlus.de> Hi Ludse, this issue was completely lost in space, sorry about that. [quoting fixed to get things back in context] On Thu, Jan 22, 2009 at 06:05:00PM +0100, Ludse Verhoeven wrote: > Marc Haber wrote: >> I would like one event handler to be re-executed just in case it >> failed for the first time. The docs >> (http://nagios.sourceforge.net/docs/3_0/eventhandlers.html) say "you >> don't want that", but I am fairly confident that I want it in this case. I forgot to mention that this is a host event handler. >> I have a nagios host in a unattended site which generally gets its >> internet access from the site network. In case of a site network >> failure, the host needs to dial in to the Internet via modem to be >> reachable for debugging purposes. >> >> The nagios installation monitors a host on the Internet and has an >> event handler connected with this host which will initiate the dial-up >> when the "Internet host" goes into a HARD DOWN state. >> >> I would like this event handler to be re-executed in case the dial-up >> connection doesn't come up or goes down _before_ nagios has detected >> that the "Internet host" is UP again. >> >> Is there any way to accomplish this or am I better of with a cronjob >> which will initiate the dial-up from outside nagios? > Maybe the "is_volatile" option is something for you (see: > http://nagios.sourceforge.net/docs/3_0/volatileservices.html) Unfortunately, is_volatile seems to be a service only option, and I am checking the host. When I define a service to that host which has the is_volatile option set, the service event handler is never called since the service is not checked again once the host is in DOWN state. Any additional hints? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From omasnjak at gmail.com Mon Jun 8 11:38:28 2009 From: omasnjak at gmail.com (Elvir Kuric) Date: Mon, 8 Jun 2009 11:38:28 +0200 Subject: Nagos issuse: ExternalCommands: failed to create process when exectuted from command line In-Reply-To: <200906051457.07160.assaf.flatto@ssp-intl.com> References: <1814bfe70906050447j66b00ceamc78167fb1f89cef5@mail.gmail.com> <200906051416.39901.assaf.flatto@ssp-intl.com> <1814bfe70906050650o7e02c3f3i235d3565a37c9ac4@mail.gmail.com> <200906051457.07160.assaf.flatto@ssp-intl.com> Message-ID: <1814bfe70906080238q2d94ce0bi9d39b4fdc14ec8db@mail.gmail.com> Hi all, I played with this and I made it to works. I am using windows plugins from http://www.psychoticwolf.net/blog/2007/07/nagios_plugins_for_windows.php and I got results for check_load, check_users... anyway list of plugins on http://www.psychoticwolf.net/blog/2007/07/nagios_plugins_for_windows.php is not compete as list of plugins in /usr/lib/nagios/plugins on linux, and I am wondering exist some other list of windows nagios plugins, or if you have some guide, how plugins from /usr/lib/nagios/plugins could be converted to be used on windows. Thank you and nice regards, Elvir On Fri, Jun 5, 2009 at 4:57 PM, Assaf Flatto wrote: > you may want to read on nrpe to understand the issue you are having : > http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe > > also see the reply from Marc in this thread . > > In a nutshell - you can not use nrpe on windows unless you also install Cygwin. > > you are better off using the chekc_nt command > read this : > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > > Assaf > > > On Friday 05 June 2009 13:50:38 Elvir Kuric wrote: >> I used this >> >> http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html >> >> as starting point. Installed nscclient on windows, and then within >> nsc.ini edited part related nrpe part, defined allowed hosts, port, >> and placed command to be exectuted >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c >> 30,25,20 >> >> and nothing else. On linux machine I did configuration of nagios. >> >> Should I install something more on windows machine, where/how I can >> define check_load on remote ( windows ) machine. >> >> >> Thank you for reply and nice regards, >> >> Elvir >> >> On Fri, Jun 5, 2009 at 4:16 PM, Assaf Flatto wrote: >> > Have you configured ,implanted ?and defined NRPE tests on the remote >> > machine ? >> > >> > The command you defined in below is the base for nrpe - telling the >> > nagios that when it is executing to use the check_nrpe plugin and attempt >> > to connect to the $HOST , and try to initiate a commad $ARG1$ ( which is >> > the check_load) ?. >> > >> > have you defined the check_load ?check ?on the remote machine ? >> > >> > Assaf >> > >> > On Friday 05 June 2009 13:09:15 Elvir Kuric wrote: >> >> Thank you for mail and information. >> >> >> >> actually I I am using check_nrpe >> >> >> >> define command { >> >> ? ? ? command_name ? ?check_nrpe >> >> ? ? ? command_line ? ?/usr/lib/nagios/plugins/check_nrpe -H >> >> $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ >> >> } >> >> >> >> as I understood it it is necessary to use it to "call" NRPE daemon on >> >> windows server, and remotely execute command check_load, what I do not >> >> understand why I am getting error as I described in first mail. >> >> >> >> Kind regards, >> >> >> >> Elvir Kuric >> >> >> >> On Fri, Jun 5, 2009 at 3:22 PM, Assaf Flatto wrote: >> >> > You may want to use the following command >> >> > >> >> > define command{ >> >> > ? ? ? ?command_name ? ?check_nt_cpuload >> >> > ? ? ? ?command_line ? ?$USER1$/check_nt -H $HOSTADDRESS$ -t 20 -p 1248 >> >> > -v CPULOAD -l $ARG1$ } >> >> > >> >> > Assaf >> >> > >> >> > On Friday 05 June 2009 11:47:26 Elvir Kuric wrote: >> >> >> Hi all, >> >> >> >> >> >> I have an question related to monitoring windows machines using >> >> >> nagios. I installed nagios on debian and it works >> >> >> super. For monitoring windows client I installed on windows >> >> >> NSClient++ - 0.3.5.2 2008-09-24, and set up NSC.ini ( among other >> >> >> configuration elements ) >> >> >> >> >> >> command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c >> >> >> 30,25,20 ( just want to make first step with this ) >> >> >> >> >> >> When I execute from my linux -nagios server command as bellow >> >> >> >> >> >> /usr/lib/nagios/plugins# ./check_nrpe -H WIN_IP_ADDRESS -c check_load >> >> >> >> >> >> I got error: >> >> >> >> >> >> ExternalCommands: failed to create process >> >> >> (/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20): 3: The >> >> >> system cannot find the path specified. >> >> >> >> >> >> >From this I can conclude that I can access from nagios server to >> >> >> > NRPE >> >> >> >> >> >> client on windows server, but for some reason I cannot get correct >> >> >> results. >> >> >> >> >> >> When I check over web for "CPU LOAD " I am getting info as " UNKNOWN >> >> >> " (No output returned from plugin) ?" >> >> >> >> >> >> Demand is to monitor windows machines, monitoring linux servers works >> >> >> super. >> >> >> >> >> >> Any information is welcom and thank you in advance >> >> >> >> >> >> Elvir >> >> >> >> >> >> --------------------------------------------------------------------- >> >> >>--- --- --- OpenSolaris 2009.06 is a cutting edge operating system for >> >> >> enterprises looking to deploy the next generation of Solaris that >> >> >> includes the latest innovations from Sun and the OpenSource >> >> >> community. Download a copy and enjoy capabilities such as Networking, >> >> >> Storage and Virtualization. Go to: >> >> >> http://p.sf.net/sfu/opensolaris-get >> >> >> _______________________________________________ >> >> >> Nagios-users mailing list >> >> >> Nagios-users at lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> >> >> ::: reporting any issue. Messages without supporting info will risk >> >> >> ::: being sent to /dev/null >> >> > >> >> > -- >> >> > Assaf Flatto >> >> > SSP Ops Team >> >> > Linux System Administrator >> >> > 169 Euston Road, London, NW1 2AE >> >> > >> >> > Along with a few colleagues I am doing The Three Peaks Challenge again >> >> > this year to raise money for The Railway Children. >> >> > Please sponsor me by making a donation online, simply click on the >> >> > link below and give via your switch/credit card. Thank you. >> >> > http://www.justgiving.com/londonnorththreepeaks >> >> > >> >> > >> >> > >> >> > >> >> > IMPORTANT . this email and the information in it may be confidential, >> >> > legally privileged and/or protected by law. It is intended solely for >> >> > the use of the person to whom it is addressed. If you are not the >> >> > intended recipient, please notify the sender immediately and do not >> >> > disclose the contents to any other person, use it for any purpose, or >> >> > store or copy the information in any medium. Please also delete all >> >> > copies of this email and any attachments from your system. >> >> > >> >> > We cannot guarantee the security or confidentiality of email >> >> > communications. We do not accept any liability for losses or damages >> >> > that you may suffer as a result of your receipt of this email >> >> > including but not limited to computer service or system failure, >> >> > access delays or interruption, data non-delivery or mis-delivery, >> >> > computer viruses or other harmful components. >> >> > >> >> > Copyright in this email and any attachments belong to Select Service >> >> > Partner UK Limited. Should you communicate with anyone at Select >> >> > Service Partner UK Limited by email, you consent to us monitoring and >> >> > reading any such correspondence. >> >> > >> >> > Nothing in this email shall be taken or read as suggesting, proposing >> >> > or relating to any agreement concerted practice or other practice that >> >> > could infringe UK or EC competition legislation. >> >> > >> >> > Select Service Partner UK Limited is a company registered in England >> >> > and Wales (company number 05687183) whose registered office is at 1 >> >> > The Heights, Brooklands, Weybridge. Surrey. KT13 0NY >> >> > >> >> > >> >> > >> >> > ---------------------------------------------------------------------- >> >> >--- ----- OpenSolaris 2009.06 is a cutting edge operating system for >> >> > enterprises looking to deploy the next generation of Solaris that >> >> > includes the latest innovations from Sun and the OpenSource community. >> >> > Download a copy and enjoy capabilities such as Networking, Storage and >> >> > Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get >> >> > _______________________________________________ >> >> > Nagios-users mailing list >> >> > Nagios-users at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > >> >> > ::: Please include Nagios version, plugin version (-v) and OS when >> >> > ::: reporting any issue. Messages without supporting info will risk >> >> > ::: being sent to /dev/null >> > >> > -- >> > Assaf Flatto >> > SSP Ops Team >> > Linux System Administrator >> > 169 Euston Road, London, NW1 2AE >> > >> > Along with a few colleagues I am doing The Three Peaks Challenge again >> > this year to raise money for The Railway Children. >> > Please sponsor me by making a donation online, simply click on the link >> > below and give via your switch/credit card. Thank you. >> > http://www.justgiving.com/londonnorththreepeaks >> > >> > >> > >> > >> > IMPORTANT . this email and the information in it may be confidential, >> > legally privileged and/or protected by law. It is intended solely for the >> > use of the person to whom it is addressed. If you are not the intended >> > recipient, please notify the sender immediately and do not disclose the >> > contents to any other person, use it for any purpose, or store or copy >> > the information in any medium. Please also delete all copies of this >> > email and any attachments from your system. >> > >> > We cannot guarantee the security or confidentiality of email >> > communications. We do not accept any liability for losses or damages that >> > you may suffer as a result of your receipt of this email including but >> > not limited to computer service or system failure, access delays or >> > interruption, data non-delivery or mis-delivery, computer viruses or >> > other harmful components. >> > >> > Copyright in this email and any attachments belong to Select Service >> > Partner UK Limited. Should you communicate with anyone at Select Service >> > Partner UK Limited by email, you consent to us monitoring and reading any >> > such correspondence. >> > >> > Nothing in this email shall be taken or read as suggesting, proposing or >> > relating to any agreement concerted practice or other practice that could >> > infringe UK or EC competition legislation. >> > >> > Select Service Partner UK Limited is a company registered in England and >> > Wales (company number 05687183) whose registered office is at 1 The >> > Heights, Brooklands, Weybridge. Surrey. KT13 0NY >> > >> > >> > >> > ------------------------------------------------------------------------- >> >----- OpenSolaris 2009.06 is a cutting edge operating system for >> > enterprises looking to deploy the next generation of Solaris that >> > includes the latest innovations from Sun and the OpenSource community. >> > Download a copy and enjoy capabilities such as Networking, Storage and >> > Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > ::: reporting any issue. Messages without supporting info will risk being >> > ::: sent to /dev/null > > > > -- > Assaf Flatto > SSP Ops Team > Linux System Administrator > 169 Euston Road, London, NW1 2AE > > Along with a few colleagues I am doing The Three Peaks Challenge again > this year to raise money for The Railway Children. > Please sponsor me by making a donation online, simply click on the link > below and give via your switch/credit card. Thank you. > http://www.justgiving.com/londonnorththreepeaks > > > > > IMPORTANT . this email and the information in it may be confidential, legally > privileged and/or protected by law. It is intended solely for the use of the > person to whom it is addressed. If you are not the intended recipient, please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and Wales > (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam.bancal at gmail.com Mon Jun 8 12:51:47 2009 From: sam.bancal at gmail.com (Samuel Bancal) Date: Mon, 8 Jun 2009 12:51:47 +0200 Subject: nagios stops to check & orphans Message-ID: <4fd99abf0906080351y6a1f53g89775d11b971c55c@mail.gmail.com> Hi, I'm a new Nagios administrator (since feb 09). Until now, every thing was quite fine. Working smoothly ... ok! This morning I saw that during the week-end, the Nagios daemon stopped from doing checks. After some research (on the server and on the web), here is what I've got. Does someone can explain me more on it ... And how not to have this problem again ... OS : Ubuntu server 8.04.2 LTS Versions : nagios-3.0.6 & nagios-plugins-1.4.13 Hardware : on Vmware server infrastructure. NTP is not set yet (I don't know if it has a side effect in my case... Because time may be involved in the problem ...). We're monitoring at this time 12 hosts and 64 services. What I can see on the web interface (In scheduling Queue) : Last check Next check server_xxx 2009-06-07 03:52:35 2009-06-07 09:19:45 Orphan ENABLED server_yyy service_zzz 2009-06-07 03:50:31 2009-06-07 09:19:45 Orphan ENABLED All hosts and services except 2 are "orphan"... Both "last check" and "next check" are from yesterday morning! On the server: $ ps auxft | grep nagios\.cfg | grep -v grep nagios 20578 0.4 72.9 2969592 1505772 ? Ssl Apr30 275:20 /usr/local/nagios/bin/nagios -d /etc/nagios/nagios.cfg -> Wow ... nagios uses 72.9% of the server's memory! $ free total used free shared buffers cached Mem: 2062920 1636656 426264 0 4404 24532 -/+ buffers/cache: 1607720 455200 Swap: 1951888 1450744 501144 What about forks? $ pstree -aclpn init,1 #snip ??nagios,20578 -d /etc/nagios/nagios.cfg ? ??{nagios},20579 #snap What about the log ? In /var/nagios/archives/nagios-06-08-2009-00.log ... thousands of : [1244325825] Warning: The check of service 'Partition /' on host 'server_xxx' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... and later, thousands of : [1244355705] Warning: The check of service 'HTTP' on host 'server_xxx' could not be performed due to a fork() error: 'Cannot allocate memory'. The check will be rescheduled. If I do a strace on process 20578, it loops with : nanosleep({0, 250000000}, NULL) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1892, ...}) = 0 And a strace on process 20579 it loops with : poll([{fd=5, events=POLLIN}], 1, 500) = 0 A part of the config : $ egrep 'status_update|reaper|orphan' /etc/nagios/nagios.cfg status_update_interval=10 check_result_reaper_frequency=10 max_check_result_reaper_time=30 check_for_orphaned_services=1 check_for_orphaned_hosts=1 Thanks for any reply, Best regards, Samuel Bancal -- Samuel Bancal - CH -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Mon Jun 8 15:24:36 2009 From: scarolan at gmail.com (Sean Carolan) Date: Mon, 8 Jun 2009 08:24:36 -0500 Subject: Do services inherit downtime from their hosts? Message-ID: <277020fc0906080624r72618f5cq374b2b371cc7949d@mail.gmail.com> If we put a host into downtime, will alerts be suppressed for services running on the host? Or does each and every service have to be put into downtime by hand? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 8 15:49:46 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Jun 2009 15:49:46 +0200 Subject: Do services inherit downtime from their hosts? In-Reply-To: <277020fc0906080624r72618f5cq374b2b371cc7949d@mail.gmail.com> References: <277020fc0906080624r72618f5cq374b2b371cc7949d@mail.gmail.com> Message-ID: <4A2D16FA.4050603@op5.se> Sean Carolan wrote: > If we put a host into downtime, will alerts be suppressed for services > running on the host? > Yes. > Or does each and every service have to be put into downtime by hand? > No. -- 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. ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Mon Jun 8 16:03:00 2009 From: scarolan at gmail.com (Sean Carolan) Date: Mon, 8 Jun 2009 09:03:00 -0500 Subject: Do services inherit downtime from their hosts? In-Reply-To: <4A2D16FA.4050603@op5.se> References: <277020fc0906080624r72618f5cq374b2b371cc7949d@mail.gmail.com> <4A2D16FA.4050603@op5.se> Message-ID: <277020fc0906080703k13434eeexe61a0e5ee207d272@mail.gmail.com> On Mon, Jun 8, 2009 at 8:49 AM, Andreas Ericsson wrote: > Sean Carolan wrote: >> >> If we put a host into downtime, will alerts be suppressed for services >> running on the host? >> > > Yes. Here's what we observed. Host was put into two hour flexible downtime at 7:03 am: [06-08-2009 07:03:37] EXTERNAL COMMAND: SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME;host1;1244462581;1244469781;0;0;3600;James Smith;patches Ten minutes later a notification for one of the services on this host is sent: [06-08-2009 07:13:44] SERVICE NOTIFICATION: hostingam;host1;http://host1.company.net;CRITICAL;notify-service-by-pager;Connection refused How do we avoid service notifications for hosts that are in downtime? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skippylou at gmail.com Mon Jun 8 15:37:50 2009 From: skippylou at gmail.com (ScottO) Date: Mon, 8 Jun 2009 09:37:50 -0400 Subject: check_cluster warning/critical problems Message-ID: <1edd27fb0906080637j55caee86u2355209b8c8fa3d7@mail.gmail.com> Having an issue with check_cluster that I hope someone can help with. Using the following versions of Nagios and the plugins: Nagios 3.0.3 Nagios Plugins 1.4.11 Basically the problem is it the check_cluster check is reporting back the proper ok/critical/warning messages from the underlying checks that are being run, but it is not handling its own critical/warning properly. Here is a snip of the relevant check_cluster check and the two underlying checks it uses: define service{ use check-proc host_name apachehost display_name apachehost service_description Apache Pair check_command check_service_cluster!"Apache Pair"!1!2!$SERVICESTATEID:host1:Apache Processes$,$SERVICESTATEID:host2:Apache Processes$ } define service{ use check-cluster-proc host_name host1 display_name host1 service_description Apache Processes check_command check_proc!1.3.6.1.4.1.2021.2.1.5.2!1:10 } define service{ use check-cluster-proc host_name host2 display_name host2 service_description Apache Processes check_command check_proc!1.3.6.1.4.1.2021.2.1.5.2!1:10 } In our current setup, only host1 or host2 should have OK for the Apache proc, the other should have Critical - which the check_cluster command picks up properly as seen here: CLUSTER OK: Apache Pair: 1 ok, 0 warning, 0 unknown, 1 critical >From here http://nagios.sourceforge.net/docs/3_0/clusters.html it states: ----------------------------------------------------------------------------------------------------- Now you'll need to create the "cluster" service and use the check_service_cluster command you just created as the cluster's check command. The example below gives an example of how to do this. The example below will generate a CRITICAL alert if 2 or more services in the cluster are in a non-OK state, and a WARNING alert if only 1 of the services is in a non-OK state. If all the individual service members of the cluster are OK, the cluster check will return an OK state as well. define service{ ... check_command check_service_cluster!"DNS Cluster"!1!2!$SERVICESTATEID:host1:DNS Service$,$SERVICESTATEID:host2:DNS Service$,$SERVICESTATEID:host3:DNS Service$ ... } ----------------------------------------------------------------------------------------------------- Our current setup of the check_cluster command mirrors the documentation of 1:2 for Warning/Critical. Since there is one of the services in a non-OK state, we expected the check_cluster command to have returned a Warning instead of OK - but it always returns OK. We have tried various different things with regards to the different warning/critical settings and can't seem to reliably get it to return the proper state. Any thoughts here on what could be going on, or if there is an underlying issue with the check_cluster plugin in this version (I didn't see any updates in the changelog for check_cluster in the .12 and .13 updates)? Thanks, Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Mon Jun 8 16:46:34 2009 From: scarolan at gmail.com (Sean Carolan) Date: Mon, 8 Jun 2009 09:46:34 -0500 Subject: Is there a way to ack all unhandled service alerts at once? Message-ID: <277020fc0906080746l4eaa9206pb3b726a27d26745c@mail.gmail.com> Is there an easy way to acknowledge all unhandled alerts at once, instead of clicking on each one individually? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Mon Jun 8 17:33:34 2009 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 8 Jun 2009 09:33:34 -0600 Subject: Is there a way to ack all unhandled service alerts at once? In-Reply-To: <277020fc0906080746l4eaa9206pb3b726a27d26745c@mail.gmail.com> References: <277020fc0906080746l4eaa9206pb3b726a27d26745c@mail.gmail.com> Message-ID: Search for 'mass ack' on nagiosexchange. -----Original Message----- From: Sean Carolan [mailto:scarolan at gmail.com] Sent: Monday, June 08, 2009 8:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Is there a way to ack all unhandled service alerts at once? Is there an easy way to acknowledge all unhandled alerts at once, instead of clicking on each one individually? ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Mon Jun 8 19:21:07 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Mon, 8 Jun 2009 17:21:07 +0000 Subject: setting up NSClient++ and CheckEventLog Message-ID: <200906081721.08060.assaf.flatto@ssp-intl.com> Hello List . This may be a stupid oversight of myself but I'm trying to understand how to use the check event log - but seem to missing something . I am reading through the http://www.nsclient.com/nscp/wiki/CheckEventLog/CheckEventLog Page and i am still not certain why i am unable to get this to work . I am running Nagios 3.0.6 ( from source) against NSClient++ 0.3.6. Granted my windows knowledge is limited , but Do i have to configure any setting in the nsc.ini ? Any help ? -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Mon Jun 8 22:35:19 2009 From: alexus at gmail.com (alexus) Date: Mon, 8 Jun 2009 16:35:19 -0400 Subject: ../include/config.h:315:18: error: ltdl.h: No suchfile or directory In-Reply-To: <6ae50c2d0905291203x37f2f5f5i76191ce207f579a6@mail.gmail.com> References: <6ae50c2d0903061107p565cc754h5e31a5b10c222fd6@mail.gmail.com> <8147CCE3C4A8764DA9980125EE70E8239A20FC@nuexchg.norwich.edu> <6ae50c2d0905291203x37f2f5f5i76191ce207f579a6@mail.gmail.com> Message-ID: <6ae50c2d0906081335h386da046hf329f05ece8d78@mail.gmail.com> On Fri, May 29, 2009 at 3:03 PM, alexus wrote: > On Fri, Mar 6, 2009 at 3:22 PM, James Pratt wrote: >> >> >>> -----Original Message----- >>> From: alexus [mailto:alexus at gmail.com] >>> Sent: Friday, March 06, 2009 2:08 PM >>> To: nagios-user Mailinglist >>> Subject: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No >> suchfile or >>> directory >>> >>> root at lama /usr/local/src/nagios-3.0.6 586$ ./configure >>> LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include >>> checking for a BSD-compatible install... /usr/bin/install -c >>> checking build system type... x86_64-unknown-freebsd7.1 >>> checking host system type... x86_64-unknown-freebsd7.1 >>> checking for gcc... gcc >>> checking for C compiler default output file name... a.out >>> checking whether the C compiler works... yes >> >> >> Err.. you can just send us the error instead of the whole configure >> script output... >> >> ?... Google is your friend: >> >> http://www.google.com/search?hl=en&q=ltdl.h%3A+No+such+file+or+directory >> +%22nagios%22&btnG=Search >> >> >> regards, >> jamie >> > > root at lama /usr/local/src/nagios-3.1.0 530$ ./configure > LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include > checking for a BSD-compatible install... /usr/bin/install -c > checking build system type... x86_64-unknown-freebsd7.2 > checking host system type... x86_64-unknown-freebsd7.2 > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking whether make sets $(MAKE)... yes > checking for strip... /usr/bin/strip > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for ANSI C header files... yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking ctype.h usability... yes > checking ctype.h presence... yes > checking for ctype.h... yes > checking dirent.h usability... yes > checking dirent.h presence... yes > checking for dirent.h... yes > checking errno.h usability... yes > checking errno.h presence... yes > checking for errno.h... yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking grp.h usability... yes > checking grp.h presence... yes > checking for grp.h... yes > checking libgen.h usability... yes > checking libgen.h presence... yes > checking for libgen.h... yes > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking math.h usability... yes > checking math.h presence... yes > checking for math.h... yes > checking netdb.h usability... yes > checking netdb.h presence... yes > checking for netdb.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking pthreads.h usability... no > checking pthreads.h presence... no > checking for pthreads.h... no > checking pwd.h usability... yes > checking pwd.h presence... yes > checking for pwd.h... yes > checking regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking signal.h usability... yes > checking signal.h presence... yes > checking for signal.h... yes > checking socket.h usability... no > checking socket.h presence... no > checking for socket.h... no > checking stdarg.h usability... yes > checking stdarg.h presence... yes > checking for stdarg.h... yes > checking for string.h... (cached) yes > checking for strings.h... (cached) yes > checking sys/mman.h usability... yes > checking sys/mman.h presence... yes > checking for sys/mman.h... yes > checking for sys/types.h... (cached) yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/resource.h usability... yes > checking sys/resource.h presence... yes > checking for sys/resource.h... yes > checking for sys/wait.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking for sys/stat.h... (cached) yes > checking sys/timeb.h usability... yes > checking sys/timeb.h presence... yes > checking for sys/timeb.h... yes > checking sys/un.h usability... yes > checking sys/un.h presence... yes > checking for sys/un.h... yes > checking sys/ipc.h usability... yes > checking sys/ipc.h presence... yes > checking for sys/ipc.h... yes > checking sys/msg.h usability... yes > checking sys/msg.h presence... yes > checking for sys/msg.h... yes > checking sys/poll.h usability... yes > checking sys/poll.h presence... yes > checking for sys/poll.h... yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking uio.h usability... no > checking uio.h presence... no > checking for uio.h... no > checking for unistd.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for struct tm.tm_zone... yes > checking for mode_t... yes > checking for pid_t... yes > checking for size_t... yes > checking return type of signal handlers... void > checking for uid_t in sys/types.h... yes > checking type of array argument to getgroups... gid_t > checking for va_copy... yes > checking for vsnprintf... yes > checking for snprintf... yes > checking for asprintf... yes > checking for vasprintf... yes > checking for C99 vsnprintf... yes > checking for initgroups... yes > checking for setenv... yes > checking for strdup... yes > checking for strstr... yes > checking for strtoul... yes > checking for unsetenv... yes > checking for type of socket size... size_t > checking for pthread_create in -lcma... no > checking for pthread_create in -lpthread... yes > checking for library containing nanosleep... none required > checking for mail... /usr/bin/mail > We'll use default routines (in xdata/xsddefault.*) for status data I/O... > We'll use default routines (in xdata/xcddefault.*) for comment data I/O... > We'll use default routines (in xdata/xrddefault.*) for retention data I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object > data I/O... > We'll use default routines (in xdata/xpddefault.*) for performance data I/O... > We'll use default routines (in xdata/xdddefault.*) for scheduled > downtime data I/O... > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... yes > GD library was found! > checking ltdl.h usability... yes > checking ltdl.h presence... yes > checking for ltdl.h... yes > checking for lt_dlinit in -lltdl... yes > checking for extra flags needed to export symbols... ?-Wl,-export-dynamic > checking for linker flags for loadable modules... -shared > checking for traceroute... /usr/sbin/traceroute > checking for type va_list... yes > checking for perl... /usr/bin/perl > configure: creating ./config.status > config.status: creating Makefile > config.status: creating subst > config.status: creating pkginfo > config.status: creating base/Makefile > config.status: creating common/Makefile > config.status: creating contrib/Makefile > config.status: creating cgi/Makefile > config.status: creating html/Makefile > config.status: creating module/Makefile > config.status: creating xdata/Makefile > config.status: creating daemon-init > config.status: creating include/config.h > config.status: include/config.h is unchanged > config.status: creating include/snprintf.h > config.status: include/snprintf.h is unchanged > config.status: creating include/cgiutils.h > config.status: include/cgiutils.h is unchanged > > Creating sample config files in sample-config/ ... > > > *** Configuration summary for nagios 3.1.0 01-25-2009 ***: > > ?General Options: > ?------------------------- > ? ? ? ?Nagios executable: ?nagios > ? ? ? ?Nagios user/group: ?nagios,nagios > ? ? ? Command user/group: ?nagios,nagios > ? ? ? ? ? ?Embedded Perl: ?no > ? ? ? ? ? ? Event Broker: ?yes > ? ? ? ?Install ${prefix}: ?/usr/local/nagios > ? ? ? ? ? ? ? ?Lock file: ?${prefix}/var/nagios.lock > ? Check result directory: ?${prefix}/var/spool/checkresults > ? ? ? ? ? Init directory: ?/usr/local/etc/rc.d > ?Apache conf.d directory: ?/etc/httpd/conf.d > ? ? ? ? ? ? Mail program: ?/usr/bin/mail > ? ? ? ? ? ? ? ? ?Host OS: ?freebsd7.2 > > ?Web Interface Options: > ?------------------------ > ? ? ? ? ? ? ? ? HTML URL: ?http://localhost/nagios/ > ? ? ? ? ? ? ? ? ?CGI URL: ?http://localhost/nagios/cgi-bin/ > ?Traceroute (used by WAP): ?/usr/sbin/traceroute > > > Review the options above for accuracy. ?If they look okay, > type 'make all' to compile the main program and CGIs. > > root at lama /usr/local/src/nagios-3.1.0 531$ > > > -- > http://alexus.org/ > i'm getting same error doing 3.0.6 -- http://alexus.org/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Mon Jun 8 23:05:10 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Mon, 8 Jun 2009 18:05:10 -0300 Subject: Check_NRPE Message-ID: HI, When try to check a service on a remote host, this message appears CHECK_NRPE: Error receiving data from daemon. What might it be? Does anybody knows what should I do? Thanks in advance Eduardo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Jun 9 00:06:55 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 8 Jun 2009 18:06:55 -0400 Subject: nagios monitoring for hack Message-ID: <6db4a4200906081506t74119c03t115743f37857414e@mail.gmail.com> our web sites got hacked and we were subjected to ddos for last few days. I wanted to know what can I do for monitoring to find out if I am hacked or not. By the way, we were hacked by php exploits. Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Tue Jun 9 02:59:27 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 09 Jun 2009 10:59:27 +1000 Subject: Speed up nagios GUI? In-Reply-To: References: Message-ID: <4A2DB3EF.5060307@edcint.co.nz> Tore L?n?y wrote: > Hello, > > I was wondering if anyone have used FastCGI on apache or similar, to > speed up the nagios interface? > > Are you experiencing any specific problems? Are you accessing it over a WAN or LAN? Is the server overloaded? The reason I ask these questions is that for me the interface is very fast and the html seems well written, efficient and works well with browser caching. I'm wondering if you have some other problem eg overloaded server, slow links etc I use Nagios internally over a LAN - no problems. I also use it over a WAN - no problems. Can you try the following demo server and let me know how the responsiveness is for you? https://www.smartmon.com.au/nagios/ (user:demo1_siteadmin, pass:demo1) Initially I thought I had gzipped the output of the entire site but it appears that I have missed the Nagios portion of the site. So let me know how it goes and then I will gzip the Nagios component of the site and then ask you if you notice any difference -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Tue Jun 9 03:05:17 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 09 Jun 2009 11:05:17 +1000 Subject: [Fwd: Re: setting up NSClient++ and CheckEventLog] Message-ID: <4A2DB54D.6070206@edcint.co.nz> Assaf Flatto wrote: > Hello List . > > This may be a stupid oversight of myself but I'm trying to understand how to use the check event > log - but seem to missing something . > > I am reading through the http://www.nsclient.com/nscp/wiki/CheckEventLog/CheckEventLog > Page and i am still not certain why i am unable to get this to work . > I am running Nagios 3.0.6 ( from source) against NSClient++ 0.3.6. > > Granted my windows knowledge is limited , but Do i have to configure any setting in the nsc.ini ? > > Any help ? > > I have done this and documented it. Get my slightly modified NSClient++ kit and the install guide I wrote from http://www.smartmon.com.au/mp-bin/public/public.cgi?mode=public&mode2=downloads Then have a look at the Nagios commands I use to make it work at (user:demo1_siteadmin, pass:demo1) https://www.smartmon.com.au/mp-bin/portal/edit_config.cgi?mode=edit_object&mode2=show&object_type=mastermonsvr_command&requested_custid=demo1&monsvr=&configid=&object_id=64 https://www.smartmon.com.au/mp-bin/portal/edit_config.cgi?mode=edit_object&mode2=show&object_type=mastermonsvr_command&requested_custid=demo1&monsvr=&configid=&object_id=65 -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue Jun 9 10:32:48 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 9 Jun 2009 10:32:48 +0200 Subject: nagios future? Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> Hi As somebody already heard about icinga http://www.icinga.org? Now, we planned to install nagios on a productiv server and nagios is very fine and we're happy with it. I just want to have your point of view about this new products and about the future of nagios? Best regards Jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 11:10:36 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 11:10:36 +0200 Subject: nagios future? In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> Message-ID: <4A2E270C.5080606@op5.se> Meyer Jerome wrote: > Hi > Hi there! > > > As somebody already heard about icinga http://www.icinga.org? > Yes. It was discussed quite a lot some few weeks back on the nagios-devel mailing list. Browse the archives for the full discussion. > > > Now, we planned to install nagios on a productiv server and nagios is > very fine and we're happy with it. > > I just want to have your point of view about this new products and about > the future of nagios? > The future of Nagios is looking quite bright. In all honesty, that is in part thanks to the Icinga fork, which has sparked a flurry of activity within the Nagios developer community. First of all, we'll be releasing 3.1.1 soon, containing a plethora of bug- and performance fixes. Ethan's working on automating the release process so that Ton and I can cut releases without having to update a bunch of webpages, sourceforge downloads area, documentation, etc, etc. 3.1.1 will be the first live test of that automated process. If it drags out another week or so though, we'll probably just go ahead and do it manually anyway, as 3.1.1 really has a lot of important fixes that the Nagios users really should get their hands on. Nagios will get a new GUI, dubbed "Ninja" sometime during or after the summer. Ninja is available for download already and is "usable but has some warts and is still incomplete" according to Ninja maintainer Per ?sberg. You can find out more about it at http://www.op5.org/community/projects/ninja. This was announced at the Nordic Meet on Nagios which was held in Stockholm just last week. Note that it's not necessarily easy to install yet as it's still a work in progress. Bug-reports or enhancement requests are ofcourse very welcome, and documentation patches for the installation procedures even more so. Hope that answers your questions :-) -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Tue Jun 9 11:41:39 2009 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Tue, 09 Jun 2009 19:41:39 +1000 Subject: Standard Nagios CGI Usage Documentation In-Reply-To: <4A2712C2.7030701@edcint.co.nz> References: <4A2712C2.7030701@edcint.co.nz> Message-ID: <4A2E2E53.7020109@edcint.co.nz> So I take it documentation is not a big thing for people on this list ....... I have started some documentation available at http://www.smartmon.com.au/docs/ The starting page for this specific part of the documentation is: http://www.smartmon.com.au/docs/tiki-index.php?page=Monitoring%20Operations%20%E2%80%93%20Using%20The%20Nagios%20Web%20Interface&structure=User%20Guide I will be continuing to add to it and hope it helps someone. If you have any suggestions or submissions let me know. Matthew Jurgens wrote: > Has anyone every come across some documentation that is aimed at new > Nagios users that describes how to use the standard CGI interface, > explains concepts of acknowledgements, downtime, etc etc? > > -- > Smartmon System Monitoring > www.smartmon.com.au > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Smartmon System Monitoring www.smartmon.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karlsson.ulf at gmail.com Tue Jun 9 12:06:11 2009 From: karlsson.ulf at gmail.com (Ulf Karlsson) Date: Tue, 9 Jun 2009 12:06:11 +0200 Subject: Recovery notifications after escalations Message-ID: Hi, We have a a situation here where we would like notify the on-call group after 60 minutes and the support group after 240 minutes. If services go down and then recover, everyone who has received a notification of a host problem should also receive the recovery notification. See the configuration below. Now, our problem is that when the second escalation has been activated and the support group has received the notification, only the support group will receive the recovery notification - the on-call group will never see the recovery notification. We do not want to send out multiple notifications to the on-call group four the same issue since they then would be spammed by Nagios unnecessarily. define host{ name generic-host ... contacts root ; This will be stored in a local mailbox that no one sees notification_interval 60 notification_options d,u,r register 0 } # First escalation for on call group (notification after 60 minutes) define hostescalation{ host_name * first_notification 2 last_notification 2 notification_interval 180 contact_groups on-call } # Second escalation for support group (notification after 240 minutes) # Problem: when this escalation has been activated, on-call does not receive recovery notifications anymore # (we do not want to send multiple notifications about the same problem to on-call) define hostescalation{ host_name * first_notification 3 last_notification 3 notification_interval 0 contact_groups support } Is it possible to achieve what we want using escalations? Best regards, Ulf Karlsson ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastian.gosenheimer at proio.com Tue Jun 9 11:40:36 2009 From: sebastian.gosenheimer at proio.com (Sebastian Gosenheimer - proIO Network & eSolutions e.K.) Date: Tue, 09 Jun 2009 11:40:36 +0200 Subject: Check_NRPE In-Reply-To: References: Message-ID: <4A2E2E14.9060701@proio.com> Hi Eduardo, is the nrpe-daemon started and installed correctly on the host? Do you have set the ip address from your nagios server in the nrpe.cfg (allowed_host). Mit freundlichen Gr??en / With kind regards, Sebastian Gosenheimer Eduardo Barreto schrieb: > HI, > > When try to check a service on a remote host, this message appears > CHECK_NRPE: Error receiving data from daemon. What might it be? > Does anybody knows what should I do? > > Thanks in advance > > Eduardo > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Diese E-Mail enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Jun 9 13:15:18 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 09 Jun 2009 13:15:18 +0200 Subject: nagios future? In-Reply-To: <4A2E270C.5080606@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> Message-ID: <4A2E4446.1000603@univie.ac.at> Hi, Andreas Ericsson wrote the following on 09.06.2009 11:10: > Yes. It was discussed quite a lot some few weeks back on the > nagios-devel mailing list. Browse the archives for the full > discussion. > try http://sourceforge.net/mailarchive/message.php?msg_id=E03A84B43BAE443888372020DDBFE0E7%40int.consol.de If you're interested in reading a bit more, try http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-users http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-devel > > The future of Nagios is looking quite bright. In all honesty, that is > in part thanks to the Icinga fork, which has sparked a flurry of activity > within the Nagios developer community. > And also popping up many community based sites, beside the existing ones. Not that bad, but a bit misleading for new users imho. But let's see how it resolves in a bit. Hopefully Nagios will be on GIT soon to merge knowledge from both projects together. Dunno what plans are going on concerning the NDO and other similar core parts but I think there's much potential to share ideas and kniowledge between Nagios and Icinga. > First of all, we'll be releasing 3.1.1 soon, containing a plethora of > bug- and performance fixes. Ethan's working on automating the release > process so that Ton and I can cut releases without having to update a > bunch of webpages, sourceforge downloads area, documentation, etc, etc. > 3.1.1 will be the first live test of that automated process. If it drags > out another week or so though, we'll probably just go ahead and do it > manually anyway, as 3.1.1 really has a lot of important fixes that the > Nagios users really should get their hands on. > It would be great to mention that all even releases are stable while odd remains testing. On nagios.org 3.1.0 is only mentioned as "latest version" and after clicking the download link it is marked as testing - bit confusing, but not really a problem for experienced users. > Nagios will get a new GUI, dubbed "Ninja" sometime during or after the > summer. Ninja is available for download already and is "usable but has > some warts and is still incomplete" according to Ninja maintainer Per > ?sberg. You can find out more about it at > http://www.op5.org/community/projects/ninja. This was announced at the > Nordic Meet on Nagios which was held in Stockholm just last week. Note > that it's not necessarily easy to install yet as it's still a work in > progress. Bug-reports or enhancement requests are ofcourse very welcome, > and documentation patches for the installation procedures even more so. > By announcing Ninja as new GUI, the rumors get into Merlin for DB usage. I've read several posts about that but my question is, how far would that be realistic? For what I know Merlin uses the libdbi (just as modified IDOUtils for Icinga) so it would be possible to use different db types. Are there any plans to realize that? :-) Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jep at obrien-pifer.com Tue Jun 9 14:53:41 2009 From: jep at obrien-pifer.com (James Pifer) Date: Tue, 09 Jun 2009 08:53:41 -0400 Subject: nagios -->> ndo2db -->> centreon In-Reply-To: <1244222018.14804.254.camel@storage.obrien-pifer.com> References: <1243988119.14804.141.camel@storage.obrien-pifer.com> <4A279FB2.B47D.0048.0@stgeorge.com.au> <1244117101.14804.157.camel@storage.obrien-pifer.com> <1FAD4B6B-C996-4DB4-86F6-92E4A75F4E67@ena.com> <1244127609.14804.188.camel@storage.obrien-pifer.com> <8A3E68D0-7DAA-4383-85B3-94618A210051@ena.com> <1244132309.14804.203.camel@storage.obrien-pifer.com> <8d9ba4010906041005w6ae0ec3cm680bb6d2758b002f@mail.gmail.com> <4A280C48.1020206@gmail.com> <9264B9FF-06CE-4908-99CA-18B3D6E979E8@ena.com> <1244140695.14804.231.camel@storage.obrien-pifer.com> <1244222018.14804.254.camel@storage.obrien-pifer.com> Message-ID: <1244552021.14804.271.camel@storage.obrien-pifer.com> > Thanks for all the help!!! Was able to get everything working. > > James I spoke a little bit too soon. Although a couple of the hosts showed up, that's all I can get to work. I've added more, and the nagios configs get updated, yet nagios doesn't show any changes. So I'm missing something on the nagios/configuration side. If I take a bracket out of one of the configs, then nagios won't restart, so I know it's reading these cfg files. In the files below, ?srv-xen02.mydomain.com and srv-xen03.mydomain.com are working, but none of the others are. If I remove one of these hosts (using centreon frontend) it removes it from the configs, nagios is restarted, but nagios is not updated. It still shows the same two hosts. Anyone know what I might be missing? Here are some of my configs. The contacts listed in these configs all exist. Thanks, James For example, my config files are at /etc/nagios ##################################################################### # cat hostgroups.cfg define hostgroup{ hostgroup_name Linux_Servers alias All linux servers members srv-xen02.mydomain.com, srv-xen03.mydomain.com, srv-xen04.mydomain.com, srv-xen05.mydomain.com } define hostgroup{ hostgroup_name MY_routers alias MY routers members SLW-E11.mydomain.com } #################################################################### # cat hosts.cfg define host{ name generic-host alias generic-host check_command check_host_alive max_check_attempts 5 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 contact_groups netcool, Supervisors notification_interval 0 notification_period 24x7 notification_options d,r notifications_enabled 0 register 0 } define host{ name Servers-Linux use generic-host alias Linux Servers register 0 } define host{ host_name srv-xen02.mydomain.com use Servers-Linux alias srv-xen02 address 192.168.4.152 hostgroups Linux_Servers check_command check_host_alive max_check_attempts 10 check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 contact_groups netcool notification_interval 1 notification_period 24x7 notification_options d,u notifications_enabled 1 } define host{ host_name srv-xen03.mydomain.com use Servers-Linux alias srv-xen03 address 192.168.4.153 hostgroups Linux_Servers check_command check_host_alive max_check_attempts 10 check_interval 1 active_checks_enabled 0 passive_checks_enabled 0 check_period 24x7 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 contact_groups netcool notification_interval 1 notification_period 24x7 notification_options d,u notifications_enabled 1 } define host{ host_name srv-xen04.mydomain.com use Servers-Linux alias srv-xen04 address 192.168.4.154 hostgroups Linux_Servers check_command check_host_alive max_check_attempts 10 check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 contact_groups netcool notification_interval 1 notification_period 24x7 notification_options d,u notifications_enabled 1 } define host{ host_name srv-xen05.mydomain.com use Servers-Linux alias srv-xen05 address 192.168.4.155 hostgroups Linux_Servers check_command check_host_alive max_check_attempts 10 check_interval 1 active_checks_enabled 0 passive_checks_enabled 0 check_period 24x7 obsess_over_host 0 check_freshness 0 flap_detection_enabled 0 process_perf_data 0 retain_status_information 0 retain_nonstatus_information 0 contact_groups netcool notification_interval 1 notification_period 24x7 notification_options d,u notifications_enabled 1 } define host{ host_name SLW-E11.mydomain.com use generic-host alias SLW-E11 address 10.65.42.1 hostgroups MY_routers check_command check_host_alive check_interval 1 check_period 24x7 contact_groups netcool notification_interval 1 notification_options d,u } ?#################################################################### # cat services.cfg define service{ name generic-service service_description generic-service is_volatile 0 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,c,r notifications_enabled 0 contact_groups Supervisors register 0 } define service{ name Ping-LAN service_description ping use generic-service check_command check_centreon_ping!3!200,20%!400,50% register 0 ;TEMPLATE-HOST-LINK generic-host } define service{ host_name srv-xen03.mydomain.com service_description ping use Ping-LAN } define service{ host_name srv-xen02.mydomain.com service_description ping use Ping-LAN } define service{ host_name srv-xen04.mydomain.com service_description ping use Ping-LAN } define service{ host_name srv-xen05.mydomain.com service_description ping use Ping-LAN } define service{ host_name SLW-E11.mydomain.com service_description ping use Ping-LAN } ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 9 14:35:24 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 9 Jun 2009 08:35:24 -0400 Subject: disk IO for windows? Message-ID: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com> Anyone know of a plug-in or mechanism to log local disk I/O on windows? My nagios server is currently using check_nt to connect to windows hosts via nsclient++. I was hoping perhaps COUNTER has something buried within it to pull down this info. TIA ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios02 at in-put.de Tue Jun 9 14:27:59 2009 From: nagios02 at in-put.de (Stefan-Michael Guenther) Date: Tue, 09 Jun 2009 14:27:59 +0200 Subject: Problems with a parameter when executing check_procs via check_by_ssh Message-ID: <4A2E554F.9070806@in-put.de> Hi, I want to execute check_procs via check_by_ssh with the following command: ./check_by_ssh -H 172.24.1.70 -t 120 -C "/usr/local/bin/check_procs -C zeiterf -c 1:1 -a './zeiterf -z'" The result is the following error: Remote command execution failed: /usr/local/bin/check_procs: option requires an argument -- z The problem is the parameter "-z" because after removing it, I get the expected result. ./check_by_ssh -H 172.24.1.70 -t 120 -C "/usr/local/bin/check_procs -C zeiterf -c 1:1 -a './zeiterf'" PROCS CRITICAL: 2 processes with command name 'zeiterf', args './zeiterf' Does anyone know how to included the parameter correctly? Thanks for your help, Stefan ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 15:09:20 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 15:09:20 +0200 Subject: nagios future? In-Reply-To: <4A2E4446.1000603@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> Message-ID: <4A2E5F00.1060205@op5.se> Michael Friedrich wrote: > Hi, > > Andreas Ericsson wrote the following on 09.06.2009 11:10: >> Yes. It was discussed quite a lot some few weeks back on the >> nagios-devel mailing list. Browse the archives for the full >> discussion. >> > try > http://sourceforge.net/mailarchive/message.php?msg_id=E03A84B43BAE443888372020DDBFE0E7%40int.consol.de > > > If you're interested in reading a bit more, try > > http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-users > http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-devel > Thanks for those links. I'm far too lazy to look them up myself ;-) >> >> The future of Nagios is looking quite bright. In all honesty, that is >> in part thanks to the Icinga fork, which has sparked a flurry of activity >> within the Nagios developer community. >> > And also popping up many community based sites, beside the existing > ones. Not that bad, but a bit misleading for new users imho. But let's > see how it resolves in a bit. > Hopefully Nagios will be on GIT soon to merge knowledge from both > projects together. Dunno what plans are going on concerning the NDO and > other similar core parts but I think there's much potential to share > ideas and kniowledge between Nagios and Icinga. Nagios will move to git when 3.2.0 is out the door. Ethan wants some time to manage patches and stuff like he's used to without having to learn another tool. I'm sure he'll curse himself for not switching sooner when he learns the benefits of git, but at least we're getting there. One of the annoying things about the icinga-fork though is that they've mainly done a lot of renaming and not so much actual patching. This will ofcourse merge cleanly but in an unsatisfactory way for Nagios. Messy, but certainly possible to work around. >> First of all, we'll be releasing 3.1.1 soon, containing a plethora of >> bug- and performance fixes. Ethan's working on automating the release >> process so that Ton and I can cut releases without having to update a >> bunch of webpages, sourceforge downloads area, documentation, etc, etc. >> 3.1.1 will be the first live test of that automated process. If it drags >> out another week or so though, we'll probably just go ahead and do it >> manually anyway, as 3.1.1 really has a lot of important fixes that the >> Nagios users really should get their hands on. >> > It would be great to mention that all even releases are stable while odd > remains testing. On nagios.org 3.1.0 is only mentioned as "latest > version" and after clicking the download link it is marked as testing - > bit confusing, but not really a problem for experienced users. Oh, right. I'd actually forgotten that. >> Nagios will get a new GUI, dubbed "Ninja" sometime during or after the >> summer. Ninja is available for download already and is "usable but has >> some warts and is still incomplete" according to Ninja maintainer Per >> ?sberg. You can find out more about it at >> http://www.op5.org/community/projects/ninja. This was announced at the >> Nordic Meet on Nagios which was held in Stockholm just last week. Note >> that it's not necessarily easy to install yet as it's still a work in >> progress. Bug-reports or enhancement requests are ofcourse very welcome, >> and documentation patches for the installation procedures even more so. >> > By announcing Ninja as new GUI, the rumors get into Merlin for DB usage. > I've read several posts about that but my question is, how far would > that be realistic? Very realistic. We're already using it for development to that purpose, and it's working just fine. One problem with NDOUtils is that the database schema makes it impossible to write stuff for it that scale linearly. That's totally unacceptable for us, so we had to come up with something new. Fortunately, Lars Hjemli of the NagVis project has been very friendly and cooperative in helping us add support for the Merlin database schema in NagVis. Given how simple the Merlin schema is, I have no doubt that we'll provide patches to other projects to achieve the same thing. > For what I know Merlin uses the libdbi (just as > modified IDOUtils for Icinga) so it would be possible to use different > db types. Are there any plans to realize that? :-) > It's been planned, implemented, tested and available since 2009-03-17. Additional bugfixes happened later, but libdbi has been in use in Merlin almost three months now. I'm working (but very slowly) on some patches to address the multiple memory allocations required to use libdbi for quoting strings etc, since it prevents us from using a static arena to do the quoting etc in, but that will take a while to complete so we're living with that microscopic deficiency for now. $ git show 084cdc85 commit 084cdc85d7b0c8a4f721804476979e904e4afe7a Author: Andreas Ericsson Date: Tue Mar 17 10:44:47 2009 +0100 Use libdbi for database abstraction In some ways it's worse, since we're now forced to allocate and deallocate a lot of memory for each request, but in other ways it's pure win as we can now let users use whatever database type they want. Signed-off-by: Andreas Ericsson -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 15:24:08 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 15:24:08 +0200 Subject: disk IO for windows? In-Reply-To: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com> References: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com> Message-ID: <4A2E6278.9060606@op5.se> dave stern - e-mail.pluribus.unum wrote: > Anyone know of a plug-in or mechanism to log local disk I/O on windows? > > My nagios server is currently using check_nt to connect to windows hosts > via nsclient++. I was hoping perhaps COUNTER has something buried > within it to pull down this info. > There are indeed counters for that, but due to Microsoft's stupidity the counter-names are different depending on which base-language you've used for your windows servers. I don't know what they're named for english platforms (or any other for that matter), but you should be able to view them with that thing you can pop up when pressing ctrl-alt-del (task manager or whatever it's called). -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Tue Jun 9 14:34:27 2009 From: marcus at rejas.se (Marcus =?iso-8859-1?Q?Rej=E5s?=) Date: Tue, 9 Jun 2009 14:34:27 +0200 Subject: Recovery notifications after escalations In-Reply-To: References: Message-ID: <20090609123427.GA25713@akka.mbv.rejas.net> On 06/09 12:06, Ulf Karlsson wrote: > Hi, > > We have a a situation here where we would like notify the on-call > group after 60 minutes and the support group after 240 minutes. If > services go down and then recover, everyone who has received a > notification of a host problem should also receive the recovery > notification. See the configuration below. > > Now, our problem is that when the second escalation has been activated > and the support group has received the notification, only the support > group will receive the recovery notification - the on-call group will > never see the recovery notification. > > We do not want to send out multiple notifications to the on-call group > four the same issue since they then would be spammed by Nagios > unnecessarily. I don't (at least not yet) have a good answer. But maybe I can put some ideas in your head. My first thought is that if they want the recovery notification maybe they would not mind the extra one either. The extra one actually tells them that the issue was escalated and might be useful information. If they don't want the issue to escalate, they should acknowledge it (sticky). In order do fix it to work like you asks I have two suggestions. None of them is good. If you do not have that many contacts, create an additional one for each member in the on-call with only recovery-alerts and put them in a group, e.g. on-call-recovery and escalate to that one. They will now get the recovery notification. An other alternative is to modify your notification-command to take notice of the macros $SERVICENOTIFICATIONNUMBER$ and maybe $HOSTNOTIFICATIONNUMBER$ and build the logic you wish. Make sure to do it right so you don't miss important notifications. But, as I said, I don't like any of the ideas. There are very smart people on this list and someone will probably give you some more advice. Regards, /Marcus -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://gpg.rejas.se \_/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Jun 9 15:53:21 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 09 Jun 2009 15:53:21 +0200 Subject: nagios future? In-Reply-To: <4A2E5F00.1060205@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> Message-ID: <4A2E6951.4050709@univie.ac.at> Hi, Andreas Ericsson wrote the following on 09.06.2009 15:09: > Thanks for those links. I'm far too lazy to look them up myself ;-) So do I - Oracle makes me kind of crazy ;-) > > Nagios will move to git when 3.2.0 is out the door. Ethan wants some > time to manage patches and stuff like he's used to without having to > learn another tool. I'm sure he'll curse himself for not switching > sooner when he learns the benefits of git, but at least we're getting > there. Well some common aliases from cvs for git will help too ;-) I've been looking onto git for about 3 weeks and I like to use this cheatsheet a lot: http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png > > One of the annoying things about the icinga-fork though is that they've > mainly done a lot of renaming and not so much actual patching. This will > ofcourse merge cleanly but in an unsatisfactory way for Nagios. Messy, > but certainly possible to work around. Yep that is true but to say "Hey it's like Nagios but not the same" all names had to be removed/changed. But concerning merging patches it shouldn't be that big problem. Current Nagios patches have been pulled over and merged into actual Icinga source. So backwards it should work then too. > Very realistic. We're already using it for development to that purpose, > and it's working just fine. One problem with NDOUtils is that the > database > schema makes it impossible to write stuff for it that scale linearly. > That's totally unacceptable for us, so we had to come up with something > new. Fortunately, Lars Hjemli of the NagVis project has been very > friendly > and cooperative in helping us add support for the Merlin database schema > in NagVis. Given how simple the Merlin schema is, I have no doubt that > we'll provide patches to other projects to achieve the same thing. Yeah i like that move because everyone is holding back on the DB schema of the NDO which is far too normalized and doesn't scale. And my biggest concern right now, Oracle limits table and column names to max 30 characters (varchar2(30)). Maybe you'll keep an eye on that while testing your schema. > > It's been planned, implemented, tested and available since 2009-03-17. > Additional bugfixes happened later, but libdbi has been in use in > Merlin almost three months now. Ok good to hear that - some query normalizations and other database specific stuff will pop up for sure. I've been hitting on the libdbi-driver for Oracle and it seems to work (connection using the IDOUtils to remote Oracle-Server). When everything works out I hope to push source for libdbi Oracle soon to Icinga IDOUtils. Even though IDO and Merlin are different, but I think && hope libdbi knowledge can be shared in this case :) Kind regards, Michael > > I'm working (but very slowly) on some patches to address the multiple > memory allocations required to use libdbi for quoting strings etc, > since it prevents us from using a static arena to do the quoting etc > in, but that will take a while to complete so we're living with that > microscopic deficiency for now. > > $ git show 084cdc85 > commit 084cdc85d7b0c8a4f721804476979e904e4afe7a > Author: Andreas Ericsson > Date: Tue Mar 17 10:44:47 2009 +0100 > > Use libdbi for database abstraction > In some ways it's worse, since we're now forced to allocate > and deallocate a lot of memory for each request, but in other > ways it's pure win as we can now let users use whatever > database type they want. > Signed-off-by: Andreas Ericsson > -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 15:47:21 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 15:47:21 +0200 Subject: Recovery notifications after escalations In-Reply-To: <20090609123427.GA25713@akka.mbv.rejas.net> References: <20090609123427.GA25713@akka.mbv.rejas.net> Message-ID: <4A2E67E9.2000305@op5.se> Marcus Rej?s wrote: > On 06/09 12:06, Ulf Karlsson wrote: >> Hi, >> >> We have a a situation here where we would like notify the on-call >> group after 60 minutes and the support group after 240 minutes. If >> services go down and then recover, everyone who has received a >> notification of a host problem should also receive the recovery >> notification. See the configuration below. >> >> Now, our problem is that when the second escalation has been activated >> and the support group has received the notification, only the support >> group will receive the recovery notification - the on-call group will >> never see the recovery notification. >> >> We do not want to send out multiple notifications to the on-call group >> four the same issue since they then would be spammed by Nagios >> unnecessarily. > > I don't (at least not yet) have a good answer. But maybe I can put some ideas > in your head. > > My first thought is that if they want the recovery notification maybe they > would not mind the extra one either. The extra one actually tells them that > the issue was escalated and might be useful information. If they don't want > the issue to escalate, they should acknowledge it (sticky). > > In order do fix it to work like you asks I have two suggestions. None of them > is good. > > If you do not have that many contacts, create an additional one for each > member in the on-call with only recovery-alerts and put them in a group, e.g. > on-call-recovery and escalate to that one. They will now get the recovery > notification. > I don't think they will. There are checks to make sure recovery notifications are only sent to contacts who have received the previous problem notification. > An other alternative is to modify your notification-command to take notice of > the macros $SERVICENOTIFICATIONNUMBER$ and maybe $HOSTNOTIFICATIONNUMBER$ and > build the logic you wish. Make sure to do it right so you don't miss > important notifications. > > But, as I said, I don't like any of the ideas. There are very smart people on > this list and someone will probably give you some more advice. > Sending a patch to make sure each problem object in the Nagios core contains a concatenated list of "normal" and escalated contacts would be favourite, since that would mean everyone who received the problem notification will also get the recovery notification. This would best be implemented by building a linked list with only unique elements to operate on. The list should probably contain a marker to mention which contacts were added from the escalation, so the original contacts do not get notified if they don't want to get the escalated notifications. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 16:33:31 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 16:33:31 +0200 Subject: nagios future? In-Reply-To: <4A2E6951.4050709@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> Message-ID: <4A2E72BB.3020800@op5.se> Michael Friedrich wrote: > Andreas Ericsson wrote the following on 09.06.2009 15:09: >> >> Nagios will move to git when 3.2.0 is out the door. Ethan wants some >> time to manage patches and stuff like he's used to without having to >> learn another tool. I'm sure he'll curse himself for not switching >> sooner when he learns the benefits of git, but at least we're getting >> there. > Well some common aliases from cvs for git will help too ;-) I've been > looking onto git for about 3 weeks and I like to use this cheatsheet a > lot: http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png Ugh. I absolutely hate that, because it just tells you "do this, do that" but doesn't explain *why*. It never mentions why the index is there, or how you can use it when you run into stuff that's actually *hard*, such as an 8-way merge that suddenly went wahoonie-shaped. But to each his own, I guess. >> >> One of the annoying things about the icinga-fork though is that they've >> mainly done a lot of renaming and not so much actual patching. This will >> ofcourse merge cleanly but in an unsatisfactory way for Nagios. Messy, >> but certainly possible to work around. > Yep that is true but to say "Hey it's like Nagios but not the same" all > names had to be removed/changed. But concerning merging patches it > shouldn't be that big problem. Current Nagios patches have been pulled > over and merged into actual Icinga source. So backwards it should work > then too. > It has? I'll have to take a look at that, I think. The hard part will be to separate the cruft from the code, so that only the real changes appear in a diff. Some simple sed magic will probably do the trick though. >> Very realistic. We're already using it for development to that purpose, >> and it's working just fine. One problem with NDOUtils is that the >> database >> schema makes it impossible to write stuff for it that scale linearly. >> That's totally unacceptable for us, so we had to come up with something >> new. Fortunately, Lars Hjemli of the NagVis project has been very >> friendly >> and cooperative in helping us add support for the Merlin database schema >> in NagVis. Given how simple the Merlin schema is, I have no doubt that >> we'll provide patches to other projects to achieve the same thing. > > Yeah i like that move because everyone is holding back on the DB schema > of the NDO which is far too normalized and doesn't scale. And my biggest > concern right now, Oracle limits table and column names to max 30 > characters (varchar2(30)). Maybe you'll keep an eye on that while > testing your schema. I haven't actually thought about it. A quick glance reveals that the serviceescalation_contactgroup junction table is the one with the longest name, weighing in at 31 characters. That can be fixed quite easily though, since junction table names are determined by a function which can easily special-case this particular one. >> >> It's been planned, implemented, tested and available since 2009-03-17. >> Additional bugfixes happened later, but libdbi has been in use in >> Merlin almost three months now. > > Ok good to hear that - some query normalizations and other database > specific stuff will pop up for sure. I've been hitting on the > libdbi-driver for Oracle and it seems to work (connection using the > IDOUtils to remote Oracle-Server). When everything works out I hope to > push source for libdbi Oracle soon to Icinga IDOUtils. Even though IDO > and Merlin are different, but I think && hope libdbi knowledge can be > shared in this case :) > Since libdbi provides a database-agnostic api (it would be quite useless if it didn't), a simple thing such as loading the correct driver should suffice to make it work with Merlin as well. Which driver to use can be specified in the Merlin configuration file. However, there's currently no oracle driver for Kohana that I'm aware of, and that means Ninja won't be able to benefit from an Oracle database even if Merlin can write to it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Jun 9 15:30:24 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 09 Jun 2009 09:30:24 -0400 Subject: nagios monitoring for hack In-Reply-To: <6db4a4200906081506t74119c03t115743f37857414e@mail.gmail.com> References: <6db4a4200906081506t74119c03t115743f37857414e@mail.gmail.com> Message-ID: <4A2E63F0.9020605@gmail.com> I'd look into the various hardening and monitoring tools available (Bastille, Tripwire, chroot, etc). There's different tools for different purposes, obviously. We chroot all our BIND and Apache stuff. Bastille is great for hardening the environment. Tripwire monitors for changes to key files. Each program has its own logging mechanisms. So once you have your tool in place, you can use Nagios to watch the log file(s) and generate alerts based on keywords (ALERT, WARN, CRIT, etc). You can also dump your logs to an alternate server and have Nagios watch them from there, but in the case of DDoS attack, your bandwidth may be affected for remote syslog and/or Nagios network checks. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan shadih rahman wrote: > our web sites got hacked and we were subjected to ddos for last few > days. I wanted to know what can I do for monitoring to find out if I > am hacked or not. By the way, we were hacked by php exploits. Please > advise on this. Thanks > > -- > Cordially, > Shadhin Rahman > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Jun 9 16:42:35 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 9 Jun 2009 10:42:35 -0400 Subject: ndo utils question Message-ID: <6db4a4200906090742p42424679tefab24a12829cb73@mail.gmail.com> All, I have been running ndoutils with nagios for a while. When I initially setup my nagios, I played around with a lot of different service checks and changed around a lot of config parameters. Now, I have a solid setup and I have not changed configuration for a while. When I go into the database and look at nagios_objects tables, I see all sorts of old objects which do not exist in my current setup. Does ndoutils clean up and throw away old config when we start nagios? Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSingh at lightspeedresearch.com Tue Jun 9 16:54:03 2009 From: CSingh at lightspeedresearch.com (CSingh at lightspeedresearch.com) Date: Tue, 9 Jun 2009 09:54:03 -0500 Subject: check_hpasm (3.5) problem on RHEL3 In-Reply-To: <4A2E63F0.9020605@gmail.com> References: <6db4a4200906081506t74119c03t115743f37857414e@mail.gmail.com> <4A2E63F0.9020605@gmail.com> Message-ID: <8427C571F164AA4D97AD0C4BF2758F3C01FEFF95@KTNAPXCH001C.kt.group.local> I have check_hpasm installed successfully on RHEL3 but I am unable to get it to work (I have it working correctly for me on RHEL4 and 5). Here is the problem that I face with RHEL3: [nagios at mysys nagios]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_hpasm UNKNOWN - insufficient rights to call /usr/sbin/hpacucli [nagios at mysys nagios]$ sudo /usr/local/nagios/libexec/check_hpasm -v UNKNOWN - insufficient rights to call /usr/sbin/hpacucli My /etc/sudoers has nagios ALL=NOPASSWD:/sbin/hpasmcli,/usr/sbin/hpacucli,/usr/local/nagios/libexec /check_hpasm Calling /usr/bin/hpacucli works correctly using sudo: [nagios at mysys nagios]$ sudo /usr/sbin/hpacucli HP Array Configuration Utility CLI 7.40.7.0 Detecting Controllers...Done. Type "help" for a list of supported commands. Type "exit" to close the console. => [nagios at mysys nagios]$ sudo /usr/sbin/hpacucli -s help To enter the ACU CLI console type: hpacucli Commands can also be executed from outside the ACU CLI console using the syntax: hpacucli [param[=value]] All targets, commands, parameters, and values must be entered in lowercase. The only exceptions to this are user-specified names, such as chassisname. [param[=value]] is of format: [controller all|slot=#|wwn=#|chassisname="AAA"] [array all|] [physicaldrive all|#:#:#|allunassigned] [logicaldrive all|#] Note: The first # in physicaldrive is only needed for systems that specify port:box:bay. Other physical drive targeting schemes are box:bay and port:id. Example targets: controller all controller slot=5 controller chassisname="Lab C" controller serialnumber=P21DA2322S controller wwn=500308B300701011 controller slot=1 array all controller slot=7 array A ctrl slot=1 pd allunassigned controller slot=2 logicaldrive all controller slot=5 ld 5 controller slot=5 physicaldrive 1:5 controller slot=5 physicaldrive 1E:2:3 can be "create","delete","modify","show","rescan" For detailed command information type any of the following: help add help create help delete help modify help remove help shorthand help show help target help rescan What else could I try? Thanks! Charanbeer This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Jun 9 17:19:20 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 09 Jun 2009 11:19:20 -0400 Subject: DNS down and false alerts... Message-ID: <4A2E7D78.5080509@gmail.com> I've observed an interesting issue with Nagios. Our environment is a mix of UNIX, Linux, Apple, and Windows. The core of the network is Active Directory including two AD servers that are both our primary, internal DNS servers. All non-Windows systems have a resolv.conf that looks like: *nameserver 10.1.1.13 nameserver 10.1.1.14 domain int.our.domain search int.our.domain* About half of the servers have the nameserver entries inverted (ie: .14 first, .13 second). The issue is that anytime one of the nameservers is rebooted (at least once a month if staying current on patches thanks to Black Tuesdays), whichever hosts have that nameserver listed first in its resolv.conf start throwing the following errors: *CRITICAL - Plugin timed out while executing system call.* This occurs for multiple tests for each host. Obviously, there's a name resolution correlation here. If the nameserver with .13 is rebooted, all hosts (about half of them) that list this IP first in their resolve.conf then timeout for multiple tests. If the .14 server is rebooted, all the other hosts timeout. Interestingly, none of the Windows clients issue errors... only UNIX, Linux, and Mac's... only those with an /etc/resolv.conf. The end result is a host of "false positives", but more importantly it looks bad on availability reports and causes phones/pagers to go ballistic with unneeded emails. I'm trying to find a solution and I can't find one that I like: Solution 1) is to cluster the DNS servers. We have lots of clusters here. This isn't good, though, as you don't normally cluster DNS servers... they're meant to be redundant for a reason... one fails and it uses the next one. Solution 2) is to setup a service/host dependency. My thought would be either a host dependency that says if either .13 or .14 are down, then don't alert for any other host that uses them. Or a service to host dependency... if the DNS service is down, then don't alert on any of these dependent hosts. Honestly, I'm not sure if you can mix host and service dependencies like this... plus... if the DNS server is actually down, then the DNS service is down, so better to use a host dependency. The problem is that now we're not alerting on any dependent hosts which themselves could have a legitimate issue we want to know about. Plus, what happens if the DNS server actually dies and take a few hours/days to rebuild/restore? At this point, the dependent hosts aren't watched for a very long time. Solution 3) is to setup a UNIX/Linux DNS server that slaves all zones from the AD servers and have all UNIX/Linux/Apple clients query from this server. This would work except that A) I need two of them to keep redundancy and B) I've now added an extra layer of complication to resolve an application (Nagios)... not exactly good practice. Solution 4) is to set the timeout value of a host querying a DNS server. Perhaps adjust the client to timeout on the first listed nameserver after only 10 seconds, then try the next one? Since most Nagios tests have a minimum timeout value of 30 seconds, if the first DNS query timed out after 10 seconds, it would go to the next one with, hopefully, enough time to respond. The downside is having to adjust every single server. Has anyone else seen this? Anyone else using Windows AD servers to provide DNS for *nix servers? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmorris at digitalmorris.com Tue Jun 9 16:52:18 2009 From: dmorris at digitalmorris.com (Derek J. Morris) Date: Tue, 9 Jun 2009 10:52:18 -0400 (EDT) Subject: Log2ndo Not Placing Historical Logs into DB Message-ID: <37866.65.107.105.56.1244559138.squirrel@mail.digitalmorris.com> My old logs arent going into the DB. I am running as follows: ./log2ndo -s /usr/local/nagios/var/archives/*.log -d /usr/local/nagios/var/ndo.sock -i default -t unix -p 5668 but nothing is going in to the db, i see db connections successful in log and disconnect successful but nothing is being entered. Running single instance of nagios, default setup of db. NDOUtils 1.47b and Nagios 3.1.0. -Derek ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jun 9 17:42:34 2009 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 9 Jun 2009 16:42:34 +0100 Subject: DNS down and false alerts... In-Reply-To: <4A2E7D78.5080509@gmail.com> References: <4A2E7D78.5080509@gmail.com> Message-ID: <7EF0EE5CB3B263488C8C18823239BEBA06E73D30@HC-MBX02.herefordshire.gov.uk> Option 5: Install a local caching DNS server on your nagios box, and put 127.0.0.1 at the top of resolv.conf. Cheers, Phil -- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: prandal at herefordshire.gov.uk Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: 09 June 2009 16:19 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] DNS down and false alerts... I've observed an interesting issue with Nagios. Our environment is a mix of UNIX, Linux, Apple, and Windows. The core of the network is Active Directory including two AD servers that are both our primary, internal DNS servers. All non-Windows systems have a resolv.conf that looks like: nameserver 10.1.1.13 nameserver 10.1.1.14 domain int.our.domain search int.our.domain About half of the servers have the nameserver entries inverted (ie: .14 first, .13 second). The issue is that anytime one of the nameservers is rebooted (at least once a month if staying current on patches thanks to Black Tuesdays), whichever hosts have that nameserver listed first in its resolv.conf start throwing the following errors: CRITICAL - Plugin timed out while executing system call. This occurs for multiple tests for each host. Obviously, there's a name resolution correlation here. If the nameserver with .13 is rebooted, all hosts (about half of them) that list this IP first in their resolve.conf then timeout for multiple tests. If the .14 server is rebooted, all the other hosts timeout. Interestingly, none of the Windows clients issue errors... only UNIX, Linux, and Mac's... only those with an /etc/resolv.conf. The end result is a host of "false positives", but more importantly it looks bad on availability reports and causes phones/pagers to go ballistic with unneeded emails. I'm trying to find a solution and I can't find one that I like: Solution 1) is to cluster the DNS servers. We have lots of clusters here. This isn't good, though, as you don't normally cluster DNS servers... they're meant to be redundant for a reason... one fails and it uses the next one. Solution 2) is to setup a service/host dependency. My thought would be either a host dependency that says if either .13 or .14 are down, then don't alert for any other host that uses them. Or a service to host dependency... if the DNS service is down, then don't alert on any of these dependent hosts. Honestly, I'm not sure if you can mix host and service dependencies like this... plus... if the DNS server is actually down, then the DNS service is down, so better to use a host dependency. The problem is that now we're not alerting on any dependent hosts which themselves could have a legitimate issue we want to know about. Plus, what happens if the DNS server actually dies and take a few hours/days to rebuild/restore? At this point, the dependent hosts aren't watched for a very long time. Solution 3) is to setup a UNIX/Linux DNS server that slaves all zones from the AD servers and have all UNIX/Linux/Apple clients query from this server. This would work except that A) I need two of them to keep redundancy and B) I've now added an extra layer of complication to resolve an application (Nagios)... not exactly good practice. Solution 4) is to set the timeout value of a host querying a DNS server. Perhaps adjust the client to timeout on the first listed nameserver after only 10 seconds, then try the next one? Since most Nagios tests have a minimum timeout value of 30 seconds, if the first DNS query timed out after 10 seconds, it would go to the next one with, hopefully, enough time to respond. The downside is having to adjust every single server. Has anyone else seen this? Anyone else using Windows AD servers to provide DNS for *nix servers? -- A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lucker at gmail.com Tue Jun 9 17:55:47 2009 From: mike.lucker at gmail.com (Mike lucker) Date: Tue, 9 Jun 2009 11:55:47 -0400 Subject: Synchronizing turning off notifications. Message-ID: We have two Nagios servers with one acting as a fallback. We run a sync program every time there is an update. This sync copies the config files from mon1 to mon2, stops and restarts the backup. Works well, but the problem we're having is that it is not syncing when we turn notification off on mon1. If it falls back to mon2 it will page for that device. Does anyone know where Nagios stores the "notification=off" option when it is changed via the web interface? I suspect we're missing the copy of that file. Thanks, Michael Lucker -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Tue Jun 9 17:37:36 2009 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 9 Jun 2009 10:37:36 -0500 Subject: DNS down and false alerts... In-Reply-To: <4A2E7D78.5080509@gmail.com> References: <4A2E7D78.5080509@gmail.com> Message-ID: <20090609153736.GW11193@thinkpad.adamsinfoserv.com> Really the best choice is to using caching DNS on the Nagios server. I'd recommend dnsmasq, it just does caching locally without needing to do big zone transfers. It has low overhead and simple configuration as a result. Enjoy. On Tue, Jun 09, 2009 at 11:19:20AM -0400, Andrew Davis wrote: > I've observed an interesting issue with Nagios. Our environment is a mix > of UNIX, Linux, Apple, and Windows. The core of the network is Active > Directory including two AD servers that are both our primary, internal > DNS servers. All non-Windows systems have a resolv.conf that looks like: > > *nameserver 10.1.1.13 > nameserver 10.1.1.14 > domain int.our.domain > search int.our.domain* > > About half of the servers have the nameserver entries inverted (ie: .14 > first, .13 second). > > The issue is that anytime one of the nameservers is rebooted (at least > once a month if staying current on patches thanks to Black Tuesdays), > whichever hosts have that nameserver listed first in its resolv.conf > start throwing the following errors: > > *CRITICAL - Plugin timed out while executing system call.* > > This occurs for multiple tests for each host. Obviously, there's a name > resolution correlation here. If the nameserver with .13 is rebooted, all > hosts (about half of them) that list this IP first in their resolve.conf > then timeout for multiple tests. If the .14 server is rebooted, all the > other hosts timeout. Interestingly, none of the Windows clients issue > errors... only UNIX, Linux, and Mac's... only those with an > /etc/resolv.conf. The end result is a host of "false positives", but > more importantly it looks bad on availability reports and causes > phones/pagers to go ballistic with unneeded emails. > > I'm trying to find a solution and I can't find one that I like: > > Solution 1) is to cluster the DNS servers. We have lots of clusters > here. This isn't good, though, as you don't normally cluster DNS > servers... they're meant to be redundant for a reason... one fails and > it uses the next one. > > Solution 2) is to setup a service/host dependency. My thought would be > either a host dependency that says if either .13 or .14 are down, then > don't alert for any other host that uses them. Or a service to host > dependency... if the DNS service is down, then don't alert on any of > these dependent hosts. Honestly, I'm not sure if you can mix host and > service dependencies like this... plus... if the DNS server is actually > down, then the DNS service is down, so better to use a host dependency. > The problem is that now we're not alerting on any dependent hosts which > themselves could have a legitimate issue we want to know about. Plus, > what happens if the DNS server actually dies and take a few hours/days > to rebuild/restore? At this point, the dependent hosts aren't watched > for a very long time. > > Solution 3) is to setup a UNIX/Linux DNS server that slaves all zones > from the AD servers and have all UNIX/Linux/Apple clients query from > this server. This would work except that A) I need two of them to keep > redundancy and B) I've now added an extra layer of complication to > resolve an application (Nagios)... not exactly good practice. > > Solution 4) is to set the timeout value of a host querying a DNS server. > Perhaps adjust the client to timeout on the first listed nameserver > after only 10 seconds, then try the next one? Since most Nagios tests > have a minimum timeout value of 30 seconds, if the first DNS query timed > out after 10 seconds, it would go to the next one with, hopefully, > enough time to respond. The downside is having to adjust every single > server. > > Has anyone else seen this? Anyone else using Windows AD servers to > provide DNS for *nix servers? > > -- > > > A. Davis > Email: nccomp at gmail.com > > "There is no limit to what a man can accomplish > if he doesn't care who gets the credit." - Ronald Reagan > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Jun 9 17:25:24 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 09 Jun 2009 17:25:24 +0200 Subject: nagios future? In-Reply-To: <4A2E72BB.3020800@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> Message-ID: <4A2E7EE4.3000400@univie.ac.at> Andreas Ericsson wrote the following on 09.06.2009 16:33: > > It has? I'll have to take a look at that, I think. The hard part will > be to separate the cruft from the code, so that only the real changes > appear in a diff. Some simple sed magic will probably do the trick > though. Would be bad if it hasn't - as long as both projects are mainly compatible they can profit from each other. GIT is really nice for that but you should ask Hendrik instead how to deal with that :-) https://git.icinga.org/index?p=icinga-core.git;a=summary > I haven't actually thought about it. A quick glance reveals that the > serviceescalation_contactgroup junction table is the one with the > longest name, weighing in at 31 characters. That can be fixed quite > easily though, since junction table names are determined by a function > which can easily special-case this particular one. Mh thanks for the tip I need to think about that in more deep. > > Since libdbi provides a database-agnostic api (it would be quite useless > if it didn't), a simple thing such as loading the correct driver should > suffice to make it work with Merlin as well. Which driver to use can be > specified in the Merlin configuration file. However, there's currently > no oracle driver for Kohana that I'm aware of, and that means Ninja > won't be able to benefit from an Oracle database even if Merlin can > write to it. The thing which I am missing in libdbi-implementation is parameter binding which really is a performance tweak with lots of queries with different values. Another headache but maybe I'll hack that and send a patch to the developers. Mostly it is important for Oracle meanwhile. About Kohana - had a short look into the Database drivers. Oracle support won't be that big problem to implement but that won't be me. Hopefully it will be done because then Ninja and Merlin combined to Nagios would be an option alternatively to Icinga with optimized IDO for Oracle (which is my main task right now). Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 9 18:09:24 2009 From: marc at ena.com (Marc Powell) Date: Tue, 9 Jun 2009 11:09:24 -0500 Subject: Synchronizing turning off notifications. In-Reply-To: References: Message-ID: <5C782084-F084-4B5D-8E09-A033AEC8A7D3@ena.com> On Jun 9, 2009, at 10:55 AM, Mike lucker wrote: > We have two Nagios servers with one acting as a fallback. We run a > sync program every time there is an update. This sync copies the > config files from mon1 to mon2, stops and restarts the backup. > Works well, but the problem we're having is that it is not syncing > when we turn notification off on mon1. If it falls back to mon2 it > will page for that device. > > Does anyone know where Nagios stores the "notification=off" option > when it is changed via the web interface? I suspect we're missing > the copy of that file. It's stored in memory and periodically written out the the retention file and status file based on your schedule or on shutdown. I haven't tried it but I'd suggest shutting down nagios on the master to ensure that the retention file is up-to-date, shut down the backup, rsync and restart both. The retention file is the one you want as the status file is recreated on startup based on config+retention.dat. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Jun 9 18:13:58 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 9 Jun 2009 12:13:58 -0400 Subject: Synchronizing turning off notifications. In-Reply-To: References: Message-ID: >From: Mike lucker [mailto:mike.lucker at gmail.com] >Sent: Tuesday, June 09, 2009 11:56 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Synchronizing turning off notifications. >We have two Nagios servers with one acting as a fallback.? We run a sync program every time >there is an update.? This sync copies the config files from mon1 to mon2, stops and restarts >the backup.? Works well, but the problem we're having is that it is not syncing when we turn >notification off on mon1.? If it falls back to mon2 it will page for that device. > >Does anyone know where Nagios stores the "notification=off" option when it is changed via >the web interface?? I suspect we're missing the copy of that file. > >Thanks, > >Michael Lucker Michael, This information is stored in the status.dat file as part of the running configuration from "mon1". If mon2 is actually running, I'd recommend sending an external command to that running instance to disable notifications. See http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=7 You could then run the enable notifications command at some point when you need it to act as the real server http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=8 Mark ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 9 18:21:21 2009 From: marc at ena.com (Marc Powell) Date: Tue, 9 Jun 2009 11:21:21 -0500 Subject: DNS down and false alerts... In-Reply-To: <7EF0EE5CB3B263488C8C18823239BEBA06E73D30@HC-MBX02.herefordshire.gov.uk> References: <4A2E7D78.5080509@gmail.com> <7EF0EE5CB3B263488C8C18823239BEBA06E73D30@HC-MBX02.herefordshire.gov.uk> Message-ID: On Jun 9, 2009, at 10:42 AM, Randal, Phil wrote: > Option 5: Install a local caching DNS server on your nagios box, > and put 127.0.0.1 at the top of resolv.conf. My reading of the issue, and I believe that I've seen it in the past as well, is that the problem isn't with DNS resolution on the nagios box but DNS resolution happening on the target boxes. Installing a caching nameserver on the nagios box isn't going to help any. The target system is trying to do a DNS lookup on the connecting host (nagios). The OP isn't specific on how he's checking these boxes so it could be xinetd, nrpe, whatever... The default timeout for DNS server failure detection in the resolver libraries is too long so the plugin times out. I'd personally look at changing that timeout and rotation between servers in resolv.conf (options timeout:x rotate). -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Jun 9 18:27:43 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 9 Jun 2009 18:27:43 +0200 Subject: DNS down and false alerts... In-Reply-To: <20090609153736.GW11193@thinkpad.adamsinfoserv.com> References: <4A2E7D78.5080509@gmail.com> <20090609153736.GW11193@thinkpad.adamsinfoserv.com> Message-ID: I don't know if I'm misreading the OP, but if the plugins start timing out on only the boxes whose primary DNS is being rebooted, would adding a caching DNS server to the Nagios box really make a difference? I think the root cause to these timeouts is that the Nagios plugin timeout is happening before the connection to the primary DNS on the target machine has a chance to time out and then connect to the secondary DNS. The correct course of action to resolve this would be to either make sure that the DNS connection on the target machines fail quicker, or that Nagios/the plugin waits longer for a result from the check. The DNS failover is working as designed here but you're not giving it enough time to kick in. On Tue, Jun 9, 2009 at 5:37 PM, Russell Adams wrote: > Really the best choice is to using caching DNS on the Nagios > server. I'd recommend dnsmasq, it just does caching locally without > needing to do big zone transfers. It has low overhead and simple > configuration as a result. > > Enjoy. > > On Tue, Jun 09, 2009 at 11:19:20AM -0400, Andrew Davis wrote: > > I've observed an interesting issue with Nagios. Our environment is a mix > > of UNIX, Linux, Apple, and Windows. The core of the network is Active > > Directory including two AD servers that are both our primary, internal > > DNS servers. All non-Windows systems have a resolv.conf that looks like: > > > > *nameserver 10.1.1.13 > > nameserver 10.1.1.14 > > domain int.our.domain > > search int.our.domain* > > > > About half of the servers have the nameserver entries inverted (ie: .14 > > first, .13 second). > > > > The issue is that anytime one of the nameservers is rebooted (at least > > once a month if staying current on patches thanks to Black Tuesdays), > > whichever hosts have that nameserver listed first in its resolv.conf > > start throwing the following errors: > > > > *CRITICAL - Plugin timed out while executing system call.* > > > > This occurs for multiple tests for each host. Obviously, there's a name > > resolution correlation here. If the nameserver with .13 is rebooted, all > > hosts (about half of them) that list this IP first in their resolve.conf > > then timeout for multiple tests. If the .14 server is rebooted, all the > > other hosts timeout. Interestingly, none of the Windows clients issue > > errors... only UNIX, Linux, and Mac's... only those with an > > /etc/resolv.conf. The end result is a host of "false positives", but > > more importantly it looks bad on availability reports and causes > > phones/pagers to go ballistic with unneeded emails. > > > > I'm trying to find a solution and I can't find one that I like: > > > > Solution 1) is to cluster the DNS servers. We have lots of clusters > > here. This isn't good, though, as you don't normally cluster DNS > > servers... they're meant to be redundant for a reason... one fails and > > it uses the next one. > > > > Solution 2) is to setup a service/host dependency. My thought would be > > either a host dependency that says if either .13 or .14 are down, then > > don't alert for any other host that uses them. Or a service to host > > dependency... if the DNS service is down, then don't alert on any of > > these dependent hosts. Honestly, I'm not sure if you can mix host and > > service dependencies like this... plus... if the DNS server is actually > > down, then the DNS service is down, so better to use a host dependency. > > The problem is that now we're not alerting on any dependent hosts which > > themselves could have a legitimate issue we want to know about. Plus, > > what happens if the DNS server actually dies and take a few hours/days > > to rebuild/restore? At this point, the dependent hosts aren't watched > > for a very long time. > > > > Solution 3) is to setup a UNIX/Linux DNS server that slaves all zones > > from the AD servers and have all UNIX/Linux/Apple clients query from > > this server. This would work except that A) I need two of them to keep > > redundancy and B) I've now added an extra layer of complication to > > resolve an application (Nagios)... not exactly good practice. > > > > Solution 4) is to set the timeout value of a host querying a DNS server. > > Perhaps adjust the client to timeout on the first listed nameserver > > after only 10 seconds, then try the next one? Since most Nagios tests > > have a minimum timeout value of 30 seconds, if the first DNS query timed > > out after 10 seconds, it would go to the next one with, hopefully, > > enough time to respond. The downside is having to adjust every single > > server. > > > > Has anyone else seen this? Anyone else using Windows AD servers to > > provide DNS for *nix servers? > > > > -- > > > > > > A. Davis > > Email: nccomp at gmail.com > > > > "There is no limit to what a man can accomplish > > if he doesn't care who gets the credit." - Ronald Reagan > > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 19:03:55 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 19:03:55 +0200 Subject: nagios future? In-Reply-To: <4A2E7EE4.3000400@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> Message-ID: <4A2E95FB.6040800@op5.se> Michael Friedrich wrote: > > > Andreas Ericsson wrote the following on 09.06.2009 16:33: >> >> It has? I'll have to take a look at that, I think. The hard part will >> be to separate the cruft from the code, so that only the real changes >> appear in a diff. Some simple sed magic will probably do the trick >> though. > Would be bad if it hasn't - as long as both projects are mainly > compatible they can profit from each other. Right. I'll have to revisit it and see what's new. > GIT is really nice for that I know. I helped write it after all :p > but you should ask Hendrik instead how to deal with that :-) > I think I'll find a way. Thanks for the tip though. >> I haven't actually thought about it. A quick glance reveals that the >> serviceescalation_contactgroup junction table is the one with the >> longest name, weighing in at 31 characters. That can be fixed quite >> easily though, since junction table names are determined by a function >> which can easily special-case this particular one. > Mh thanks for the tip I need to think about that in more deep. Well, it'll be ambiguous even if one char is stripped from it, so just cutting the name at 30 chars might be worthwhile if we're on oracle. >> >> Since libdbi provides a database-agnostic api (it would be quite useless >> if it didn't), a simple thing such as loading the correct driver should >> suffice to make it work with Merlin as well. Which driver to use can be >> specified in the Merlin configuration file. However, there's currently >> no oracle driver for Kohana that I'm aware of, and that means Ninja >> won't be able to benefit from an Oracle database even if Merlin can >> write to it. > The thing which I am missing in libdbi-implementation is parameter > binding which really is a performance tweak with lots of queries with > different values. Another headache but maybe I'll hack that and send a > patch to the developers. Mostly it is important for Oracle meanwhile. > > About Kohana - had a short look into the Database drivers. Oracle > support won't be that big problem to implement but that won't be me. > Hopefully it will be done because then Ninja and Merlin combined to > Nagios would be an option alternatively to Icinga with optimized IDO for > Oracle (which is my main task right now). > Well, unless I'm mistaken IDO will have the same database layout as NDO, so it will still suck for performance, and writing good queries for it will still be a major headache. When the storage model of the algorithm algorithm is broken, tweaking it doesn't really help. Only a rewrite can save you then. It would be neat to see Merlin adapted to Oracle though, so if you're interested in working on that we'd sure help as much as we can. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 9 19:04:37 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Jun 2009 19:04:37 +0200 Subject: ndo utils question In-Reply-To: <6db4a4200906090742p42424679tefab24a12829cb73@mail.gmail.com> References: <6db4a4200906090742p42424679tefab24a12829cb73@mail.gmail.com> Message-ID: <4A2E9625.3050000@op5.se> shadih rahman wrote: > All, > I have been running ndoutils with nagios for a while. When I initially > setup my nagios, I played around with a lot of different service checks and > changed around a lot of config parameters. Now, I have a solid setup and I > have not changed configuration for a while. When I go into the database and > look at nagios_objects tables, I see all sorts of old objects which do not > exist in my current setup. Does ndoutils clean up and throw away old config > when we start nagios? No, but it marks them as inactive (or some such). -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vaes at gmail.com Tue Jun 9 19:13:51 2009 From: paul.vaes at gmail.com (Paul Vaes) Date: Tue, 9 Jun 2009 19:13:51 +0200 Subject: passive service check where display_name larger then 128 characters Message-ID: Hello, The issue is that if I define a nagios service where the service description is larger than 128 characters, everything seem to work properly except that running a script which sends a passive service check via send_nsca the service in the Nagius gui is not updated although the send_nsca says it was successfully sent. Looking in the nagios log, I see that the passive check is arrived but that the service description is chopped at 128 chars. I wonder if anyone fixed this problem already? It looks to me that following line in include/common.h causes the issue #define MAX_DESCRIPTION_LENGTH 128 I assume that I need to recompile nsca ( for the server ) and send_nsca ( for the client where I need to use a service description longer then 128). The problem is that as soon as I will use the new nsca binary on the server, I expect problems with all the servers which still are using the original send_ncsa. Anybody any idea's, suggestions or solutions. I am using the latest nsca and send_nsca 2.7.2 nsca is running on SUSE 10.2 send_nsca on different Unix and Linux falvours Thanks in advance, -- Groetjes, Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Tue Jun 9 19:26:01 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 09 Jun 2009 13:26:01 -0400 Subject: DNS down and false alerts... In-Reply-To: References: <4A2E7D78.5080509@gmail.com> <20090609153736.GW11193@thinkpad.adamsinfoserv.com> Message-ID: <4A2E9B29.4050706@gmail.com> Hey... I'm the OP. We're using a mix of client tools. For Windows systems (which aren't affected by this) we use nsclient++. For our Linux servers, NRPE... for UNIX (Solaris) and OS X we're using check_by_ssh. Both the NRPE and check_by_ssh clients are affected by this. I'm willing to give the caching nameserver on the server a try, but as others have noted, I don't think it will make a difference as its the local test on the client that's failing to resolv. I surely cannot do a caching nameserver setup on all clients... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Martin Melin wrote: > I don't know if I'm misreading the OP, but if the plugins start timing > out on only the boxes whose primary DNS is being rebooted, would > adding a caching DNS server to the Nagios box really make a difference? > > I think the root cause to these timeouts is that the Nagios plugin > timeout is happening before the connection to the primary DNS on the > target machine has a chance to time out and then connect to the > secondary DNS. > > The correct course of action to resolve this would be to either make > sure that the DNS connection on the target machines fail quicker, or > that Nagios/the plugin waits longer for a result from the check. The > DNS failover is working as designed here but you're not giving it > enough time to kick in. > > On Tue, Jun 9, 2009 at 5:37 PM, Russell Adams > > wrote: > > Really the best choice is to using caching DNS on the Nagios > server. I'd recommend dnsmasq, it just does caching locally without > needing to do big zone transfers. It has low overhead and simple > configuration as a result. > > Enjoy. > > On Tue, Jun 09, 2009 at 11:19:20AM -0400, Andrew Davis wrote: > > I've observed an interesting issue with Nagios. Our environment > is a mix > > of UNIX, Linux, Apple, and Windows. The core of the network is > Active > > Directory including two AD servers that are both our primary, > internal > > DNS servers. All non-Windows systems have a resolv.conf that > looks like: > > > > *nameserver 10.1.1.13 > > nameserver 10.1.1.14 > > domain int.our.domain > > search int.our.domain* > > > > About half of the servers have the nameserver entries inverted > (ie: .14 > > first, .13 second). > > > > The issue is that anytime one of the nameservers is rebooted (at > least > > once a month if staying current on patches thanks to Black > Tuesdays), > > whichever hosts have that nameserver listed first in its resolv.conf > > start throwing the following errors: > > > > *CRITICAL - Plugin timed out while executing system call.* > > > > This occurs for multiple tests for each host. Obviously, there's > a name > > resolution correlation here. If the nameserver with .13 is > rebooted, all > > hosts (about half of them) that list this IP first in their > resolve.conf > > then timeout for multiple tests. If the .14 server is rebooted, > all the > > other hosts timeout. Interestingly, none of the Windows clients > issue > > errors... only UNIX, Linux, and Mac's... only those with an > > /etc/resolv.conf. The end result is a host of "false positives", but > > more importantly it looks bad on availability reports and causes > > phones/pagers to go ballistic with unneeded emails. > > > > I'm trying to find a solution and I can't find one that I like: > > > > Solution 1) is to cluster the DNS servers. We have lots of clusters > > here. This isn't good, though, as you don't normally cluster DNS > > servers... they're meant to be redundant for a reason... one > fails and > > it uses the next one. > > > > Solution 2) is to setup a service/host dependency. My thought > would be > > either a host dependency that says if either .13 or .14 are > down, then > > don't alert for any other host that uses them. Or a service to host > > dependency... if the DNS service is down, then don't alert on any of > > these dependent hosts. Honestly, I'm not sure if you can mix > host and > > service dependencies like this... plus... if the DNS server is > actually > > down, then the DNS service is down, so better to use a host > dependency. > > The problem is that now we're not alerting on any dependent > hosts which > > themselves could have a legitimate issue we want to know about. > Plus, > > what happens if the DNS server actually dies and take a few > hours/days > > to rebuild/restore? At this point, the dependent hosts aren't > watched > > for a very long time. > > > > Solution 3) is to setup a UNIX/Linux DNS server that slaves all > zones > > from the AD servers and have all UNIX/Linux/Apple clients query from > > this server. This would work except that A) I need two of them > to keep > > redundancy and B) I've now added an extra layer of complication to > > resolve an application (Nagios)... not exactly good practice. > > > > Solution 4) is to set the timeout value of a host querying a DNS > server. > > Perhaps adjust the client to timeout on the first listed nameserver > > after only 10 seconds, then try the next one? Since most Nagios > tests > > have a minimum timeout value of 30 seconds, if the first DNS > query timed > > out after 10 seconds, it would go to the next one with, hopefully, > > enough time to respond. The downside is having to adjust every > single > > server. > > > > Has anyone else seen this? Anyone else using Windows AD servers to > > provide DNS for *nix servers? > > > > -- > > > > > > A. Davis > > Email: nccomp at gmail.com > > > > "There is no limit to what a man can accomplish > > if he doesn't care who gets the credit." - Ronald Reagan > > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------------------ > Russell Adams RLAdams at AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Tue Jun 9 19:32:52 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Tue, 9 Jun 2009 10:32:52 -0700 Subject: funny disk space message Message-ID: <2d4ba7ab0906091032w52675c5q44144c2ddedd1a84@mail.gmail.com> Any one know why I'm getting this weird disk space message? ***** Nagios ***** > > Notification Type: PROBLEM > > Service: DISK SPACE > Host: prod > Address: (ip) > State: WARNING > > Date/Time: Mon Jun 8 23:52:12 UTC 2009 > > Additional Info: > > DISK WARNING - free space: / 23146 MB (32 0node=99 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus at rejas.se Tue Jun 9 21:18:10 2009 From: marcus at rejas.se (Marcus =?iso-8859-1?Q?Rej=E5s?=) Date: Tue, 9 Jun 2009 21:18:10 +0200 Subject: Recovery notifications after escalations In-Reply-To: <4A2E67E9.2000305@op5.se> References: <20090609123427.GA25713@akka.mbv.rejas.net> <4A2E67E9.2000305@op5.se> Message-ID: <20090609191809.GA29198@akka.mbv.rejas.net> On 06/09 15:47, Andreas Ericsson wrote: > Marcus Rej?s wrote: > > > > If you do not have that many contacts, create an additional one for each > > member in the on-call with only recovery-alerts and put them in a group, e.g. > > on-call-recovery and escalate to that one. They will now get the recovery > > notification. > > > > I don't think they will. There are checks to make sure recovery notifications > are only sent to contacts who have received the previous problem notification. You are absolutely right (as always, however this time I took the time to test and prove myself wrong...). I am, and was, aware of the checks you are referring to and they really do make sense in most places e.g. leaving and entering timeperiods. But in this context they are confusing. If I set up a contact with: host_notifications_enabled 1 service_notifications_enabled 1 service_notification_period 24x7 host_notification_period 24x7 host_notification_options r service_notification_options r It will never ever get any notifications. To be honest I cannot see any practical use of this contact but until I tested now I would say that this contact should get only recovery notifications. This is not something I would see fixed but it might be good to point this out on host- and service_notification_options in the manual. > Sending a patch to make sure each problem object in the Nagios core contains a > concatenated list of "normal" and escalated contacts would be favourite, since > that would mean everyone who received the problem notification will also get > the recovery notification. This would best be implemented by building a linked > list with only unique elements to operate on. The list should probably contain > a marker to mention which contacts were added from the escalation, so the > original contacts do not get notified if they don't want to get the escalated > notifications. I agree :-) -- Marcus Rej?s jabber: marcus at jabber.rejas.se ,= ,-_-. =. Rej?s Datakonsult e-mail: marcus at rejas.se ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrt?lje gpg-key: http://gpg.rejas.se \_/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at opsera.com Tue Jun 9 22:47:43 2009 From: ton.voon at opsera.com (Ton Voon) Date: Tue, 9 Jun 2009 21:47:43 +0100 Subject: passive service check where display_name larger then 128 characters In-Reply-To: References: Message-ID: <661C9841-B9FB-4322-95DA-E81CCD28AB51@opsera.com> Hi Paul, On 9 Jun 2009, at 18:13, Paul Vaes wrote: > The issue is that if I define a nagios service where the service > description is larger than 128 characters, everything seem to work > properly except that running a script which sends a passive service > check via send_nsca the service in the Nagius gui is not updated > although the send_nsca says it was successfully sent. Looking in the > nagios log, I see that the passive check is arrived but that the > service description is chopped at 128 chars. > > I wonder if anyone fixed this problem already? It looks to me that > following line in include/common.h causes the issue > #define MAX_DESCRIPTION_LENGTH 128 > > I assume that I need to recompile nsca ( for the server ) and > send_nsca ( for the client where I need to use a service description > longer then 128). The problem is that as soon as I will use the new > nsca binary on the server, I expect problems with all the servers > which still are using the original send_ncsa. > > Anybody any idea's, suggestions or solutions. > > I am using the latest nsca and send_nsca 2.7.2 > nsca is running on SUSE 10.2 > send_nsca on different Unix and Linux falvours Yes, we've spotted this too. There is a limitation in NSCA where the hostname is 63 characters, the service description is limited to 127 characters and the output is limited to 511 bytes. The overall NSCA packet size is 716 bytes. We've been looking into making this packet size variable while still maintaining compatibility with existing send_nsca clients (we've done something similar with NRPE: http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html) . Contact me off list if you are interested in sponsoring Opsera to develop this functionality. Ton ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Wed Jun 10 00:10:32 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Tue, 9 Jun 2009 17:10:32 -0500 Subject: nagvis requires ndoutils; how stable is ndoutils? Message-ID: I was tempted to install Nagvis but unfortunately it needs Ndoutils which I am not using so far. I could install ndoutils but am afraid about breaking my production Nagios environment. Especially because of the warning in the ndoutils README about the code being alpha/beta quality. Any ndoutils users? How stable is it? Any pitfalls while installation? Or should I avoid ndoutils entirely? Is there any workaround to get Nagvis working? -- Rahul ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed Jun 10 03:27:52 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 9 Jun 2009 21:27:52 -0400 Subject: disk IO for windows? In-Reply-To: <4A2E6278.9060606@op5.se> References: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com> <4A2E6278.9060606@op5.se> Message-ID: That is partialy right, The Alt delete thing is To get to TaskManager but only on New versions of windows does it give access to some counter names, The best place to go is Performance Monitor Since thats on all version of windows since 2000 Control Panel--> Administrative Tools--> Computer Managment--> then Performance Counter on newer systems from Computer Management --> Reliability and performance --> Monitoring Tools --> Performance Monitor Once you FIND performance Monitor then click the Green + to get into the "add counters" Click the Checkbox to Show the Counter description then click arround till you find what you need Look for Disks for Drive stuff, Tony (Author of NC_NEt) On Tue, Jun 9, 2009 at 9:24 AM, Andreas Ericsson wrote: > dave stern - e-mail.pluribus.unum wrote: > > Anyone know of a plug-in or mechanism to log local disk I/O on windows? > > > > My nagios server is currently using check_nt to connect to windows hosts > > via nsclient++. I was hoping perhaps COUNTER has something buried > > within it to pull down this info. > > > > There are indeed counters for that, but due to Microsoft's stupidity the > counter-names are different depending on which base-language you've > used for your windows servers. > > I don't know what they're named for english platforms (or any other > for that matter), but you should be able to view them with that thing > you can pop up when pressing ctrl-alt-del (task manager or whatever it's > called). > > -- > 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. > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Wed Jun 10 05:14:32 2009 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Tue, 9 Jun 2009 22:14:32 -0500 Subject: disk IO for windows? In-Reply-To: References: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com> <4A2E6278.9060606@op5.se> Message-ID: <6b13ab0f0906092014q46704af6m470c41115867a476@mail.gmail.com> I use Disk Idle time as an indicator. Not an original idea :( I was told to mimic the monitoring built into Windows SBS. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Tue, Jun 9, 2009 at 8:27 PM, Anthony Montibello wrote: > That is partialy right, > > The Alt delete thing is To get to TaskManager but only on New versions of > windows does it give access to some counter names, > > The best place to go is Performance Monitor Since thats on all version of > windows since?2000 > Control Panel--> Administrative Tools--> Computer Managment--> then > Performance Counter > on newer systems from Computer Management --> Reliability and performance > --> Monitoring Tools --> Performance Monitor > Once you FIND performance Monitor then click the Green + to get into the > "add counters" > Click the Checkbox to Show the Counter description then click arround till > you find what you need > Look for Disks for Drive stuff, > > Tony (Author of NC_NEt) > > On Tue, Jun 9, 2009 at 9:24 AM, Andreas Ericsson wrote: >> >> dave stern - e-mail.pluribus.unum wrote: >> > Anyone know of a plug-in or mechanism to log local disk I/O on windows? >> > >> > My nagios server is currently using check_nt to connect to windows hosts >> > via nsclient++. I was hoping perhaps COUNTER has something buried >> > within it to pull down this info. >> > >> >> There are indeed counters for that, but due to Microsoft's stupidity the >> counter-names are different depending on which base-language you've >> used for your windows servers. >> >> I don't know what they're named for english platforms (or any other >> for that matter), but you should be able to view them with that thing >> you can pop up when pressing ctrl-alt-del (task manager or whatever it's >> called). >> >> -- >> 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. >> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Patil at lntinfotech.com Wed Jun 10 07:25:01 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Wed, 10 Jun 2009 10:55:01 +0530 Subject: Error while configuring NRPE on solaris In-Reply-To: <20090529163722.GA395@carrera> References: <20090529163722.GA395@carrera> Message-ID: This problem is still unresolvable. I have tried all possible situations but no use. I can still see error in dmesg when i run /usr/local/nagios/libexec/check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Error i see when i run dmesg, svc:/network/nrpe/tcp:default (chdir: No such file or directory) Jun 10 10:15:53 unknown inetd[7268]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) Jun 10 10:15:59 unknown inetd[7276]: [ID 702911 daemon.error] Failed to set credentials for the inetd_start method of instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) I am using SunOS 5.10 Generic_120012-14 i86pc i386 i86pc Thanks, Nilesh "Luc I. Suryo" 05/29/2009 10:07 PM Please respond to "Luc I. Suryo" To Eric Pearce cc N Patil , Nagios Users Mailinglist Subject Re: [Nagios-users] Error while configuring NRPE on solaris fyi I have been using nagios and nrpe 9-10 years now; sparc and x86, started back with solaris 7 and now soalris 10, zero error.... mix solaris, aix, hpux, linux. The server has always been Solaris (sparc or x86), use inetd/xinetd/deamon mode again zero error The one 'problem' i have seen people complain about is ssl and nrpe, read the manual and it should pretty clear what todo, 99.9% is almost the use not having doing some RTFM thingy :) The other one is tcp-wrapper and nrpe, nrpe has a access control buildt-in so I never understood one would need to use tcp-wrapper :) -ls > > >From: N Patil > >To: Eric Pearce > >Cc: Nagios Users Mailinglist > >Sent: Thursday, May 28, 2009 9:13 PM > >Subject: Re: [Nagios-users] Error while configuring NRPE on solaris > > > >Thanks Eric, > >I have followed the same article but it dint help. This problem is > >something which occured at the end, i mean while testing connectivity. > > > >Thanks, > >Nilesh > > >May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 > >daemon.error] Failed to set credentials for the inetd_start method of > > >instance svc:/network/nrpe/tcp:default (chdir: No such file or directory) > > I'm just guessing, but do you have a home directory for the nagios user > (with owner and group set to nagios)? > The "chdir" error might come from this. > -e ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed Jun 10 08:30:21 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 10 Jun 2009 08:30:21 +0200 Subject: nagios future? In-Reply-To: <4A2E4446.1000603@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch><4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705E1B56E@iw50.iwbnet.ch> Hi, Thanks Andreas and Michael for all the informations (and links) about the future of nagios! Yeah, I'm happy that It will survive... :) As you mention it, all nagios even releases are stable, so I will install the latest one (3.1.0)! Regards jerome Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Gesendet: Dienstag, 9. Juni 2009 13:15 An: Nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] nagios future? Hi, Andreas Ericsson wrote the following on 09.06.2009 11:10: Yes. It was discussed quite a lot some few weeks back on the nagios-devel mailing list. Browse the archives for the full discussion. try http://sourceforge.net/mailarchive/message.php?msg_id=E03A84B43BAE443888372020DDBFE0E7%40int.consol.de If you're interested in reading a bit more, try http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-users http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-devel The future of Nagios is looking quite bright. In all honesty, that is in part thanks to the Icinga fork, which has sparked a flurry of activity within the Nagios developer community. And also popping up many community based sites, beside the existing ones. Not that bad, but a bit misleading for new users imho. But let's see how it resolves in a bit. Hopefully Nagios will be on GIT soon to merge knowledge from both projects together. Dunno what plans are going on concerning the NDO and other similar core parts but I think there's much potential to share ideas and kniowledge between Nagios and Icinga. First of all, we'll be releasing 3.1.1 soon, containing a plethora of bug- and performance fixes. Ethan's working on automating the release process so that Ton and I can cut releases without having to update a bunch of webpages, sourceforge downloads area, documentation, etc, etc. 3.1.1 will be the first live test of that automated process. If it drags out another week or so though, we'll probably just go ahead and do it manually anyway, as 3.1.1 really has a lot of important fixes that the Nagios users really should get their hands on. It would be great to mention that all even releases are stable while odd remains testing. On nagios.org 3.1.0 is only mentioned as "latest version" and after clicking the download link it is marked as testing - bit confusing, but not really a problem for experienced users. Nagios will get a new GUI, dubbed "Ninja" sometime during or after the summer. Ninja is available for download already and is "usable but has some warts and is still incomplete" according to Ninja maintainer Per ?sberg. You can find out more about it at http://www.op5.org/community/projects/ninja. This was announced at the Nordic Meet on Nagios which was held in Stockholm just last week. Note that it's not necessarily easy to install yet as it's still a work in progress. Bug-reports or enhancement requests are ofcourse very welcome, and documentation patches for the installation procedures even more so. By announcing Ninja as new GUI, the rumors get into Merlin for DB usage. I've read several posts about that but my question is, how far would that be realistic? For what I know Merlin uses the libdbi (just as modified IDOUtils for Icinga) so it would be possible to use different db types. Are there any plans to realize that? :-) Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 09:19:47 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 10 Jun 2009 09:19:47 +0200 Subject: nagios future? In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705E1B56E@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch><4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <46EEEA5FAED9CA479556002BA9C27FD705E1B56E@iw50.iwbnet.ch> Message-ID: <4A2F5E93.40106@univie.ac.at> n ... even m ... odd 3.n.X == 3.0.X 3.m.X == 3.1.X meaning 3.1.0 is unstable. Meyer Jerome wrote the following on 10.06.2009 08:30: > > Hi, > > > > Thanks Andreas and Michael for all the informations (and links) about > the future of nagios! > > Yeah, I'm happy that It will survive... :) > > > > As you mention it, all nagios even releases are stable, so I will > install the latest one (3.1.0)! > > > > Regards > > jerome > > > > *Von:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Gesendet:* Dienstag, 9. Juni 2009 13:15 > *An:* Nagios-users at lists.sourceforge.net > *Betreff:* Re: [Nagios-users] nagios future? > > > > Hi, > > Andreas Ericsson wrote the following on 09.06.2009 11:10: > > Yes. It was discussed quite a lot some few weeks back on the > nagios-devel mailing list. Browse the archives for the full > discussion. > > > try > http://sourceforge.net/mailarchive/message.php?msg_id=E03A84B43BAE443888372020DDBFE0E7%40int.consol.de > > If you're interested in reading a bit more, try > > http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-users > http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-devel > > > > The future of Nagios is looking quite bright. In all honesty, that is > in part thanks to the Icinga fork, which has sparked a flurry of activity > within the Nagios developer community. > > > And also popping up many community based sites, beside the existing > ones. Not that bad, but a bit misleading for new users imho. But let's > see how it resolves in a bit. > Hopefully Nagios will be on GIT soon to merge knowledge from both > projects together. Dunno what plans are going on concerning the NDO > and other similar core parts but I think there's much potential to > share ideas and kniowledge between Nagios and Icinga. > > > First of all, we'll be releasing 3.1.1 soon, containing a plethora of > bug- and performance fixes. Ethan's working on automating the release > process so that Ton and I can cut releases without having to update a > bunch of webpages, sourceforge downloads area, documentation, etc, etc. > 3.1.1 will be the first live test of that automated process. If it drags > out another week or so though, we'll probably just go ahead and do it > manually anyway, as 3.1.1 really has a lot of important fixes that the > Nagios users really should get their hands on. > > > It would be great to mention that all even releases are stable while > odd remains testing. On nagios.org 3.1.0 is only mentioned as "latest > version" and after clicking the download link it is marked as testing > - bit confusing, but not really a problem for experienced users. > > > Nagios will get a new GUI, dubbed "Ninja" sometime during or after the > summer. Ninja is available for download already and is "usable but has > some warts and is still incomplete" according to Ninja maintainer Per > ?sberg. You can find out more about it at > http://www.op5.org/community/projects/ninja. This was announced at the > Nordic Meet on Nagios which was held in Stockholm just last week. Note > that it's not necessarily easy to install yet as it's still a work in > progress. Bug-reports or enhancement requests are ofcourse very welcome, > and documentation patches for the installation procedures even more so. > > > By announcing Ninja as new GUI, the rumors get into Merlin for DB > usage. I've read several posts about that but my question is, how far > would that be realistic? For what I know Merlin uses the libdbi (just > as modified IDOUtils for Icinga) so it would be possible to use > different db types. Are there any plans to realize that? :-) > > Kind regards, > Michael > > -- > DI (FH) Michael Friedrich > michael.friedrich at univie.ac.at > Tel: +43 1 4277 14359 > > Vienna University Computer Center > Universitaetsstrasse 7 > A-1010 Vienna, Austria > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed Jun 10 09:43:43 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 10 Jun 2009 09:43:43 +0200 (CEST) Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: References: Message-ID: <559332334.1527761244619823458.JavaMail.root@zimbra16-e3.priv.proxad.net> I have been using it from 4 months and it works well so far. I only had a little glitch last week while NDO was cleaning up automatically some tables. I deactivate the functionality and everything was back to normal. Marc-Andr? ----- Mail Original ----- De: "Rahul Nabar" ?: "nagios-users Mailinglist" Envoy?: Mercredi 10 Juin 2009 00h10:32 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] nagvis requires ndoutils; how stable is ndoutils? I was tempted to install Nagvis but unfortunately it needs Ndoutils which I am not using so far. I could install ndoutils but am afraid about breaking my production Nagios environment. Especially because of the warning in the ndoutils README about the code being alpha/beta quality. Any ndoutils users? How stable is it? Any pitfalls while installation? Or should I avoid ndoutils entirely? Is there any workaround to get Nagvis working? -- Rahul ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frontin at irit.fr Wed Jun 10 09:44:01 2009 From: frontin at irit.fr (Jean Frontin) Date: Wed, 10 Jun 2009 09:44:01 +0200 Subject: About check_by_ssh plugin Message-ID: <4A2F6441.1010606@irit.fr> Hello, In the check_by_ssh plugin help we can read : ... -s, --services=LIST list of nagios service names, separated by ':' ... I want to restart the mysql server on a host different of the nagios host. what service name must I have to use ? Is the service_description field which has several words ? Thanks you for your help ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 09:56:35 2009 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Wed, 10 Jun 2009 09:56:35 +0200 (CEST) Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: <559332334.1527761244619823458.JavaMail.root@zimbra16-e3.priv.proxad.n et> References: <559332334.1527761244619823458.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <52442.213.255.109.107.1244620595.squirrel@picard.linux.it> Hi, it works. It's not the best, it has some overhead problems with MySql, causing some taxing utilization of the cpu, but it works. Sometimes you can fall in some indexing problems, but you can workaround them with this sql clause: ALTER TABLE `nagios_configfilevariables` DROP INDEX `instance_id` , ADD INDEX `instance_id` ( `instance_id` , `configfile_id` ); Giorgio zarrelli > I have been using it from 4 months and it works well so far. I only had a > little glitch last week while NDO was cleaning up automatically some > tables. I deactivate the functionality and everything was back to normal. > > Marc-Andr?? > > > ----- Mail Original ----- > De: "Rahul Nabar" > ??: "nagios-users Mailinglist" > Envoy??: Mercredi 10 Juin 2009 00h10:32 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: [Nagios-users] nagvis requires ndoutils; how stable is ndoutils? > > I was tempted to install Nagvis but unfortunately it needs Ndoutils > which I am not using so far. > > I could install ndoutils but am afraid about breaking my production > Nagios environment. Especially because of the warning in the ndoutils > README about the code being alpha/beta quality. > > Any ndoutils users? How stable is it? Any pitfalls while installation? > > Or should I avoid ndoutils entirely? Is there any workaround to get > Nagvis working? > > -- > Rahul > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.wheeler at stfc.ac.uk Wed Jun 10 10:19:26 2009 From: jonathan.wheeler at stfc.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 10 Jun 2009 09:19:26 +0100 Subject: funny disk space message In-Reply-To: <2d4ba7ab0906091032w52675c5q44144c2ddedd1a84@mail.gmail.com> References: <2d4ba7ab0906091032w52675c5q44144c2ddedd1a84@mail.gmail.com> Message-ID: From: Jeremiah Jester [mailto:jeremiahjester at gmail.com] Sent: 09 June 2009 18:33 > Any one know why I'm getting this weird disk space message? >>?***** Nagios ***** >> >> Notification Type: PROBLEM >> >> Service: DISK SPACE >> Host: prod >> Address: (ip) >> State: WARNING >> >> Date/Time: Mon Jun 8 23:52:12 UTC 2009 >> >> Additional Info: >> >> DISK WARNING - free space: / 23146 MB (32 0node=99 What happens if you run the command (as userid nagios) on the system, as in: ssh -l root prod su - nagios /usr/lib/nagios/plugins/check_disk -w WLIM -c CLIM -p / where WLIM and CLIM are the warning and critical limits respectively. What is the result of the command "ssh -l root prod df -h /" ? Is the text given above exactly the output of the command ? Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -- Scanned by iCritical. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Wed Jun 10 11:59:15 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 10 Jun 2009 09:59:15 +0000 Subject: service dependencies not catching all Message-ID: <200906100959.15649.assaf.flatto@ssp-intl.com> hello list I have an odd issue with service dependencies I have 360 hosts with 2400 services in my nagios , and i thought i set up an "all encompassing" service dependency in order to get only one alert of a host goes down . define servicedependency{ host_name * service_description PING dependent_host_name * dependent_service_description * execution_failure_criteria c,u,w notification_failure_criteria c,u,w inherits_parent } In my calculation i should be having a list of 2400 dependencies and in the "show config- > service dependencies " it should generate a list of 4800 lines . However when testing nagios -v i get Checking service dependencies... Checked 968 service dependencies meaning that a large part of the hosts and service dependencies are not captured . I do have other dependencies for other services (snmp chekcs relaying on the snmp service being active) , and those are in the 968 . Can anyone tell me why this happens ? Should i declare the service dependencies for each host individually - that kind of beats the purpose of a * declaration in the host. Thank you Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Wed Jun 10 11:09:42 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Wed, 10 Jun 2009 11:09:42 +0200 Subject: About check_by_ssh plugin In-Reply-To: <4A2F6441.1010606@irit.fr> References: <4A2F6441.1010606@irit.fr> Message-ID: <4A2F7856.8030208@tugraz.at> Jean Frontin wrote: > Hello, > > In the check_by_ssh plugin help we can read : > > ... > -s, --services=LIST > list of nagios service names, separated by ':' > ... > > I want to restart the mysql server on a host different of the nagios > host. what service name must I have to use ? Is the service_description > field which has several words ? > > Thanks you for your help > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hello! I would use the following: check_by_ssh -H -l -C "/etc/init.d/mysql restart" Eventually replace with "$HOSTNAME$". You don't have to use -s , it's optional. Regards, -- DI Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karlsson.ulf at gmail.com Wed Jun 10 11:36:02 2009 From: karlsson.ulf at gmail.com (Ulf Karlsson) Date: Wed, 10 Jun 2009 11:36:02 +0200 Subject: Recovery notifications after escalations In-Reply-To: <20090609191809.GA29198@akka.mbv.rejas.net> References: <20090609123427.GA25713@akka.mbv.rejas.net> <4A2E67E9.2000305@op5.se> <20090609191809.GA29198@akka.mbv.rejas.net> Message-ID: Hi Marcus and Andreas, Thanks for taking your time to answer my questions. From the suggestens outlined above, we have implemented a Python script that handles the email notifications. Best regards, Ulf karlsson ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 11:41:38 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 10 Jun 2009 11:41:38 +0200 Subject: nagios future? In-Reply-To: <4A2E95FB.6040800@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> <4A2E95FB.6040800@op5.se> Message-ID: <4A2F7FD2.2090307@univie.ac.at> Andreas Ericsson wrote the following on 09.06.2009 19:03: > > Well, it'll be ambiguous even if one char is stripped from it, so just > cutting the name at 30 chars might be worthwhile if we're on oracle. Don't forget the table_prefix - current default is "nagios_" but I don't know if this will change (I think it's a rather useless prefix unless you have more different "collectors"). Naturally it's better taking "telling names" for tables, variables, and so on. But everyone who has to program the source will hate it, so shorter names with table description are more useful imho. > Well, unless I'm mistaken IDO will have the same database layout as NDO, > so it will still suck for performance, and writing good queries for it > will still be a major headache. When the storage model of the algorithm > algorithm is broken, tweaking it doesn't really help. Only a rewrite > can save you then. Yep I know what you are saying and if anyone over here would allow me to do it I would. But my current task was/is maintaining the NDOUtils Oracle and optimizing it (too much DB entries, housekeeper f*cked up, only needed current states, no history) and after all finding a way to merge the work done by David Schmidt into the NDOUtils master. Looking at the ongoing process of kicking the NDO and using something new doesn't really fit to my plans. But anyway currently Icinga fits the most for our concerns because there are no ressources available to create a new NDO or similar (I'd be happy only having this project and nothing else like coding DNS tools ;-) > > It would be neat to see Merlin adapted to Oracle though, so if you're > interested in working on that we'd sure help as much as we can. I will share my knowledge meanwhile in Icinga GIT (when DB schema is defined, and the code can be merged and optimized) for testing. So far it is all the same with libdbi. A first howto on the libdbi driver for Oracle can be found here - kind of tricky: https://dev.icinga.org/issues/show/108 Some code optimzations for IDO have already been applied by Hendrik (driver loaded successfully, fixed segfaulting and so on) so the debugging is getting easier. And even if I have to modify the libdbi itsself for the usage of parameter bindings (which is heavily used for Oracle e.g.) Merlin could also profit from that... Kind Regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Wed Jun 10 11:50:49 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 10 Jun 2009 11:50:49 +0200 Subject: nagios future? In-Reply-To: <4A2F5E93.40106@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch><4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at><46EEEA5FAED9CA479556002BA9C27FD705E1B56E@iw50.iwbnet.ch> <4A2F5E93.40106@univie.ac.at> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705E1B67B@iw50.iwbnet.ch> Ok, I badly understood, thanks for your remarks...! Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Gesendet: Mittwoch, 10. Juni 2009 09:20 An: Nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] nagios future? n ... even m ... odd 3.n.X == 3.0.X 3.m.X == 3.1.X meaning 3.1.0 is unstable. Meyer Jerome wrote the following on 10.06.2009 08:30: Hi, Thanks Andreas and Michael for all the informations (and links) about the future of nagios! Yeah, I'm happy that It will survive... :) As you mention it, all nagios even releases are stable, so I will install the latest one (3.1.0)! Regards jerome Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Gesendet: Dienstag, 9. Juni 2009 13:15 An: Nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] nagios future? Hi, Andreas Ericsson wrote the following on 09.06.2009 11:10: Yes. It was discussed quite a lot some few weeks back on the nagios-devel mailing list. Browse the archives for the full discussion. try http://sourceforge.net/mailarchive/message.php?msg_id=E03A84B43BAE443888372020DDBFE0E7%40int.consol.de If you're interested in reading a bit more, try http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-users http://sourceforge.net/mailarchive/forum.php?forum_name=icinga-devel The future of Nagios is looking quite bright. In all honesty, that is in part thanks to the Icinga fork, which has sparked a flurry of activity within the Nagios developer community. And also popping up many community based sites, beside the existing ones. Not that bad, but a bit misleading for new users imho. But let's see how it resolves in a bit. Hopefully Nagios will be on GIT soon to merge knowledge from both projects together. Dunno what plans are going on concerning the NDO and other similar core parts but I think there's much potential to share ideas and kniowledge between Nagios and Icinga. First of all, we'll be releasing 3.1.1 soon, containing a plethora of bug- and performance fixes. Ethan's working on automating the release process so that Ton and I can cut releases without having to update a bunch of webpages, sourceforge downloads area, documentation, etc, etc. 3.1.1 will be the first live test of that automated process. If it drags out another week or so though, we'll probably just go ahead and do it manually anyway, as 3.1.1 really has a lot of important fixes that the Nagios users really should get their hands on. It would be great to mention that all even releases are stable while odd remains testing. On nagios.org 3.1.0 is only mentioned as "latest version" and after clicking the download link it is marked as testing - bit confusing, but not really a problem for experienced users. Nagios will get a new GUI, dubbed "Ninja" sometime during or after the summer. Ninja is available for download already and is "usable but has some warts and is still incomplete" according to Ninja maintainer Per ?sberg. You can find out more about it at http://www.op5.org/community/projects/ninja. This was announced at the Nordic Meet on Nagios which was held in Stockholm just last week. Note that it's not necessarily easy to install yet as it's still a work in progress. Bug-reports or enhancement requests are ofcourse very welcome, and documentation patches for the installation procedures even more so. By announcing Ninja as new GUI, the rumors get into Merlin for DB usage. I've read several posts about that but my question is, how far would that be realistic? For what I know Merlin uses the libdbi (just as modified IDOUtils for Icinga) so it would be possible to use different db types. Are there any plans to realize that? :-) Kind regards, Michael -- DI (FH) Michael Friedrich michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria ________________________________ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 12:38:18 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Jun 2009 12:38:18 +0200 Subject: service dependencies not catching all In-Reply-To: <200906100959.15649.assaf.flatto@ssp-intl.com> References: <200906100959.15649.assaf.flatto@ssp-intl.com> Message-ID: <4A2F8D1A.6000605@op5.se> Assaf Flatto wrote: > hello list > > I have an odd issue with service dependencies > > I have 360 hosts with 2400 services in my nagios , and i thought i set up an "all encompassing" > service dependency in order to get only one alert of a host goes down . > There is an automatic service->host dependency that suppresses notifications for all services that are on hosts in a non-UP state, so this seems like an exercise in futility to me. > define servicedependency{ > host_name * > service_description PING > dependent_host_name * > dependent_service_description * > execution_failure_criteria c,u,w > notification_failure_criteria c,u,w > inherits_parent > } > In my calculation i should be having a list of 2400 dependencies and in the "show config- > service > dependencies " it should generate a list of 4800 lines . > This would add 360*360*(2400-$services_named_PING) dependencies. Assuming you have one PING service on each host, that's a total of 264384000 service-dependencies. *ALL* those dependencies would be circular, so this simply cannot be how you have configured Nagios. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Wed Jun 10 13:48:45 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 10 Jun 2009 11:48:45 +0000 Subject: service dependencies not catching all In-Reply-To: <4A2F8D1A.6000605@op5.se> References: <200906100959.15649.assaf.flatto@ssp-intl.com> Message-ID: <200906101148.45194.assaf.flatto@ssp-intl.com> > > There is an automatic service->host dependency that suppresses > notifications for all services that are on hosts in a non-UP state, so this > seems like an exercise in futility to me. In that case can you point me to the location where i configure nagios to respond that way , since it is not working in my setup ( nagios 3.0.6 from source , on SLES 10.2) ? > > define servicedependency{ > > host_name * > > service_description PING > > dependent_host_name * > > dependent_service_description * > > execution_failure_criteria c,u,w > > notification_failure_criteria c,u,w > > inherits_parent > > } > > In my calculation i should be having a list of 2400 dependencies and in > > the "show config- > service dependencies " it should generate a list of > > 4800 lines . > > This would add 360*360*(2400-$services_named_PING) dependencies. > Assuming you have one PING service on each host, that's a total of > 264384000 service-dependencies. *ALL* those dependencies would be > circular, so this simply cannot be how you have configured Nagios. I hate to disagree , but this is the setting i have in my nagios and i do no have the "264384000 " dependencies . -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 10 13:02:38 2009 From: marc at ena.com (Marc Powell) Date: Wed, 10 Jun 2009 06:02:38 -0500 Subject: About check_by_ssh plugin In-Reply-To: <4A2F7856.8030208@tugraz.at> References: <4A2F6441.1010606@irit.fr> <4A2F7856.8030208@tugraz.at> Message-ID: On Jun 10, 2009, at 4:09 AM, Simon Kainz wrote: > Jean Frontin wrote: >> Hello, >> >> In the check_by_ssh plugin help we can read : >> I want to restart the mysql server on a host different of the nagios >> host. > I would use the following: > > check_by_ssh -H -l -C "/etc/init.d/mysql restart" > > Eventually replace with "$HOSTNAME$". > > You don't have to use -s , it's optional. You don't even need to use check_by_ssh. In this case, there's nothing gained over just using -- /path/to/ssh -l "/etc/init.d/mysql restart" Presumably the OP is using either as part of an event_handler script. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 13:05:03 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Jun 2009 13:05:03 +0200 Subject: nagios future? In-Reply-To: <4A2F7FD2.2090307@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> <4A2E95FB.6040800@op5.se> <4A2F7FD2.2090307@univie.ac.at> Message-ID: <4A2F935F.7000907@op5.se> Michael Friedrich wrote: > > > Andreas Ericsson wrote the following on 09.06.2009 19:03: >> >> Well, it'll be ambiguous even if one char is stripped from it, so just >> cutting the name at 30 chars might be worthwhile if we're on oracle. > > Don't forget the table_prefix - current default is "nagios_" but I don't > know if this will change (I think it's a rather useless prefix unless > you have more different "collectors"). Merlin has no table prefix. We feel that if you're managing the network monitoring server, you have the right to demand a separate database for it of the DBA's. table-prefixes are quite handy for things such as forums and blogs which are sometimes hosted by home-users on free hosting sites where each user gets full access to one database but has no possibility to create more. I find it extremely unlikely that Nagios+Merlin will ever be installed in an environment where that is the case. > Naturally it's better taking "telling names" for tables, variables, and > so on. But everyone who has to program the source will hate it, so > shorter names with table description are more useful imho. > >> Well, unless I'm mistaken IDO will have the same database layout as NDO, >> so it will still suck for performance, and writing good queries for it >> will still be a major headache. When the storage model of the algorithm >> algorithm is broken, tweaking it doesn't really help. Only a rewrite >> can save you then. > > Yep I know what you are saying and if anyone over here would allow me to > do it I would. Well, Merlin *is* a rewrite. It doesn't reuse any code at all from NDOUtils and it does scale a *lot* better. It replaces NDOUtils for all GUI-related activities we do at op5, and the database related parts of the GUI code that was previously so arcane it was impossible to debug is now rather straight-forward. > Looking at the ongoing process of kicking the NDO and using something > new doesn't really fit to my plans. But anyway currently Icinga fits the > most for our concerns because there are no ressources available to > create a new NDO or similar (I'd be happy only having this project and > nothing else like coding DNS tools ;-) How can Icinga fit your needs when the underlying model is broken? Sorry, but I just don't get it. >> >> It would be neat to see Merlin adapted to Oracle though, so if you're >> interested in working on that we'd sure help as much as we can. > I will share my knowledge meanwhile in Icinga GIT (when DB schema is > defined, and the code can be merged and optimized) for testing. So far > it is all the same with libdbi. A first howto on the libdbi driver for > Oracle can be found here - kind of tricky: > > https://dev.icinga.org/issues/show/108 > Looks simple enough. Perhaps it'd be worthwhile to test the experimental Oracle support in Kohana as well to see if we can get Merlin+Ninja up and running fairly quickly. Assuming PHP has Oracle support (which it does), I really don't see any issues with that here. > Some code optimzations for IDO have already been applied by Hendrik > (driver loaded successfully, fixed segfaulting and so on) so the > debugging is getting easier. > > And even if I have to modify the libdbi itsself for the usage of > parameter bindings (which is heavily used for Oracle e.g.) Merlin could > also profit from that... > I'd prefer if Merlin can use a driver-agnostic layer. Otherwise one would have to add support for multiple drivers in Merlin. There's also the fact that we lack an oracle database to test against, so whoever adds oracle support to Merlin and Ninja will have to be someone else than me. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 13:09:49 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Jun 2009 13:09:49 +0200 Subject: service dependencies not catching all In-Reply-To: <200906101148.45194.assaf.flatto@ssp-intl.com> References: <200906100959.15649.assaf.flatto@ssp-intl.com> <200906101148.45194.assaf.flatto@ssp-intl.com> Message-ID: <4A2F947D.3030107@op5.se> Assaf Flatto wrote: >> There is an automatic service->host dependency that suppresses >> notifications for all services that are on hosts in a non-UP state, so this >> seems like an exercise in futility to me. > > In that case can you point me to the location where i configure nagios to respond that way , since > it is not working in my setup ( nagios 3.0.6 from source , on SLES 10.2) ? > It's supposed to do that automatically. Can you provide the relevant excerpts from the logfiles showing it hasn't done so? >>> define servicedependency{ >>> host_name * >>> service_description PING >>> dependent_host_name * >>> dependent_service_description * >>> execution_failure_criteria c,u,w >>> notification_failure_criteria c,u,w >>> inherits_parent >>> } >>> In my calculation i should be having a list of 2400 dependencies and in >>> the "show config- > service dependencies " it should generate a list of >>> 4800 lines . >> This would add 360*360*(2400-$services_named_PING) dependencies. >> Assuming you have one PING service on each host, that's a total of >> 264384000 service-dependencies. *ALL* those dependencies would be >> circular, so this simply cannot be how you have configured Nagios. > > I hate to disagree , but this is the setting i have in my nagios and i do no have the "264384000 " > dependencies . > It can't be, because then all PING services would depend on themselves which Nagios doesn't allow. The fact that some 26 million dependencies are missing seems to indicate that you've added it to a configuration file that Nagios doesn't parse. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Wed Jun 10 15:07:37 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 10 Jun 2009 13:07:37 +0000 Subject: service dependencies not catching all In-Reply-To: <4A2F947D.3030107@op5.se> References: <200906100959.15649.assaf.flatto@ssp-intl.com> Message-ID: <200906101307.37678.assaf.flatto@ssp-intl.com> > > It's supposed to do that automatically. Can you provide the relevant > excerpts from the logfiles showing it hasn't done so? here is apart of the log for one of the servers : HOST ALERT: ftp.ssp-intl.com;DOWN;HARD;5;PING CRITICAL - Packet loss = 100% [1244607560] SERVICE ALERT: ftp.ssp-intl.com;Root disk space;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 10 seconds. [1244607580] SERVICE ALERT: ftp.ssp-intl.com;User count;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 10 seconds. > It can't be, because then all PING services would depend on themselves > which Nagios doesn't allow. > The fact that some 26 million dependencies are missing seems to indicate > that you've added it to a configuration file that Nagios doesn't parse. The file is parsed since other dependency declarations in that file are loaded and present in the existing service dependencies. Assaf -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Wed Jun 10 15:13:46 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Wed, 10 Jun 2009 10:13:46 -0300 Subject: Restrict Access Message-ID: Are there a way to restrict the view of some hosts? The reason is that nagios is checking all the hosts from the company, but I would like to restrict the view of all and let the hosts be viewed by departament which they belongs to, do you know what I mean? At the moment only have one user (nagiosadmin), should I create another user and set it? If it's possible, how can I do it? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Wed Jun 10 15:13:27 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 10 Jun 2009 09:13:27 -0400 Subject: Error while configuring NRPE on solaris In-Reply-To: References: Message-ID: <4A2FB177.1020808@gmail.com> Per my previous email... I had the EXACT same issue and went to check_by_ssh for my Solaris hosts... I'm thinking there must be some magic step we're missing that isn't into the current "oh yeah... if you have Solaris then do this" knowledge pool... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan N Patil wrote: > > This problem is still unresolvable. I have tried all possible > situations but no use. I can still see error in dmesg when i run > /usr/local/nagios/libexec/check_nrpe -H localhost > CHECK_NRPE: Error - Could not complete SSL handshake. > > Error i see when i run dmesg, > svc:/network/nrpe/tcp:default (chdir: No such file or directory) > Jun 10 10:15:53 unknown inetd[7268]: [ID 702911 daemon.error] Failed > to set credentials for the inetd_start method of instance > svc:/network/nrpe/tcp:default (chdir: No such file or directory) > Jun 10 10:15:59 unknown inetd[7276]: [ID 702911 daemon.error] Failed > to set credentials for the inetd_start method of instance > svc:/network/nrpe/tcp:default (chdir: No such file or directory) > > I am using SunOS 5.10 Generic_120012-14 i86pc i386 i86pc > > Thanks, > Nilesh > > > > *"Luc I. Suryo" * > > 05/29/2009 10:07 PM > Please respond to > "Luc I. Suryo" > > > > To > Eric Pearce > cc > N Patil , Nagios Users Mailinglist > > Subject > Re: [Nagios-users] Error while configuring NRPE on solaris > > > > > > > > > > fyi > > I have been using nagios and nrpe 9-10 years now; sparc and x86, > started back with solaris 7 > and now soalris 10, zero error.... mix solaris, aix, hpux, linux. > The server has always been Solaris (sparc or x86), use > inetd/xinetd/deamon mode > again zero error > > The one 'problem' i have seen people complain about is ssl and nrpe, > read the manual and it should pretty > clear what todo, 99.9% is almost the use not having doing some RTFM > thingy :) > The other one is tcp-wrapper and nrpe, nrpe has a access control buildt-in > so I never understood one would need to use tcp-wrapper :) > > -ls > > > > > > >From: N Patil > > >To: Eric Pearce > > >Cc: Nagios Users Mailinglist > > >Sent: Thursday, May 28, 2009 9:13 PM > > >Subject: Re: [Nagios-users] Error while configuring NRPE on solaris > > > > > >Thanks Eric, > > >I have followed the same article but it dint help. This problem is > > >something which occured at the end, i mean while testing connectivity. > > > > > >Thanks, > > >Nilesh > > > > >May 28 19:15:27 solaris10.remotehost.com inetd[24241]: [ID 702911 > > >daemon.error] Failed to set credentials for the inetd_start method of > > > >instance svc:/network/nrpe/tcp:default (chdir: No such file or > directory) > > > > I'm just guessing, but do you have a home directory for the nagios user > > (with owner and group set to nagios)? > > The "chdir" error might come from this. > > -e > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity > professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like > Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ______________________________________________________________________ > > > ______________________________________________________________________ > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 14:23:40 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Jun 2009 14:23:40 +0200 Subject: service dependencies not catching all In-Reply-To: <200906101307.37678.assaf.flatto@ssp-intl.com> References: <200906100959.15649.assaf.flatto@ssp-intl.com> <200906101307.37678.assaf.flatto@ssp-intl.com> Message-ID: <4A2FA5CC.4090705@op5.se> Assaf Flatto wrote: >> It's supposed to do that automatically. Can you provide the relevant >> excerpts from the logfiles showing it hasn't done so? > here is apart of the log for one of the servers : > > HOST ALERT: ftp.ssp-intl.com;DOWN;HARD;5;PING CRITICAL - Packet loss = 100% > [1244607560] SERVICE ALERT: ftp.ssp-intl.com;Root disk space;CRITICAL;HARD;1;CHECK_NRPE: Socket > timeout after 10 seconds. > [1244607580] SERVICE ALERT: ftp.ssp-intl.com;User count;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout > after 10 seconds. > No, it's not. This doesn't show that a notification went out, only that a service went critical on a host that's been determined to be down. >> It can't be, because then all PING services would depend on themselves >> which Nagios doesn't allow. >> The fact that some 26 million dependencies are missing seems to indicate >> that you've added it to a configuration file that Nagios doesn't parse. > > The file is parsed since other dependency declarations in that file are loaded and present in the > existing service dependencies. > In that case you haven't restarted Nagios since you added it, or those other dependencies are loaded from somewhere else, or you're using a patched version of Nagios which does something magical with your asterisks, or you're using some config setting which fscks up the config parsing somehow, or you're using the pre-cached config option and aren't actually loading it from the *real* configuration. That dependency simply is not valid in any version of Nagios, so you *can't* be actually *using* it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Wed Jun 10 15:44:58 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Wed, 10 Jun 2009 15:44:58 +0200 Subject: Restrict Access In-Reply-To: References: Message-ID: <4A2FB8DA.5000508@tugraz.at> Eduardo Barreto wrote: > Are there a way to restrict the view of some hosts? The reason is that > nagios is checking all the hosts from the company, but I would like to > restrict the view of all and let the hosts be viewed by departament > which they belongs to, do you know what I mean? At the moment only have > one user (nagiosadmin), should I create another user and set it? If it's > possible, how can I do it? > Hi ! Please take a look at http://nagios.sourceforge.net/docs/2_0/cgiauth.html or http://nagios.sourceforge.net/docs/3_0/cgiauth.html#additional_rights depending on your Nagios version. The basic idea is that you create authenticated contacts. This means you create a contact for a host or service in nagios (which i suppose you've already done) and then create a .htpasswd entry for the same user ( = with the exact same username !). Then you granz additional rights for you authorized contact as describe in the link(s) above. HTH, Simon > > Thanks in advance > > Eduardo Barreto > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sri.lumpa at free.fr Wed Jun 10 15:30:46 2009 From: sri.lumpa at free.fr (MAD) Date: Wed, 10 Jun 2009 15:30:46 +0200 (CEST) Subject: Restrict Access In-Reply-To: References: Message-ID: <243438424.1614521244640646708.JavaMail.root@zimbra16-e3.priv.proxad.net> Did you mean on the Nagios web interface ? If yes it is possible by adding users in the file htpassdw.users having the same name as contacts in your nagios hosts' defintions... See the Nagios documentation about CGI configuration for more details. Marc-Andr? ----- Mail Original ----- De: "Eduardo Barreto" ?: nagios-users at lists.sourceforge.net Envoy?: Mercredi 10 Juin 2009 15h13:46 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Restrict Access Are there a way to restrict the view of some hosts? The reason is that nagios is checking all the hosts from the company, but I would like to restrict the view of all and let the hosts be viewed by departament which they belongs to, do you know what I mean? At the moment only have one user (nagiosadmin), should I create another user and set it? If it's possible, how can I do it? Thanks in advance Eduardo Barreto ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 15:51:05 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Jun 2009 15:51:05 +0200 Subject: nagios future? In-Reply-To: <822f14060906100539m3e4bc6eco6d1523981eba6f74@mail.gmail.com> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> <4A2E95FB.6040800@op5.se> <4A2F7FD2.2090307@univie.ac.at> <4A2F935F.7000907@op5.se> <822f14060906100539m3e4bc6eco6d1523981eba6f74@mail.gmail.com> Message-ID: <4A2FBA49.6050606@op5.se> Richard Quintin wrote: > On Wed, Jun 10, 2009 at 7:05 AM, Andreas Ericsson wrote: >> There's also the fact that we lack an oracle database to test against, >> so whoever adds oracle support to Merlin and Ninja will have to be >> someone else than me. > > I appreciate all the work that you guys are putting into Nagios. I'm > looking forward to implementing Ninja. I just wanted to mention that > anyone can run an Oracle database for free with Oracle Express > Edition. It limits you to 4G of data but that should be more than > sufficient for testing purposes. Oracle packages it both as an rpm > and deb. It's fairly straightforward to get going. > > http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html > > Excellent info. Thanks a lot for this :-) Since our largest customer has a database of 878MB (after over a year of gathering SLA data), I think 4GB should be quite sufficient even for a pretty large network for the foreseeable future. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajay.atiwari at wipro.com Wed Jun 10 15:34:45 2009 From: ajay.atiwari at wipro.com (ajay.atiwari at wipro.com) Date: Wed, 10 Jun 2009 19:04:45 +0530 Subject: How to pass multiple hostgroups in status.cgi parameter Message-ID: Hi, I am having multiple hostgroups with some name. I want to see only certain hostgroup status as an output of status.cgi. For Ex: only 2 hostgroup out of available 7 hostgrooups. Is there any way to pass parameter of certain hostgraoup names like status.cgi?hostgroup=name1,name2 I can see that status.cgi accepts the parameter like hostgroup=all or hostgroup=name . Does it possible to pass the multiple hostgroup name in status.cgi or Any alternate way to achieve it? Please help me regarding it. Thanks Ajay -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Wed Jun 10 14:39:43 2009 From: rich+nagios at quintinz.com (Richard Quintin) Date: Wed, 10 Jun 2009 08:39:43 -0400 Subject: nagios future? In-Reply-To: <4A2F935F.7000907@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> <4A2E95FB.6040800@op5.se> <4A2F7FD2.2090307@univie.ac.at> <4A2F935F.7000907@op5.se> Message-ID: <822f14060906100539m3e4bc6eco6d1523981eba6f74@mail.gmail.com> On Wed, Jun 10, 2009 at 7:05 AM, Andreas Ericsson wrote: > There's also the fact that we lack an oracle database to test against, > so whoever adds oracle support to Merlin and Ninja will have to be > someone else than me. I appreciate all the work that you guys are putting into Nagios. I'm looking forward to implementing Ninja. I just wanted to mention that anyone can run an Oracle database for free with Oracle Express Edition. It limits you to 4G of data but that should be more than sufficient for testing purposes. Oracle packages it both as an rpm and deb. It's fairly straightforward to get going. http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html -- Richard Quintin, DBA Database & Application Administration Virginia Tech ~ http://www.familieslikeme.org/ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 10 16:24:01 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 10 Jun 2009 10:24:01 -0400 Subject: Restrict Access In-Reply-To: <243438424.1614521244640646708.JavaMail.root@zimbra16-e3.priv.proxad.net> References: <243438424.1614521244640646708.JavaMail.root@zimbra16-e3.priv.proxad.net> Message-ID: <8147CCE3C4A8764DA9980125EE70E823D9C960@nuexchg.norwich.edu> Hi, if the answer below is not applicable, please check out the nagios config file named "cgi.cfg" - it has options to allow your users to see/do what you specify only. Hth, Cheers, Jamie -----Original Message----- From: MAD [mailto:sri.lumpa at free.fr] Sent: Wednesday, June 10, 2009 9:31 AM To: Eduardo Barreto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Restrict Access Did you mean on the Nagios web interface ? If yes it is possible by adding users in the file htpassdw.users having the same name as contacts in your nagios hosts' defintions... See the Nagios documentation about CGI configuration for more details. Marc-Andr? ----- Mail Original ----- De: "Eduardo Barreto" ?: nagios-users at lists.sourceforge.net Envoy?: Mercredi 10 Juin 2009 15h13:46 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: [Nagios-users] Restrict Access Are there a way to restrict the view of some hosts? The reason is that nagios is checking all the hosts from the company, but I would like to restrict the view of all and let the hosts be viewed by departament which they belongs to, do you know what I mean? At the moment only have one user (nagiosadmin), should I create another user and set it? If it's possible, how can I do it? Thanks in advance Eduardo Barreto ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam at nine.ch Wed Jun 10 16:47:25 2009 From: sam at nine.ch (Sammy Ramareddy) Date: Wed, 10 Jun 2009 16:47:25 +0200 Subject: service dependency Message-ID: <4A2FC77D.6030405@nine.ch> hi all, I looked at nagios documentation and unfortunately did not found how I could the following : Currently, I monitor some BGP sessions on different routers. I would like to get an alert ONLY when a group of these BGP sessions are down, and not only one. Is that possible with nagios ? Could you give me some hints ? Many thanks for your help! Sam ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Wed Jun 10 18:13:50 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 10 Jun 2009 16:13:50 +0000 Subject: service dependency In-Reply-To: <4A2FC77D.6030405@nine.ch> References: <4A2FC77D.6030405@nine.ch> Message-ID: <200906101613.50613.assaf.flatto@ssp-intl.com> Look for the check_cluster plugin I think it will give you the functionality you need. Assaf On Wednesday 10 June 2009 14:47:25 Sammy Ramareddy wrote: > hi all, > > I looked at nagios documentation and unfortunately did not found how I > could the following : > > Currently, I monitor some BGP sessions on different routers. > I would like to get an alert ONLY when a group of these BGP sessions are > down, and not only one. > > Is that possible with nagios ? > Could you give me some hints ? > > > Many thanks for your help! > > Sam > > --------------------------------------------------------------------------- >--- Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 10 19:49:04 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 10 Jun 2009 13:49:04 -0400 Subject: Error Message encountered when using NagVis 1.4 Message-ID: Hi there -- I completed the installation of NagVis 1.4 onto one of our Nagios 3.0.6 servers. While I am able to get to the config.php page, whenever I select an option such Overview, Open in NagVis, or the demo-server and demo2 maps, I get the following error message: The given instance name "default" in backend "ndomy_1" is not valid. This error occurs if I am at the server console, or if I am viewing it from a remote host. I made several changes to the nagvis.ini.php file, and I have enclosed a copy of the with this e-mail. Can someone tell me what I need to change in order to get NagVis to work properly? 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 -------------- A non-text attachment was scrubbed... Name: nagvis.ini.php Type: application/octet-stream Size: 6410 bytes Desc: nagvis.ini.php URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhammerman at videoegg.com Wed Jun 10 19:57:23 2009 From: jhammerman at videoegg.com (Joe Hammerman) Date: Wed, 10 Jun 2009 10:57:23 -0700 Subject: Check_nrpe script is not working Message-ID: Good morning Nagios users list. I am hoping that someone here would be kind enough to take a look at this problem I'm having. I'm stumped so any troubleshooting steps would be greatly appreciated! A short summary of the problem is this: a script called by the nagios user on the target machine runs without error. However, when the script is called by the remote check_nrpe script it fails, with apparently no output. The check_nrpe script is configured to call a command that calls an HP script, which then parses the output. Here is the command directive: command[hplog_fan.pl]=/usr/local/nagios/libexec/videoegg/hplog_fan.pl Here is the contents of the script: #!/usr/bin/perl @output = `sudo /sbin/hplog -f`; unless (scalar @output > 1){ print "hplog isnt outputting"; exit(3); } foreach(@output){ if (/^ \d/){ unless (/Normal/){ print; exit(2); } } } print "Ok HP Proliant fans"; exit(0); __END__ t at db032 ~]# hplog -f ID TYPE LOCATION STATUS REDUNDANT FAN SPEED 1 Basic Fan System Board Normal Yes ------- 2 Basic Fan System Board Normal Yes ------- 3 Basic Fan System Board Normal Yes ------- 4 Basic Fan System Board Normal Yes ------- 5 Basic Fan I/O Zone Normal Yes ------- 6 Basic Fan I/O Zone Normal Yes ------- Here is the script running without error when called by the local Nagios user: [nagios at inf001.sfota ~]$ /usr/local/nagios/libexec/videoegg/hplog_fan.pl Ok HP Proliant fans [nagios at inf001.sfota ~]$ echo $? 0 Here is the script failing when being called remotely: [jhammerman at adm001.udev libexec]$ ./check_nrpe -H inf001.sfota.videoegg.com -c hplog_power.pl hplog isn't outputting The variable @output is empty. Check_nrpe is configured to run as Nagios (Xinetd definition): service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 10.11.1.10 10.11.1.11 192.168.101.10 192.168.101.11 } The source machine is in the allowed list above - the command also fails if run against localhost on the target machine, using it's own check_nrpe binary. Here is the log output if debug is set to 1: Jun 10 10:49:38 inf001 xinetd[20658]: START: nrpe pid=20991 from=192.168.101.11 Jun 10 10:49:38 inf001 nrpe[20991]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Jun 10 10:49:38 inf001 xinetd[20658]: EXIT: nrpe status=0 pid=20991 duration=0(sec) In the interest of completeness, the nrpe.cfg is attached to this email. Regards, Joseph Hammerman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nrpe.cfg Type: application/octet-stream Size: 8230 bytes Desc: nrpe.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 10 20:51:06 2009 From: marc at ena.com (Marc Powell) Date: Wed, 10 Jun 2009 13:51:06 -0500 Subject: Check_nrpe script is not working In-Reply-To: References: Message-ID: <23574C4C-1260-4806-9CE0-78C7DB9F0B5D@ena.com> On Jun 10, 2009, at 12:57 PM, Joe Hammerman wrote: > Good morning Nagios users list. I am hoping that someone here would > be kind enough to take a look at this problem I?m having. I?m > stumped so any troubleshooting steps would be greatly appreciated! > > A short summary of the problem is this: a script called by the > nagios user on the target machine runs without error. However, when > the script is called by the remote check_nrpe script it fails, with > apparently no output. > > The check_nrpe script is configured to call a command that calls an > HP script, which then parses the output. Here is the command > directive: > > command[hplog_fan.pl]=/usr/local/nagios/libexec/videoegg/hplog_fan.pl > > Here is the contents of the script: > > #!/usr/bin/perl > @output = `sudo /sbin/hplog -f`; If 'requiretty' is enabled in sudoers (visudo), you'll need to disable it. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wyild1 at gmail.com Wed Jun 10 21:27:50 2009 From: wyild1 at gmail.com (Ryan) Date: Wed, 10 Jun 2009 13:27:50 -0600 Subject: Problem using check_http with ssl Message-ID: Morning I am having a problem with the check_http plugin for checking an website using SSL. Below is the output of what im trying to do ------------------------------------------------------------------------ /usr/lib/nagios/plugins/check_http -w 5 -c 10 -v -S -t 30 -H spc.oatiwebtms.com GET / HTTP/1.0 User-Agent: check_http/1.96 (nagios-plugins 1.4.5) Host: spc.oatiwebtms.com Error on receive ----------------------------------------------------------------------- and the same error when trying this site: ----------------------------------------------------------------------- /usr/lib/nagios/plugins/check_http -w 5 -c 10 -v -S -t 30 -H www.oati.net GET / HTTP/1.0 User-Agent: check_http/1.96 (nagios-plugins 1.4.5) Host: www.oati.net Error on receive ----------------------------------------------------------------------- I can use openssl s_client to connect to the site so i know that works. I have tried changing the user agent to Mozilla but that still didnt help. I do know that when i go to the website via Firefox or IE i always get a certificate warning. Could that be affecting this? I have run out of ideas! Cheers! Ryan -- Christianity: The belief that some cosmic Jewish Zombie can make you live forever if you symbolically eat his flesh and telepathically tell him that you accept him as your master, so he can remove an evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree. Makes perfect sense! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhammerman at videoegg.com Wed Jun 10 22:19:57 2009 From: jhammerman at videoegg.com (Joe Hammerman) Date: Wed, 10 Jun 2009 13:19:57 -0700 Subject: Check_nrpe script is not working In-Reply-To: <23574C4C-1260-4806-9CE0-78C7DB9F0B5D@ena.com> References: <23574C4C-1260-4806-9CE0-78C7DB9F0B5D@ena.com> Message-ID: Kent, that was it. Thanks a million! -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, June 10, 2009 11:51 AM To: Nagios Mailinglist Subject: Re: [Nagios-users] Check_nrpe script is not working On Jun 10, 2009, at 12:57 PM, Joe Hammerman wrote: > Good morning Nagios users list. I am hoping that someone here would > be kind enough to take a look at this problem I'm having. I'm > stumped so any troubleshooting steps would be greatly appreciated! > > A short summary of the problem is this: a script called by the > nagios user on the target machine runs without error. However, when > the script is called by the remote check_nrpe script it fails, with > apparently no output. > > The check_nrpe script is configured to call a command that calls an > HP script, which then parses the output. Here is the command > directive: > > command[hplog_fan.pl]=/usr/local/nagios/libexec/videoegg/hplog_fan.pl > > Here is the contents of the script: > > #!/usr/bin/perl > @output = `sudo /sbin/hplog -f`; If 'requiretty' is enabled in sudoers (visudo), you'll need to disable it. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kgs at uvm.edu Wed Jun 10 20:43:40 2009 From: kgs at uvm.edu (Kent Saunders) Date: Wed, 10 Jun 2009 14:43:40 -0400 Subject: Check_nrpe script is not working In-Reply-To: References: Message-ID: <4A2FFEDC.5010806@uvm.edu> Can you use check_nrpe to run any other checks? I'd assume not since you have "allowed_hosts=127.0.0.1" set in your nrpe.cfg file. Change that IP address to your nagios servers ip, then try again. If still having problems, confirm that check_disk is working with nrpe fine before digging into custome scripts. -kent Joe Hammerman wrote: > > Good morning Nagios users list. I am hoping that someone here would be > kind enough to take a look at this problem I?m having. I?m stumped so > any troubleshooting steps would be greatly appreciated! > > A short summary of the problem is this: a script called by the nagios > user on the target machine runs without error. However, when the > script is called by the remote check_nrpe script it fails, with > apparently no output. > > The check_nrpe script is configured to call a command that calls an HP > script, which then parses the output. Here is the command directive: > > command[hplog_fan.pl]=/usr/local/nagios/libexec/videoegg/hplog_fan.pl > > Here is the contents of the script: > > #!/usr/bin/perl > > @output = `sudo /sbin/hplog -f`; > > unless (scalar @output > 1){ > > print "hplog isnt outputting"; > > exit(3); > > } > > foreach(@output){ > > if (/^ \d/){ > > unless (/Normal/){ > > print; > > exit(2); > > } > > } > > } > > print "Ok HP Proliant fans"; > > exit(0); > > __END__ > > t at db032 ~]# hplog -f > > ID TYPE LOCATION STATUS REDUNDANT FAN SPEED > > 1 Basic Fan System Board Normal Yes ------- > > 2 Basic Fan System Board Normal Yes ------- > > 3 Basic Fan System Board Normal Yes ------- > > 4 Basic Fan System Board Normal Yes ------- > > 5 Basic Fan I/O Zone Normal Yes ------- > > 6 Basic Fan I/O Zone Normal Yes ------- > > Here is the script running without error when called by the local > Nagios user: > > [nagios at inf001.sfota ~]$ /usr/local/nagios/libexec/videoegg/hplog_fan.pl > > Ok HP Proliant fans > > [nagios at inf001.sfota ~]$ echo $? > > 0 > > Here is the script failing when being called remotely: > > [jhammerman at adm001.udev libexec]$ ./check_nrpe -H > inf001.sfota.videoegg.com -c hplog_power.pl > > hplog isn't outputting > > The variable @output is empty. > > Check_nrpe is configured to run as Nagios (Xinetd definition): > > service nrpe > > { > > flags = REUSE > > socket_type = stream > > port = 5666 > > wait = no > > user = nagios > > group = nagios > > server = /usr/local/nagios/bin/nrpe > > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd > > log_on_failure += USERID > > disable = no > > only_from = 127.0.0.1 10.11.1.10 10.11.1.11 192.168.101.10 192.168.101.11 > > } > > The source machine is in the allowed list above ? the command also > fails if run against localhost on the target machine, using it?s own > check_nrpe binary. > > Here is the log output if debug is set to 1: > > Jun 10 10:49:38 inf001 xinetd[20658]: START: nrpe pid=20991 > from=192.168.101.11 > > Jun 10 10:49:38 inf001 nrpe[20991]: INFO: SSL/TLS initialized. All > network traffic will be encrypted. > > Jun 10 10:49:38 inf001 xinetd[20658]: EXIT: nrpe status=0 pid=20991 > duration=0(sec) > > In the interest of completeness, the nrpe.cfg is attached to this email. > > Regards, > > Joseph Hammerman > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jun 10 22:55:02 2009 From: marc at ena.com (Marc Powell) Date: Wed, 10 Jun 2009 15:55:02 -0500 Subject: How to pass multiple hostgroups in status.cgi parameter In-Reply-To: References: Message-ID: On Jun 10, 2009, at 8:34 AM, wrote: > Hi, > I am having multiple hostgroups with some name. > I want to see only certain hostgroup status as an output of > status.cgi. For Ex: only 2 hostgroup out of available 7 hostgrooups. > Is there any way to pass parameter of certain hostgraoup names like > status.cgi?hostgroup=name1,name2 > I can see that status.cgi accepts the parameter like hostgroup=all > or hostgroup=name . Does it possible to pass the multiple hostgroup > name in status.cgi or Any alternate way to achieve it? Passing multiple names is not possible as far as I know without looking at the code (I believe it so much I'm not going to look). An alternative may be to configure Authorization (mentioned in a different thread today), and create a login that is a contact for all hosts in those two hostgroups. Logging in with that username would restrict the 'hostgroup=all' view to just those two hostgroups. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpnabar at gmail.com Thu Jun 11 09:20:28 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 11 Jun 2009 02:20:28 -0500 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: <52442.213.255.109.107.1244620595.squirrel@picard.linux.it> References: <559332334.1527761244619823458.JavaMail.root@zimbra16-e3.priv.proxad.net> <52442.213.255.109.107.1244620595.squirrel@picard.linux.it> Message-ID: On Wed, Jun 10, 2009 at 2:56 AM, Giorgio Zarrelli wrote: > it works. It's not the best, it has some overhead problems with MySql, > causing some taxing utilization of the cpu, but it works. Sometimes you > can fall in some indexing problems, but you can workaround them with this > sql clause: Thanks Giorgio and Marc-Andr?. I think those comments confirm what I thought. It is somewhat unstable and unfit to push into a production environment. Nagvis did look so cool otherwise though! Support also seems sort of iffy. I was toying with using the ndo2fs backend but there is very little documentation. Besides usually Nagios questions generate a lot of responses on the list but the relative silence for my Nagvis questions seems to say that not so many users are trying it yet. -- Rahul ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 11 09:41:45 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 11 Jun 2009 09:41:45 +0200 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: References: Message-ID: <4A30B539.8080802@op5.se> Rahul Nabar wrote: > I was tempted to install Nagvis but unfortunately it needs Ndoutils > which I am not using so far. > > I could install ndoutils but am afraid about breaking my production > Nagios environment. Especially because of the warning in the ndoutils > README about the code being alpha/beta quality. > > Any ndoutils users? How stable is it? Any pitfalls while installation? > > Or should I avoid ndoutils entirely? Is there any workaround to get > Nagvis working? > Starting with NagVis 1.4, NagVis supports the Merlin database format so you can use that if you can't get NDOUtils to work. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 11 17:23:15 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 11 Jun 2009 17:23:15 +0200 Subject: nagios future? In-Reply-To: <4A2F935F.7000907@op5.se> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> <4A2E95FB.6040800@op5.se> <4A2F7FD2.2090307@univie.ac.at> <4A2F935F.7000907@op5.se> Message-ID: <4A312163.1010607@univie.ac.at> Hi there, Andreas Ericsson wrote: > > Merlin has no table prefix. We feel that if you're managing the network > monitoring server, you have the right to demand a separate database for > it of the DBA's. table-prefixes are quite handy for things such as forums > and blogs which are sometimes hosted by home-users on free hosting sites > where each user gets full access to one database but has no possibility > to create more. I find it extremely unlikely that Nagios+Merlin will ever > be installed in an environment where that is the case. Jep, point taken. I dunno how much Ethan had the experience while coding the NDO but it seems the design was done to fit everything which could prohibit problems. More or less without regards of the known problems right know. > > Well, Merlin *is* a rewrite. It doesn't reuse any code at all from > NDOUtils > and it does scale a *lot* better. It replaces NDOUtils for all > GUI-related > activities we do at op5, and the database related parts of the GUI code > that was previously so arcane it was impossible to debug is now rather > straight-forward. And I really like the idea of it - I just need more time to get a deeper look and also a running testbox with it. But I am pretty sure I will catch on this in a break while developing some dns monitoring tools. > How can Icinga fit your needs when the underlying model is broken? > Sorry, but I just don't get it. Don't get me wrong but we need to apply and change more than 1 single Nagios-Server over here. Systems are running fine, no need to change that meanwhile. What we need desperately simply is Oracle DB support (it works with NDOUtils Oracle but quite unstable). We've decided to relay on the low ressources we can provide to extend the Oracle support by catching up on the most similar system to Nagios. While the NDO remains BETA since 2007 and Ethan did only minor bugfixes this project is going to die ... and the compatibility will die too if Nagios decides to use Merlin instead of NDO - which is a good move - but we have to decide: * update Nagios and everything relaying on the DB Model (we have our own tools presenting the data from the DB) * stay where we are and hope that nothing will fail * search other solutions where we can contribute better and the compatibility will remain The fork is really good, Ethan is awaken, community is more important and development is getting moving again. Let's see what time will bring and where we will end :-) > > Looks simple enough. Perhaps it'd be worthwhile to test the experimental > Oracle support in Kohana as well to see if we can get Merlin+Ninja up > and running fairly quickly. Assuming PHP has Oracle support (which it > does), I really don't see any issues with that here. Only compiling instead of package installs, but that shouldn't be that big problem for sysadmins. > I'd prefer if Merlin can use a driver-agnostic layer. Otherwise one would > have to add support for multiple drivers in Merlin. > > There's also the fact that we lack an oracle database to test against, > so whoever adds oracle support to Merlin and Ninja will have to be > someone else than me. As I remarked - I will look up and test Merlin. But meanwhile it should be simple to install a testing stage by yourself. For different Oracle-Queries you may catch up on the NDOUtils Oracle on nagiosforge.com Kind regards, Michael ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Jun 11 17:31:59 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 11 Jun 2009 11:31:59 -0400 Subject: Problem with preflight check Message-ID: Hi there -- I copied from out Nagios 2.6 server the .cfg files, with the exception of nagios.cfg, to our new Nagios 3.0.6 server and placed them in the /usr/local/nagios/etc directory. When I run the preflight check, I noticed that the only services that being checked are those that are specific to the localhost. What file(s) do I need to reconfigure in order to have all the services on the all the hosts to be checked, and subsequently monitored by the 3.0.6 server? 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Thu Jun 11 18:44:47 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 11 Jun 2009 16:44:47 +0000 Subject: Problem with preflight check In-Reply-To: References: Message-ID: <200906111644.47505.assaf.flatto@ssp-intl.com> Did you check the nagios.cfg for the cfg_file or cfg_dir directives to tell it what files to load and check ? Assaf On Thursday 11 June 2009 15:31:59 Kaplan, Andrew H. wrote: > Hi there -- > > I copied from out Nagios 2.6 server the .cfg files, with the exception of > nagios.cfg, to our new Nagios 3.0.6 server > and placed them in the /usr/local/nagios/etc directory. When I run the > preflight check, I noticed that the only services > that being checked are those that are specific to the localhost. What > file(s) do I need to reconfigure in order to have > all the services on the all the hosts to be checked, and subsequently > monitored by the 3.0.6 server? 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. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Thu Jun 11 18:08:18 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Thu, 11 Jun 2009 09:08:18 -0700 Subject: disk IO for windows? In-Reply-To: <6b13ab0f0906092014q46704af6m470c41115867a476@mail.gmail.com> References: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com><4A2E6278.9060606@op5.se> <6b13ab0f0906092014q46704af6m470c41115867a476@mail.gmail.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B21675@wtps0171.amers.ibechtel.com> Hi All, We just started monitoring IO on our Windows servers. We measure two PerfMon counters (using the nsclient++ agent). System\File Control Operations/sec Description: File Control Operations/sec is the combined rate of file system operations that are neither reads nor writes, such as file system control requests and requests for information about device characteristics or status. This is the inverse of System: File Data Operations/sec and is measured in number of operations perf second. This counter displays the difference between the values observed in the last two samples, divided by the duration of the sample interval. System\Data Operations/sec Description: File Data Operations/ sec is the combined rate of read and write operations on all logical disks on the computer. This is the inverse of System: File Control Operations/sec. This counter displays the difference between the values observed in the last two samples, divided by the duration of the sample interval. I'm not sure what good thresholds are for these, currently we have a warning at 10000 and critical at 20000 on our test servers. We've had a couple of servers cross those thresholds but I don't have a good sense for what they should be yet. I've never seen any documentation regarding what a Windows box can do (in terms of IO). >From a command line they look like this: check_nrpe -H $HOSTADDRESS$ -c CheckCounter -a "\\System\\File Data Operations/Sec" ShowAll MaxWarn=10000 MaxCrit=20000 Regards, -greg -----Original Message----- From: Curtis LaMasters [mailto:curtislamasters at gmail.com] Sent: Tuesday, June 09, 2009 8:15 PM To: Anthony Montibello Cc: Andreas Ericsson; Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] disk IO for windows? I use Disk Idle time as an indicator. Not an original idea :( I was told to mimic the monitoring built into Windows SBS. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Tue, Jun 9, 2009 at 8:27 PM, Anthony Montibello wrote: > That is partialy right, > > The Alt delete thing is To get to TaskManager but only on New versions > of windows does it give access to some counter names, > > The best place to go is Performance Monitor Since thats on all version > of windows since?2000 Control Panel--> Administrative Tools--> > Computer Managment--> then Performance Counter on newer systems from > Computer Management --> Reliability and performance > --> Monitoring Tools --> Performance Monitor > Once you FIND performance Monitor then click the Green + to get into > the "add counters" > Click the Checkbox to Show the Counter description then click arround > till you find what you need Look for Disks for Drive stuff, > > Tony (Author of NC_NEt) > > On Tue, Jun 9, 2009 at 9:24 AM, Andreas Ericsson wrote: >> >> dave stern - e-mail.pluribus.unum wrote: >> > Anyone know of a plug-in or mechanism to log local disk I/O on windows? >> > >> > My nagios server is currently using check_nt to connect to windows >> > hosts via nsclient++. I was hoping perhaps COUNTER has something >> > buried within it to pull down this info. >> > >> >> There are indeed counters for that, but due to Microsoft's stupidity >> the counter-names are different depending on which base-language >> you've used for your windows servers. >> >> I don't know what they're named for english platforms (or any other >> for that matter), but you should be able to view them with that thing >> you can pop up when pressing ctrl-alt-del (task manager or whatever >> it's called). >> >> -- >> 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. >> >> >> --------------------------------------------------------------------- >> --------- Crystal Reports - New Free Runtime and 30 Day Trial Check >> out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > > ---------------------------------------------------------------------- > -------- Crystal Reports - New Free Runtime and 30 Day Trial Check out > the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Jun 11 19:05:23 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 11 Jun 2009 13:05:23 -0400 Subject: Problem with preflight check In-Reply-To: <200906111644.47505.assaf.flatto@ssp-intl.com> References: <200906111644.47505.assaf.flatto@ssp-intl.com> Message-ID: Hi there -- I went through the motions of adding the lines in question to the nagios.cfg file. When I run the preflight check now, I am able to see all the services and hosts to be monitored. However, during the flight check the following errors appear on-screen: Checking services... Error: Contact group 'admins' specified in service 'Current Load' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Current Users' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'HTTP' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'PING' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Root Partition' for host 'localhost' is not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere! Error: Contact group 'admins' specified in service 'SSH' for host 'localhost' is not defined anywhere! Error: Service check command 'check_local_swap' specified in service 'Swap Usage' for host 'localhost' not defined anywhere! Error: Contact group 'admins' specified in service 'Swap Usage' for host 'localhost' is not defined anywhere! Error: Contact group 'admins' specified in service 'Total Processes' for host 'localhost' is not defined anywhere! What file(s) do I need to modify now in order to get past this? Thanks. -----Original Message----- From: Assaf Flatto [mailto:assaf.flatto at ssp-intl.com] Sent: Thursday, June 11, 2009 12:45 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with preflight check Did you check the nagios.cfg for the cfg_file or cfg_dir directives to tell it what files to load and check ? Assaf On Thursday 11 June 2009 15:31:59 Kaplan, Andrew H. wrote: > Hi there -- > > I copied from out Nagios 2.6 server the .cfg files, with the exception of > nagios.cfg, to our new Nagios 3.0.6 server > and placed them in the /usr/local/nagios/etc directory. When I run the > preflight check, I noticed that the only services > that being checked are those that are specific to the localhost. What > file(s) do I need to reconfigure in order to have > all the services on the all the hosts to be checked, and subsequently > monitored by the 3.0.6 server? 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. -- Assaf Flatto SSP Ops Team Linux System Administrator 169 Euston Road, London, NW1 2AE Along with a few colleagues I am doing The Three Peaks Challenge again this year to raise money for The Railway Children. Please sponsor me by making a donation online, simply click on the link below and give via your switch/credit card. Thank you. http://www.justgiving.com/londonnorththreepeaks IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teckadmin at gmail.com Thu Jun 11 21:14:06 2009 From: teckadmin at gmail.com (Kevin Mitnikc) Date: Thu, 11 Jun 2009 12:14:06 -0700 Subject: Nagios Reboot Notification Message-ID: Hello everybody, I'm new to the boards, so this topic might already be covered. But I'm not exactly sure how to fully search the boards. Issue at hand: I have successfully setup Nagios 3 on Ubuntu 8.10. I have a few test servers being monitored, but what I can't get working properly are when the servers reboot. I'm looking for a way to monitor when a server reboots or has an unexpected shutdown. I've tried the host-is-alive and also the ping, but the server comes up to fast. I've also tried just monitoring a service, such as the NSClient++ but Nagios doesn't notify me right away once the server reboots. How is everybody monitoring server reboots. I've used Whats Up Gold in the past, and it would notify me right away. There has to be a way to monitor reboots and get a notification of that reboot. Many people have suggested I use scripts, but I don't know how to write scripts. Any help or direction would be much appreciated! Cheers, Kevin M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curtislamasters at gmail.com Thu Jun 11 21:23:54 2009 From: curtislamasters at gmail.com (Curtis LaMasters) Date: Thu, 11 Jun 2009 14:23:54 -0500 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: <6b13ab0f0906111223x52ba027w619fd3ae7e9ba1c0@mail.gmail.com> I use an uptime script on Windows with NSClient++. I don't know the second it goes down but I'll know when it comes back up. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Thu, Jun 11, 2009 at 2:14 PM, Kevin Mitnikc wrote: > Hello everybody, > > I'm new to the boards, so this topic might already be covered.? But I'm not > exactly sure how to fully search the boards. > > Issue at hand: > > I have successfully setup Nagios 3 on Ubuntu 8.10.? I have a few test > servers being monitored, but what I can't get working properly are when the > servers reboot.? I'm looking for a way to monitor when a server reboots or > has an unexpected shutdown. > > I've tried the host-is-alive and also the ping, but the server comes up to > fast.? I've also tried just monitoring a service, such as the NSClient++ but > Nagios doesn't notify me right away once the server reboots. > > How is everybody monitoring server reboots.? I've used Whats Up Gold in the > past, and it would notify me right away.? There has to be a way to monitor > reboots and get a notification of that reboot.? Many people have suggested I > use scripts, but I don't know how to write scripts. > > Any help or direction would be much appreciated! > > > Cheers, > > Kevin M. > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hamid at pcsourcenet.com Thu Jun 11 21:30:01 2009 From: hamid at pcsourcenet.com (Hamid Majidy) Date: Thu, 11 Jun 2009 12:30:01 -0700 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: <165201c9eacb$03d940c0$0b8bc240$@com> SNMP traps are most suitable for this purpose. From: Kevin Mitnikc [mailto:teckadmin at gmail.com] Sent: Thursday, June 11, 2009 12:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Reboot Notification Hello everybody, I'm new to the boards, so this topic might already be covered. But I'm not exactly sure how to fully search the boards. Issue at hand: I have successfully setup Nagios 3 on Ubuntu 8.10. I have a few test servers being monitored, but what I can't get working properly are when the servers reboot. I'm looking for a way to monitor when a server reboots or has an unexpected shutdown. I've tried the host-is-alive and also the ping, but the server comes up to fast. I've also tried just monitoring a service, such as the NSClient++ but Nagios doesn't notify me right away once the server reboots. How is everybody monitoring server reboots. I've used Whats Up Gold in the past, and it would notify me right away. There has to be a way to monitor reboots and get a notification of that reboot. Many people have suggested I use scripts, but I don't know how to write scripts. Any help or direction would be much appreciated! Cheers, Kevin M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jun 11 21:33:41 2009 From: ae at op5.se (Andreas Ericsson) Date: Thu, 11 Jun 2009 21:33:41 +0200 Subject: nagios future? In-Reply-To: <4A312163.1010607@univie.ac.at> References: <46EEEA5FAED9CA479556002BA9C27FD705E1B2AC@iw50.iwbnet.ch> <4A2E270C.5080606@op5.se> <4A2E4446.1000603@univie.ac.at> <4A2E5F00.1060205@op5.se> <4A2E6951.4050709@univie.ac.at> <4A2E72BB.3020800@op5.se> <4A2E7EE4.3000400@univie.ac.at> <4A2E95FB.6040800@op5.se> <4A2F7FD2.2090307@univie.ac.at> <4A2F935F.7000907@op5.se> <4A312163.1010607@univie.ac.at> Message-ID: <4A315C15.4040807@op5.se> Michael Friedrich wrote: > Andreas Ericsson wrote: >> >> Well, Merlin *is* a rewrite. It doesn't reuse any code at all from >> NDOUtils >> and it does scale a *lot* better. It replaces NDOUtils for all >> GUI-related >> activities we do at op5, and the database related parts of the GUI code >> that was previously so arcane it was impossible to debug is now rather >> straight-forward. > > And I really like the idea of it - I just need more time to get a deeper > look and also a running testbox with it. But I am pretty sure I will > catch on this in a break while developing some dns monitoring tools. > >> How can Icinga fit your needs when the underlying model is broken? >> Sorry, but I just don't get it. > > Don't get me wrong but we need to apply and change more than 1 single > Nagios-Server over here. Systems are running fine, no need to change > that meanwhile. What we need desperately simply is Oracle DB support (it > works with NDOUtils Oracle but quite unstable). > We've decided to relay on the low ressources we can provide to extend > the Oracle support by catching up on the most similar system to Nagios. > While the NDO remains BETA since 2007 and Ethan did only minor bugfixes > this project is going to die ... and the compatibility will die too if > Nagios decides to use Merlin instead of NDO - which is a good move - but > we have to decide: > > * update Nagios and everything relaying on the DB Model (we have our own > tools presenting the data from the DB) > * stay where we are and hope that nothing will fail > * search other solutions where we can contribute better and the > compatibility will remain > I think I'll sneak a peak at the changes necessary to get NagVis to support Merlin. I got the feeling when talking to the guy who did it that the biggest problem lay in understanding what the original query did before he could write one that got the same data from Merlin. If that's the case, then perhaps it'll be possible to write some sort of conversion guide mapping NDOUtils query X to Merlin query Y, both getting the dataset Z. > >> I'd prefer if Merlin can use a driver-agnostic layer. Otherwise one would >> have to add support for multiple drivers in Merlin. >> >> There's also the fact that we lack an oracle database to test against, >> so whoever adds oracle support to Merlin and Ninja will have to be >> someone else than me. > > As I remarked - I will look up and test Merlin. But meanwhile it should > be simple to install a testing stage by yourself. For different > Oracle-Queries you may catch up on the NDOUtils Oracle on nagiosforge.com > I'll sneak a peak at them. Thanks. Let me know if you need any help with getting Merlin up and running. It "works for me", but external testing is surely required in order to make sure I haven't done something that only works here. By the way, kudos to Tom Welsh who's helped me a lot in testing the latest and greatest Merlin code :-) -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Thu Jun 11 21:34:49 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Thu, 11 Jun 2009 15:34:49 -0400 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: <6B0E073F-C497-4931-A366-6C8D9E4229A8@chickenandporn.com> Hi! On Jun 11, 2009, at 3:14 PM, Kevin Mitnikc wrote: > Hello everybody, > > I'm new to the boards, so this topic might already be covered. But > I'm not exactly sure how to fully search the boards. > > Issue at hand: > > I have successfully setup Nagios 3 on Ubuntu 8.10. I have a few > test servers being monitored, but what I can't get working properly > are when the servers reboot. I'm looking for a way to monitor when > a server reboots or has an unexpected shutdown. > > I've tried the host-is-alive and also the ping, but the server comes > up to fast. I've also tried just monitoring a service, such as the > NSClient++ but Nagios doesn't notify me right away once the server > reboots. > > How is everybody monitoring server reboots. I've used Whats Up Gold > in the past, and it would notify me right away. There has to be a > way to monitor reboots and get a notification of that reboot. Many > people have suggested I use scripts, but I don't know how to write > scripts. In past, we monitored "uptime < 5 min", there might be a contributed script or plugin. I would look, but have spotty Internet right now. Allan -- http://LinkedIn.com/in/goldfish ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jun 11 21:50:30 2009 From: marc at ena.com (Marc Powell) Date: Thu, 11 Jun 2009 14:50:30 -0500 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: On Jun 11, 2009, at 2:14 PM, Kevin Mitnikc wrote: > How is everybody monitoring server reboots. I've used Whats Up Gold > in the past, and it would notify me right away. There has to be a > way to monitor reboots and get a notification of that reboot. Many > people have suggested I use scripts, but I don't know how to write > scripts. > > Any help or direction would be much appreciated! I monitor uptime via snmp and throw a quick WARNING in the GUI if I see it. You'll likely want to adjust the warning and add critical thresholds if you want alerts -- define command { command_name check_uptime command_line $USER1$/check_snmp -H $HOSTADDRESS $ -C -o 1.3.6.1.2.1.1.3.0 -l "Uptime" -u "Timeticks" -w 50000:0 } -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu Jun 11 22:02:04 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 11 Jun 2009 16:02:04 -0400 Subject: Nagios Reboot Notification In-Reply-To: <6B0E073F-C497-4931-A366-6C8D9E4229A8@chickenandporn.com> References: <6B0E073F-C497-4931-A366-6C8D9E4229A8@chickenandporn.com> Message-ID: <4A3162BC.5090300@gmail.com> Same here... we have a few machines that can reboot in less than 2 minutes and with Nagios only checking them every 5 minutes or so, some reboots can slip through the cracks. We have an "uptime" test that is critical at less than 30 minutes and warn at less than 60 seconds, plus resolution notifications enabled. So if a machine panic reboots and Nagios misses it, withing 5 minutes the uptime test will show uptime of less than 30 minutes and send an alert. A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan Allan Clark wrote: > Hi! > > On Jun 11, 2009, at 3:14 PM, Kevin Mitnikc wrote: > > >> Hello everybody, >> >> I'm new to the boards, so this topic might already be covered. But >> I'm not exactly sure how to fully search the boards. >> >> Issue at hand: >> >> I have successfully setup Nagios 3 on Ubuntu 8.10. I have a few >> test servers being monitored, but what I can't get working properly >> are when the servers reboot. I'm looking for a way to monitor when >> a server reboots or has an unexpected shutdown. >> >> I've tried the host-is-alive and also the ping, but the server comes >> up to fast. I've also tried just monitoring a service, such as the >> NSClient++ but Nagios doesn't notify me right away once the server >> reboots. >> >> How is everybody monitoring server reboots. I've used Whats Up Gold >> in the past, and it would notify me right away. There has to be a >> way to monitor reboots and get a notification of that reboot. Many >> people have suggested I use scripts, but I don't know how to write >> scripts. >> > > In past, we monitored "uptime < 5 min", there might be a contributed > script or plugin. I would look, but have spotty Internet right now. > > Allan > -- > http://LinkedIn.com/in/goldfish > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nccomp at gmail.com Thu Jun 11 22:30:00 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 11 Jun 2009 16:30:00 -0400 Subject: Mailing list mod please remove user... In-Reply-To: <200906112008.n5BK8vML024901@pop.uai.com.br> References: <6B0E073F-C497-4931-A366-6C8D9E4229A8@chickenandporn.com> <4A3162BC.5090300@gmail.com> <200906112008.n5BK8vML024901@pop.uai.com.br> Message-ID: <4A316948.2010609@gmail.com> We're seeing this (below) for this account for just about every email through the list for more than a week. Would a mod or someone remove this address from the mailing list server already? Its quite infuriating... :) A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan wrote: > Erro ao enviar o email para "nagios-users at lists. sourceforge. net >> Nagios Users mailinglist" > A caixa postal do destinatario esta cheia. O email foi recusado > The mailbox is full. The email was rejected. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Fri Jun 12 00:00:51 2009 From: frcaen at gmail.com (Francois Caen) Date: Thu, 11 Jun 2009 15:00:51 -0700 Subject: Nagios CGI and Splunk Message-ID: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> Hello folks, Anyone got the CGI integration with Splunk working? I configured the CGI and links get generated to: http://mysplunk:8000/?q=mydevice However, Splunk just shows me its homepage, not a search for "mydevice". I have a strong feeling the problem is on the Splunk side, but would appreciate knowing if anyone has this working at all. Thanks, -- Francois Caen ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teckadmin at gmail.com Fri Jun 12 01:29:40 2009 From: teckadmin at gmail.com (Kevin Mitnikc) Date: Thu, 11 Jun 2009 16:29:40 -0700 Subject: Nagios Reboot Notification Message-ID: Marc, I don't think this will work for me ...reason being Nagios will do its check, lets say every minute. If the server reboots unexpectedly and comes up in between that check period, Nagios will never see the reboot. I could be wrong, but is that not accurate? Other application will notify you as soon as the server shuts down or reboots. Is this because its being monitored differently or different checks are being executed. As a Nagios newb, it seems that Nagios has cycles of running checks that the user defines. But I would like to try you suggestion. Will I simply add the define command in the commands.cfg config file and then reference that with the check_command in the hosts.cfg file? Thanks, Kevin M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maseda at unc.edu Fri Jun 12 01:41:17 2009 From: maseda at unc.edu (Mike Seda) Date: Thu, 11 Jun 2009 19:41:17 -0400 Subject: Read Only CGI Patch In-Reply-To: References: Message-ID: <4A31961D.1050905@unc.edu> All, I came across the following link recently, and it seems that the Nagios Read Only CGI patch is exactly what I need: http://eluted.net/index.php/blue/comments/read_only_cgi_patch_for_nagios_303_updated Does anyone know if this patch is compatible with Nagios version 2.9? The patches seemed to work just fine, but I received errors when running the make afterwards. If it turns out that this patch is incompatible with Nagios version 2.9, then can someone provide a link to a compatible Nagios Read Only CGI patch version? Mike ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p1 at fhri.org Fri Jun 12 01:58:36 2009 From: p1 at fhri.org (p1 at fhri.org) Date: Thu, 11 Jun 2009 16:58:36 -0700 Subject: check_http --ssl In-Reply-To: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> References: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDD@exch1.ea.corp.com> My check_http doesn't have SSL support: check_http: Invalid option - SSL is not available >From online research, I gather that I have to recompile the plugins with the SSL option after having SSL installed on the system. I have the following openssl packages on the Ubuntu server: $ sudo aptitude search openssl: p aolserver4-nsopenssl - AOLserver 4 module: module for SSL mode. p libcrypt-openssl-bignum-perl - Access OpenSSL multiprecision integer arithmetic lib p libcrypt-openssl-dsa-perl - Module which implements the DSA signature verificati p libcrypt-openssl-random-perl - Access to the OpenSSL pseudo-random number generator p libcrypt-openssl-rsa-perl - Perl module providing basic RSA functionality p libcrypt-openssl-x509-perl - Perl extension to OpenSSL's X509 API v libcurl3-openssl-dev - p libcurl4-openssl-dev - Development files and documentation for libcurl (Ope p libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules v libopensc-openssl - p libopenssl-ruby - OpenSSL interface for Ruby p libopenssl-ruby1.8 - OpenSSL interface for Ruby 1.8 p libopenssl-ruby1.9 - OpenSSL interface for Ruby 1.9 p libxmlsec1-openssl - Openssl engine for the XML security library i openssl - Secure Socket Layer (SSL) binary and related cryptog i A openssl-blacklist - list of blacklisted OpenSSL RSA keys p openssl-blacklist-extra - list of non-default blacklisted OpenSSL RSA keys p openssl-doc - Secure Socket Layer (SSL) documentation p pyopenssl-doc - transitional dummy package i python-openssl - Python wrapper around the OpenSSL library p python-openssl-dbg - Python wrapper around the OpenSSL library (debug ext p python-openssl-doc - Documentation for pyOpenSSL i python-pyopenssl - transitional dummy package v python2.4-openssl - v python2.5-openssl - Yet, when re-configuring, it still does it without SSL support: config.status: creating po/Makefile --with-apt-get-command: /usr/bin/apt-get --with-ping6-command: --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: no --with-openssl: no --with-gnutls: no --enable-extra-opts: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin What am I missing? Thanks, Paul -- ea926p ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Fri Jun 12 02:12:24 2009 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Thu, 11 Jun 2009 20:12:24 -0400 Subject: check_http --ssl In-Reply-To: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDD@exch1.ea.corp.com> References: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDD@exch1.ea.corp.com> Message-ID: <4A319D68.1030604@iweb.com> On 6/11/09 7:58 PM, p1 at fhri.org wrote: > My check_http doesn't have SSL support: > > What am I missing? Try installing libssl-dev: apt-get install libssl-dev And compile with: --with-openssl Working fine for me with Debian. -- Mathieu ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Fri Jun 12 03:24:12 2009 From: jon at netdork.net (Jon Angliss) Date: Thu, 11 Jun 2009 20:24:12 -0500 Subject: check_http --ssl References: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDD@exch1.ea.corp.com> Message-ID: On Thu, 11 Jun 2009 16:58:36 -0700, wrote: >My check_http doesn't have SSL support: > >check_http: Invalid option - SSL is not available > >>From online research, I gather that I have to recompile the plugins with >the SSL option after having SSL installed on the system. > >I have the following openssl packages on the Ubuntu server: > >$ sudo aptitude search openssl: libssl-dev [..] >Yet, when re-configuring, it still does it without SSL support: > >config.status: creating po/Makefile > --with-apt-get-command: /usr/bin/apt-get > --with-ping6-command: > --with-ping-command: /bin/ping -n -U -w %d -c %d %s > --with-ipv6: yes > --with-mysql: no > --with-openssl: no > --with-gnutls: no > --enable-extra-opts: no > --with-perl: /usr/bin/perl > --enable-perl-modules: no > --with-cgiurl: /nagios/cgi-bin > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > >What am I missing? libssl-dev should be what you're after. -- Jonathan Angliss ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Fri Jun 12 03:49:31 2009 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Thu, 11 Jun 2009 18:49:31 -0700 Subject: Check not running Message-ID: <4A31B42B.9090603@aggregateknowledge.com> I have a check that never runs. The services I've defined that use it sit at the top of the scheduling queue, with their next check always within a few minutes of the last time I restarted nagios. This remains the case even if I reschedule their next check time in the web interface (while I see a line in the log file confirming that I rescheduled it, the "next check" does not update and the check is never run). The check is defined like this: command_line /etc/nagios/plugins/check_snmp_byportname.pl --host $HOSTADDRESS$ --community mycommunity --port $ARG1$ What's really weird is that if I change it to use Wolfgang Wagner's capture_plugin.pl*, then everything works as expected. I change the above to this: command_line /etc/nagios/plugins/capture_plugin.pl /etc/nagios/plugins/check_snmp_byportname.pl --host $HOSTADDRESS$ --community mycommunity --port $ARG1$ and then I am able to see the output in /tmp/camptured-plugins.log, the status updates in nagios, these checks get cycled through the scheduler queue normally, and everything is as it should be. check_snmp_byportname.pl is a script I've written that's essentially just a wrapper around the stock check_snmp. It works on its own (from the command line) as expected, and works when called with capture_plugin.pl as a wrapper. If I then remove the capture_plugin.pl part of that command definition and restart (and this is the *only* change I'm making), then this particular check goes back to not working (while everything else continues to work as normal). This is on Nagios 2.9 (I'm using the rpm provided by Dag Wieers, on CentOS 5.2). What else can I do to debug this? I thought that using capture_plugin would show me what was wrong with this check, but instead it just showed me that nothing is wrong, apparently. I'm kind of confused at this point. Sorry this is so long. I wanted to try to include as much information and observations as possible. Thanks in advance for the help, Mike * - from here: http://www.waggy.at/nagios/capture_plugin.htm ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jun 12 04:56:34 2009 From: marc at ena.com (Marc Powell) Date: Thu, 11 Jun 2009 21:56:34 -0500 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: On Jun 11, 2009, at 6:29 PM, Kevin Mitnikc wrote: > Marc, > > I don't think this will work for me ...reason being Nagios will do > its check, lets say every minute. If the server reboots > unexpectedly and comes up in between that check period, Nagios will > never see the reboot. I could be wrong, but is that not accurate? Sure it will. uptime is a counter that increases from 0 to infinity (essentially) and resets on reboot. The snmp check I use says that if that counter is less than 50,000ms (~8.3 minutes), show a WARNING. If you check every minute, you'd see a WARNING status for 7 or 8 minutes, then a reset to OK. > Other application will notify you as soon as the server shuts down > or reboots. Is this because its being monitored differently or > different checks are being executed. I have no idea. I presume that these applications are receiving traps from the device (and it is configured to send them) or that it's checking _very_ frequently. There's no magic 'some box just rebooted' protocol... > As a Nagios newb, it seems that Nagios has cycles of running > checks that the user defines. Yes, it does. > But I would like to try you suggestion. Will I simply add the > define command in the commands.cfg config file and then reference > that with the check_command in the hosts.cfg file? Yes. This presumes that you've configured SNMP on the target device and set the read communities to match on both sides. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.weaver at bbc.co.uk Fri Jun 12 14:15:50 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 12 Jun 2009 13:15:50 +0100 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: > Sure it will. uptime is a counter that increases from 0 to infinity > (essentially) and resets on reboot. The snmp check I use says > that if that counter is less than 50,000ms (~8.3 minutes), > show a WARNING. If you check every minute, you'd see a > WARNING status for 7 or 8 minutes, then a reset to OK. You're pretty lucky if your box reboots inside a minute -- it takes about 2 minutes for most of our boxes to get through POST! > them) or that it's checking _very_ frequently. There's no > magic 'some box just rebooted' > protocol... Hmm, a trap coming from the PSU (sudden current change), or switch (link going down then up) Most monitoring systems I've seen use uptime, keep a track of the last value, and the time it happened, then alert if that value resets to close to zero (or even if it returns outside of a predicted range). The reason you keep a track of the value is to avoid broken alerts when the snmp counter rolls over. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p1 at fhri.org Fri Jun 12 18:33:17 2009 From: p1 at fhri.org (p1 at fhri.org) Date: Fri, 12 Jun 2009 09:33:17 -0700 Subject: check_http --ssl In-Reply-To: <4A319D68.1030604@iweb.com> References: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDD@exch1.ea.corp.com> <4A319D68.1030604@iweb.com> Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDE@exch1.ea.corp.com> Thanks Mathieu and Jon, that package did the trick. Btw, can I just manually move one file (check_http) to the libexec dir after 'make' or does 'make install' do more than that? -- Paul -----Original Message----- From: Mathieu Gagn? [mailto:mgagne at iweb.com] Sent: Thursday, June 11, 2009 5:12 PM To: p1 at fhri.org Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_http --ssl On 6/11/09 7:58 PM, p1 at fhri.org wrote: > My check_http doesn't have SSL support: > > What am I missing? Try installing libssl-dev: apt-get install libssl-dev And compile with: --with-openssl Working fine for me with Debian. -- Mathieu -- ea926p ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p1 at fhri.org Fri Jun 12 20:43:29 2009 From: p1 at fhri.org (p1 at fhri.org) Date: Fri, 12 Jun 2009 11:43:29 -0700 Subject: Checking OWA Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE3@exch1.ea.corp.com> Trying to use check_http to monitor OWA. I can monitor the site's response, SSL and even login, but not content, which would be a truly thorough test I used to be able to do some time back. Getting stuck with this error, seen in verbose output from the plugin: This page uses frames, but your browser doesn't support them. I see the same error if I disable frame support in Firefox. Anyone else monitoring OWA content? Thanks, Paul -- ea926p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naloi at experisdatacenters.com Fri Jun 12 20:40:52 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 12 Jun 2009 18:40:52 +0000 Subject: using the status map Message-ID: Hello, I wonder if anyone out there has a good reference for using the status map. What my boss want me to be able to do is say draw a rack in visio and then when one of the ports on one of the switches goes down to have the map image blink or something like that. Natalie Aloi e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agargiulo at users.sourceforge.net Fri Jun 12 20:56:57 2009 From: agargiulo at users.sourceforge.net (agargiulo at users.sourceforge.net) Date: Fri, 12 Jun 2009 20:56:57 +0200 Subject: NConf 1.2.5 released Message-ID: <1244833017PHP-mail@stars.access.ch> The new version of NConf is out! http://nconf.sourceforge.net Among many improvements and fixes, the main new features are: - clone services between hosts - host dependency view - static file editor - Nagios config importer (BETA) - database API (BETA) ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Fri Jun 12 21:22:54 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 12 Jun 2009 15:22:54 -0400 Subject: using the status map In-Reply-To: References: Message-ID: Natalie, It sounds like Nagvis might be a bit more appropriate to what you're looking to do. http://www.nagvis.org/ Mark From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Friday, June 12, 2009 2:41 PM To: Nagios Users Mail-list Subject: [Nagios-users] using the status map Hello, I wonder if anyone out there has a good reference for using the status map. What my boss want me to be able to do is say draw a rack in visio and then when one of the ports on one of the switches goes down to have the map image blink or something like that. Natalie Aloi e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Fri Jun 12 21:38:31 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 12 Jun 2009 15:38:31 -0400 Subject: ndo utils question In-Reply-To: <6db4a4200906100817v4b2b263blfb43ff5b981b1403@mail.gmail.com> References: <6db4a4200906090742p42424679tefab24a12829cb73@mail.gmail.com> <4A2E9625.3050000@op5.se> <6db4a4200906100817v4b2b263blfb43ff5b981b1403@mail.gmail.com> Message-ID: <6db4a4200906121238s27f6bd89u8c4204d17d8e4e0f@mail.gmail.com> Can someone please tell me why am I seeing all my nagios_objects are shwoing is_active 0 in nagios_objects table of my ndoutils database? Thanks in advance. On Wed, Jun 10, 2009 at 11:17 AM, shadih rahman wrote: > is_active shows 0 for all my entries nagios_object. Can someone tell me if > is it due configuration issue or a bug? Please advise on this. Thanks > > > On Tue, Jun 9, 2009 at 1:04 PM, Andreas Ericsson wrote: > >> shadih rahman wrote: >> >>> All, >>> I have been running ndoutils with nagios for a while. When I initially >>> setup my nagios, I played around with a lot of different service checks >>> and >>> changed around a lot of config parameters. Now, I have a solid setup and >>> I >>> have not changed configuration for a while. When I go into the database >>> and >>> look at nagios_objects tables, I see all sorts of old objects which do >>> not >>> exist in my current setup. Does ndoutils clean up and throw away old >>> config >>> when we start nagios? >>> >> >> No, but it marks them as inactive (or some such). >> >> -- >> 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. >> > > > > -- > Cordially, > Shadhin Rahman > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 12 21:48:47 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Fri, 12 Jun 2009 12:48:47 -0700 (PDT) Subject: Checking OWA In-Reply-To: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE3@exch1.ea.corp.com> References: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE3@exch1.ea.corp.com> Message-ID: <161590.2317.qm@web111202.mail.gq1.yahoo.com> I would like to get this going also in my OWA. Please advise if anyone has ran this successfully. Thanks. ________________________________ From: "p1 at fhri.org" To: nagios-users at lists.sourceforge.net Sent: Friday, June 12, 2009 11:43:29 AM Subject: [Nagios-users] Checking OWA Trying to use check_http to monitor OWA. I can monitor the site's response, SSL and even login, but not content, which would be a truly thorough test I used to be able to do some time back. Getting stuck with this error, seen in verbose output from the plugin: This page uses frames, but your browser doesn't support them. I see the same error if I disable frame support in Firefox. Anyone else monitoring OWA content? Thanks, Paul -- ea926h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jun 12 22:40:03 2009 From: marc at ena.com (Marc Powell) Date: Fri, 12 Jun 2009 15:40:03 -0500 Subject: check_http --ssl In-Reply-To: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDE@exch1.ea.corp.com> References: <58cfe2840906111500k268b44eboca9cf1c19a78068e@mail.gmail.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDD@exch1.ea.corp.com> <4A319D68.1030604@iweb.com> <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEDE@exch1.ea.corp.com> Message-ID: <965AC375-7E74-4394-B757-8AAF114488E8@ena.com> On Jun 12, 2009, at 11:33 AM, wrote: > Thanks Mathieu and Jon, that package did the trick. > > Btw, can I just manually move one file (check_http) to the libexec > dir after 'make' or does 'make install' do more than that? Yes, you can just copy the single file. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CSingh at lightspeedresearch.com Fri Jun 12 23:01:35 2009 From: CSingh at lightspeedresearch.com (CSingh at lightspeedresearch.com) Date: Fri, 12 Jun 2009 16:01:35 -0500 Subject: check_hpasm (3.5) problem on RHEL3 In-Reply-To: <8427C571F164AA4D97AD0C4BF2758F3C01FEFF95@KTNAPXCH001C.kt.group.local> References: <6db4a4200906081506t74119c03t115743f37857414e@mail.gmail.com><4A2E63F0.9020605@gmail.com> <8427C571F164AA4D97AD0C4BF2758F3C01FEFF95@KTNAPXCH001C.kt.group.local> Message-ID: <8427C571F164AA4D97AD0C4BF2758F3C021ACF0F@KTNAPXCH001C.kt.group.local> Just an update to this. This problem was happening because of an older version of hpacucli. Installing below version fixed the issue: ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/hpacucli -7.70-12.linux.rpm Regards, Charan ________________________________ From: CSingh at lightspeedresearch.com [mailto:CSingh at lightspeedresearch.com] Sent: Tuesday, June 09, 2009 10:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_hpasm (3.5) problem on RHEL3 I have check_hpasm installed successfully on RHEL3 but I am unable to get it to work (I have it working correctly for me on RHEL4 and 5). Here is the problem that I face with RHEL3: [nagios at mysys nagios]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_hpasm UNKNOWN - insufficient rights to call /usr/sbin/hpacucli [nagios at mysys nagios]$ sudo /usr/local/nagios/libexec/check_hpasm -v UNKNOWN - insufficient rights to call /usr/sbin/hpacucli My /etc/sudoers has nagios ALL=NOPASSWD:/sbin/hpasmcli,/usr/sbin/hpacucli,/usr/local/nagios/libexec /check_hpasm Calling /usr/bin/hpacucli works correctly using sudo: [nagios at mysys nagios]$ sudo /usr/sbin/hpacucli HP Array Configuration Utility CLI 7.40.7.0 Detecting Controllers...Done. Type "help" for a list of supported commands. Type "exit" to close the console. => [nagios at mysys nagios]$ sudo /usr/sbin/hpacucli -s help To enter the ACU CLI console type: hpacucli Commands can also be executed from outside the ACU CLI console using the syntax: hpacucli [param[=value]] All targets, commands, parameters, and values must be entered in lowercase. The only exceptions to this are user-specified names, such as chassisname. [param[=value]] is of format: [controller all|slot=#|wwn=#|chassisname="AAA"] [array all|] [physicaldrive all|#:#:#|allunassigned] [logicaldrive all|#] Note: The first # in physicaldrive is only needed for systems that specify port:box:bay. Other physical drive targeting schemes are box:bay and port:id. Example targets: controller all controller slot=5 controller chassisname="Lab C" controller serialnumber=P21DA2322S controller wwn=500308B300701011 controller slot=1 array all controller slot=7 array A ctrl slot=1 pd allunassigned controller slot=2 logicaldrive all controller slot=5 ld 5 controller slot=5 physicaldrive 1:5 controller slot=5 physicaldrive 1E:2:3 can be "create","delete","modify","show","rescan" For detailed command information type any of the following: help add help create help delete help modify help remove help shorthand help show help target help rescan What else could I try? Thanks! Charanbeer This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. This email is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email by mistake, please delete it from your system immediately and notify the sender. Email transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p1 at fhri.org Sat Jun 13 00:04:02 2009 From: p1 at fhri.org (p1 at fhri.org) Date: Fri, 12 Jun 2009 15:04:02 -0700 Subject: Checking OWA In-Reply-To: <161590.2317.qm@web111202.mail.gq1.yahoo.com> References: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE3@exch1.ea.corp.com> <161590.2317.qm@web111202.mail.gq1.yahoo.com> Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE6@exch1.ea.corp.com> Dei, Are you having the same problem as I am? Until recently, it was working fine. Then I implemented SSL on OWA and since then I've been having the issue I described earlier. It occurs even when I don't use SSL, so I don't know exactly what might be causing it. Anyway, the command I used successfully before was: check_http -H exchserv1 -u /exchange/nagios -a "dom1\nagios":nagiospass1 -s "nagios : Inbox" -- Paul ________________________________ From: Dei Bertine [mailto:deibertine at yahoo.com] Sent: Friday, June 12, 2009 12:49 PM To: Peter Lecki; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Checking OWA I would like to get this going also in my OWA. Please advise if anyone has ran this successfully. Thanks. ________________________________ From: "p1 at fhri.org" To: nagios-users at lists.sourceforge.net Sent: Friday, June 12, 2009 11:43:29 AM Subject: [Nagios-users] Checking OWA Trying to use check_http to monitor OWA. I can monitor the site's response, SSL and even login, but not content, which would be a truly thorough test I used to be able to do some time back. Getting stuck with this error, seen in verbose output from the plugin: This page uses frames, but your browser doesn't support them. I see the same error if I disable frame support in Firefox. Anyone else monitoring OWA content? Thanks, Paul -- ea926h -- ea926p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maseda at unc.edu Sat Jun 13 02:26:20 2009 From: maseda at unc.edu (Mike Seda) Date: Fri, 12 Jun 2009 20:26:20 -0400 Subject: Read Only CGI Patch In-Reply-To: <4A31961D.1050905@unc.edu> References: <4A31961D.1050905@unc.edu> Message-ID: <4A32F22C.5040608@unc.edu> All, On Nagios 2.9, I was able to perform the Nagios Read Only CGI patch and run "make cgis" without any errors. But I am just slightly afraid of running "make install-cgis" now since the patch is really for Nagios 3.0.3. Has anyone else out there done this? Mike Mike Seda wrote: > All, > I came across the following link recently, and it seems that the Nagios > Read Only CGI patch is exactly what I need: > http://eluted.net/index.php/blue/comments/read_only_cgi_patch_for_nagios_303_updated > > Does anyone know if this patch is compatible with Nagios version 2.9? > > The patches seemed to work just fine, but I received errors when running > the make afterwards. > > If it turns out that this patch is incompatible with Nagios version 2.9, > then can someone provide a link to a compatible Nagios Read Only CGI > patch version? > > Mike > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sat Jun 13 02:26:44 2009 From: jon at netdork.net (Jon Angliss) Date: Fri, 12 Jun 2009 19:26:44 -0500 Subject: Checking OWA References: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE3@exch1.ea.corp.com> Message-ID: On Fri, 12 Jun 2009 11:43:29 -0700, wrote: >Trying to use check_http to monitor OWA. I can monitor the site's >response, SSL and even login, but not content, which would be a truly >thorough test I used to be able to do some time back. Getting stuck >with this error, seen in verbose output from the plugin: > >This page uses frames, but your browser doesn't support them. That's exactly what I'd expect to see when you don't actually request the page with content, and just call the main frameset page. > >I see the same error if I disable frame support in Firefox. Anyone else >monitoring OWA content? What content are you actually looking for? Is there a specific email you're looking for? If so, you don't want to call /exchange/nagios, you want to look for the INBOX instead. If you view the source of the frameset page, you will see two frame calls, the body looks something like this: <BODY><P>This page uses frames, but your browser doesn't support them.</P></BODY> Note, I have trimmed the code to make it actually readable. You can see the navigation bar, and the inbox calls. So your nagios check_http call should in fact look like this: ./check_http -H exchange -u "/exchange/nagios/Inbox/?Cmd=contents" -a "dom1\nagios":nagiospass1 -s "...." Another note, you'll find the code for {name} : INBOX is split by HTML code, so your check needs to account for it. In my case, the check would be: -s 'Jonathan Angliss ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sat Jun 13 03:56:09 2009 From: perldork at webwizarddesign.com (Max) Date: Fri, 12 Jun 2009 21:56:09 -0400 Subject: Read Only CGI Patch In-Reply-To: <4A32F22C.5040608@unc.edu> References: <4A31961D.1050905@unc.edu> <4A32F22C.5040608@unc.edu> Message-ID: Hi Mike, Derrick, the author of the patch, and a friend of mine, might be able to help you with that. He updated the package for Nagios 3 when we wrote a book on Nagios together, but yes, was a little while ago. Derrick? - Max On Fri, Jun 12, 2009 at 8:26 PM, Mike Seda wrote: > All, > On Nagios 2.9, I was able to perform the Nagios Read Only CGI patch and > run "make cgis" without any errors. > > But I am just slightly afraid of running "make install-cgis" now since > the patch is really for Nagios 3.0.3. > > Has anyone else out there done this? > > Mike ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ayotunde.Itayemi at zain.com Sat Jun 13 20:31:01 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Sat, 13 Jun 2009 19:31:01 +0100 Subject: Read Only CGI Patch In-Reply-To: References: <4A31961D.1050905@unc.edu> <4A32F22C.5040608@unc.edu> Message-ID: <99487797D76C7841AEEDE4A1DCA86C7005AA6B0E@VNL-LA01EX04S.vmobile-nigeria.com> Hi, One option is to backup all your existing cgis then run "make install-cgis". If anything goes wrong, you just copy the original cgis back into place. Alternatively, don't run "make install-cgis", just backup your existing cgis, then manually copy the newly compiled cgi to your NAGIOS cgi directory (e.g., /usr/local/nagios/sbin) overwriting what's there already. If anything goes wrong, replace them with the backup. Regards, "This mail is from a Gimper" -----Original Message----- From: Max [mailto:perldork at webwizarddesign.com] Sent: Saturday, June 13, 2009 2:56 AM To: Mike Seda Cc: nagios-devel at lists.sourceforge.net; Derrick Bennett; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Read Only CGI Patch Hi Mike, Derrick, the author of the patch, and a friend of mine, might be able to help you with that. He updated the package for Nagios 3 when we wrote a book on Nagios together, but yes, was a little while ago. Derrick? - Max On Fri, Jun 12, 2009 at 8:26 PM, Mike Seda wrote: > All, > On Nagios 2.9, I was able to perform the Nagios Read Only CGI patch and > run "make cgis" without any errors. > > But I am just slightly afraid of running "make install-cgis" now since > the patch is really for Nagios 3.0.3. > > Has anyone else out there done this? > > Mike ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maseda at unc.edu Sun Jun 14 17:37:00 2009 From: maseda at unc.edu (Mike Seda) Date: Sun, 14 Jun 2009 11:37:00 -0400 Subject: Read Only CGI Patch In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005AA6B0E@VNL-LA01EX04S.vmobile-nigeria.com> References: <4A31961D.1050905@unc.edu> <4A32F22C.5040608@unc.edu> <99487797D76C7841AEEDE4A1DCA86C7005AA6B0E@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: <4A35191C.7050201@unc.edu> Ayotunde, Right, but it would be nice if I could just locate a patch for 2.9. Derrick, Does such a patch exist? Mike Ayotunde Itayemi wrote: > Hi, > One option is to backup all your existing cgis then run "make > install-cgis". If anything goes wrong, you just copy the original cgis > back into place. Alternatively, don't run "make install-cgis", just > backup your existing cgis, then manually copy the newly compiled cgi to > your NAGIOS cgi directory (e.g., /usr/local/nagios/sbin) overwriting > what's there already. If anything goes wrong, replace them with the > backup. > Regards, > > "This mail is from a Gimper" > > -----Original Message----- > From: Max [mailto:perldork at webwizarddesign.com] > Sent: Saturday, June 13, 2009 2:56 AM > To: Mike Seda > Cc: nagios-devel at lists.sourceforge.net; Derrick Bennett; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Read Only CGI Patch > > Hi Mike, > > Derrick, the author of the patch, and a friend of mine, might be able > to help you with that. He updated the package for Nagios 3 when we > wrote a book on Nagios together, but yes, was a little while ago. > > Derrick? > > - Max > > On Fri, Jun 12, 2009 at 8:26 PM, Mike Seda wrote: > >> All, >> On Nagios 2.9, I was able to perform the Nagios Read Only CGI patch >> > and > >> run "make cgis" without any errors. >> >> But I am just slightly afraid of running "make install-cgis" now since >> the patch is really for Nagios 3.0.3. >> >> Has anyone else out there done this? >> >> Mike >> > > ------------------------------------------------------------------------ > ------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From code at novageeks.org Mon Jun 15 06:22:46 2009 From: code at novageeks.org (local.coder) Date: Mon, 15 Jun 2009 00:22:46 -0400 Subject: [Nagios-users] Read Only CGI Patch In-Reply-To: <4A35191C.7050201@unc.edu> References: <4A31961D.1050905@unc.edu> <4A32F22C.5040608@unc.edu> <99487797D76C7841AEEDE4A1DCA86C7005AA6B0E@VNL-LA01EX04S.vmobile-nigeria.com> <4A35191C.7050201@unc.edu> Message-ID: <4A35CC96.2030003@novageeks.org> Pretty sure I have a 2.9 patch lying around somewhere. I will have a 2.9 and a 3.0.3 one posted tomorrow and will resend them to the list. I have been contemplating re-writing it for more functionality but I keep saying that the PHP interface is just about to be released :) Thanks, Derrick Mike Seda wrote: > Ayotunde, > Right, but it would be nice if I could just locate a patch for 2.9. > > Derrick, > Does such a patch exist? > > Mike > > > Ayotunde Itayemi wrote: > >> Hi, >> One option is to backup all your existing cgis then run "make >> install-cgis". If anything goes wrong, you just copy the original cgis >> back into place. Alternatively, don't run "make install-cgis", just >> backup your existing cgis, then manually copy the newly compiled cgi to >> your NAGIOS cgi directory (e.g., /usr/local/nagios/sbin) overwriting >> what's there already. If anything goes wrong, replace them with the >> backup. >> Regards, >> >> "This mail is from a Gimper" >> >> -----Original Message----- >> From: Max [mailto:perldork at webwizarddesign.com] >> Sent: Saturday, June 13, 2009 2:56 AM >> To: Mike Seda >> Cc: nagios-devel at lists.sourceforge.net; Derrick Bennett; >> nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Read Only CGI Patch >> >> Hi Mike, >> >> Derrick, the author of the patch, and a friend of mine, might be able >> to help you with that. He updated the package for Nagios 3 when we >> wrote a book on Nagios together, but yes, was a little while ago. >> >> Derrick? >> >> - Max >> >> On Fri, Jun 12, 2009 at 8:26 PM, Mike Seda wrote: >> >> >>> All, >>> On Nagios 2.9, I was able to perform the Nagios Read Only CGI patch >>> >>> >> and >> >> >>> run "make cgis" without any errors. >>> >>> But I am just slightly afraid of running "make install-cgis" now since >>> the patch is really for Nagios 3.0.3. >>> >>> Has anyone else out there done this? >>> >>> Mike >>> >>> >> ------------------------------------------------------------------------ >> ------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects From maseda at unc.edu Mon Jun 15 06:59:16 2009 From: maseda at unc.edu (Mike Seda) Date: Mon, 15 Jun 2009 00:59:16 -0400 Subject: [Nagios-devel] Read Only CGI Patch In-Reply-To: <4A35CC96.2030003@novageeks.org> References: <4A31961D.1050905@unc.edu> <4A32F22C.5040608@unc.edu> <99487797D76C7841AEEDE4A1DCA86C7005AA6B0E@VNL-LA01EX04S.vmobile-nigeria.com> <4A35191C.7050201@unc.edu> <4A35CC96.2030003@novageeks.org> Message-ID: <4A35D524.7090909@unc.edu> Derrick, Cool! 8-) Thx, Mike local.coder wrote: > Pretty sure I have a 2.9 patch lying around somewhere. > > I will have a 2.9 and a 3.0.3 one posted tomorrow and will resend them > to the list. I have been contemplating re-writing it for more > functionality but I keep saying that the PHP interface is just about to > be released :) > > Thanks, > Derrick > > > Mike Seda wrote: > >> Ayotunde, >> Right, but it would be nice if I could just locate a patch for 2.9. >> >> Derrick, >> Does such a patch exist? >> >> Mike >> >> >> Ayotunde Itayemi wrote: >> >> >>> Hi, >>> One option is to backup all your existing cgis then run "make >>> install-cgis". If anything goes wrong, you just copy the original cgis >>> back into place. Alternatively, don't run "make install-cgis", just >>> backup your existing cgis, then manually copy the newly compiled cgi to >>> your NAGIOS cgi directory (e.g., /usr/local/nagios/sbin) overwriting >>> what's there already. If anything goes wrong, replace them with the >>> backup. >>> Regards, >>> >>> "This mail is from a Gimper" >>> >>> -----Original Message----- >>> From: Max [mailto:perldork at webwizarddesign.com] >>> Sent: Saturday, June 13, 2009 2:56 AM >>> To: Mike Seda >>> Cc: nagios-devel at lists.sourceforge.net; Derrick Bennett; >>> nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Read Only CGI Patch >>> >>> Hi Mike, >>> >>> Derrick, the author of the patch, and a friend of mine, might be able >>> to help you with that. He updated the package for Nagios 3 when we >>> wrote a book on Nagios together, but yes, was a little while ago. >>> >>> Derrick? >>> >>> - Max >>> >>> On Fri, Jun 12, 2009 at 8:26 PM, Mike Seda wrote: >>> >>> >>> >>>> All, >>>> On Nagios 2.9, I was able to perform the Nagios Read Only CGI patch >>>> >>>> >>>> >>> and >>> >>> >>> >>>> run "make cgis" without any errors. >>>> >>>> But I am just slightly afraid of running "make install-cgis" now since >>>> the patch is really for Nagios 3.0.3. >>>> >>>> Has anyone else out there done this? >>>> >>>> Mike >>>> >>>> >>>> >>> ------------------------------------------------------------------------ >>> ------ >>> Crystal Reports - New Free Runtime and 30 Day Trial >>> Check out the new simplified licensing option that enables unlimited >>> royalty-free distribution of the report engine for externally facing >>> server and web deployment. >>> http://p.sf.net/sfu/businessobjects >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Nagios-devel mailing list >> Nagios-devel at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-devel >> >> > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohandas.k at tcs.com Mon Jun 15 10:12:10 2009 From: mohandas.k at tcs.com (Mohandas K) Date: Mon, 15 Jun 2009 13:42:10 +0530 Subject: Export RRD Data to CSV file Message-ID: Hi, I am using RRDTOOL 1.2 to create graphs for memory utilization, CPU utilization etc. Now using this RRD data I need to create CSV file. So can anyone tell me how can I export these RRD data to CSV file. Any kind of help would be really appreciable. Thanks & Regards, Mohandas Kudva K Mailto: mohandas.k at tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Mon Jun 15 10:28:52 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 15 Jun 2009 10:28:52 +0200 Subject: Export RRD Data to CSV file In-Reply-To: References: Message-ID: <4A360644.9040400@univie.ac.at> apt-get install librrds-perl vim exportrrd2csv.pl #!/usr/bin/perl use RRDs; user warnings; use strict; my $fstart = time - 3600; my ($start,$step,$names,$rrddata) = RRDs::fetch($file, "--start=$fstart", "AVERAGE"); my $ERR=RRDs::error; open CSV, ">rrd.csv"; foreach my $line(@rrdata) { //do sth with data array print CSV "$line[0],$line[1]\n"; } close CSV; ------------------ use it as a sample code and configure your params for RRDs::fetch hope that helps. Kind regards, Michael Mohandas K wrote the following on 15.06.2009 10:12: > > Hi, > > I am using RRDTOOL 1.2 to create graphs for memory utilization, CPU > utilization etc. Now using this RRD data I need to create CSV file. So > can anyone tell me how can I export these RRD data to CSV file. Any > kind of help would be really appreciable. > > Thanks & Regards, > Mohandas Kudva K > Mailto: mohandas.k at tcs.com > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 michael.friedrich at univie.ac.at Tel: +43 1 4277 14359 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.kainz at tugraz.at Mon Jun 15 13:35:06 2009 From: simon.kainz at tugraz.at (Simon Kainz) Date: Mon, 15 Jun 2009 13:35:06 +0200 Subject: Allow Users to schedule downtimes Message-ID: <4A3631EA.5030404@tugraz.at> Hi list! I'm currently working on the following problem: My Nagios server is not user-accessible (nice and secure behind several firewalls :-)) I want to grant some selected users rights to schedule downtime (eg. network department changing fibre links, they know when this will happen, so _they_ should be able to schedule a downtime, not me ;-) ). So I thought about a setup where my Nagios server pulls this scheduled downtimes from another server. Is there already something which could help me in setting this up ? Or do you have another suggestions ? Regards, -- DI Simon Kainz Graz, University of Technology Department Computing Phone: ++43 (0) 316 / 873 6885 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Mon Jun 15 15:02:03 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Mon, 15 Jun 2009 15:02:03 +0200 Subject: Antwort: Error Message encountered when using NagVis 1.4 In-Reply-To: References: Message-ID: "Kaplan, Andrew H." schrieb am 10.06.2009 19:49:04: > The given instance name "default" in backend "ndomy_1" is not valid. > > This error occurs if I am at the server console, or if I am viewing > it from a remote host. I made several > changes to the nagvis.ini.php file, and I have enclosed a copy of > the with this e-mail. Can someone > tell me what I need to change in order to get NagVis to work properly? Thanks. You configured nagvis to use the ndo with the name "default", or to be more exact - it is the default setting. The database you named in the nagvis.ini does not contain any ndo instance with the name "default". There's 2 reasons: 1. You did not install ndo at all 2. You configured ndo to use an instance name other then "default" The solution should be obvious. Regards Sascha GFKL Financial Services AG Vorstand: Dr. Peter J?nsch (Vors.), J?rgen Baltes, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Mon Jun 15 16:04:03 2009 From: lmw94002 at hotmail.com (Mat W) Date: Mon, 15 Jun 2009 10:04:03 -0400 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: One way to check on a system reboot I've used before is with NagEventLog. We use NagEventLog to look for certain errors posted to the system/app eventlogs. Note these are "passive" checks so how soon you get notified will depend on the configuration of said passive checks as well as Nagios config. NagEventLog is reasonably configurable to filter our or only look for specific events such as an "unexpected shutdown". -- Mat W. http://www.techadre.com Date: Thu, 11 Jun 2009 16:29:40 -0700 From: teckadmin at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Reboot Notification Marc, I don't think this will work for me ...reason being Nagios will do its check, lets say every minute. If the server reboots unexpectedly and comes up in between that check period, Nagios will never see the reboot. I could be wrong, but is that not accurate? Other application will notify you as soon as the server shuts down or reboots. Is this because its being monitored differently or different checks are being executed. As a Nagios newb, it seems that Nagios has cycles of running checks that the user defines. But I would like to try you suggestion. Will I simply add the define command in the commands.cfg config file and then reference that with the check_command in the hosts.cfg file? Thanks, Kevin M. _________________________________________________________________ Insert movie times and more without leaving Hotmail?. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Mon Jun 15 16:41:22 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Mon, 15 Jun 2009 16:41:22 +0200 Subject: check_nrpe, check_ssh, snmp Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705E911F6@iw50.iwbnet.ch> Hi For the control of the servers I used in nagios(test) the command check_nrpe and that running well.... So, now for the nagios(productive), I'm thinking which is the best solutions: check_nrpe, check_ssh or SNMP? Someone says that for security ground we should only use SNMP? Which should I use? What does the expert advise me? Best regards jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Mon Jun 15 17:54:46 2009 From: lmw94002 at hotmail.com (Mat W) Date: Mon, 15 Jun 2009 11:54:46 -0400 Subject: check_nrpe, check_ssh, snmp In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705E911F6@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705E911F6@iw50.iwbnet.ch> Message-ID: My "production nagios server" is within my production datacenter. Since it is inside the security perimeter of our deployment, I use NRPE over SSL with only the servers local "nrpe.cfg" file with "allowed_hosts" configured for only the internal nagios server. -- Mat W. - lmw94002 at hotmail.com Date: Mon, 15 Jun 2009 16:41:22 +0200 From: Jerome.Meyer at baldata.ch To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe, check_ssh, snmp Hi For the control of the servers I used in nagios(test) the command check_nrpe and that running well?. So, now for the nagios(productive), I?m thinking which is the best solutions: check_nrpe, check_ssh or SNMP? Someone says that for security ground we should only use SNMP? Which should I use? What does the expert advise me? Best regards jerome _________________________________________________________________ Windows Live?: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p1 at fhri.org Mon Jun 15 18:35:06 2009 From: p1 at fhri.org (p1 at fhri.org) Date: Mon, 15 Jun 2009 09:35:06 -0700 Subject: Checking OWA In-Reply-To: References: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEE3@exch1.ea.corp.com> Message-ID: <4F9C3ACB9A61D74ABF0D161858A10B2FD2AEEC@exch1.ea.corp.com> Very cool, thanks Jon for pointing me in the right direction. I'm now actually able to drill down all the way to an individual message and check for content: check_http -H ExchServ1 --ssl -a "dom1\nagios":NagiosPass1 -u /exchange/nagios/Inbox/Nagios%20OWA%20content%20check%20-%20DO%20NOT%20D ELETE.EML?Cmd=open -s "monitor OWA functionality" Exactly what I wanted and then some :) -- Paul -----Original Message----- From: Jon Angliss [mailto:jon at netdork.net] Sent: Friday, June 12, 2009 5:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Checking OWA On Fri, 12 Jun 2009 11:43:29 -0700, wrote: >Trying to use check_http to monitor OWA. I can monitor the site's >response, SSL and even login, but not content, which would be a truly >thorough test I used to be able to do some time back. Getting stuck >with this error, seen in verbose output from the plugin: > >This page uses frames, but your browser doesn't support them. That's exactly what I'd expect to see when you don't actually request the page with content, and just call the main frameset page. > >I see the same error if I disable frame support in Firefox. Anyone else >monitoring OWA content? What content are you actually looking for? Is there a specific email you're looking for? If so, you don't want to call /exchange/nagios, you want to look for the INBOX instead. If you view the source of the frameset page, you will see two frame calls, the body looks something like this: <BODY><P>This page uses frames, but your browser doesn't support them.</P></BODY> Note, I have trimmed the code to make it actually readable. You can see the navigation bar, and the inbox calls. So your nagios check_http call should in fact look like this: ./check_http -H exchange -u "/exchange/nagios/Inbox/?Cmd=contents" -a "dom1\nagios":nagiospass1 -s "...." Another note, you'll find the code for {name} : INBOX is split by HTML code, so your check needs to account for it. In my case, the check would be: -s 'Jonathan Angliss ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ea926p ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vittal.sharada at gmail.com Mon Jun 15 19:10:02 2009 From: vittal.sharada at gmail.com (Sharada) Date: Mon, 15 Jun 2009 13:10:02 -0400 Subject: Issue with NRPE Message-ID: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> Hi, On my monitoring server Nagios is monitoring 3 remote servers. NRPE check is working fine on 2 of them. NRPE was installed using debian packages here. On my 3rd server I have a mail server running Centos 4.5 . I installes NRPE using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I also had my nagios plugins which I moved to /usr/share/nagios/plugins/ [ nagios/ and nagios/plugins in /ush/share was manualy created by me ] The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to access it. NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d Now, On the monitoring server I see SSL handshake issue with NRPE. So, tried - /check_nrpe -n -H hostname Now I get error saying - CHECK_NRPE: Error receiving data from daemon On the mail servr itself I get this error : ./check_nrpe -H localhost ./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open Should I install anything else on the mail server? thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vittal.sharada at gmail.com Mon Jun 15 19:22:03 2009 From: vittal.sharada at gmail.com (Sharada) Date: Mon, 15 Jun 2009 13:22:03 -0400 Subject: Issue with NRPE In-Reply-To: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> References: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> Message-ID: <20c1ff790906151022q2260a44cn66174ec5fe7ac1c@mail.gmail.com> Hi, On my monitoring server Nagios is monitoring 3 remote servers. NRPE check is working fine on 2 of them. NRPE was installed using debian packages here. On my 3rd server I have a mail server running Centos 4.5 . I installes NRPE using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I also had my nagios plugins which I moved to /usr/share/nagios/plugins/ [ nagios/ and nagios/plugins in /ush/share was manualy created by me ] The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to access it. NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d Now, On the monitoring server I see SSL handshake issue with NRPE. So, tried - /check_nrpe -n -H hostname Now I get error saying - CHECK_NRPE: Error receiving data from daemon On the mail servr itself I get this error : ./check_nrpe -H localhost ./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open Should I install anything else on the mail server? thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Mon Jun 15 19:22:18 2009 From: lmw94002 at hotmail.com (Mat W) Date: Mon, 15 Jun 2009 13:22:18 -0400 Subject: Issue with NRPE In-Reply-To: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> References: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> Message-ID: sounds like you did not have the appropriate SSL libraries available at the time of NRPE installation? Or perhaps it could not locate the library during install. do you have any libssl.so file present? usually install the ssl devel package fixes alot of ssl type errors w/ nagios/nrpe. -- Mat W. - http://www.techadre.com Date: Mon, 15 Jun 2009 13:10:02 -0400 From: vittal.sharada at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Issue with NRPE Hi, On my monitoring server Nagios is monitoring 3 remote servers. NRPE check is working fine on 2 of them. NRPE was installed using debian packages here. On my 3rd server I have a mail server running Centos 4.5 . I installes NRPE using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I also had my nagios plugins which I moved to /usr/share/nagios/plugins/ [ nagios/ and nagios/plugins in /ush/share was manualy created by me ] The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to access it. NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d Now, On the monitoring server I see SSL handshake issue with NRPE. So, tried - /check_nrpe -n -H hostname Now I get error saying - CHECK_NRPE: Error receiving data from daemon On the mail servr itself I get this error : ./check_nrpe -H localhost ./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot open Should I install anything else on the mail server? thanks! _________________________________________________________________ Insert movie times and more without leaving Hotmail?. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Jun 15 19:30:20 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 15 Jun 2009 10:30:20 -0700 Subject: Issue with NRPE In-Reply-To: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> References: <20c1ff790906151010v2233c229vcd57d8683ea4cf62@mail.gmail.com> Message-ID: <6db4a4200906151030w7a218e00pd3eba003f4096ddf@mail.gmail.com> Sharada, check the permission on the monitoring server for the actual plugin you are calling. Make sure check_nrpe has the proper permission. Also make sure you have the right version of nrpe and nrpe plugin. The nrpe server and the check_nrpe has to be same version. I always found it easy to install it from the source than working with prebuilt package. I hope this works for you. Thanks On Mon, Jun 15, 2009 at 10:10 AM, Sharada wrote: > Hi, > > On my monitoring server Nagios is monitoring 3 remote servers. NRPE check > is working fine on 2 of them. NRPE was installed using debian packages here. > On my 3rd server I have a mail server running Centos 4.5 . I installes NRPE > using - nrpe-2.12-3.el4.i386.rpm. ( rpm -ivh nrpe-2.12-3.el4.i386.rpm ). I > also had my nagios plugins which I moved to /usr/share/nagios/plugins/ [ > nagios/ and nagios/plugins in /ush/share was manualy created by me ] > > The /etc/nagios/nrpe.cfg has been configured to allow monitoring server to > access it. > > NRPE is running on the mail server - /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg > -d > > Now, On the monitoring server I see SSL handshake issue with NRPE. > So, tried - /check_nrpe -n -H hostname > Now I get error saying - CHECK_NRPE: Error receiving data from daemon > > On the mail servr itself I get this error : > ./check_nrpe -H localhost > ./check_nrpe: error while loading shared libraries: libssl.so.0.9.8: cannot > open > > Should I install anything else on the mail server? > > thanks! > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Mon Jun 15 19:59:10 2009 From: kfreels at sendmail.com (Kevin Freels) Date: Mon, 15 Jun 2009 10:59:10 -0700 Subject: check_mailq, nrpe, and root perms on client Message-ID: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> Greetings!!! Errata: Nagios 3.0 I have nrpe running quite well on several clients, but I am having some problems with running root-perm'd commands on the client via nrpe. The critical one I need is check_mailq, which calls the standard UNIX "mailq" command, but there are also others (check_mem, check_log) The problem is that mailq requires root priv's to do this. Since I run nrpe in daemon mode under the nagios user, it fails with: CRITICAL: Error code 78 returned from /usr/bin/mailq Just for sanity check, I su'd into the nagios user and tried to run it, and it fails. I was able to get it working with sudo by adding the user nagios to the client's sudoers with only that command, and then adding the appropriate "sudo" in front of the check_mailq command in nrpe.cfg: command[check_mailq]=sudo /usr/local/nagios/libexec/check_mailq -w 50 -c 75 It also works on the client as the nagios user. However, as sudo is designed to do, it logs every command run under it, so I wind up getting an email for every instance the check is made. Multiply that times several servers and services, and I am now getting flooded with emails that are essentially unnecessary. I also thought of: -- running nrpe as "root" (not comfortable with that) -- SUID on check_mailq -- chown'ing check_mailq root:root I'm stumped.... Any ideas are greatly appreciated! Thanks in advance!! ....k -=-=-=- Kevin Freels Director of Information Technology Sendmail, Inc. kfreels at sendmail.com 510/594.5572 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Mon Jun 15 20:27:10 2009 From: lmw94002 at hotmail.com (Mat W) Date: Mon, 15 Jun 2009 14:27:10 -0400 Subject: check_mailq, nrpe, and root perms on client In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> Message-ID: hrm, i don't run check_mem as root and it works fine. Is the check_mem script owned by the nagios user and/or executable by the nagios user? As for mailq, I would suggest SUDO as the best route. You can configure very specific sudo permissions to only allow the Nagios user to run very specific commands. -- Mat W. - http://www.techadre.com > Date: Mon, 15 Jun 2009 10:59:10 -0700 > From: kfreels at sendmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_mailq, nrpe, and root perms on client > > Greetings!!! > > Errata: Nagios 3.0 > > I have nrpe running quite well on several clients, but I am having some > problems with running root-perm'd commands on the client via nrpe. The > critical one I need is check_mailq, which calls the standard UNIX > "mailq" command, but there are also others (check_mem, check_log) > > The problem is that mailq requires root priv's to do this. Since I run > nrpe in daemon mode under the nagios user, it fails with: > > CRITICAL: Error code 78 returned from /usr/bin/mailq > > Just for sanity check, I su'd into the nagios user and tried to run it, > and it fails. I was able to get it working with sudo by adding the user > nagios to the client's sudoers with only that command, and then adding > the appropriate "sudo" in front of the check_mailq command in nrpe.cfg: > > command[check_mailq]=sudo /usr/local/nagios/libexec/check_mailq -w 50 > -c 75 > > It also works on the client as the nagios user. > > However, as sudo is designed to do, it logs every command run under it, > so I wind up getting an email for every instance the check is made. > Multiply that times several servers and services, and I am now getting > flooded with emails that are essentially unnecessary. > > I also thought of: > > -- running nrpe as "root" (not comfortable with that) > -- SUID on check_mailq > -- chown'ing check_mailq root:root > > I'm stumped.... > > Any ideas are greatly appreciated! Thanks in advance!! > > > ....k > -=-=-=- > Kevin Freels > Director of Information Technology > Sendmail, Inc. > kfreels at sendmail.com 510/594.5572 > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Windows Live? SkyDrive?: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 15 20:48:40 2009 From: marc at ena.com (Marc Powell) Date: Mon, 15 Jun 2009 13:48:40 -0500 Subject: check_mailq, nrpe, and root perms on client In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> Message-ID: <2501B155-C9BB-485F-821C-0DB704AD00E6@ena.com> On Jun 15, 2009, at 12:59 PM, Kevin Freels wrote: > However, as sudo is designed to do, it logs every command run under > it, > so I wind up getting an email for every instance the check is made. > Multiply that times several servers and services, and I am now getting > flooded with emails that are essentially unnecessary. Where are the e-mails coming from? sudo logs normally but only sends an e-mail if you've specifically configured it to do so (mail_always). That's off by default in all the distributions I have experience with (and that I can recall)... If that's something you don't really need then turn it off. If you're concerned about security then perhaps some of the other mail_* settings in sudoers might be more useful. > I also thought of: > > -- running nrpe as "root" (not comfortable with that) > -- SUID on check_mailq > -- chown'ing check_mailq root:root I personally don't like any of those options. I don't use check_mailq and wrote my own that fits our environment better but at the heart of it, I use 'sudo /usr/lib/sendmail...' so there's my vote ;) -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Jun 15 20:50:58 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 15 Jun 2009 11:50:58 -0700 Subject: ndo utils question In-Reply-To: <6db4a4200906121238s27f6bd89u8c4204d17d8e4e0f@mail.gmail.com> References: <6db4a4200906090742p42424679tefab24a12829cb73@mail.gmail.com> <4A2E9625.3050000@op5.se> <6db4a4200906100817v4b2b263blfb43ff5b981b1403@mail.gmail.com> <6db4a4200906121238s27f6bd89u8c4204d17d8e4e0f@mail.gmail.com> Message-ID: <6db4a4200906151150l32cb0fbep7a8dae9fb305050d@mail.gmail.com> I am running nagios version 3.0.6 and ndoutils 1.47b. My nagios is running properly without any error. However in my ndoutils database I am seeing is_active is always 0. Can someone direct me to right direction to solve this problem. Thanks On Fri, Jun 12, 2009 at 12:38 PM, shadih rahman wrote: > > Can someone please tell me why am I seeing all my nagios_objects are > shwoing is_active 0 in nagios_objects table of my ndoutils database? Thanks > in advance. > > > On Wed, Jun 10, 2009 at 11:17 AM, shadih rahman wrote: > >> is_active shows 0 for all my entries nagios_object. Can someone tell me >> if is it due configuration issue or a bug? Please advise on this. Thanks >> >> >> On Tue, Jun 9, 2009 at 1:04 PM, Andreas Ericsson wrote: >> >>> shadih rahman wrote: >>> >>>> All, >>>> I have been running ndoutils with nagios for a while. When I >>>> initially >>>> setup my nagios, I played around with a lot of different service checks >>>> and >>>> changed around a lot of config parameters. Now, I have a solid setup >>>> and I >>>> have not changed configuration for a while. When I go into the database >>>> and >>>> look at nagios_objects tables, I see all sorts of old objects which do >>>> not >>>> exist in my current setup. Does ndoutils clean up and throw away old >>>> config >>>> when we start nagios? >>>> >>> >>> No, but it marks them as inactive (or some such). >>> >>> -- >>> 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. >>> >> >> >> >> -- >> Cordially, >> Shadhin Rahman >> > > > > -- > Cordially, > Shadhin Rahman > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Mon Jun 15 21:02:01 2009 From: kfreels at sendmail.com (Kevin Freels) Date: Mon, 15 Jun 2009 12:02:01 -0700 Subject: check_mailq, nrpe, and root perms on client In-Reply-To: References: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> Message-ID: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91F7@platypus> Hi, Mat! Actually (as below), I did get sudo to work; it's just that I get bombarded with an email for each command run. For certain clients, the three services (check_mailq, check_mem, and check_log) all need it, and when Nagios makes it's checks every five minutes, that's 36 sudo messages sent to root every hour. Ten nrpe clients, and suddenly it's 360 messages an hour. In a weekend, it would be thousands. I've done my research on seeing if sudo can be set to not log certain commands/users/groups, but haven't found anything. I think that's because sudo was never meant to be ignored when a command is run; you *want* to be notified if someone runs a root comand as a mortal user. It's unwieldable to set up mail filters to filter out those messages, since, as I said, sudo's purpose it to inform. Add that you'd need to do this every time a new client is added, and it's simply not an elegant solution. Obviously, someone wrote check_mailq and it was included in the distributions, so it must have worked at one point in time (or there was a workaround to get it to work). As for check_mem, it does work just fine on some systems, but not on others (I think it's the ones that require vmstat as the base for checking the memory). ....k -=-=-=- > -----Original Message----- > From: Mat W [mailto:lmw94002 at hotmail.com] > Sent: Monday, June 15, 2009 11:27 AM > To: Kevin Freels; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_mailq, nrpe, and root perms > on client > > hrm, i don't run check_mem as root and it works fine. > > Is the check_mem script owned by the nagios user and/or > executable by the nagios user? > > As for mailq, I would suggest SUDO as the best route. You > can configure very specific sudo permissions to only allow > the Nagios user to run very specific commands. > > -- > Mat W. - http://www.techadre.com > > > > > Date: Mon, 15 Jun 2009 10:59:10 -0700 > > From: kfreels at sendmail.com > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_mailq, nrpe, and root perms on client > > > > Greetings!!! > > > > Errata: Nagios 3.0 > > > > I have nrpe running quite well on several clients, but I am > having some > > problems with running root-perm'd commands on the client > via nrpe. The > > critical one I need is check_mailq, which calls the standard UNIX > > "mailq" command, but there are also others (check_mem, check_log) > > > > The problem is that mailq requires root priv's to do this. > Since I run > > nrpe in daemon mode under the nagios user, it fails with: > > > > CRITICAL: Error code 78 returned from /usr/bin/mailq > > > > Just for sanity check, I su'd into the nagios user and > tried to run it, > > and it fails. I was able to get it working with sudo by > adding the user > > nagios to the client's sudoers with only that command, and > then adding > > the appropriate "sudo" in front of the check_mailq command > in nrpe.cfg: > > > > command[check_mailq]=sudo > /usr/local/nagios/libexec/check_mailq -w 50 > > -c 75 > > > > It also works on the client as the nagios user. > > > > However, as sudo is designed to do, it logs every command > run under it, > > so I wind up getting an email for every instance the check is made. > > Multiply that times several servers and services, and I am > now getting > > flooded with emails that are essentially unnecessary. > > > > I also thought of: > > > > -- running nrpe as "root" (not comfortable with that) > > -- SUID on check_mailq > > -- chown'ing check_mailq root:root > > > > I'm stumped.... > > > > Any ideas are greatly appreciated! Thanks in advance!! > > > > > > ....k > > -=-=-=- > > Kevin Freels > > Director of Information Technology > > Sendmail, Inc. > > kfreels at sendmail.com 510/594.5572 > > > > > -------------------------------------------------------------- > ---------------- > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for > externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ________________________________ > > Windows Live(tm) SkyDrive(tm): Get 25 GB of free online storage. > Get it on your BlackBerry or iPhone. > 5GB_062009> > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kfreels at sendmail.com Mon Jun 15 21:07:49 2009 From: kfreels at sendmail.com (Kevin Freels) Date: Mon, 15 Jun 2009 12:07:49 -0700 Subject: check_mailq, nrpe, and root perms on client In-Reply-To: <2501B155-C9BB-485F-821C-0DB704AD00E6@ena.com> References: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> <2501B155-C9BB-485F-821C-0DB704AD00E6@ena.com> Message-ID: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91F8@platypus> > Where are the e-mails coming from? sudo logs normally but > only sends an e-mail if you've specifically configured it to > do so (mail_always). > That's off by default in all the distributions I have > experience with (and that I can recall)... If that's > something you don't really need then turn it off. If you're > concerned about security then perhaps some of the other > mail_* settings in sudoers might be more useful. Yes, it does come from sudo. And, yes, we are pretty stringient about security. Although I was not the one who config'd sudo on the systems I'm monitoring, some of them are of a sensitive nature and I agree that they should be tracked. But I'll investigate the other mail_* options; I didn't see anything that could be turned off in the sudoers file for commands/users/grounps. > > I also thought of: > > > > -- running nrpe as "root" (not comfortable with that) > > -- SUID on check_mailq > > -- chown'ing check_mailq root:root > > I personally don't like any of those options. I don't use > check_mailq and wrote my own that fits our environment better > but at the heart of it, I use 'sudo /usr/lib/sendmail...' so > there's my vote ;) I don't like them either for the security risks that they entail. However, I would be interested in your solution. > Marc Thanks!!!!!! ....k ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Mon Jun 15 20:56:43 2009 From: BChan at Shawcor.com (Brian Chan) Date: Mon, 15 Jun 2009 14:56:43 -0400 Subject: Chan, Brian is out of the office. Message-ID: I will be out of the office starting 06/15/2009 and will not return until 06/22/2009. I will respond to your message when I return. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 15 21:51:46 2009 From: marc at ena.com (Marc Powell) Date: Mon, 15 Jun 2009 14:51:46 -0500 Subject: check_mailq, nrpe, and root perms on client In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91F8@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> <2501B155-C9BB-485F-821C-0DB704AD00E6@ena.com> <556AE10AFFB7484B833AF9BE7BF9FD3B010A91F8@platypus> Message-ID: <51C2FFAB-BB45-495D-B2A8-FE60F92ECB4E@ena.com> On Jun 15, 2009, at 2:07 PM, Kevin Freels wrote: >> I personally don't like any of those options. I don't use >> check_mailq and wrote my own that fits our environment better >> but at the heart of it, I use 'sudo /usr/lib/sendmail...' so >> there's my vote ;) > > I don't like them either for the security risks that they entail. > However, I would be interested in your solution. My solution was to use sudo, with the default sudoers option of mail_always set to off. ;) -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Mon Jun 15 22:10:14 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 15 Jun 2009 13:10:14 -0700 Subject: nagios2: failover Message-ID: <2d4ba7ab0906151310q7e8cd83dq724ca27c64712521@mail.gmail.com> Hello Nagios Users, I'm attempting to setup a second nagios server up to do failover monitoring in case my primary nagios server goes down. Running into a odd problem in talking to the nrpe daemon on the master server..... When I run the following cmd prompt, nrpe does not allow me to connect from the new host even though it is specified in the master nagios server nrpe.cfg file. SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load Connection refused by host However, when i run the same cmd for another host, it returns successfully. SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg allowed_hosts directive and the nrpe daemon has been restarted. Any insight on this issue? I am running Nagios 2.11. Thanks, JJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jun 15 21:59:03 2009 From: marc at ena.com (Marc Powell) Date: Mon, 15 Jun 2009 14:59:03 -0500 Subject: check_mailq, nrpe, and root perms on client In-Reply-To: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91F7@platypus> References: <556AE10AFFB7484B833AF9BE7BF9FD3B010A91DD@platypus> <556AE10AFFB7484B833AF9BE7BF9FD3B010A91F7@platypus> Message-ID: <15B3DA21-C504-43BE-9EBA-D01F4D447EEE@ena.com> On Jun 15, 2009, at 2:02 PM, Kevin Freels wrote: > I've done my research on seeing if sudo can be set to not log certain > commands/users/groups, but haven't found anything. I think that's > because sudo was never meant to be ignored when a command is run; you > *want* to be notified if someone runs a root comand as a mortal user. Not particularly. IMHO, you've given them permission to run the command; isn't that good enough? That's why most of the mail_* options are to notify you of exceptions to that. > It's unwieldable to set up mail filters to filter out those messages, > since, as I said, sudo's purpose it to inform. Add that you'd need > to do > this every time a new client is added, and it's simply not an elegant > solution. > > Obviously, someone wrote check_mailq and it was included in the > distributions, so it must have worked at one point in time (or there > was > a workaround to get it to work). It is working and there's no workaround needed in standard installs. The choice made in your specific sudo configuration (mail_always = yes), isn't the norm IMHO so you're seeing different behavior. There may not be a workaround that isn't unwieldy (filters and the like) or that potentially compromises your security (suid, etc). -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 16 00:16:55 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 15 Jun 2009 18:16:55 -0400 Subject: NConf 1.2.5 released In-Reply-To: <1244833017PHP-mail@stars.access.ch> References: <1244833017PHP-mail@stars.access.ch> Message-ID: Hi there -- I want to set up a Nagios 3.1.0 server, and import the configuration files from our current 2.6 server. I noticed that NConf has config importer as part of its features. Has anyone used this importer successfully in a manner similar to the one that I described? Thanks. -----Original Message----- From: agargiulo at users.sourceforge.net [mailto:agargiulo at users.sourceforge.net] Sent: Friday, June 12, 2009 2:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NConf 1.2.5 released The new version of NConf is out! http://nconf.sourceforge.net Among many improvements and fixes, the main new features are: - clone services between hosts - host dependency view - static file editor - Nagios config importer (BETA) - database API (BETA) ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Tue Jun 16 00:22:21 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 15 Jun 2009 15:22:21 -0700 Subject: nagios2: failover In-Reply-To: <2d4ba7ab0906151310q7e8cd83dq724ca27c64712521@mail.gmail.com> References: <2d4ba7ab0906151310q7e8cd83dq724ca27c64712521@mail.gmail.com> Message-ID: <2d4ba7ab0906151522o28b112c6o434cc8b5bb76552a@mail.gmail.com> Oops, Looks like i had an error in my configuration file. Next question: Any idea why check_nagios can't find the running process? $/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios NAGIOS CRITICAL: Could not locate a running Nagios process! Nothing in /var/log/nagios2/nagios.log about this message. I can verify the nrpe and nagios are working as the following command returns succesfully. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0; load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0; Thanks, JJ On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester wrote: > Hello Nagios Users, > > I'm attempting to setup a second nagios server up to do failover monitoring > in case my primary nagios server goes down. > > Running into a odd problem in talking to the nrpe daemon on the master > server..... > > When I run the following cmd prompt, nrpe does not allow me to connect from > the new host even though it is specified in the master nagios server > nrpe.cfg file. > > SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load > Connection refused by host > > However, when i run the same cmd for another host, it returns successfully. > > SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load > OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; > load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; > > **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg > allowed_hosts directive and the nrpe daemon has been restarted. > > Any insight on this issue? I am running Nagios 2.11. > > Thanks, > JJ > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremiahjester at gmail.com Tue Jun 16 00:26:31 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 15 Jun 2009 15:26:31 -0700 Subject: nagios2: failover In-Reply-To: <2d4ba7ab0906151522o28b112c6o434cc8b5bb76552a@mail.gmail.com> References: <2d4ba7ab0906151310q7e8cd83dq724ca27c64712521@mail.gmail.com> <2d4ba7ab0906151522o28b112c6o434cc8b5bb76552a@mail.gmail.com> Message-ID: <2d4ba7ab0906151526ra815dbjcfce7f5ab373d705@mail.gmail.com> Scratch that. Process was stuck. Killed and restart nagios server. Thanks! JJ On Mon, Jun 15, 2009 at 3:22 PM, Jeremiah Jester wrote: > Oops, Looks like i had an error in my configuration file. > > Next question: Any idea why check_nagios can't find the running process? > > $/usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_nagios > NAGIOS CRITICAL: Could not locate a running Nagios process! > > Nothing in /var/log/nagios2/nagios.log about this message. I can verify the > nrpe and nagios are working as the following command returns succesfully. > > $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load > OK - load average: 1.00, 1.04, 1.05|load1=1.000;15.000;30.000;0; > load5=1.040;10.000;25.000;0; load15=1.050;5.000;20.000;0; > > Thanks, > JJ > > > On Mon, Jun 15, 2009 at 1:10 PM, Jeremiah Jester > wrote: > >> Hello Nagios Users, >> >> I'm attempting to setup a second nagios server up to do failover >> monitoring in case my primary nagios server goes down. >> >> Running into a odd problem in talking to the nrpe daemon on the master >> server..... >> >> When I run the following cmd prompt, nrpe does not allow me to connect >> from the new host even though it is specified in the master nagios server >> nrpe.cfg file. >> >> SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load >> Connection refused by host >> >> However, when i run the same cmd for another host, it returns >> successfully. >> >> SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load >> OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; >> load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; >> >> **Note thta the IP for the nagios failover server IS listed in the >> nrpe.cfg allowed_hosts directive and the nrpe daemon has been restarted. >> >> Any insight on this issue? I am running Nagios 2.11. >> >> Thanks, >> JJ >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Tue Jun 16 08:26:06 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Tue, 16 Jun 2009 08:26:06 +0200 Subject: check_nrpe, check_ssh, snmp In-Reply-To: References: <46EEEA5FAED9CA479556002BA9C27FD705E911F6@iw50.iwbnet.ch> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705E912CC@iw50.iwbnet.ch> Thanks for your advice... Regards jerome Von: Mat W [mailto:lmw94002 at hotmail.com] Gesendet: Montag, 15. Juni 2009 17:55 An: Meyer Jerome; nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] check_nrpe, check_ssh, snmp My "production nagios server" is within my production datacenter. Since it is inside the security perimeter of our deployment, I use NRPE over SSL with only the servers local "nrpe.cfg" file with "allowed_hosts" configured for only the internal nagios server. -- Mat W. - lmw94002 at hotmail.com ________________________________ Date: Mon, 15 Jun 2009 16:41:22 +0200 From: Jerome.Meyer at baldata.ch To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe, check_ssh, snmp Hi For the control of the servers I used in nagios(test) the command check_nrpe and that running well.... So, now for the nagios(productive), I'm thinking which is the best solutions: check_nrpe, check_ssh or SNMP? Someone says that for security ground we should only use SNMP? Which should I use? What does the expert advise me? Best regards jerome ________________________________ Windows Live(tm): Keep your life in sync. Check it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 08:41:55 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Jun 2009 08:41:55 +0200 Subject: nagios2: failover In-Reply-To: <2d4ba7ab0906151310q7e8cd83dq724ca27c64712521@mail.gmail.com> References: <2d4ba7ab0906151310q7e8cd83dq724ca27c64712521@mail.gmail.com> Message-ID: <4A373EB3.1020707@op5.se> Jeremiah Jester wrote: > Hello Nagios Users, > > I'm attempting to setup a second nagios server up to do failover monitoring > in case my primary nagios server goes down. > > Running into a odd problem in talking to the nrpe daemon on the master > server..... > > When I run the following cmd prompt, nrpe does not allow me to connect from > the new host even though it is specified in the master nagios server > nrpe.cfg file. > > SLAVE$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.41 -c check_load > Connection refused by host > > However, when i run the same cmd for another host, it returns successfully. > > SLAVE:~$ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.43 -c check_load > OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0; > load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0; > > **Note thta the IP for the nagios failover server IS listed in the nrpe.cfg > allowed_hosts directive and the nrpe daemon has been restarted. > Double-check this with cut 'n paste. 9/10, this is actually the issue but with a typo somewhere, or the same IP written in both nrpe.cfg files. -- 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajashekar.s at excelindia.com Tue Jun 16 07:32:28 2009 From: rajashekar.s at excelindia.com (rajashekar.s) Date: Tue, 16 Jun 2009 11:02:28 +0530 Subject: NDO Utils is not running even after repeated attempts Message-ID: <4A372E6C.30903@excelindia.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RajSignature.bmp Type: image/bmp Size: 68054 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 11:34:42 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 16 Jun 2009 02:34:42 -0700 Subject: NDO Utils is not running even after repeated attempts In-Reply-To: <4A372E6C.30903@excelindia.com> References: <4A372E6C.30903@excelindia.com> Message-ID: <4A376732.2070802@kkeane.com> I don't see where you specified the db_host in ndo2db.cfg. rajashekar.s wrote: > Hi all, > I have installed Nagios 3.0.6 and Nagios Plugin-1.4.13 and NDO > Utils1.4b7 as given in the installtion manual. but I get message > ndomod:Still unable to connect to data sink > > The following are the related config settings > *_ndo2db.cfg_* > > ndo2db_user=nagios > ndo2db_group=nagios > socket_type=tcp > tcp_port=5668 > db_servertype=MySQL > db_port=3306 > db_name=nagios > db_prefix=nagios_ > db_user=nagios > db_pass=nagios > max_timedevents_age=1440 > max_systemcommands_age=10080 > max_servicechecks_age=10080 > max_hostchecks_age=10080 > max_eventhandlers_age=44640 > debug_level=-1 > debug_verbosity=1 > debug_file=/usr/local/nagios/var/ndo2db.debug > max_debug_file_size=1000000 > > *_ndomod_* > > instance_name=default > output_type=tcpsocket > output=127.0.0.1 > tcp_port=5668 > output_buffer_items=5000 > buffer_file=/usr/local/nagios/var/ndomod.tmp > file_rotation_interval=14400 > file_rotation_timeout=60 > reconnect_interval=15 > reconnect_warning_interval=15 > data_processing_options=-1 > config_output_options=2 > > *_my.cnf (MySQL)_* > > [client] > port = 3306 > socket = /var/run/mysqld/mysqld.sock > > [mysqld_safe] > socket = /var/run/mysqld/mysqld.sock > nice = 0 > > [mysqld] > > user = mysql > pid-file = /var/run/mysqld/mysqld.pid > socket = /var/run/mysqld/mysqld.sock > port = 3306 > basedir = /usr > datadir = /var/lib/mysql > tmpdir = /tmp > language = /usr/share/mysql/english > skip-external-locking > > key_buffer = 16M > max_allowed_packet = 16M > thread_stack = 128K > thread_cache_size = 8 > max_connections = 100 > table_cache = 64 > thread_concurrency = 10 > > query_cache_limit = 1M > query_cache_size = 16M > > expire_logs_days = 10 > max_binlog_size = 100M > > skip-bdb > > [mysqldump] > quick > quote-names > max_allowed_packet = 16M > > [mysql] > > [isamchk] > key_buffer = 16M > > !includedir /etc/mysql/conf.d/ > > I request you help > -- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Tue Jun 16 12:16:49 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 16 Jun 2009 10:16:49 +0000 (GMT) Subject: nagios to detect collisions Message-ID: <10435.25103.qm@web26204.mail.ukl.yahoo.com> Hi folks, Is there a plugin available on nagios to monitor collisions on extreme switches? thank you for giving hints also. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon-gM/Ye1E23mwN+BqQ9rBEUg at public.gmane.org Tue Jun 16 12:38:58 2009 From: hpsekhon-gM/Ye1E23mwN+BqQ9rBEUg at public.gmane.org (Hari Sekhon) Date: Tue, 16 Jun 2009 11:38:58 +0100 Subject: [Nagios-users] nagios to detect collisions In-Reply-To: <10435.25103.qm-bwsqk4lQPv7GRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org> References: <10435.25103.qm@web26204.mail.ukl.yahoo.com> Message-ID: <4A377642.8020709@googlemail.com> Melanie Pfefer wrote: > Is there a plugin available on nagios to monitor collisions on extreme switches Have you checked NagiosExchange? If the switches have snmp, it may be worth checking to see if they offer up any OID on collision statistics and then using an snmp check on that. -h -- Hari Sekhon Currently open to new opportunity http://www.linkedin.com/in/harisekhon ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Jun 16 13:47:14 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 16 Jun 2009 04:47:14 -0700 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: References: Message-ID: <4A378642.1080304@kkeane.com> I just installed ndoutils with mysql. There indeed was one pitfall: the database is growing quite large very quickly. Eventually, the DB got sluggish and couldn't keep up with the data Nagios threw at it (the DB server is quite underpowered). It got so bad that after a week or so, Nagios wouldn't even start up. It turned out that it wasn't primarily the database itself, but binary logging. It is turned on by default (at least on CentOS) but you only need it for replication. If you are not using replication, simply turn off binary logging and you should be good to go. At least, I hope so; I only made that change yesterday, so I won't know for another week or so. Rahul Nabar wrote: > I was tempted to install Nagvis but unfortunately it needs Ndoutils > which I am not using so far. > > I could install ndoutils but am afraid about breaking my production > Nagios environment. Especially because of the warning in the ndoutils > README about the code being alpha/beta quality. > > Any ndoutils users? How stable is it? Any pitfalls while installation? > > Or should I avoid ndoutils entirely? Is there any workaround to get > Nagvis working? > > -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Tue Jun 16 13:50:36 2009 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 16 Jun 2009 13:50:36 +0200 (CEST) Subject: Nagios notifications flowchart Message-ID: <19674.213.255.109.107.1245153036.squirrel@picard.linux.it> Hi, I just wrote a flowchart on Nagios notifications, if you are interested in. It's in pdf (click on the image to download the pdf). http://www.zarrelli.org/blog/2009/06/16/quaderni-di-nagios-notifications-flowchart/ Giorgio ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jun 16 13:40:36 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 16 Jun 2009 04:40:36 -0700 Subject: NDO Utils is not running even after repeated attempts In-Reply-To: <4A37838B.50203@excelindia.com> References: <4A372E6C.30903@excelindia.com> <4A376732.2070802@kkeane.com> <4A37838B.50203@excelindia.com> Message-ID: <4A3784B4.9060904@kkeane.com> OK, that explains it. Use 127.0.01 instead. MySQL tries to be "smart" and in the process confuses everybody; it interprets "localhost" to mean "I want to use Unix sockets". But based on your configuration file, you obviously want to use TCP sockets. Using the IP address instead tells MySQL to use TCP sockets even when connecting locally. And please respond back to the group so others benefit from the answer as well. rajashekar.s wrote: > Dear kevin, > Sorry i have missed it while doing copy paste operation > *db_host = localhost* > I have defined in ndo2db.cfg file > > Thanks > Rajshekar > > Kevin Keane wrote: >> I don't see where you specified the db_host in ndo2db.cfg. >> >> rajashekar.s wrote: >> >>> Hi all, >>> I have installed Nagios 3.0.6 and Nagios Plugin-1.4.13 and NDO >>> Utils1.4b7 as given in the installtion manual. but I get message >>> ndomod:Still unable to connect to data sink >>> >>> The following are the related config settings >>> *_ndo2db.cfg_* >>> >>> ndo2db_user=nagios >>> ndo2db_group=nagios >>> socket_type=tcp >>> tcp_port=5668 >>> db_servertype=MySQL >>> db_port=3306 >>> db_name=nagios >>> db_prefix=nagios_ >>> db_user=nagios >>> db_pass=nagios >>> max_timedevents_age=1440 >>> max_systemcommands_age=10080 >>> max_servicechecks_age=10080 >>> max_hostchecks_age=10080 >>> max_eventhandlers_age=44640 >>> debug_level=-1 >>> debug_verbosity=1 >>> debug_file=/usr/local/nagios/var/ndo2db.debug >>> max_debug_file_size=1000000 >>> >>> *_ndomod_* >>> >>> instance_name=default >>> output_type=tcpsocket >>> output=127.0.0.1 >>> tcp_port=5668 >>> output_buffer_items=5000 >>> buffer_file=/usr/local/nagios/var/ndomod.tmp >>> file_rotation_interval=14400 >>> file_rotation_timeout=60 >>> reconnect_interval=15 >>> reconnect_warning_interval=15 >>> data_processing_options=-1 >>> config_output_options=2 >>> >>> *_my.cnf (MySQL)_* >>> >>> [client] >>> port = 3306 >>> socket = /var/run/mysqld/mysqld.sock >>> >>> [mysqld_safe] >>> socket = /var/run/mysqld/mysqld.sock >>> nice = 0 >>> >>> [mysqld] >>> >>> user = mysql >>> pid-file = /var/run/mysqld/mysqld.pid >>> socket = /var/run/mysqld/mysqld.sock >>> port = 3306 >>> basedir = /usr >>> datadir = /var/lib/mysql >>> tmpdir = /tmp >>> language = /usr/share/mysql/english >>> skip-external-locking >>> >>> key_buffer = 16M >>> max_allowed_packet = 16M >>> thread_stack = 128K >>> thread_cache_size = 8 >>> max_connections = 100 >>> table_cache = 64 >>> thread_concurrency = 10 >>> >>> query_cache_limit = 1M >>> query_cache_size = 16M >>> >>> expire_logs_days = 10 >>> max_binlog_size = 100M >>> >>> skip-bdb >>> >>> [mysqldump] >>> quick >>> quote-names >>> max_allowed_packet = 16M >>> >>> [mysql] >>> >>> [isamchk] >>> key_buffer = 16M >>> >>> !includedir /etc/mysql/conf.d/ >>> >>> I request you help >>> -- >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> Crystal Reports - New Free Runtime and 30 Day Trial >>> Check out the new simplified licensing option that enables unlimited >>> royalty-free distribution of the report engine for externally facing >>> server and web deployment. >>> http://p.sf.net/sfu/businessobjects >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> > > > -- -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebaddouh at gmail.com Tue Jun 16 17:53:11 2009 From: ebaddouh at gmail.com (edward baddouh) Date: Tue, 16 Jun 2009 11:53:11 -0400 Subject: Configuration files obfuscation Message-ID: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> Hi, is ther a way to obfuscate configuration files? edward -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp-intl.com Tue Jun 16 19:03:32 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 16 Jun 2009 17:03:32 +0000 Subject: Configuration files obfuscation In-Reply-To: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> References: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> Message-ID: <200906161703.32263.assaf.flatto@ssp-intl.com> On Tuesday 16 June 2009 15:53:11 edward baddouh wrote: > Hi, > > is ther a way to obfuscate configuration files? > > edward You want the files to be more confusing then they are now ??? the easiest way is not to give self explanatory names to the files / directories . btw - i have a question about this ... Why ?? Are you trying to make the work on the configuration worse for yourself ? -- Assaf Flatto IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srianirudh at gmail.com Tue Jun 16 18:46:49 2009 From: srianirudh at gmail.com (Anirudh Srinivasan) Date: Tue, 16 Jun 2009 12:46:49 -0400 Subject: Alert history time difference Message-ID: <699b436a0906160946o4e604a53i58f363a2d03771f6@mail.gmail.com> Hi Nagios Experts, Below was the informatios i got from clicking " view alert history for the host" : [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) here the "max_check_attepts" = 5 If you see above the time difference between SOFT 1 state and SOFT 2 state is approx = 3 min. Is it possible to make it 1 min. Please help me find the parameter that controls that time. Thanks in adv -- Anirudh Srinivasan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prmsrnvs at gmail.com Tue Jun 16 19:08:23 2009 From: prmsrnvs at gmail.com (Param Srinivas) Date: Tue, 16 Jun 2009 13:08:23 -0400 Subject: Time diference in Alert History Message-ID: <8d09c5d20906161008n4ce9aa3fr20008bc1f9b33db2@mail.gmail.com> Hi Nagios Experts, Below was the informatios i got from clicking " view alert history for the host" : [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) here the "max_check_attepts" = 5 If you see above the time difference between SOFT 1 state and SOFT 2 state is approx = 3 min. Is it possible to make it 1 min. Please help me find the parameter that controls that time. Thanks in adv Param -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmw94002 at hotmail.com Tue Jun 16 19:26:27 2009 From: lmw94002 at hotmail.com (Mat W) Date: Tue, 16 Jun 2009 13:26:27 -0400 Subject: Time diference in Alert History In-Reply-To: <8d09c5d20906161008n4ce9aa3fr20008bc1f9b33db2@mail.gmail.com> References: <8d09c5d20906161008n4ce9aa3fr20008bc1f9b33db2@mail.gmail.com> Message-ID: that would be the rety interval setting for your check I believe. for example... check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 13:08:23 -0400 From: prmsrnvs at gmail.com To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Time diference in Alert History Hi Nagios Experts, Below was the informatios i got from clicking " view alert history for the host" : [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - (loss=100% ) [05-11-2009 16:43:36] HOST ALERT: benfwca;DOWN;SOFT;4;FPING CRITICAL - (loss=100% ) [05-11-2009 16:40:30] HOST ALERT: benfwca;DOWN;SOFT;3;FPING CRITICAL -(loss=100% ) [05-11-2009 16:37:30] HOST ALERT: benfwca;DOWN;SOFT;2;FPING CRITICAL - (loss=100% ) [05-11-2009 16:34:16] HOST ALERT: benfwca;DOWN;SOFT;1;FPING CRITICAL - (loss=100% ) here the "max_check_attepts" = 5 If you see above the time difference between SOFT 1 state and SOFT 2 state is approx = 3 min. Is it possible to make it 1 min. Please help me find the parameter that controls that time. Thanks in adv Param _________________________________________________________________ Microsoft brings you a new way to search the web. Try Bing? now http://www.bing.com?form=MFEHPG&publ=WLHMTAG&crea=TEXT_MFEHPG_Core_tagline_try bing_1x1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 16 19:34:27 2009 From: marc at ena.com (Marc Powell) Date: Tue, 16 Jun 2009 12:34:27 -0500 Subject: Alert history time difference In-Reply-To: <699b436a0906160946o4e604a53i58f363a2d03771f6@mail.gmail.com> References: <699b436a0906160946o4e604a53i58f363a2d03771f6@mail.gmail.com> Message-ID: <9397073B-8EBA-4907-987E-DF3C006ADEE4@ena.com> On Jun 16, 2009, at 11:46 AM, Anirudh Srinivasan wrote: > If you see above the time difference between SOFT 1 state and SOFT 2 > state is approx = 3 min. Is it possible to make it 1 min. > > Please help me find the parameter that controls that time. retry_interval - http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jun 16 19:36:28 2009 From: marc at ena.com (Marc Powell) Date: Tue, 16 Jun 2009 12:36:28 -0500 Subject: Configuration files obfuscation In-Reply-To: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> References: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> Message-ID: On Jun 16, 2009, at 10:53 AM, edward baddouh wrote: > Hi, > > is ther a way to obfuscate configuration files? obfuscate as in encrypt or otherwise make illegible if inspected -- no. Filesystem permissions/SELinux are pretty much your only options. -- Marc ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prmsrnvs at gmail.com Tue Jun 16 19:43:35 2009 From: prmsrnvs at gmail.com (Param Srinivas) Date: Tue, 16 Jun 2009 13:43:35 -0400 Subject: Time diference in Alert History In-Reply-To: References: <8d09c5d20906161008n4ce9aa3fr20008bc1f9b33db2@mail.gmail.com> Message-ID: <8d09c5d20906161043g35462fbfg85125a508c2f98ca@mail.gmail.com> Thanks for your reply, But by the way even though this is thoretically posible , practically this aint working. The recheck interval is varying . Is this because of huge number of host being monitored. ? We have around 700 hosts being monitored. On Tue, Jun 16, 2009 at 1:26 PM, Mat W wrote: > that would be the rety interval setting for your check I believe. > > for example... > > check_interval 5 ; Actively check > the host every 5 minutes > retry_interval 1 ; Schedule host > check retries at 1 minute intervals > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Tue, 16 Jun 2009 13:08:23 -0400 > From: prmsrnvs at gmail.com > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Time diference in Alert History > > > Hi Nagios Experts, > > Below was the informatios i got from clicking " view alert history for the > host" : > > [05-11-2009 16:46:57] HOST ALERT: benfwca;DOWN;HARD;5;FPING CRITICAL - > (loss