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=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 > -------------- 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 20:11:35 2009 From: lmw94002 at hotmail.com (Mat W) Date: Tue, 16 Jun 2009 14:11:35 -0400 Subject: Time diference in Alert History In-Reply-To: <8d09c5d20906161043g35462fbfg85125a508c2f98ca@mail.gmail.com> References: <8d09c5d20906161008n4ce9aa3fr20008bc1f9b33db2@mail.gmail.com> <8d09c5d20906161043g35462fbfg85125a508c2f98ca@mail.gmail.com> Message-ID: Well, it's not only the hosts, but the services and their intervals. It would depend somewhat on the spec and memory of the nagios server. Also... you may want to read up on some of these nagios.cfg options so they are optimally configured in your environment... use_large_installation_tweaks max_concurrent_checks there's one more i can't think of right now... will have to check the documentation about how nagios executes it's checks... -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 13:43:35 -0400 Subject: Re: [Nagios-users] Time diference in Alert History From: prmsrnvs at gmail.com To: lmw94002 at hotmail.com CC: nagios-users at lists.sourceforge.net 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=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 _________________________________________________________________ Bing? brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_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 lmw94002 at hotmail.com Tue Jun 16 20:30:20 2009 From: lmw94002 at hotmail.com (Mat W) Date: Tue, 16 Jun 2009 14:30:20 -0400 Subject: Configuration files obfuscation In-Reply-To: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> References: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> Message-ID: if the idea is for others not to see it... why not just ensure proper file ownership and limited permissions? Assuming only Root and Nagios users can read the file... I'd think anyone that could become those users should be able to read them anyway. -- Mat W. - http://www.techadre.com Date: Tue, 16 Jun 2009 11:53:11 -0400 From: ebaddouh at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuration files obfuscation Hi, is ther a way to obfuscate configuration files? edward _________________________________________________________________ Bing? brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_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 nccomp at gmail.com Wed Jun 17 00:05:23 2009 From: nccomp at gmail.com (Andrew Davis) Date: Tue, 16 Jun 2009 18:05:23 -0400 Subject: Configuration files obfuscation In-Reply-To: References: <60523a4f0906160853o5212c74pe26b740cbde2a5df@mail.gmail.com> Message-ID: <4A381723.6080407@gmail.com> One idea that we do here is to chroot the entire nagios dir and all related components (mysql, apache, etc). The parent directory of the chroot is owned by root and set to 700 perm's. It requires a bit of tweaking to get it right and lots of reading through log files to work out the inital bugs, but once that's done, it works. For that matter, the server itself is virtualized... so its chrooted within a virtualized container. Are you concerned with users getting in through the web page and accessing the raw files and then knowing about your inside network or employees gaining physical access to the server? The approach to protect each is different. Or perhaps you're passing username/password combos in some of the cfg files (ie: http testing, etc), so you want to hide that? Easier solution is a nagios user with limited access to use for this purpose. If you can elaborate on your areas of concern, we could probably offer further input. 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 Mat W wrote: > if the idea is for others not to see it... why not just ensure proper > file ownership and limited permissions? > > Assuming only Root and Nagios users can read the file... I'd think > anyone that could become those users should be able to read them anyway. > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------------------------------------------------ > Date: Tue, 16 Jun 2009 11:53:11 -0400 > From: ebaddouh at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuration files obfuscation > > Hi, > > is ther a way to obfuscate configuration files? > > edward > > ------------------------------------------------------------------------ > Bing? brings you maps, menus, and reviews organized in one place. Try > it now. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 amontibello at gmail.com Wed Jun 17 02:13:40 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 16 Jun 2009 20:13:40 -0400 Subject: Allow Users to schedule downtimes In-Reply-To: <4A3631EA.5030404@tugraz.at> References: <4A3631EA.5030404@tugraz.at> Message-ID: Nagios Exchang has some Schedual Downtime scripts. that may be a good place to start looking, Also a Google search of "nagios Downtime scipts" pulled some good results Tony (Author of NC_Net) On Mon, Jun 15, 2009 at 7:35 AM, Simon Kainz wrote: > 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 > > > > ------------------------------------------------------------------------------ > 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 assaf.flatto at ssp-intl.com Wed Jun 17 11:09:18 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 17 Jun 2009 09:09:18 +0000 Subject: Fwd: Re: Configuration files obfuscation Message-ID: <200906170909.18323.assaf.flatto@ssp-intl.com> As the user sent this mail to me - i am forwarding it to the list , so all will be able to know what he needs and may be able to help more. Assaf ---------- Forwarded Message ---------- Subject: Re: [Nagios-users] Configuration files obfuscation Date: Tuesday 16 June 2009 From: edward baddouh To: Assaf Flatto Yes, I want the configuration files to be worse (readable). The idea is to difficult as-much-as-possible config-files theft from ohter people who admin that server.. There have been times that configuration files were implemented on different installations (different sites) with minor changes without the admin's consent.. I don't want nobody to get credits for work I've done and receive no profit at all.. That's my need for obfuscation. My idea is to keep an original readable-configuration in a safe place and set the obfuscated config-file in production. 2009/6/16 Assaf Flatto > 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 > ------------------------------------------------------- -- 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 subscription at kkeane.com Wed Jun 17 10:55:00 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 17 Jun 2009 01:55:00 -0700 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: <200906170909.18323.assaf.flatto@ssp-intl.com> References: <200906170909.18323.assaf.flatto@ssp-intl.com> Message-ID: <4A38AF64.7070502@kkeane.com> Obfuscating the config files is going to be difficult, because almost everything in them is either a Nagios keyword, or something that shows up verbatim in the user interface, or an IP address. The only thing you could reasonably obfuscate is the names of the various commands. But you may be able to use either encryption or permissions to accomplish the same goal even more securely. Using permissions: If you have problems trusting administrators, you shouldn't give them root access. Instead, give each administrator a personal non-root account, and use sudo to give them only access to what you want them to manage. With that approach, you can then give only the authorized administrator sudo access to the nagios config files. It also lets you track, in the log files, who executed which command. Another option is to put the configuration files onto a different machine that the untrusted admins do not have access to. Export that directory using NFS and make it only accessible to user nagios. NFS prevents root from accessing the directory. Using Encryption: Here are a few methods I could think of. They all take advantage of the fact that Nagios doesn't read the config files once it is running (at least, I believe that's the case). - Use some form of encrypted file system that only user nagios can read. - Put the configuration files into an ISO or a cramfs file system. Encrypt the file using gpg. Decrypt and mount that file system only right before Nagios starts up, and umount it and delete the decrypted version right away (you may even be able to mount the encrypted version somehow and decrypt on the fly - I'm not an expert on that). Modify the nagios.cfg to point to the mount point, as appropriate. - Put the configuration files into an ISO, burn an actual CD, and put the CD into the machine only right before starting up Nagios. That way, the config files physically aren't there at all. Something that is not on the machine can't be stolen. - I'm not sure if Nagios is able to read config files from a script instead of a file - if it is, you could encrypt the config files using gpg, and have Nagios decrypt it on the fly. Or you could modify the Nagios startup script to decrypt the config files right before starting Nagios, and delete the decrypted config files after Nagios has started successfully. Assaf Flatto wrote: > As the user sent this mail to me - i am forwarding it to the list , so all will be able to know what > he needs and may be able to help more. > > Assaf > > > ---------- Forwarded Message ---------- > > Subject: Re: [Nagios-users] Configuration files obfuscation > Date: Tuesday 16 June 2009 > From: edward baddouh > To: Assaf Flatto > > Yes, I want the configuration files to be worse (readable). > The idea is to difficult as-much-as-possible config-files theft from ohter > people who admin that server.. > > There have been times that configuration files were implemented on different > installations (different sites) with minor changes without the admin's > consent.. > > I don't want nobody to get credits for work I've done and receive no profit > at all.. > > That's my need for obfuscation. My idea is to keep an original > readable-configuration in a safe place and set the obfuscated config-file in > production. > > > > 2009/6/16 Assaf Flatto > > >> 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 >> -- 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 ae at op5.se Wed Jun 17 11:09:10 2009 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Jun 2009 11:09:10 +0200 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: <200906170909.18323.assaf.flatto@ssp-intl.com> References: <200906170909.18323.assaf.flatto@ssp-intl.com> Message-ID: <4A38B2B6.6060201@op5.se> edward baddouh wrote: > Yes, I want the configuration files to be worse (readable). > The idea is to difficult as-much-as-possible config-files theft from ohter > people who admin that server.. > > There have been times that configuration files were implemented on different > installations (different sites) with minor changes without the admin's > consent.. > > I don't want nobody to get credits for work I've done and receive no profit > at all.. > This is just stupid imo and would be far better solved with some social conventions. The problem is that there's a limited way of configuring Nagios for a particular setup, so it's always entirely possible that whoever you *think* is "stealing" configuration from you has actually read the nagios docs for 15-30 minutes and then figured out how to do it themselves. It's not exactly rocket science, and a nagios config isn't a super-fast cryptographically secure hash algorithm that you (sometimes) need to jealously protect. The fact that you're trying makes me feel dirty all over, to be honest. Why you want an opensource community help you *not* share your work, I really do not fathom, but you'll get absolutely no help from 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 addw at phcomp.co.uk Wed Jun 17 11:18:24 2009 From: addw at phcomp.co.uk (Alain Williams) Date: Wed, 17 Jun 2009 10:18:24 +0100 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: <4A38B2B6.6060201@op5.se> References: <200906170909.18323.assaf.flatto@ssp-intl.com> <4A38B2B6.6060201@op5.se> Message-ID: <20090617091824.GG4355@mint.phcomp.co.uk> On Wed, Jun 17, 2009 at 11:09:10AM +0200, Andreas Ericsson wrote: > edward baddouh wrote: > > Yes, I want the configuration files to be worse (readable). > > The idea is to difficult as-much-as-possible config-files theft from ohter > > people who admin that server.. > > > > There have been times that configuration files were implemented on different > > installations (different sites) with minor changes without the admin's > > consent.. > > > > I don't want nobody to get credits for work I've done and receive no profit > > at all.. > > > > This is just stupid imo and would be far better solved with some social > conventions. The problem is that there's a limited way of configuring > Nagios for a particular setup, so it's always entirely possible that > whoever you *think* is "stealing" configuration from you has actually > read the nagios docs for 15-30 minutes and then figured out how to do > it themselves. It's not exactly rocket science, and a nagios config > isn't a super-fast cryptographically secure hash algorithm that you > (sometimes) need to jealously protect. The fact that you're trying > makes me feel dirty all over, to be honest. > > Why you want an opensource community help you *not* share your work, > I really do not fathom, but you'll get absolutely no help from me. +1 And who knows ... one of the people who takes your config might improve it and tell you how! -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Past chairman of UKUUG: http://www.ukuug.org/ #include ------------------------------------------------------------------------------ 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 jhein at netways.de Wed Jun 17 11:56:30 2009 From: jhein at netways.de (Julian Hein) Date: Wed, 17 Jun 2009 11:56:30 +0200 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: <4A38B2B6.6060201@op5.se> References: <4A38B2B6.6060201@op5.se> Message-ID: Am 17.06.09 11:09 schrieb "Andreas Ericsson" unter : > edward baddouh wrote: >> Yes, I want the configuration files to be worse (readable). >> The idea is to difficult as-much-as-possible config-files theft from ohter >> people who admin that server.. >> >> There have been times that configuration files were implemented on different >> installations (different sites) with minor changes without the admin's >> consent.. >> >> I don't want nobody to get credits for work I've done and receive no profit >> at all.. >> > > This is just stupid imo and would be far better solved with some social > conventions. The problem is that there's a limited way of configuring > Nagios for a particular setup, so it's always entirely possible that > whoever you *think* is "stealing" configuration from you has actually > read the nagios docs for 15-30 minutes and then figured out how to do > it themselves. It's not exactly rocket science, and a nagios config > isn't a super-fast cryptographically secure hash algorithm that you > (sometimes) need to jealously protect. The fact that you're trying > makes me feel dirty all over, to be honest. > > Why you want an opensource community help you *not* share your work, > I really do not fathom, but you'll get absolutely no help from me. And it would not work, because the config always gets de-obfuscated in the objects cache and is visible in the Webinterface with "view config" Makes no sense to me as well. Julian ------------------------------------------------------------------------------ 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 pr.sekharreddy at gmail.com Wed Jun 17 12:04:13 2009 From: pr.sekharreddy at gmail.com (Pallavolu Reddi Sekhar Reddy) Date: Wed, 17 Jun 2009 15:34:13 +0530 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: <20090617091824.GG4355@mint.phcomp.co.uk> References: <200906170909.18323.assaf.flatto@ssp-intl.com> <4A38B2B6.6060201@op5.se> <20090617091824.GG4355@mint.phcomp.co.uk> Message-ID: Hi, I have installed the nagios on fedora 10 OS. how can i get alerts from nagios? where to configure the nagios alerts on contacts group for my mail ID(pr.sekharreddy at gmail.com). Please let me know your suggestions. thanks in advance. Thanks Sekhar Reddy P R On Wed, Jun 17, 2009 at 2:48 PM, Alain Williams wrote: > On Wed, Jun 17, 2009 at 11:09:10AM +0200, Andreas Ericsson wrote: > > edward baddouh wrote: > > > Yes, I want the configuration files to be worse (readable). > > > The idea is to difficult as-much-as-possible config-files theft from > ohter > > > people who admin that server.. > > > > > > There have been times that configuration files were implemented on > different > > > installations (different sites) with minor changes without the admin's > > > consent.. > > > > > > I don't want nobody to get credits for work I've done and receive no > profit > > > at all.. > > > > > > > This is just stupid imo and would be far better solved with some social > > conventions. The problem is that there's a limited way of configuring > > Nagios for a particular setup, so it's always entirely possible that > > whoever you *think* is "stealing" configuration from you has actually > > read the nagios docs for 15-30 minutes and then figured out how to do > > it themselves. It's not exactly rocket science, and a nagios config > > isn't a super-fast cryptographically secure hash algorithm that you > > (sometimes) need to jealously protect. The fact that you're trying > > makes me feel dirty all over, to be honest. > > > > Why you want an opensource community help you *not* share your work, > > I really do not fathom, but you'll get absolutely no help from me. > > +1 > > And who knows ... one of the people who takes your config might improve it > and tell you how! > > -- > Alain Williams > Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT > Lecturer. > +44 (0) 787 668 0256 http://www.phcomp.co.uk/ > Parliament Hill Computers Ltd. Registration Information: > http://www.phcomp.co.uk/contact.php > Past chairman of UKUUG: http://www.ukuug.org/ > #include > > > ------------------------------------------------------------------------------ > 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 > -- P.R.Sekhar Reddy +91-9916727650 -------------- 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 pr.sekharreddy at gmail.com Wed Jun 17 12:20:39 2009 From: pr.sekharreddy at gmail.com (Pallavolu Reddi Sekhar Reddy) Date: Wed, 17 Jun 2009 15:50:39 +0530 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: References: <4A38B2B6.6060201@op5.se> Message-ID: I want to add new windows server on nagios. how can i configure that let me know. on hosts.cfg file Thanks Sekhar Reddy P R On Wed, Jun 17, 2009 at 3:26 PM, Julian Hein wrote: > > > Am 17.06.09 11:09 schrieb "Andreas Ericsson" unter : > > > edward baddouh wrote: > >> Yes, I want the configuration files to be worse (readable). > >> The idea is to difficult as-much-as-possible config-files theft from > ohter > >> people who admin that server.. > >> > >> There have been times that configuration files were implemented on > different > >> installations (different sites) with minor changes without the admin's > >> consent.. > >> > >> I don't want nobody to get credits for work I've done and receive no > profit > >> at all.. > >> > > > > This is just stupid imo and would be far better solved with some social > > conventions. The problem is that there's a limited way of configuring > > Nagios for a particular setup, so it's always entirely possible that > > whoever you *think* is "stealing" configuration from you has actually > > read the nagios docs for 15-30 minutes and then figured out how to do > > it themselves. It's not exactly rocket science, and a nagios config > > isn't a super-fast cryptographically secure hash algorithm that you > > (sometimes) need to jealously protect. The fact that you're trying > > makes me feel dirty all over, to be honest. > > > > Why you want an opensource community help you *not* share your work, > > I really do not fathom, but you'll get absolutely no help from me. > > And it would not work, because the config always gets de-obfuscated in the > objects cache and is visible in the Webinterface with "view config" > > Makes no sense to me as well. > > Julian > > > > ------------------------------------------------------------------------------ > 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 > -- P.R.Sekhar Reddy +91-9916727650 -------------- 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 alexdehaini at gmail.com Wed Jun 17 12:33:43 2009 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 17 Jun 2009 10:33:43 +0000 Subject: Can nagios replace whatsup Message-ID: <4b008f7d0906170333o3666d43buc3a4be0247408751@mail.gmail.com> Hi Guys, My company uses nagios and whatsup together. Nagios helps us to monitor services and send out notifications and whatsup does live network monitoring. Recently, my supervisor wants me to scrap whatsup for nagios. I am not very comfortable with his decision. What's up is a spot-check tool. Both products views are different. Our nagios server checks over 800 hosts and services while whatsup checks less than 80 devices. Is there a way to configure nagios to be a spot check tool? What do you guys suggest? I will not mind getting an open-source graphical spot-check tool like whatsup -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.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 Ales.Rikovsky at upol.cz Wed Jun 17 13:13:59 2009 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Wed, 17 Jun 2009 13:13:59 +0200 Subject: Host/service comments In-Reply-To: References: <4A38B2B6.6060201@op5.se> Message-ID: <4A38CFF7.8080408@upol.cz> Hello, there is a possiblity to insert comments in which I can describe fox example the reason of host crash. First: can I insert comment "to the past" Second and IMPRTANT: is it possible to have comments hidden from regular user view? Thank you Ales ------------------------------------------------------------------------------ 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 17 13:59:33 2009 From: marc at ena.com (Marc Powell) Date: Wed, 17 Jun 2009 06:59:33 -0500 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: References: <200906170909.18323.assaf.flatto@ssp-intl.com> <4A38B2B6.6060201@op5.se> <20090617091824.GG4355@mint.phcomp.co.uk> Message-ID: <9DDE163D-B1DC-4667-961D-81E5608B97F4@ena.com> On Jun 17, 2009, at 5:04 AM, Pallavolu Reddi Sekhar Reddy wrote: > Hi, > > I have installed the nagios on fedora 10 OS. > how can i get alerts from nagios? where to configure the nagios > alerts on contacts group for my mail ID(pr.sekharreddy at gmail.com). How is this related to configuration obfuscation? -- 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 michael.friedrich at univie.ac.at Wed Jun 17 14:43:22 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 17 Jun 2009 14:43:22 +0200 Subject: nagios future? In-Reply-To: <4A315C15.4040807@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> <4A312163.1010607@univie.ac.at> <4A315C15.4040807@op5.se> Message-ID: <4A38E4EA.9050609@univie.ac.at> Didn't have the time to catch up on Merlin, but I ran a few more Tests with Icinga IDO and libdbi Oracle - it fails hard. Tested against Oracle 11g, DB connection successfull but error in address mapping while doing a simple DB insert. Meaning the oracle driver for libdbi is broken and in case of using the libdbi and Oracle we'll have to fix the driver or code a new one eventually based on the ocilib (check libdbi-devel list) Ah, and the DB scheme is modified in the following parts: - kicked table prefix (saves characters for renaming only one table) - serviceescalation_contactgroups => serviceescalationcontactgroups - the PKs are [tablename]_id - that sucks a lot, so it is only "id" and the queries need to be modified partly (since the IDO is only an INSERT and DELETE by date tool it is not that much work) Andreas Ericsson wrote the following on 11.06.2009 21:33: > > 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. -- 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 rajashekar.s at excelindia.com Wed Jun 17 15:11:36 2009 From: rajashekar.s at excelindia.com (rajashekar.s) Date: Wed, 17 Jun 2009 18:41:36 +0530 Subject: NDO Utils is not running even after repeated attempts In-Reply-To: <4A3784B4.9060904@kkeane.com> References: <4A372E6C.30903@excelindia.com> <4A376732.2070802@kkeane.com> <4A37838B.50203@excelindia.com> <4A3784B4.9060904@kkeane.com> Message-ID: <4A38EB88.50702@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 rajashekar.s at excelindia.com Wed Jun 17 14:53:30 2009 From: rajashekar.s at excelindia.com (rajashekar.s) Date: Wed, 17 Jun 2009 18:23:30 +0530 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: References: <200906170909.18323.assaf.flatto@ssp-intl.com> <4A38B2B6.6060201@op5.se> <20090617091824.GG4355@mint.phcomp.co.uk> Message-ID: <4A38E74A.7060708@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 rajashekar.s at excelindia.com Wed Jun 17 15:06:50 2009 From: rajashekar.s at excelindia.com (rajashekar.s) Date: Wed, 17 Jun 2009 18:36:50 +0530 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: References: <4A38B2B6.6060201@op5.se> Message-ID: <4A38EA6A.3000900@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 addw at phcomp.co.uk Wed Jun 17 15:28:06 2009 From: addw at phcomp.co.uk (Alain Williams) Date: Wed, 17 Jun 2009 14:28:06 +0100 Subject: Proper use of this list Message-ID: <20090617132806.GS4355@mint.phcomp.co.uk> On Wed, Jun 17, 2009 at 06:36:50PM +0530, rajashekar.s wrote: > Hi, > For monitoring windows machines > > (a) Edit /usr/local/nagios/etc/nagios.cfg > .... > Pallavolu Reddi Sekhar Reddy wrote: > > I want to add new windows server on nagios. > how can i configure that let me know. on hosts.cfg file When you start a new topic, please: 1) Change the subject line -- leaving as the old one only confuses! 2) Remove the ''In-Reply-To'' mail header -- or preferably just start a new mail (ie don't reply). Why ? Because those of us who used a MUA that supports threading get confused if you do not. While I am at it: please remove irrelevant/old stuff at the bottom of emails that you reply to. Thank you -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php Past chairman of UKUUG: http://www.ukuug.org/ #include ------------------------------------------------------------------------------ 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 naloi at experisdatacenters.com Wed Jun 17 18:09:50 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Wed, 17 Jun 2009 16:09:50 +0000 Subject: NDO Utilities install NDO database error for ndoutils-1.3.1 Message-ID: Hello I am attempting to install NDO Utils - I am at the Create NDO Database section...except I don't have this installdb file in my db directory I have what is below: as you can see I am installing ndoutils 1.3.1 since I am using nagios 2.11 [root at nagios ndoutils-1.3.1]# cd db [root at nagios db]# ls -lat total 80 drwxrwxr-x 7 nagios nagios 4096 2009-06-17 11:38 .. drwxrwxr-x 2 nagios nagios 4096 2006-02-15 18:06 . -rw-r--r-- 1 nagios nagios 55070 2006-02-15 18:06 mysql.sql -rw-rw-r-- 1 nagios nagios 2970 2006-02-15 18:06 mysql-upgrade-1.1.sql -rw-rw-r-- 1 nagios nagios 89 2006-02-15 18:06 mysql-upgrade-1.2.sql -rw-rw-r-- 1 nagios nagios 467 2006-02-15 18:06 README [root at nagios db]# These were directions from http://nagioswiki.com/wiki/index.php/NDOutils_on_CentOS all was going just fine until I got to this section....CAN SOMEONE HELP? Creating NDO database It's time now to create the NDO MySql database Run the DB installation script in the /tmp/ndoutils-1.4b6/db/ subdirectory of the NDO distribution to create the necessary tables in the database. (-u = user; -p = password; -h = name of computer; -d = MySQL DB) cd /tmp/ndoutils-1.4b6/db./installdb -u nagios -p nagios -h localhost -d nagiosDBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 51.** Creating tables for version 1.4b6 Using mysql.sql for installation...** Updating table nagios_dbversionDone!NatalieNetwork Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 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 marc at ena.com Wed Jun 17 19:17:54 2009 From: marc at ena.com (Marc Powell) Date: Wed, 17 Jun 2009 12:17:54 -0500 Subject: NDO Utilities install NDO database error for ndoutils-1.3.1 In-Reply-To: References: Message-ID: On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: > Hello I am attempting to install NDO Utils - I am at the Create NDO > Database section...except I don't have this installdb file in my db > directory I have what is below: > as you can see I am installing ndoutils 1.3.1 since I am using > nagios 2.11 > 1.3.1 is almost 2.5 years out-of-date. You're following instructions for 1.4b7; is there a reason you're not installing that more recent version? -- 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 israel at frontierflying.com Wed Jun 17 19:45:29 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 17 Jun 2009 09:45:29 -0800 Subject: Can nagios replace whatsup In-Reply-To: <4b008f7d0906170333o3666d43buc3a4be0247408751@mail.gmail.com> References: <4b008f7d0906170333o3666d43buc3a4be0247408751@mail.gmail.com> Message-ID: On Jun 17, 2009, at 2:33 AM, Alex Dehaini wrote: > Hi Guys, > > My company uses nagios and whatsup together. Nagios helps us to > monitor services and send out notifications and whatsup does live > network monitoring. Recently, my supervisor wants me to scrap > whatsup for nagios. I am not very comfortable with his decision. > What's up is a spot-check tool. > > Both products views are different. Our nagios server checks over 800 > hosts and services while whatsup checks less than 80 devices. > > Is there a way to configure nagios to be a spot check tool? What do > you guys suggest? > > I will not mind getting an open-source graphical spot-check tool > like whatsup > I'm not familiar with whatsup myself, but from what you are saying, it sounds to me like the main difference is that nagios is checking many more hosts than whatsup, although they are both doing similar monitoring. Just looking at the less than 80 hosts monitored by whatsup in nagios is problematic because they get lost among all the other hosts that nagios is checking. Is that correct? If so, perhaps you could simply configure a separate contact in nagios, probably with notification options set to none, and only assign this contact to the 80 or so hosts you want to monitor closely. Then when you log in as that user, only those 80 or so hosts are visible. At least, that is my understanding of how contacts work: only the hosts for which you are a contact are displayed. Perhaps someone else could expound on this as a solution? I also seem to recall reading about/briefly looking at some sort of front-end for nagios that provides a much more customizable view, where you could select just the hosts you want. I think it was Nagios Looking glass: < http://exchange.nagios.org/directory/Addons/Frontends-(GUIs-and-CLIs)/Web-Interfaces/Nagios-Looking-Glass/details > Perhaps this will suit your purposes? ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------------ > 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 -------------- A non-text attachment was scrubbed... Name: Israel Brewster.vcf Type: text/directory Size: 397 bytes Desc: not available URL: -------------- 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 Scott.Chapman at VerizonWireless.com Wed Jun 17 20:27:41 2009 From: Scott.Chapman at VerizonWireless.com (Scott.Chapman at VerizonWireless.com) Date: Wed, 17 Jun 2009 14:27:41 -0400 Subject: ' Need the big picture: Why "retention"? Message-ID: I'm reading the Nagios docs (a rather long trip - thanks for the great docs!) and I'm seeing plenty of references to retention. I'm new to this and it isn't clicking. Why would I want retention? What's it for? TIA - I'm a bit confused. :) Scott The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. 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 From mikec at aggregateknowledge.com Wed Jun 17 21:13:44 2009 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Wed, 17 Jun 2009 12:13:44 -0700 Subject: Check not running In-Reply-To: <4A31B42B.9090603@aggregateknowledge.com> References: <4A31B42B.9090603@aggregateknowledge.com> Message-ID: <4A394068.8070404@aggregateknowledge.com> Any ideas how I could debug a check that works when using capture_plugin.pl, but never gets scheduled or run otherwise? Thanks, Mike Mike Chesnut wrote: > 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 ------------------------------------------------------------------------------ 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 medula at baytree.com Wed Jun 17 21:39:00 2009 From: medula at baytree.com (Murali Edula) Date: Wed, 17 Jun 2009 15:39:00 -0400 Subject: NRPE_NT Bad return code for 128 Message-ID: <004d01c9ef83$43ee3a50$cbcaaef0$@com> Hi, I am running NRPE_NT on Windows2003. It was running fine. All of sudden it is giving error See the log file: 2009-06-17 15:34:13; 844; 7;Host is asking for command 'nt_check_disk_c' to be run... 2009-06-17 15:34:13; 844; 7;Running command: C:\nrpe_nt_2003\bin\diskspace_nrpe_nt.exe c: 80 90 2009-06-17 15:34:13; 844; 7;Command completed with return code 128 2009-06-17 15:34:13; 844; 4;Bad return code for [No output available from command...]: 128 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 marc at ena.com Wed Jun 17 22:30:11 2009 From: marc at ena.com (Marc Powell) Date: Wed, 17 Jun 2009 15:30:11 -0500 Subject: ' Need the big picture: Why "retention"? In-Reply-To: References: Message-ID: On Jun 17, 2009, at 1:27 PM, Scott.Chapman at VerizonWireless.com wrote: > I'm reading the Nagios docs (a rather long trip - thanks for the > great docs!) Good deal... =) > and I'm seeing plenty of references to retention. I'm new to this > and it isn't clicking. > > Why would I want retention? > > What's it for? Retention is useful in at least a couple of cases -- - When nagios is restarted hosts and services are normally put into a PENDING state until they are actually checked again. With retention, information in the retention file will be used to set the initial status of hosts and services to the last known state. It makes restarts essentially transparent. - Several program-wide and host and service specific things can be changed via the GUI (whether checks are enabled, notifications are enabled, etc...). Without retention, those changes are reverted back to their config-file settings on restart. With retention, they are maintained seamlessly across restarts. -- 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 Wed Jun 17 23:28:45 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Wed, 17 Jun 2009 14:28:45 -0700 Subject: need help with check_sensors Message-ID: <2d4ba7ab0906171428n28ac6d09n3e4c1d0cc6b4b498@mail.gmail.com> Hello, I'm trying to get check_sensors working for nagios. I already have lm_sensors installed and ran 'sensors' to configure it for my machine. Next, I setup and defined the commands and services in nagios. However, when i run the following command i get the following error. $ /usr/lib/nagios/plugins/check_nrpe -H 10.10.10.44 -c check_temp SENSOR CRITICAL - Sensor alarm detected! $tail /var/log/nagios2/nagios.log [1245270237] SERVICE ALERT: pse06-back;CHECK TEMP;UNKNOWN;HARD;3;(No output returned from plugin) [1245270237] SERVICE NOTIFICATION: root;pse06-back;CHECK TEMP;UNKNOWN;notify-by-email;(No output returned from plugin) There doesn't seem to be much information on the web or in my Pro Nagios 2.0 book about this plugin. Any help would be appreciated! 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 chethan.mnc at wipro.com Thu Jun 18 02:37:22 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Thu, 18 Jun 2009 06:07:22 +0530 Subject: Need to Configure SMS and Email Notification Message-ID: Hi All, I need to Configure SMS and E mail Notification from my Nagios Setup. Please let me know how to get this done. Regards, Chethan M N -------------- 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 victory17 at gmail.com Thu Jun 18 07:08:18 2009 From: victory17 at gmail.com (victory) Date: Thu, 18 Jun 2009 10:38:18 +0530 Subject: Return code of 142 is out of bounds Message-ID: <4a56dba90906172208t81fd7adif02712029617cd06@mail.gmail.com> Hi All, I am running Nagios 3.0.2 on FC5 server. I have been encountering this strange error intermittently on a few checks. (Return code of 142 is out of bounds) I am using the nagios with snmp (net-snmp-5.2 & net-snmp-5.3) on a few servers. This normally happens with snmp-load checks or snmp-disk checks. I could not find anything related to this problem over the internet. Hoping to get a solution to this problem here. Regards, -------------- 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 brian.omahony at curamsoftware.com Thu Jun 18 12:48:35 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Thu, 18 Jun 2009 11:48:35 +0100 Subject: Restarting the Nagios server from the webpage Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> Is this possible to do rather than logging in via ssh, and using "service restart nagios"? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. 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 gaurav at subisu.net.np Thu Jun 18 13:20:15 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Thu, 18 Jun 2009 17:05:15 +0545 Subject: Restarting the Nagios server from the webpage In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> Message-ID: <4A3A22EF.5060403@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian O'Mahony wrote: > Is this possible to do rather than logging in via ssh, and using > ?service restart nagios?? > Yeap! You can use web based management interfaces for nagios. E.g, Nagiosql - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAko6IuIACgkQnfv7imVnL2vsSACeJQOhgErKzu1PIT4tL2MMhbAE +pIAoNAXyv344AptMjwWD38fA1zhFGPC =9dHR -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ 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 bram at openminds.be Thu Jun 18 13:25:34 2009 From: bram at openminds.be (Bram Gillemon) Date: Thu, 18 Jun 2009 13:25:34 +0200 Subject: Restarting the Nagios server from the webpage In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> Message-ID: <0D57D542-0A4E-435C-B2B2-B4945985C2ED@openminds.be> Sure, In the nagios interface click on the Process Info button, in the right menu you can choose Restart the nagios process. Kr, Bram On 18 Jun 2009, at 12:48, Brian O'Mahony wrote: > Is this possible to do rather than logging in via ssh, and using > ?service restart nagios?? > The information in this email is confidential and may be legally > privileged. > It is intended solely for the addressee. Access to this email by > anyone else > is unauthorized. If you are not the intended recipient, any > disclosure, > copying, distribution or any action taken or omitted to be taken in > reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. > 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 -------------- 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 jpratt at norwich.edu Thu Jun 18 13:24:41 2009 From: jpratt at norwich.edu (James Pratt) Date: Thu, 18 Jun 2009 07:24:41 -0400 Subject: Restarting the Nagios server from the webpage In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF3010AF8A75D0F@MAIL06.curamsoftware.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823DD9674@nuexchg.norwich.edu> -----Original Message----- From: Brian O'Mahony [mailto:brian.omahony at curamsoftware.com] Sent: Thursday, June 18, 2009 6:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Restarting the Nagios server from the webpage Is this possible to do rather than logging in via ssh, and using "service restart nagios"? -- Yes, in the GUI, goto Configuration -> Process -> Restart nagios process Cheers, jamie ------------------------------------------------------------------------------ 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 cschneemann at suse.de Thu Jun 18 13:32:06 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 18 Jun 2009 13:32:06 +0200 Subject: Nagios Reboot Notification In-Reply-To: References: Message-ID: <200906181332.07162.cschneemann@suse.de> Hi, On Thursday June 11 2009 09:14:06 pm Kevin Mitnikc wrote: > Hello everybody, > [...] > > 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! you could monitor it by passive checks with NSCA. Simply tell the nagios server that the server is up in a regular time. And if someone triggers a reboot tell the nagios server that this happened. I assume you are asking for linux/unix servers? Then you could simply add send_nsca call to the reboot/halt script (before network will be shut down ;) and send a message to nagios, that the server reboots/shuts down. Greetings, Christian > > > Cheers, > > Kevin M. -- 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) ------------------------------------------------------------------------------ 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 deocir.luz at corp.visaonet.com.br Thu Jun 18 14:51:20 2009 From: deocir.luz at corp.visaonet.com.br (Deocir Ribeiro Luz) Date: Thu, 18 Jun 2009 09:51:20 -0300 Subject: StatusMaps Nagios With Google Maps Message-ID: <1245329480.6841.7.camel@deocir-desktop> Hi all, I'm new in this list, so I don't know if this was discussed here. I'm studing the API Google Maps with the objective of the integrate of the statusmaps of nagios with the Google Maps. I need do this, are there some person that did this here that can help me? Thanks Deocir Ribeiro Luz ------------------------------------------------------------------------------ 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 Thu Jun 18 16:54:38 2009 From: lmw94002 at hotmail.com (Mat W) Date: Thu, 18 Jun 2009 10:54:38 -0400 Subject: Return code of 142 is out of bounds In-Reply-To: <4a56dba90906172208t81fd7adif02712029617cd06@mail.gmail.com> References: <4a56dba90906172208t81fd7adif02712029617cd06@mail.gmail.com> Message-ID: there's the FAQ... http://www.nagios.org/faqs/viewfaq.php?faq_id=17 I think this can also happen when some checks returns -no- value, or return a string when expecting an integer, etc. essentially encountering something the plugin isn't expecting which could be leading to "bad exit" from the script. Can you recreate this from the command line? -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 10:38:18 +0530 From: victory17 at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Return code of 142 is out of bounds Hi All, I am running Nagios 3.0.2 on FC5 server. I have been encountering this strange error intermittently on a few checks. (Return code of 142 is out of bounds) I am using the nagios with snmp (net-snmp-5.2 & net-snmp-5.3) on a few servers. This normally happens with snmp-load checks or snmp-disk checks. I could not find anything related to this problem over the internet. Hoping to get a solution to this problem here. Regards, _________________________________________________________________ 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 bibrakc at gmail.com Thu Jun 18 18:10:17 2009 From: bibrakc at gmail.com (Bibrak Qamar) Date: Thu, 18 Jun 2009 22:10:17 +0600 Subject: nagios process not running or it stops spontaneously Message-ID: <452ad6b30906180910v1df53eaax9f962bad4b7aea0@mail.gmail.com> Hi there. I had installed nagios, it was working great, until i upgraded from ubuntu 8.10 to 9.04, I think the up-gradation might be he reason of the nagios not running. I have removed the nagios and reinstalled as guided in the QuickStartGuide. But the problem still remains. Also see this ---> root at biebo-laptop:/usr/local/nagios/var# service nagios start Starting nagios: done. root at biebo-laptop:/usr/local/nagios/var# service nagios status nagios is not running ---------------------- the log file -----> root at biebo-laptop:/usr/local/nagios/var# cat nagios.log [1245339292] Nagios 3.1.0 starting... (PID=25252) [1245339292] Local time is Thu Jun 18 21:34:52 PKST 2009 [1245339292] LOG VERSION: 2.0 [1245339292] Finished daemonizing... (New PID=25256) [1245339380] Nagios 3.1.0 starting... (PID=25440) [1245339380] Local time is Thu Jun 18 21:36:20 PKST 2009 [1245339380] LOG VERSION: 2.0 [1245339380] Finished daemonizing... (New PID=25443) [1245341109] Nagios 3.1.0 starting... (PID=26592) [1245341109] Local time is Thu Jun 18 22:05:09 PKST 2009 [1245341109] LOG VERSION: 2.0 [1245341109] Finished daemonizing... (New PID=26597) ------------------------ I donot know why it stops by itself. Or it not starts correctly. Please help me with this. Thanks -- Bibrak Qamar NUST-SEECS -------------- 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 18 19:21:09 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Thu, 18 Jun 2009 17:21:09 +0000 Subject: nagios process not running or it stops spontaneously In-Reply-To: <452ad6b30906180910v1df53eaax9f962bad4b7aea0@mail.gmail.com> References: <452ad6b30906180910v1df53eaax9f962bad4b7aea0@mail.gmail.com> Message-ID: <200906181721.09471.assaf.flatto@ssp-intl.com> did you take a look at the syslog ? It might capture the issue and tell you more about why it crashes ! you can also execute the init script manually sh -x /etc/init.d/nagios start and see what the output is . Assaf On Thursday 18 June 2009 16:10:17 Bibrak Qamar wrote: > Hi there. > > I had installed nagios, it was working great, until i upgraded from ubuntu > 8.10 to 9.04, I think the up-gradation might be he reason of the nagios not > running. I have removed the nagios and reinstalled as guided in the > QuickStartGuide. But the problem still remains. > > Also see this ---> > > > root at biebo-laptop:/usr/local/nagios/var# service nagios start > Starting nagios: done. > root at biebo-laptop:/usr/local/nagios/var# service nagios status > nagios is not running > > ---------------------- > > the log file -----> > > root at biebo-laptop:/usr/local/nagios/var# cat nagios.log > [1245339292] Nagios 3.1.0 starting... (PID=25252) > [1245339292] Local time is Thu Jun 18 21:34:52 PKST 2009 > [1245339292] LOG VERSION: 2.0 > [1245339292] Finished daemonizing... (New PID=25256) > [1245339380] Nagios 3.1.0 starting... (PID=25440) > [1245339380] Local time is Thu Jun 18 21:36:20 PKST 2009 > [1245339380] LOG VERSION: 2.0 > [1245339380] Finished daemonizing... (New PID=25443) > [1245341109] Nagios 3.1.0 starting... (PID=26592) > [1245341109] Local time is Thu Jun 18 22:05:09 PKST 2009 > [1245341109] LOG VERSION: 2.0 > [1245341109] Finished daemonizing... (New PID=26597) > > ------------------------ > > I donot know why it stops by itself. Or it not starts correctly. Please > help me with 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 ------------------------------------------------------------------------------ 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 Thu Jun 18 18:29:48 2009 From: lmw94002 at hotmail.com (Mat W) Date: Thu, 18 Jun 2009 12:29:48 -0400 Subject: nagios process not running or it stops spontaneously In-Reply-To: <452ad6b30906180910v1df53eaax9f962bad4b7aea0@mail.gmail.com> References: <452ad6b30906180910v1df53eaax9f962bad4b7aea0@mail.gmail.com> Message-ID: after starting... does it appear in the process list and stay there? perhaps you're starting multiple copies and the system is not writing / reading the pid file properly. -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 22:10:17 +0600 From: bibrakc at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios process not running or it stops spontaneously Hi there. I had installed nagios, it was working great, until i upgraded from ubuntu 8.10 to 9.04, I think the up-gradation might be he reason of the nagios not running. I have removed the nagios and reinstalled as guided in the QuickStartGuide. But the problem still remains. Also see this ---> root at biebo-laptop:/usr/local/nagios/var# service nagios start Starting nagios: done. root at biebo-laptop:/usr/local/nagios/var# service nagios status nagios is not running ---------------------- the log file -----> root at biebo-laptop:/usr/local/nagios/var# cat nagios.log [1245339292] Nagios 3.1.0 starting... (PID=25252) [1245339292] Local time is Thu Jun 18 21:34:52 PKST 2009 [1245339292] LOG VERSION: 2.0 [1245339292] Finished daemonizing... (New PID=25256) [1245339380] Nagios 3.1.0 starting... (PID=25440) [1245339380] Local time is Thu Jun 18 21:36:20 PKST 2009 [1245339380] LOG VERSION: 2.0 [1245339380] Finished daemonizing... (New PID=25443) [1245341109] Nagios 3.1.0 starting... (PID=26592) [1245341109] Local time is Thu Jun 18 22:05:09 PKST 2009 [1245341109] LOG VERSION: 2.0 [1245341109] Finished daemonizing... (New PID=26597) ------------------------ I donot know why it stops by itself. Or it not starts correctly. Please help me with this. Thanks -- Bibrak Qamar NUST-SEECS _________________________________________________________________ Hotmail? has ever-growing storage! Don?t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_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 teckadmin at gmail.com Thu Jun 18 22:11:59 2009 From: teckadmin at gmail.com (Kevin Mitnikc) Date: Thu, 18 Jun 2009 13:11:59 -0700 Subject: Nagios Reboot Notification In-Reply-To: <200906181332.07162.cschneemann@suse.de> References: <200906181332.07162.cschneemann@suse.de> Message-ID: So from the looks of it, this will only work with linux/unix boxes. Is this accurate? I did a bit of research on NSCA and I see a client-side configuration needed but I see it only for Linux. I know there area few posts on this stating to use NSCA_Win32client. Has anybody ran the NSCA_Win32client? Successful? I'm still looking for some documentation and setup instructions. On Thu, Jun 18, 2009 at 4:32 AM, Christian Schneemann wrote: > Hi, > On Thursday June 11 2009 09:14:06 pm Kevin Mitnikc wrote: > > Hello everybody, > > > [...] > > > > 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! > you could monitor it by passive checks with NSCA. Simply tell the nagios > server that the server is up in a regular time. And if someone triggers a > reboot tell the nagios server that this happened. > I assume you are asking for linux/unix servers? Then you could simply add > send_nsca call to the reboot/halt script (before network will be shut down > ;) > and send a message to nagios, that the server reboots/shuts down. > > Greetings, > Christian > > > > > > Cheers, > > > > Kevin M. > > > > -- > 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) > > > ------------------------------------------------------------------------------ > 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 naloi at experisdatacenters.com Thu Jun 18 22:50:41 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 18 Jun 2009 20:50:41 +0000 Subject: NDO Utilities install NDO database error for NDO Util 1.3.1 Message-ID: Thanks for the reply Marc... I am using ver 2.11 Nagios the most recent version of ndo utils said I had to have a higher version of nagios to use (2.5?) which is why I selected 1.3.1 Natalie On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: > Hello I am attempting to install NDO Utils - I am at the Create NDO > Database section...except I don't have this installdb file in my db > directory I have what is below: > as you can see I am installing ndoutils 1.3.1 since I am using > nagios 2.11 > 1.3.1 is almost 2.5 years out-of-date. You're following instructions for 1.4b7; is there a reason you're not installing that more recent version? Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 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 lmw94002 at hotmail.com Thu Jun 18 23:15:49 2009 From: lmw94002 at hotmail.com (Mat W) Date: Thu, 18 Jun 2009 17:15:49 -0400 Subject: Nagios Reboot Notification In-Reply-To: References: <200906181332.07162.cschneemann@suse.de> Message-ID: NagEventLog works with the Nagios NSCA server. I use NagEventLog on all our windows servers for EventLog monitoring. Works like a champ. -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 13:11:59 -0700 From: teckadmin at gmail.com To: cschneemann at suse.de CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Reboot Notification So from the looks of it, this will only work with linux/unix boxes. Is this accurate? I did a bit of research on NSCA and I see a client-side configuration needed but I see it only for Linux. I know there area few posts on this stating to use NSCA_Win32client. Has anybody ran the NSCA_Win32client? Successful? I'm still looking for some documentation and setup instructions. On Thu, Jun 18, 2009 at 4:32 AM, Christian Schneemann wrote: Hi, On Thursday June 11 2009 09:14:06 pm Kevin Mitnikc wrote: > Hello everybody, > [...] > > 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! you could monitor it by passive checks with NSCA. Simply tell the nagios server that the server is up in a regular time. And if someone triggers a reboot tell the nagios server that this happened. I assume you are asking for linux/unix servers? Then you could simply add send_nsca call to the reboot/halt script (before network will be shut down ;) and send a message to nagios, that the server reboots/shuts down. Greetings, Christian > > > Cheers, > > Kevin M. -- 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) ------------------------------------------------------------------------------ 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 _________________________________________________________________ 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 ebaddouh at gmail.com Fri Jun 19 00:03:32 2009 From: ebaddouh at gmail.com (edward baddouh) Date: Thu, 18 Jun 2009 18:03:32 -0400 Subject: Fwd: Re: Configuration files obfuscation In-Reply-To: <4A38B2B6.6060201@op5.se> References: <200906170909.18323.assaf.flatto@ssp-intl.com> <4A38B2B6.6060201@op5.se> Message-ID: <60523a4f0906181503x1bca06eancdd88bbfcc03fc26@mail.gmail.com> Hey Andreas, don't misunderstand me. It isn't my intention *not to share*, I do share all my work. I just wanted if it was possible to do that. edward 2009/6/17 Andreas Ericsson > edward baddouh wrote: > > Yes, I want the configuration files to be worse (readable). > > The idea is to difficult as-much-as-possible config-files theft from > ohter > > people who admin that server.. > > > > There have been times that configuration files were implemented on > different > > installations (different sites) with minor changes without the admin's > > consent.. > > > > I don't want nobody to get credits for work I've done and receive no > profit > > at all.. > > > > This is just stupid imo and would be far better solved with some social > conventions. The problem is that there's a limited way of configuring > Nagios for a particular setup, so it's always entirely possible that > whoever you *think* is "stealing" configuration from you has actually > read the nagios docs for 15-30 minutes and then figured out how to do > it themselves. It's not exactly rocket science, and a nagios config > isn't a super-fast cryptographically secure hash algorithm that you > (sometimes) need to jealously protect. The fact that you're trying > makes me feel dirty all over, to be honest. > > Why you want an opensource community help you *not* share your work, > I really do not fathom, but you'll get absolutely no help from 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 > -------------- 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 thomas at nordkontakt.no Fri Jun 19 07:35:44 2009 From: thomas at nordkontakt.no (Thomas S. Larsen) Date: Fri, 19 Jun 2009 07:35:44 +0200 Subject: alarms not showing data Message-ID: Hello, i got a problem im having some issues with, I've tried different things in the alarm settings and experimenting, but I cant seem to get around it. My setup is like this, I have 90 hosts, they all have the same service called "ping" that I made. What I want, is for nagios to send email on all status changes for these hosts, and it is too. My problem is the following. ------------------------------------------------------------------------------------- ***** Nagios 2.9 ***** Notification Type: RECOVERY Service: $ Host: [censored] Address: [censored] State: $ Date/Time: Thu Jun 18 13:06:35 CEST 2009 Additional Info: $ --------------------------------------------------------------------------------------- It send email when it's supposed too. But it doesn't show the service nor the state. But if I log in to nagios and force send a notification, it shows the correct data, I suspect this to be because I send the notification from the servce. So im thinking it's something with the host reporting. Any ideas anyone ? Med vennlig hilsen Thomas Skaret Larsen IT-tekniker 8037 Bod? Telefon 75 55 05 88 Mobil 48 14 46 33 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2891 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2047 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 1737 bytes Desc: image003.jpg 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 Fri Jun 19 11:47:36 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 19 Jun 2009 11:47:36 +0200 Subject: NDO Utilities install NDO database error for NDO Util 1.3.1 In-Reply-To: References: Message-ID: <4A3B5EB8.4080307@univie.ac.at> Hi, if it helps do the following: # mysql -u root -p CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios'; GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY '' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; CREATE DATABASE IF NOT EXISTS `nagios` ; GRANT ALL PRIVILEGES ON `nagios` . * TO ''@'localhost'; quit # mysql -u root -p nagios < mysql.sql Kind regards, Michael Natalie Aloi wrote the following on 18.06.2009 22:50: > Thanks for the reply Marc... > > I am using ver 2.11 Nagios the most recent version of ndo utils said I > had to have a higher version of nagios to use (2.5?) which is why I > selected 1.3.1 > > Natalie > On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: > > > Hello I am attempting to install NDO Utils - I am at the Create NDO > > Database section...except I don't have this installdb file in my db > > directory I have what is below: > > as you can see I am installing ndoutils 1.3.1 since I am using > > nagios 2.11 > > > > 1.3.1 is almost 2.5 years out-of-date. You're following instructions > for 1.4b7; is there a reason you're not installing that more recent > version? > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.com > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 marc at ena.com Fri Jun 19 14:22:28 2009 From: marc at ena.com (Marc Powell) Date: Fri, 19 Jun 2009 07:22:28 -0500 Subject: alarms not showing data In-Reply-To: References: Message-ID: <6DBAC860-FB11-4197-93E1-DB31C0E5FD67@ena.com> On Jun 19, 2009, at 12:35 AM, Thomas S. Larsen wrote: > My problem is the following. > > ------------------------------------------------------------------------------------- > ***** Nagios 2.9 ***** > > Notification Type: RECOVERY > > Service: $ > Host: [censored] > Address: [censored] > State: $ > > Date/Time: Thu Jun 18 13:06:35 CEST 2009 > > Additional Info: > > $ > > --------------------------------------------------------------------------------------- > It send email when it?s supposed too. But it doesn?t show the > service nor the state. > But if I log in to nagios and force send a notification, it shows > the correct data, I suspect this to be because I send the > notification from the servce. So im thinking it?s something with the > host reporting. > Any ideas anyone ? If this is a host notification, it makes perfect sense. Any $SERVICE* macro used in the notification isn't valid because there's no specific service for the notification. I suspect that your host_notification_commands and service_notification_commands are the same when they should be different. The host notification command should use $HOST*$ macros. http://nagios.sourceforge.net/docs/2_0/macros.html A typical host notification command might look like -- define command { command_name host-notify-by-email command_line /bin/echo -e "Subject: $NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$ \nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n \nDate/Time: $LONGDATETIME$\n\nAcknowledged By: $HOSTACKAUTHOR$ \nAcknowledgement: $HOSTACKCOMMENT$" | /bin/mail $CONTACTEMAIL$ } -- 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 naloi at experisdatacenters.com Fri Jun 19 15:02:25 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 19 Jun 2009 13:02:25 +0000 Subject: NDO Utilities install NDO database error for NDO Util 1.3.1 Message-ID: Thanks, I did that without a problem, but when I got to the section about creating the NDO database I am supposed to run a script called installdb which doesn't exist...Do you know how to create the NDO Database and the tables? Natalie -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Friday, June 19, 2009 05:47 AM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1 Hi, if it helps do the following: # mysql -u root -p CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios';GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY '' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;CREATE DATABASE IF NOT EXISTS `nagios` ;GRANT ALL PRIVILEGES ON `nagios` . * TO ''@'localhost';quit # mysql -u root -p nagios < mysql.sql Kind regards, Michael Natalie Aloi wrote the following on 18.06.2009 22:50:Thanks for the reply Marc... I am using ver 2.11 Nagios the most recent version of ndo utils said I had to have a higher version of nagios to use (2.5?) which is why I selected 1.3.1 Natalie On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: > Hello I am attempting to install NDO Utils - I am at the Create NDO > Database section...except I don't have this installdb file in my db > directory I have what is below: > as you can see I am installing ndoutils 1.3.1 since I am using > nagios 2.11 > 1.3.1 is almost 2.5 years out-of-date. You're following instructions for 1.4b7; is there a reason you're not installing that more recent version? Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com ------------------------------------------------------------ ------------------------------------------------------------------------------Crystal Reports - New Free Runtime and 30 Day TrialCheck out the new simplified licensing option that enables unlimitedroyalty-free distribution of the report engine for externally facing server and web deployment.http://p.sf.net/sfu/businessobjects ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 Friedrichmichael.friedrich at univie.ac.atTel: +43 1 4277 14359Vienna University Computer CenterUniversitaetsstrasse 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 Fri Jun 19 15:13:18 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 19 Jun 2009 15:13:18 +0200 Subject: NDO Utilities install NDO database error for NDO Util 1.3.1 In-Reply-To: References: Message-ID: <4A3B8EEE.6000907@univie.ac.at> That's just what I told you with these commands. For what I've seen from your dirlisting, you have afile called "mysql.sql" So after these steps you should have your datebase created and waiting for input. Kind regards, Michael Natalie Aloi wrote the following on 19.06.2009 15:02: > Thanks, I did that without a problem, but when I got to the section > about creating the NDO database I am supposed to run a script called > installdb which doesn't exist...Do you know how to create the NDO > Database and the tables? > > Natalie > > -----Original Message----- > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Friday, June 19, 2009 05:47 AM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDO Utilities install NDO database > error for NDO Util 1.3.1 > > Hi, > > if it helps do the following: > > # mysql -u root -p > > CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios'; > > GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY > '' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 > MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; > > CREATE DATABASE IF NOT EXISTS `nagios` ; > > GRANT ALL PRIVILEGES ON `nagios` . * TO ''@'localhost'; > > quit > > # mysql -u root -p nagios < mysql.sql > > Kind regards, > Michael > > > > Natalie Aloi wrote the following on 18.06.2009 22:50: >> Thanks for the reply Marc... >> >> I am using ver 2.11 Nagios the most recent version of ndo utils >> said I had to have a higher version of nagios to use (2.5?) which >> is why I selected 1.3.1 >> >> Natalie >> On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: >> >> > Hello I am attempting to install NDO Utils - I am at the Create >> NDO >> > Database section...except I don't have this installdb file in >> my db >> > directory I have what is below: >> > as you can see I am installing ndoutils 1.3.1 since I am using >> > nagios 2.11 >> > >> >> 1.3.1 is almost 2.5 years out-of-date. You're following instructions >> for 1.4b7; is there a reason you're not installing that more recent >> version? >> Network Operations Center Manager >> Experis Data Center LLC >> 8209 Valley Pike >> PO Box 535 >> Middletown,VA 22645 >> phone:540-869-8702 >> cell:240-988-3267 >> fax:540-869-8710 >> e-mail:naloi at experisdatacenters.com >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> 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 > -- 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 Fri Jun 19 16:11:28 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 19 Jun 2009 16:11:28 +0200 Subject: NDO Utilities install NDO database error for NDO Util 1.3.1 In-Reply-To: References: Message-ID: <4A3B9C90.4020709@univie.ac.at> # mysql -u root -p >> open database shell CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios'; >> creates the user nagios with localhost (where it will coem from) and is identified by password 'nagios' GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY 'nagios' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; >> there was a typo by myself, identified by has to be the passwword with '<' and '>' this grants usage on the database CREATE DATABASE IF NOT EXISTS `nagios` ; >> creates the database called nagios needed for ndo (you have to set those params in ndo2db.cfg) GRANT ALL PRIVILEGES ON `nagios` . * TO 'nagios'@'localhost'; >> grants insert, create, delete, select, update, etc sql privileges for user nagios (forgot to replace that too), onto the database nagios quit >> leave mysql shell # mysql -u root -p nagios < mysql.sql >> -u root -p <-- login with user root >> nagios <-- import to which database >> < mysql.sql <-- file where the database definitions, table definitions are within create statements, those will be imported into the database And cocnernign your db layout - yep, it's the nagios db. Kind regards, Michael Natalie Aloi wrote the following on 19.06.2009 15:40: > hmmm ok maybe I am a little confused because the first part of the > "how to" creates a database using these same commands you listed...Is > the NDO database name nagios? I also did the GRANT ALL on nagios.* > > see snipet below: > mysql> show databases; > +--------------------+ > | Database | > +--------------------+ > | information_schema | > | cactidb | > | mysql | > | nagios | > | test | > +--------------------+ > 5 rows in set (0.00 sec) > > > -----Original Message----- > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Friday, June 19, 2009 09:13 AM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDO Utilities install NDO database > error for NDO Util 1.3.1 > > That's just what I told you with these commands. > > For what I've seen from your dirlisting, you have afile called > "mysql.sql" > > So after these steps you should have your datebase created and > waiting for input. > > Kind regards, > Michael > > Natalie Aloi wrote the following on 19.06.2009 15:02: >> Thanks, I did that without a problem, but when I got to the >> section about creating the NDO database I am supposed to run a >> script called installdb which doesn't exist...Do you know how to >> create the NDO Database and the tables? >> >> Natalie >> >> -----Original Message----- >> *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] >> *Sent:* Friday, June 19, 2009 05:47 AM >> *To:* 'Natalie Aloi' >> *Cc:* 'Nagios Users Mail-list' >> *Subject:* Re: [Nagios-users] NDO Utilities install NDO >> database error for NDO Util 1.3.1 >> >> Hi, >> >> if it helps do the following: >> >> # mysql -u root -p >> >> CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios'; >> >> GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY >> '' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 >> MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; >> >> CREATE DATABASE IF NOT EXISTS `nagios` ; >> >> GRANT ALL PRIVILEGES ON `nagios` . * TO ''@'localhost'; >> >> quit >> >> # mysql -u root -p nagios < mysql.sql >> >> Kind regards, >> Michael >> >> >> >> Natalie Aloi wrote the following on 18.06.2009 22:50: >>> Thanks for the reply Marc... >>> >>> I am using ver 2.11 Nagios the most recent version of ndo >>> utils said I had to have a higher version of nagios to use >>> (2.5?) which is why I selected 1.3.1 >>> >>> Natalie >>> On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: >>> >>> > Hello I am attempting to install NDO Utils - I am at the >>> Create NDO >>> > Database section...except I don't have this installdb file >>> in my db >>> > directory I have what is below: >>> > as you can see I am installing ndoutils 1.3.1 since I am >>> using >>> > nagios 2.11 >>> > >>> >>> 1.3.1 is almost 2.5 years out-of-date. You're following >>> instructions >>> for 1.4b7; is there a reason you're not installing that more >>> recent >>> version? >>> Network Operations Center Manager >>> Experis Data Center LLC >>> 8209 Valley Pike >>> PO Box 535 >>> Middletown,VA 22645 >>> phone:540-869-8702 >>> cell:240-988-3267 >>> fax:540-869-8710 >>> e-mail:naloi at experisdatacenters.com >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> 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 >> > > -- > 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 > > -- 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 naloi at experisdatacenters.com Fri Jun 19 15:40:12 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Fri, 19 Jun 2009 13:40:12 +0000 Subject: NDO Utilities install NDO database error for NDO Util 1.3.1 Message-ID: hmmm ok maybe I am a little confused because the first part of the "how to" creates a database using these same commands you listed...Is the NDO database name nagios? I also did the GRANT ALL on nagios.* see snipet below: mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | cactidb | | mysql | | nagios | | test | +--------------------+ 5 rows in set (0.00 sec) -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Friday, June 19, 2009 09:13 AM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1 That's just what I told you with these commands. For what I've seen from your dirlisting, you have afile called "mysql.sql" So after these steps you should have your datebase created and waiting for input. Kind regards, Michael Natalie Aloi wrote the following on 19.06.2009 15:02: Thanks, I did that without a problem, but when I got to the section about creating the NDO database I am supposed to run a script called installdb which doesn't exist...Do you know how to create the NDO Database and the tables? Natalie -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Friday, June 19, 2009 05:47 AM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDO Utilities install NDO database error for NDO Util 1.3.1 Hi, if it helps do the following: # mysql -u root -p CREATE USER 'nagios'@'localhost' IDENTIFIED BY 'nagios';GRANT USAGE ON * . * TO 'nagios'@'localhost' IDENTIFIED BY '' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;CREATE DATABASE IF NOT EXISTS `nagios` ;GRANT ALL PRIVILEGES ON `nagios` . * TO ''@'localhost';quit # mysql -u root -p nagios < mysql.sql Kind regards, Michael Natalie Aloi wrote the following on 18.06.2009 22:50:Thanks for the reply Marc... I am using ver 2.11 Nagios the most recent version of ndo utils said I had to have a higher version of nagios to use (2.5?) which is why I selected 1.3.1 Natalie On Jun 17, 2009, at 11:09 AM, Natalie Aloi wrote: > Hello I am attempting to install NDO Utils - I am at the Create NDO > Database section...except I don't have this installdb file in my db > directory I have what is below: > as you can see I am installing ndoutils 1.3.1 since I am using > nagios 2.11 > 1.3.1 is almost 2.5 years out-of-date. You're following instructions for 1.4b7; is there a reason you're not installing that more recent version? Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com ------------------------------------------------------------ ------------------------------------------------------------------------------Crystal Reports - New Free Runtime and 30 Day TrialCheck out the new simplified licensing option that enables unlimitedroyalty-free distribution of the report engine for externally facing server and web deployment.http://p.sf.net/sfu/businessobjects ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 Friedrichmichael.friedrich at univie.ac.atTel: +43 1 4277 14359Vienna University Computer CenterUniversitaetsstrasse 7 A-1010 Vienna, Austria -- DI (FH) Michael Friedrichmichael.friedrich at univie.ac.atTel: +43 1 4277 14359Vienna University Computer CenterUniversitaetsstrasse 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 lmw94002 at hotmail.com Fri Jun 19 17:23:10 2009 From: lmw94002 at hotmail.com (Mat W) Date: Fri, 19 Jun 2009 11:23:10 -0400 Subject: notification In-Reply-To: <8d09c5d20906190731g155a29d2w68894a13cea99220@mail.gmail.com> References: <8d09c5d20906190731g155a29d2w68894a13cea99220@mail.gmail.com> Message-ID: are there ALOT of checks going on? eg, when it went down, was there a backlog of checks that were firing off? for example if I have a network issue to a site, suddenly i have 100s of checks firing off in Xmin intervals. Check the logs? up the debug level? -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 10:31:24 -0400 From: prmsrnvs at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification Host Status: UP (for 0d 19h 19m 15s) Status Information: FPING OK - 65.106.232.209 (loss=0%, rta=41.000000 ms) Performance Data: loss=0%;80;100;0;100 rta=0.041000s;2.000000;5.000000;0.000000 Current Attempt: 1/3 (HARD state) Last Check Time: 06-19-2009 10:13:39 Check Type: ACTIVE Check Latency / Duration: 56.436 / 2.537 seconds Next Scheduled Active Check: 06-19-2009 10:14:47 Last State Change: 06-18-2009 14:58:37 Last Notification: N/A (notification 0) Is This Host Flapping? N/A In Scheduled Downtime? NO Last Update: 06-19-2009 10:17:38 ( 0d 0h 0m 14s ago) As per above the host is scheduled to check every 1 min. The parameter in use is "check_interval =1 " also "retry_interval=1" Then when the host went down the " View alert history for this host" at the left corner says : [06-18-2009 14:38:40] HOST ALERT: benroutermr;DOWN;HARD;3;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:56] HOST ALERT: benroutermr;DOWN;SOFT;2;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:40] HOST ALERT: benroutermr;DOWN;SOFT;1;FPING CRITICAL - 65.106.232.209 (loss=100% ) Why is it not checking every minutes when "retry_interval=1" ? ? Because of this notification is getting delayed , i want the notification to be sent 3 min after the host is down. -- Best Regards Param S _________________________________________________________________ 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 lmw94002 at hotmail.com Fri Jun 19 17:30:18 2009 From: lmw94002 at hotmail.com (Mat W) Date: Fri, 19 Jun 2009 11:30:18 -0400 Subject: Best Way to Catch Windows Reboots in Nagios with NSClient++ In-Reply-To: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> Message-ID: Are you opposed to adding NagEventLog with an NCSA service for the passive checks? You can write an event check filter in NagEventLog to look for the specific events in the Event logs. I don't believe the bult-in UPTIME check supports thresholds but you could "wrap" it in some code to do it. -- Mat W. - http://www.techadre.com > Date: Fri, 19 Jun 2009 09:40:43 -0400 > From: dmorris at digitalmorris.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++ > > Anybody have a good way to Catch Windows Reboots in Nagios with NSClient++. > Some times nagios misses the reboot due to timing i think. > > -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 _________________________________________________________________ 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 prmsrnvs at gmail.com Fri Jun 19 18:26:19 2009 From: prmsrnvs at gmail.com (Param Srinivas) Date: Fri, 19 Jun 2009 12:26:19 -0400 Subject: notification In-Reply-To: References: <8d09c5d20906190731g155a29d2w68894a13cea99220@mail.gmail.com> Message-ID: <8d09c5d20906190926j430e44f5h838ddf9ab490e538@mail.gmail.com> Yes , there is a lot of checks going on. There are like 750 hosts with a minimum of about 6 to 7 services checks. Could this be because SERVICE INTER-CHECK DELAY METHOD & HOST INTER-CHECK DELAY METHOD are set to smart calculation ? On Fri, Jun 19, 2009 at 11:23 AM, Mat W wrote: > are there ALOT of checks going on? eg, when it went down, was there a > backlog of checks that were firing off? > > for example if I have a network issue to a site, suddenly i have 100s of > checks firing off in Xmin intervals. > > Check the logs? up the debug level? > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Fri, 19 Jun 2009 10:31:24 -0400 > From: prmsrnvs at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification > > > Host Status: UP > (for 0d 19h 19m 15s) Status Information: FPING OK - 65.106.232.209 > (loss=0%, rta=41.000000 ms) Performance Data: loss=0%;80;100;0;100 > rta=0.041000s;2.000000;5.000000;0.000000 Current Attempt: 1/3 (HARD > state) Last Check Time: 06-19-2009 10:13:39 Check Type: ACTIVE Check > Latency / Duration: 56.436 / 2.537 seconds Next Scheduled Active Check: 06-19-2009 > 10:14:47 Last State Change: 06-18-2009 14:58:37 Last Notification: N/A (notification > 0) Is This Host Flapping? N/A In Scheduled Downtime? NO > Last Update: 06-19-2009 10:17:38 ( 0d 0h 0m 14s ago) > > As per above the host is scheduled to check every 1 min. The parameter in > use is "check_interval =1 " also "retry_interval=1" > Then when the host went down the " View alert history for this host" at > the left corner says : > > > [image: Host Down][06-18-2009 14:38:40] HOST ALERT: > benroutermr;DOWN;HARD;3;FPING CRITICAL - 65.106.232.209 (loss=100% ) > [image: Host Down][06-18-2009 14:32:56] HOST ALERT: > benroutermr;DOWN;SOFT;2;FPING CRITICAL - 65.106.232.209 (loss=100% ) > [image: Host Down][06-18-2009 14:32:40] HOST ALERT: > benroutermr;DOWN;SOFT;1;FPING CRITICAL - 65.106.232.209 (loss=100% ) > Why is it not checking every minutes when "retry_interval=1" ? ? > > > Because of this notification is getting delayed , i want the notification > to be sent 3 min after the host is down. > > -- > Best Regards > Param S > > ------------------------------ > Microsoft brings you a new way to search the web. Try Bing? now > -- Best Regards Param S -------------- 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 Fri Jun 19 18:31:51 2009 From: lmw94002 at hotmail.com (Mat W) Date: Fri, 19 Jun 2009 12:31:51 -0400 Subject: notification In-Reply-To: <8d09c5d20906190926j430e44f5h838ddf9ab490e538@mail.gmail.com> References: <8d09c5d20906190731g155a29d2w68894a13cea99220@mail.gmail.com> <8d09c5d20906190926j430e44f5h838ddf9ab490e538@mail.gmail.com> Message-ID: you could try changing the host_inter_check_delay_method=n variable in nagios.cfg and see how it affects the checks. i'd keep an eye on performance and local system resources too. last thing you want is nagios crashing too. :-) -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 12:26:19 -0400 Subject: Re: [Nagios-users] notification From: prmsrnvs at gmail.com To: lmw94002 at hotmail.com CC: nagios-users at lists.sourceforge.net Yes , there is a lot of checks going on. There are like 750 hosts with a minimum of about 6 to 7 services checks. Could this be because SERVICE INTER-CHECK DELAY METHOD & HOST INTER-CHECK DELAY METHOD are set to smart calculation ? On Fri, Jun 19, 2009 at 11:23 AM, Mat W wrote: are there ALOT of checks going on? eg, when it went down, was there a backlog of checks that were firing off? for example if I have a network issue to a site, suddenly i have 100s of checks firing off in Xmin intervals. Check the logs? up the debug level? -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 10:31:24 -0400 From: prmsrnvs at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification Host Status: UP (for 0d 19h 19m 15s) Status Information: FPING OK - 65.106.232.209 (loss=0%, rta=41.000000 ms) Performance Data: loss=0%;80;100;0;100 rta=0.041000s;2.000000;5.000000;0.000000 Current Attempt: 1/3 (HARD state) Last Check Time: 06-19-2009 10:13:39 Check Type: ACTIVE Check Latency / Duration: 56.436 / 2.537 seconds Next Scheduled Active Check: 06-19-2009 10:14:47 Last State Change: 06-18-2009 14:58:37 Last Notification: N/A (notification 0) Is This Host Flapping? N/A In Scheduled Downtime? NO Last Update: 06-19-2009 10:17:38 ( 0d 0h 0m 14s ago) As per above the host is scheduled to check every 1 min. The parameter in use is "check_interval =1 " also "retry_interval=1" Then when the host went down the " View alert history for this host" at the left corner says : [06-18-2009 14:38:40] HOST ALERT: benroutermr;DOWN;HARD;3;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:56] HOST ALERT: benroutermr;DOWN;SOFT;2;FPING CRITICAL - 65.106.232.209 (loss=100% )[06-18-2009 14:32:40] HOST ALERT: benroutermr;DOWN;SOFT;1;FPING CRITICAL - 65.106.232.209 (loss=100% ) Why is it not checking every minutes when "retry_interval=1" ? ? Because of this notification is getting delayed , i want the notification to be sent 3 min after the host is down. -- Best Regards Param S Microsoft brings you a new way to search the web. Try Bing? now -- Best Regards Param S _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- 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 mwlucas at blackhelicopters.org Fri Jun 19 19:08:03 2009 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 19 Jun 2009 13:08:03 -0400 Subject: trimming nagvis database via cron Message-ID: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> Hi, After a few months of use, our NagVis database grew to 23GB and overwhelmed my (tiny) server. Shutting down the system, dropping the database, and recreating it solved my issues. Surely someone has already written a script to purge the NagVis database on a regular basis, trimming old data to keep the database at a reasonable size. If so, could you share it? I'm sure I can figure this out, but I can't believe that nobody else has had this issue. Thanks, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ ------------------------------------------------------------------------------ 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 syd at ittagteam.com Fri Jun 19 19:23:52 2009 From: syd at ittagteam.com (Syd Alsobrook) Date: Fri, 19 Jun 2009 13:23:52 -0400 Subject: trimming nagvis database via cron In-Reply-To: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> References: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> Message-ID: <200906191323.58825.syd@ittagteam.com> On Friday 19 June 2009, Michael W. Lucas wrote: > After a few months of use, our NagVis database grew to 23GB and > overwhelmed my (tiny) server. Shutting down the system, dropping the > database, and recreating it solved my issues. This isn't a NagVis issues, this is a ndoutils issue. You need to look in your ndo2db.cfg file for the entries: max_timedevents_age max_systemcommands_age max_servicechecks_age max_hostchecks_age max_eventhandlers_age It is recommended that you set these to a very low value. If they are too high you will have other issues with nagios appearing to hang while the DB is cleaned. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-362-1291 http://www.ittagteam.com ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 19 20:57:15 2009 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 19 Jun 2009 11:57:15 -0700 Subject: trimming nagvis database via cron In-Reply-To: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> References: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> Message-ID: <4A3BDF8B.4090902@kkeane.com> I had a similar problem with my ndoutils and mysql. If you are using MySQL and aren't using replication, don't forget to first clear and then turn off binary logs - those files get huge very quickly. Michael W. Lucas wrote: > Hi, > > After a few months of use, our NagVis database grew to 23GB and > overwhelmed my (tiny) server. Shutting down the system, dropping the > database, and recreating it solved my issues. > > Surely someone has already written a script to purge the NagVis > database on a regular basis, trimming old data to keep the database at > a reasonable size. If so, could you share it? > > I'm sure I can figure this out, but I can't believe that nobody else > has had this issue. > > Thanks, > ==ml > > > -- 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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Fri Jun 19 20:48:39 2009 From: mlitwin at stubhub.com (Litwin, Matthew) Date: Fri, 19 Jun 2009 11:48:39 -0700 Subject: Access Control for disable notification? Message-ID: Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From syd at ittagteam.com Fri Jun 19 21:06:31 2009 From: syd at ittagteam.com (Syd Alsobrook) Date: Fri, 19 Jun 2009 15:06:31 -0400 Subject: trimming nagvis database via cron In-Reply-To: <4A3BDF8B.4090902@kkeane.com> References: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> <4A3BDF8B.4090902@kkeane.com> Message-ID: <200906191506.31589.syd@ittagteam.com> On Friday 19 June 2009, Kevin Keane wrote: > I had a similar problem with my ndoutils and mysql. If you are using > MySQL and aren't using replication, don't forget to first clear and then > turn off binary logs - those files get huge very quickly. Yea, binary logs can be a pain to, I am working on a global event handler for purging. Syd -- Syd Alsobrook IT Tag Team, Inc. 518-362-1291 http://www.ittagteam.com ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 19 21:32:02 2009 From: lmw94002 at hotmail.com (Mat W) Date: Fri, 19 Jun 2009 15:32:02 -0400 Subject: Access Control for disable notification? In-Reply-To: References: Message-ID: cgi.cfg has the options for security access to the webUI. authorized_for_all_service_commands You can't get that much more granular out of the box I don't think. Might be some addons out there, but I haven't dug into it. -- Mat W. - http://www.techadre.com Date: Fri, 19 Jun 2009 11:48:39 -0700 From: mlitwin at stubhub.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Access Control for disable notification? Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? _________________________________________________________________ Bing? brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Jun 19 22:52:23 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 19 Jun 2009 16:52:23 -0400 Subject: Problem in Preflight Check with commands.cfg Message-ID: Hi there -- I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server using the apt-get utility. We currently have a Nagios 2.6 server running, and I wanted to import the configuration files into the newer server. To that end, I have placed the appropriate configuration files in the /etc/nagios3/conf.d directory, and modified the nagios.cfg file to reflect the location of the configuration files. I ran the preflight check and the following error message appeared on-screen: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I checked the commands.cfg, and several other files, and I do not see where the duplicate definition is occurring. Can someone lend a hand on this? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarley at gmi-mr.com Fri Jun 19 22:47:20 2009 From: scarley at gmi-mr.com (Sean Carley) Date: Fri, 19 Jun 2009 13:47:20 -0700 Subject: Access Control for disable notification? In-Reply-To: References: Message-ID: You could always use an apache rewrite rule to discourage those commands: RewriteEngine On RewriteCond %{QUERY_STRING} ^(cmd_typ=25)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html RewriteCond %{QUERY_STRING} ^(cmd_typ=23)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html RewriteCond %{QUERY_STRING} ^(cmd_typ=29)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html From: Mat W [mailto:lmw94002 at hotmail.com] Sent: Friday, June 19, 2009 12:32 PM To: mlitwin at stubhub.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Access Control for disable notification? cgi.cfg has the options for security access to the webUI. authorized_for_all_service_commands You can't get that much more granular out of the box I don't think. Might be some addons out there, but I haven't dug into it. -- Mat W. - http://www.techadre.com ________________________________ Date: Fri, 19 Jun 2009 11:48:39 -0700 From: mlitwin at stubhub.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Access Control for disable notification? Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? ________________________________ Bing(tm) brings you maps, menus, and reviews organized in one place. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.Kustner at RetirementPartner.com Fri Jun 19 23:33:46 2009 From: Tom.Kustner at RetirementPartner.com (Kustner, Tom) Date: Fri, 19 Jun 2009 15:33:46 -0600 Subject: "Last check" info seems stale (Nagios 2.9) Message-ID: <2CA6F80551BEBC4EB515701F3509FC6C0596BB62@ITS-EXMBX3.its.corp.gwl.com> I am a Nagios user, not the administrator.? We are running Nagios 2.9 on RHEL 4 or 5.? Overall, 200+ hosts with 3000 services being monitored, but I have access for monitoring a smaller number of hosts. In looking last week into an issue where a host had gone down but no alert was sent, I noticed that on the "Host Status Details For All Host Groups" screen, where it lists Hosts, Status, Last Check, etc., the Last Check date for some of the hosts went back almost two months.?? I pointed this out to the administrator who didn't disagree with my statement but said the logs showed otherwise.? Nagios was restarted but even now, there is a host where the Last Check date still shows as 05-19-2009.? There are other hosts showing a last check date of June 5, June 9, June 10, and so on.? These hosts are definitely up. Either Nagios is being tardy at checking things, is *not* being tardy but is displaying inaccurate information, or I am misunderstanding this field or what Nagios means by "Last check".? Can anyone shed some light? Tom Kustner MCSE, CNE The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.Kustner at RetirementPartner.com Fri Jun 19 23:35:05 2009 From: Tom.Kustner at RetirementPartner.com (Kustner, Tom) Date: Fri, 19 Jun 2009 15:35:05 -0600 Subject: How often does Nagios need restarting? (Quis custodiet ipsos custodes?) Message-ID: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> I am a Nagios user, not the administrator. We are running Nagios 2.9 on RHEL 4 or 5. Overall, 200+ hosts with 3000 services being monitored. I have access for monitoring a smaller number of hosts. In another posting, I alluded to an issue where a host had gone down but no alert was sent out. The issue surfaced again today and as was done the other time, Nagios was restarted to "fix" the problem. I am naturally concerned about the unreliability. Any thoughts on this problem? Specifically: * What are best practices for making sure Nagios does not fall down on the job? Is there something not set right? * Are other Nagios administrators restarting Nagios on a weekly or nightly basis to keep it on the job? * Is this an issue specific to Nagios 2.9? Was 2.9 a spotty version? * For a given host, why would "active checks" be enabled, yet "N/A" appears in the "Next Active Check" field? Thanks for any help. -Tom Kustner- The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 20 03:23:24 2009 From: jpratt at norwich.edu (James Pratt) Date: Fri, 19 Jun 2009 21:23:24 -0400 Subject: How often does Nagios need restarting? (Quiscustodiet ipsos custodes?) In-Reply-To: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> Message-ID: <8147CCE3C4A8764DA9980125EE70E823DD9C23@nuexchg.norwich.edu> Hi Tom, I've tried to answer your questions to the best of my own personal knowledge -I have replaced any of your original "*" symbols with my own on all my comments/thoughts below, since my MS outlook client apparently just sucks, so this appears more readable. Regards, jamie -----Original Message----- From: Kustner, Tom [mailto:Tom.Kustner at RetirementPartner.com] Sent: Friday, June 19, 2009 5:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How often does Nagios need restarting? (Quiscustodiet ipsos custodes?) I am a Nagios user, not the administrator. We are running Nagios 2.9 on RHEL 4 or 5. Overall, 200+ hosts with 3000 services being monitored. I have access for monitoring a smaller number of hosts. * ok, understood... In another posting, I alluded to an issue where a host had gone down but no alert was sent out. The issue surfaced again today and as was done the other time, Nagios was restarted to "fix" the problem. I am naturally concerned about the unreliability. * did you get any on-list or off-list replies at all? You have not mentioned if you had it resolved or not, but it sound like the answer is no to possibly both(?) Any thoughts on this problem? Specifically: What are best practices for making sure Nagios does not fall down on the job? Is there something not set right? * Understanding your setup and the way nagios works is how you ensure it stands up... a mis-config sounds likely, but who knows... Are other Nagios administrators restarting Nagios on a weekly or nightly basis to keep it on the job? * Heck no! That's why we run it on Linux or Solaris! :) Is this an issue specific to Nagios 2.9? Was 2.9 a spotty version? *Not to my knowledge - all stable releases have worked very reliably here, especially 2.9 now that I look back... For a given host, why would "active checks" be enabled, yet "N/A" appears in the "Next Active Check" field? * RTM - host checks are not always performed unless service checks fail, and since I've been a manual-slacker myself, that may not even be the true correct answer (Marc? :) Thanks for any help. -Tom Kustner- * Not to sound negative/condescending or anything like that, but your install will truly only work as well as you have maintained it/understand it. You should really look at your current config files and read the manual on 2.9, or upgrade to 3.x and again rtm... Also, you have not sent anything specific related to your problematic config(s) for anyone on this list to even guess either way whether or not something is mis-configured. If you are concerned about posting your configs/setup, change stuff properly to hide what you need to on-list. (I apologize if I have missed your earlier posting. Many here try our best to help people here when possible, but sometimes we are all busy at the same time, who knows!?). Cheers, Jamie ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 20 04:05:46 2009 From: marc at ena.com (Marc Powell) Date: Fri, 19 Jun 2009 21:05:46 -0500 Subject: "Last check" info seems stale (Nagios 2.9) In-Reply-To: <2CA6F80551BEBC4EB515701F3509FC6C0596BB62@ITS-EXMBX3.its.corp.gwl.com> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB62@ITS-EXMBX3.its.corp.gwl.com> Message-ID: <79A22E55-9647-4E3F-85DF-C6F388F5CE4D@ena.com> On Jun 19, 2009, at 4:33 PM, Kustner, Tom wrote: > I am a Nagios user, not the administrator. We are running Nagios > 2.9 on RHEL 4 or 5. Overall, 200+ hosts with 3000 services being > monitored, but I have access for monitoring a smaller number of hosts. > > In looking last week into an issue where a host had gone down but no > alert was sent, I noticed that on the "Host Status Details For All > Host Groups" screen, where it lists Hosts, Status, Last Check, etc., > the Last Check date for some of the hosts went back almost two > months. I pointed this out to the administrator who didn't > disagree with my statement but said the logs showed otherwise. > Nagios was restarted but even now, there is a host where the Last > Check date still shows as 05-19-2009. There are other hosts showing > a last check date of June 5, June 9, June 10, and so on. These > hosts are definitely up. > > Either Nagios is being tardy at checking things, is *not* being > tardy but is displaying inaccurate information, or I am > misunderstanding this field or what Nagios means by "Last check". > Can anyone shed some light? This is normal. Hosts aren't checked unless a service on the host returns a non-OK result. If all services are up, the host must be up so there is no reason to check it. If a service returns a non-OK result, only then do you need to know if the host is down or not and a host check is run. As for the host being down and no notification being sent, you should verify that it has services defined for it, they return non-OK results when the host is down and that the host check returns a non-OK result when the host is down. Of course, your admin is the best person to check these things. -- Marc ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 20 04:09:53 2009 From: marc at ena.com (Marc Powell) Date: Fri, 19 Jun 2009 21:09:53 -0500 Subject: How often does Nagios need restarting? (Quis custodiet ipsos custodes?) In-Reply-To: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> Message-ID: <3026FF0C-9804-49D0-9A2F-FC0EAD9042F9@ena.com> On Jun 19, 2009, at 4:35 PM, Kustner, Tom wrote: > I am a Nagios user, not the administrator. We are running Nagios > 2.9 on > RHEL 4 or 5. Overall, 200+ hosts with 3000 services being > monitored. I > have access for monitoring a smaller number of hosts. > > In another posting, I alluded to an issue where a host had gone down > but > no alert was sent out. The issue surfaced again today and as was > done > the other time, Nagios was restarted to "fix" the problem. I am > naturally concerned about the unreliability. > > Any thoughts on this problem? Specifically: I am not aware of any problems such as you describe that a restart would 'fix'. > * What are best practices for making sure Nagios does not fall down on > the job? Is there something not set right? See my previous e-mail. > * Are other Nagios administrators restarting Nagios on a weekly or > nightly basis to keep it on the job? I reload hourly to pick up new config changes but rarely restart. > * Is this an issue specific to Nagios 2.9? Was 2.9 a spotty version? I'm not sure you even have an issue outside of a possible configuration problem. No, 2.9 was not spotty or bad. > * For a given host, why would "active checks" be enabled, yet "N/A" > appears in the "Next Active Check" field? This is normal. See my previous e-mail. -- Marc ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jun 20 03:59:48 2009 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 19 Jun 2009 21:59:48 -0400 Subject: Best Way to Catch Windows Reboots in Nagios with NSClient++ In-Reply-To: References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> Message-ID: The threshold testing of Uptime should be can be done by modifying check_nt check_nc_net has this already included in it, and is compatible as a replacement for check_nt.c it is availible at: https://sourceforge.net/projects/nc-net/ TOny (Author of NC_Net) Change the Case Uptime to something like the following then recompile: case CHECK_UPTIME: asprintf(&send_buffer, "%s&3", req_password); fetch_data (server_address, server_port, send_buffer); uptime=strtoul(recv_buffer,NULL,10); updays = uptime / 86400; uphours = (uptime % 86400) / 3600; upminutes = ((uptime % 86400) % 3600) / 60; asprintf(&output_message,_("System Uptime - %u day(s) %u hour(s) %u minute(s)"),updays,uphours, upminutes); return_code=STATE_OK; if( check_critical_value==TRUE && critical_value > updays ) return_code=STATE_CRITICAL; else if ( check_warning_value==TRUE && warning_value > updays ) return_code=STATE_WARNING; break; On Fri, Jun 19, 2009 at 11:30 AM, Mat W wrote: > Are you opposed to adding NagEventLog with an NCSA service for the passive > checks? You can write an event check filter in NagEventLog to look for the > specific events in the Event logs. > > I don't believe the bult-in UPTIME check supports thresholds but you could > "wrap" it in some code to do it. > > -- > Mat W. - http://www.techadre.com > > > > > Date: Fri, 19 Jun 2009 09:40:43 -0400 > > From: dmorris at digitalmorris.com > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with > NSClient++ > > > > > Anybody have a good way to Catch Windows Reboots in Nagios with > NSClient++. > > Some times nagios misses the reboot due to timing i think. > > > > -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 > > ------------------------------ > Microsoft brings you a new way to search the web. Try Bing? now > > > ------------------------------------------------------------------------------ > 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victory17 at gmail.com Sat Jun 20 08:04:17 2009 From: victory17 at gmail.com (victory) Date: Sat, 20 Jun 2009 11:34:17 +0530 Subject: Return code of 142 is out of bounds In-Reply-To: References: <4a56dba90906172208t81fd7adif02712029617cd06@mail.gmail.com> Message-ID: <4a56dba90906192304l2c64ab57pa52470a58d45e909@mail.gmail.com> I am using the snmp commands. The following are a coupld of examples: check_snmp_ntpstat -H $HOSTNAME$ -C COMMUNITY_NAME check_snmp_disk -H $HOSTNAME$ -C COMMUNITY_NAME I have seen the faqs mentioned by you and it says the same thing as mentioned by you. But interestingly, error "Return code of 142" started to show up from version 3.x. I did not find that in any previous versions. Regards, On Thu, Jun 18, 2009 at 8:24 PM, Mat W wrote: > there's the FAQ... http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > > I think this can also happen when some checks returns -no- value, or return > a string when expecting an integer, etc. essentially encountering something > the plugin isn't expecting which could be leading to "bad exit" from the > script. > > Can you recreate this from the command line? > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Thu, 18 Jun 2009 10:38:18 +0530 > From: victory17 at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Return code of 142 is out of bounds > > > Hi All, > > I am running Nagios 3.0.2 on FC5 server. > > I have been encountering this strange error intermittently on a few checks. > > (Return code of 142 is out of bounds) > > I am using the nagios with snmp (net-snmp-5.2 & net-snmp-5.3) on a few > servers. > > This normally happens with snmp-load checks or snmp-disk checks. > > I could not find anything related to this problem over the internet. Hoping > to get a solution to this problem here. > > Regards, > > > ------------------------------ > Windows Live(tm): Keep your life in sync. Check it out. > -- Regards, Gagan Brahmi (SKY) +919860091019 (?`?.???) Always `?.?(?`?.???) Keep (?`?.???)?.?? Smiling! `?.?.?? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 07:32:05 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 20 Jun 2009 22:32:05 -0700 Subject: Using passive host checks and freshness Message-ID: <4A3DC5D5.6070500@kkeane.com> I am using Nagios 3.0.6. In my setup, most checks are passive. I also am using passive host checks. I can't get freshness checking to work right for host checks, though it works fine for services. I'd appreciate some help with that! I tried configuring the host checks the same way as service checks: active_checks_enabled 0 passive_checks_enabled 1 check_freshness 1 freshness_threshold 900 check_command check_dummy!2!"Server is down!" But freshness checking apparently is never taking place. When I set active_checks_enabled to 1, Nagios will change the status to UP when a check result arrives for the host, and then immediately, within ten seconds or less, change it back to DOWN. Oddly enough, it does not use the status text return from check_dummy ("Server is down!") but rather (null). The relevant host and template definitions are attached below, as well as an excerpt from the nagios.log file for the same server. define host { host_name xxxx.xxxx.xxxx hostgroups servers alias XXXXX address 192.168.2.197 use windows-server contact_groups mainoffice } define host{ name windows-server ; The name of this host template use generic-host ; Inherit default values from the generic-host template check_period 24x7 ; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each server 10 times (max) # check_command check-host-alive ; Default command to check if servers are "alive" passive_checks_enabled 1 check_freshness 1 freshness_threshold 900 check_command check_dummy!2!"Server is down!" # normal_check_interval 5 # retry_check_interval 2 notification_period 24x7 ; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_options d,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } The Nagios.log file contains: [1245555922] PASSIVE HOST CHECK: xxxx.xxxx.xxxx;0;sometext [1245555922] HOST ALERT: xxxx.xxxx.xxxx;UP;HARD;1;sometext [1245555922] HOST NOTIFICATION: xxx at xxx.com;xxxx.xxxx.xxxx;UP;notify-host-by-email;sometext [1245555930] HOST NOTIFICATION: kkeane;xxxx.xxxx.xxxx;UP;notify-host-by-email;sometext [1245555931] HOST ALERT: xxxx.xxxx.xxxx;DOWN;SOFT;1;(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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 07:50:03 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sat, 20 Jun 2009 22:50:03 -0700 Subject: Auto-adding services Message-ID: <4A3DCA0B.2050108@kkeane.com> I'm trying to simplify my Nagios administration. To do that, I would like to automatically add passive-check services. The mechanism is fairly straightforward: parse out the nagios.log file and look for the error message. [1245563104] Warning: Passive check result was received for service 'XXX' on host 'yyy.zzz.com', but the service could not be found! The only challenge is to make sure I only add the same service once, even if the error appears multiple times. But before I get started on this, I was wondering if this is reinventing the wheel? Does somebody else already have such a tool? Thanks! -- 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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.tirado at gmail.com Sun Jun 21 11:25:53 2009 From: marco.tirado at gmail.com (Marco Tirado) Date: Sun, 21 Jun 2009 11:25:53 +0200 Subject: disk IO for windows? In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B21675@wtps0171.amers.ibechtel.com> References: <7f62d2420906090535v32a16c7dg95b9c52f63415cae@mail.gmail.com> <4A2E6278.9060606@op5.se> <6b13ab0f0906092014q46704af6m470c41115867a476@mail.gmail.com> <872CB0AEB377C240A112DD7C10B2592904B21675@wtps0171.amers.ibechtel.com> Message-ID: Hello: We measure "disk IO" for all Windows machines in our system today. The counters under "Logical Disk" will give you everything you need. I believe the ones you are interested in are: *Physical Disk(Total_)/Disk Reads\sec * -> That is read IOPS *Physical Disk(Total_)/Disk Writes\sec -> *That is writte IOPS You can also get statistics per disk instead of totals: * Physical Disk(C:)/Disk Reads\sec * *Physical Disk(O:)/Disk Reads\sec ... *Other counters which are interesting to look at: *Physical Disk(Total_)/Disk Read Bytes\sec -> Read Bandwidth* *Physical Disk(Total_)/Disk Writes Bytes\sec -> Write Bandwidth **Physical Disk(Total_)/Disk sec\read -> Read latency* ***Physical Disk(Total_)/Disk sec\write* -> Write latency Hope this helps. //Marco On Thu, Jun 11, 2009 at 6:08 PM, Frater, Greg J wrote: > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KISIN at il.ibm.com Sun Jun 21 11:35:44 2009 From: KISIN at il.ibm.com (Alexandra Kisin) Date: Sun, 21 Jun 2009 12:35:44 +0300 Subject: Storage question Message-ID: Hello, Guys. I'm going to setup a Nagios server at my site. It will be a virtual machine which will perform monitoring on about 1000 Linux/Unix servers. My question is regarding the storage space I need to allocate for my Nagios server. I don't know if it is using a lot of storage for logs, or maybe for DB. So how much space do I need on Nagios server in order to monitor about 1000 clients. Thanks in advance. Alexandra ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 11:48:03 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Sun, 21 Jun 2009 10:48:03 +0100 Subject: Storage question In-Reply-To: References: Message-ID: <37c712e0906210248v6e75ad4gca80faec3b78f3e@mail.gmail.com> On Sun, Jun 21, 2009 at 10:35, Alexandra Kisin wrote: > > Hello, Guys. > > I'm going to setup a Nagios server at my site. It will be a virtual machine > which will perform monitoring on about 1000 Linux/Unix servers. > My question is regarding the storage space I need to allocate for my Nagios > server. I don't know if it is using a lot of storage for logs, or maybe for > DB. So how much space do I need on Nagios server in order to monitor about > 1000 clients. When you setup your VM, pay careful attention to connections -- my company makes a product that hammers TCP and SNMP, and we don't support it in VM because apparently we hit resource limits in the number of outbound and inbound connections. Of course, be sure that your physical hosts are all within similar VLANs, in case you have filters/policies between your VLANs. I'd recommend VMotion on a regular basis when you have no Nagios issues to chase to ensure that your guest image can safely continue processing on different physical machines (ie one machine might have its physical NIC in a different VLAN, or might be missing from a group permitted to connect to the database servers, etc) (our product is a really cool FC SAN optimization suite, so has a number of other factors) Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 15:10:54 2009 From: subscription at kkeane.com (Kevin Keane) Date: Sun, 21 Jun 2009 06:10:54 -0700 Subject: Using passive host checks and freshness In-Reply-To: <4A3DC5D5.6070500@kkeane.com> References: <4A3DC5D5.6070500@kkeane.com> Message-ID: <4A3E315E.7000308@kkeane.com> I found the problem. Host freshness checks were turned off in nagios.cfg. Kevin Keane wrote: > I am using Nagios 3.0.6. In my setup, most checks are passive. I also am > using passive host checks. I can't get freshness checking to work right > for host checks, though it works fine for services. I'd appreciate some > help with that! > > I tried configuring the host checks the same way as service checks: > > active_checks_enabled 0 > passive_checks_enabled 1 > check_freshness 1 > freshness_threshold 900 > check_command check_dummy!2!"Server is down!" > > But freshness checking apparently is never taking place. > > When I set active_checks_enabled to 1, Nagios will change the status to > UP when a check result arrives for the host, and then immediately, > within ten seconds or less, change it back to DOWN. Oddly enough, it > does not use the status text return from check_dummy ("Server is down!") > but rather (null). > > > > > The relevant host and template definitions are attached below, as well > as an excerpt from the nagios.log file for the same server. > > define host { > host_name xxxx.xxxx.xxxx > hostgroups servers > alias XXXXX > address 192.168.2.197 > use windows-server > contact_groups mainoffice > } > > define host{ > name windows-server ; The name of this host > template > use generic-host ; Inherit default values > from the generic-host template > check_period 24x7 ; By default, Windows > servers are monitored round the clock > check_interval 5 ; Actively check the > server every 5 minutes > retry_interval 1 ; Schedule host check > retries at 1 minute intervals > max_check_attempts 10 ; Check each server 10 > times (max) > # check_command check-host-alive ; Default > command to check if servers are "alive" > passive_checks_enabled 1 > check_freshness 1 > freshness_threshold 900 > check_command check_dummy!2!"Server is down!" > # normal_check_interval 5 > # retry_check_interval 2 > notification_period 24x7 ; Send notification out > at any time - day or night > notification_interval 30 ; Resend notifications > every 30 minutes > notification_options d,r ; Only send > notifications for specific host states > contact_groups admins ; Notifications get sent > to the admins by default > hostgroups windows-servers ; Host groups that > Windows servers should be a member of > register 0 ; DONT REGISTER THIS - > ITS JUST A TEMPLATE > } > > The Nagios.log file contains: > > [1245555922] PASSIVE HOST CHECK: xxxx.xxxx.xxxx;0;sometext > [1245555922] HOST ALERT: xxxx.xxxx.xxxx;UP;HARD;1;sometext > [1245555922] HOST NOTIFICATION: > xxx at xxx.com;xxxx.xxxx.xxxx;UP;notify-host-by-email;sometext > [1245555930] HOST NOTIFICATION: > kkeane;xxxx.xxxx.xxxx;UP;notify-host-by-email;sometext > [1245555931] HOST ALERT: xxxx.xxxx.xxxx;DOWN;SOFT;1;(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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 21:47:03 2009 From: whit+nagios at transpect.com (Whit Blauvelt) Date: Sun, 21 Jun 2009 15:47:03 -0400 Subject: Relations between .cfg files - problems in Learning Nagios 3.0 Message-ID: <20090621194703.GA2320@transpect.com> Hi all, Due to my not taking to the style of the online docs (good for reference, not so much for learning), got a copy of Kocjan's "Learning NAGIOS 3.0" - well organized, good accessible writing style. Gave me a much clearer picture of the theory. But the examples are partly broken. First off, every single example of configuration code is like: define host { ... Which of course fails validation, since define host { ... is required, at least in 3.0.6. Did his syntax used to work? The next problem I'm hitting is this error: # /opt/nagios/bin/nagios -v /etc/nagios/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Error: Could not find any host matching 'ubuntu' (config file '/etc/nagios/services/default.cfg', starting on line 35) ... Not sure what to fix here to make Nagios happy. My file layout is as recommended in the book: cfg_dir=/etc/nagios/commands cfg_dir=/etc/nagios/timeperiods cfg_dir=/etc/nagios/contacts cfg_dir=/etc/nagios/hosts cfg_dir=/etc/nagios/services in /etc/nagios/hosts/default.cfg: define host { name generic-server check_command check-host-alive check_interval 5 retry_interval 1 max_check_attempts 5 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options d,u,r register 0 } ... define host { use generic-server name ubuntu alias ubuntu (scripts) address 192.168.1.136 contact_groups linux-admins } in /etc/nagios/services/default.cfg: define service { name generic-service check_interval 10 retry_interval 2 max_check_attempts 3 check_period 24x7 register 0 } define service { name workinghours-service check_period workinghours notification_interval 30 notification_period workinghours notification_options w,c,u,r register 0 } ... define service { use workinghours-service,generic-service contact_groups linux-admins host_name ubuntu service_description SSH check_command check_ssh } All of this is cribbed closely from the book - trying to get the examples running. So there a "define host" statement that names a host "ubuntu". It's in a configuration file in a directory listed above the directory with the service configurations. But it's not being found, according to verification. What's needed to have Nagios find it and pass verification here? Thanks, Whit ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 22:26:14 2009 From: whit+nagios at transpect.com (Whit Blauvelt) Date: Sun, 21 Jun 2009 16:26:14 -0400 Subject: Found the typo (one of many) in Learning Nagios 3.0 In-Reply-To: <20090621194703.GA2320@transpect.com> References: <20090621194703.GA2320@transpect.com> Message-ID: <20090621202614.GA2869@transpect.com> On Sun, Jun 21, 2009 at 03:47:03PM -0400, Whit Blauvelt wrote: > define host { > use generic-server > name ubuntu > alias ubuntu (scripts) > address 192.168.1.136 > contact_groups linux-admins > } Ah, that has to be "host_name" not "name". The book's example on p. 53 had that wrong. If the book is going to publish pseudo-code, they really shouldn't pretend to provide working examples. Since this is a "print on demand" publisher, anyone think they're going to fix the book anytime soon? Conceptually a very good book, they just didn't execute - or check that their code could. Whit ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ng.nagios at schmidt24.org Sun Jun 21 22:16:41 2009 From: ng.nagios at schmidt24.org (Carsten Schmidt) Date: Sun, 21 Jun 2009 22:16:41 +0200 Subject: Relations between .cfg files - problems in Learning Nagios 3.0 In-Reply-To: <20090621194703.GA2320@transpect.com> References: <20090621194703.GA2320@transpect.com> Message-ID: <4A3E9529.8060709@schmidt24.org> Hi Whit, > define host { > name generic-server > check_command check-host-alive > check_interval 5 > retry_interval 1 > max_check_attempts 5 > check_period 24x7 > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > register 0 > } this needs to be a hostgroup, try "define hostgroup" instead and I think it will do Regards, Carsten ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jun 21 23:54:01 2009 From: perldork at webwizarddesign.com (Max) Date: Sun, 21 Jun 2009 17:54:01 -0400 Subject: Found the typo (one of many) in Learning Nagios 3.0 In-Reply-To: <20090621202614.GA2869@transpect.com> References: <20090621194703.GA2320@transpect.com> <20090621202614.GA2869@transpect.com> Message-ID: Hi Whit, Authors are usually very glad to hear this kind of feedback and send corrections to the publisher (not that the publisher will necessarily respond quickly). Trust me when I say that some (not all, not naming names :p) publishers 1) do not provide any assistance with technical reviews nor style in books and 2) request rediculously short delivery deadlines for manuscripts. So while it might seem like this was super sloppy on the part of the author, more likely it was a very short schedule for a manuscript that did not allow the authors time to properly edit and revise their work and most likely the author just did not have time to catch the error. Might be better to send this feedback directly to the authors :), I know I am always glad to hear feedback, positive or negative, from readers of anything I publish. - Max On Sun, Jun 21, 2009 at 4:26 PM, Whit Blauvelt wrote: > On Sun, Jun 21, 2009 at 03:47:03PM -0400, Whit Blauvelt wrote: > >> define host { >> ? ? use ? ? ? ? ? ? ? ? ? ? generic-server >> ? ? name ? ? ? ? ? ? ? ? ? ?ubuntu >> ? ? alias ? ? ? ? ? ? ? ? ? ubuntu (scripts) >> ? ? address ? ? ? ? ? ? ? ? 192.168.1.136 >> ? ? contact_groups ? ? ? ? ?linux-admins >> } > > Ah, that has to be "host_name" not "name". The book's example on p. 53 had > that wrong. > > If the book is going to publish pseudo-code, they really shouldn't pretend > to provide working examples. Since this is a "print on demand" publisher, > anyone think they're going to fix the book anytime soon? Conceptually a very > good book, they just didn't execute - or check that their code could. > > Whit > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amateo at um.es Mon Jun 22 08:19:52 2009 From: amateo at um.es (Angel L. Mateo) Date: Mon, 22 Jun 2009 08:19:52 +0200 Subject: How often does Nagios need restarting? (Quis custodiet ipsos custodes?) In-Reply-To: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> Message-ID: <1245651592.20107.7.camel@joshua> El vie, 19-06-2009 a las 15:35 -0600, Kustner, Tom escribi?: > I am a Nagios user, not the administrator. We are running Nagios 2.9 on > RHEL 4 or 5. Overall, 200+ hosts with 3000 services being monitored. I > have access for monitoring a smaller number of hosts. > > In another posting, I alluded to an issue where a host had gone down but > no alert was sent out. The issue surfaced again today and as was done > the other time, Nagios was restarted to "fix" the problem. I am > naturally concerned about the unreliability. > Maybe the problem was a previous problematic restart. In our installation, nagios (nagios3, but previously nagios 1) is working smoothly. We don't have any problem like you, but sometimes when we restart it to reload configuration (if we have added hosts or services). Sometimes, the restart fails and we have several instances of nagios running and appears a similar problem. Killing all nagios processes and starting again fix the problem. We configure nagios with centreon and we don't know if this a problem related with centreon or with a startup scripts (centreon uses them). But, if we don't reload nagios, it runs without problems. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337 ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cms.mahape at eofficeplanet.com Mon Jun 22 08:27:41 2009 From: cms.mahape at eofficeplanet.com (cms.mahape) Date: Mon, 22 Jun 2009 11:57:41 +0530 Subject: How often does Nagios need restarting? (Quis custodiet ipsos custodes?) In-Reply-To: <1245651592.20107.7.camel@joshua> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> <1245651592.20107.7.camel@joshua> Message-ID: <5C1667061D224B9B87C7E1641191C401@eOPcwh02.com> Don?t send mails again Atish -----Original Message----- From: Angel L. Mateo [mailto:amateo at um.es] Sent: Monday, June 22, 2009 11:50 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How often does Nagios need restarting? (Quis custodiet ipsos custodes?) El vie, 19-06-2009 a las 15:35 -0600, Kustner, Tom escribi?: > I am a Nagios user, not the administrator. We are running Nagios 2.9 on > RHEL 4 or 5. Overall, 200+ hosts with 3000 services being monitored. I > have access for monitoring a smaller number of hosts. > > In another posting, I alluded to an issue where a host had gone down but > no alert was sent out. The issue surfaced again today and as was done > the other time, Nagios was restarted to "fix" the problem. I am > naturally concerned about the unreliability. > Maybe the problem was a previous problematic restart. In our installation, nagios (nagios3, but previously nagios 1) is working smoothly. We don't have any problem like you, but sometimes when we restart it to reload configuration (if we have added hosts or services). Sometimes, the restart fails and we have several instances of nagios running and appears a similar problem. Killing all nagios processes and starting again fix the problem. We configure nagios with centreon and we don't know if this a problem related with centreon or with a startup scripts (centreon uses them). But, if we don't reload nagios, it runs without problems. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337 ---------------------------------------------------------------------------- -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.o rg _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.com Mon Jun 22 10:50:52 2009 From: jd at op5.com (Johannes Dagemark) Date: Mon, 22 Jun 2009 10:50:52 +0200 Subject: trimming nagvis database via cron In-Reply-To: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> References: <20090619170803.GA43781@bewilderbeast.blackhelicopters.org> Message-ID: <4A3F45EC.5070606@op5.com> Michael W. Lucas wrote: > Hi, > > After a few months of use, our NagVis database grew to 23GB and > overwhelmed my (tiny) server. Shutting down the system, dropping the > database, and recreating it solved my issues. > > Surely someone has already written a script to purge the NagVis > database on a regular basis, trimming old data to keep the database at > a reasonable size. If so, could you share it? > > Nagvis-1.4 added support for Merlin's database, which has a much slimmer profile than NDO. Merlin is not quite recommended for production use yet but we are working on it so it will be in a few weeks time, you might want to check it out. Cheers -- Johannes Dagemark CTO / VP Engineering ________________________________________ op5 AB F?rsta L?nggatan 19 SE-413 27 Gothenburg cell: +46 733-70 90 24 fax: +46 31-774 04 32 Email: jd at op5.com http://www.op5.com/ > I'm sure I can figure this out, but I can't believe that nobody else > has had this issue. > > Thanks, > ==ml > > > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:20:01 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Mon, 22 Jun 2009 11:20:01 +0200 Subject: nagiosgrapher-1.7.1 Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705F09F01@iw50.iwbnet.ch> Hi I've installed nagiosGrapher-1.7.1 and a icon (without image) appears at side from the PING service into the < Service Status Detail > webpage. When I clic on it the explorer open a new windows with < NETWAYS Nagios Graph > Title with some infos at the top and with some Current graph, Daily graph,... boxes at the bottom (see attach file)! The problem are that no graph appears at all! The only possibility is to view the graph as PNG,PDF,and so on... I've checked all config. files, read the doc again but I don't find the problem ? Has anyone some idea? Best regards Jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NagiosGrapher.pdf Type: application/octet-stream Size: 18017 bytes Desc: NagiosGrapher.pdf URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fferreira at osiatis.es Mon Jun 22 11:41:01 2009 From: fferreira at osiatis.es (Felipe Ferreira) Date: Mon, 22 Jun 2009 11:41:01 +0200 Subject: Nagios SLA tool In-Reply-To: References: Message-ID: <4A3F51AD.20107@osiatis.es> Hello fellow nagios fan, I am looking for an addon that provides me easy and clean reporting capabilities, to allow correct SLA reports. For the front end I use Centreon 2.0.2 and it is a really nice tool, but the Reporting does not allow me simple things like selecting timeperiod, SLAs are only from 8:00 to 17:00 and how can I get that information? I saw few scripts but they are all outdated, NaReTo seems to work only with v2.0 anyone got it working for nagios 3? Functions I would like to see: * /Allow to create groups of services/hosts to genereate report from/ * /Define time periods / * /Sort by problems/ * /Export to CSV,PDF/ * /Auto email reports previsouly defined, weekly or monthly,/ * /Get TOP X most downtime servers/services./ Any advise is very welcome. cheers, Felipe -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 22 12:23:04 2009 From: jimmyjose2980 at gmail.com (Jimmyboy) Date: Mon, 22 Jun 2009 15:53:04 +0530 Subject: SNMP configuration for Nagios: sysUpTime. In-Reply-To: <4A278090.9020000@acces.co.jp> References: <4A2765F9.5050506@acces.co.jp> <4A277098.5080409@acces.co.jp> <4A27782B.1050105@kkeane.com> <4A278090.9020000@acces.co.jp> Message-ID: Hi Ian, You were absolutely correct. I just had to edit the 'command.cfg' and 'windows.cfg' files to get the system uptime value within Nagios' web interface. Also, 'hrSystemUptime.0' fetches the Windows-based system's uptime, whereas, 'sysUpTime.0' fetches the uptime of SNMP service. Hats off to you!! Now, I need to do some more research for additional parameters. Will keep you updated. Thanks, Jim =-=-=-= 2009/6/4 Ian Masters > 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. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Mon Jun 22 12:37:49 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Mon, 22 Jun 2009 12:37:49 +0200 Subject: Infrastructure help! In-Reply-To: References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> Message-ID: <1245667069.5014.12.camel@bdi12718.arvato-logistics.de> Hi guys, We are currently about to fully engage with Nagios. Our current VM which has aprox. 1200 services and 200 hosts will be deleted and a new "distributed monitoring" will be setup. Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 services. Almost all Servers are in a single location. So there should be no need for Nagios "probes" distributed on big locations... Has anyone had an experience with Nagios with this ammount of hosts/services to be monitored? I need a basic guidance regarding hardware and distribution model to be used. Thanks in advance for your suggestions. Regards, Harald -----Original Message----- From: Mat W To: dmorris at digitalmorris.com, nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++ Date: Fri, 19 Jun 2009 11:30:18 -0400 Are you opposed to adding NagEventLog with an NCSA service for the passive checks? You can write an event check filter in NagEventLog to look for the specific events in the Event logs. I don't believe the bult-in UPTIME check supports thresholds but you could "wrap" it in some code to do it. -- Mat W. - http://www.techadre.com > Date: Fri, 19 Jun 2009 09:40:43 -0400 > From: dmorris at digitalmorris.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Best Way to Catch Windows Reboots in Nagios with NSClient++ > > Anybody have a good way to Catch Windows Reboots in Nagios with NSClient++. > Some times nagios misses the reboot due to timing i think. > > -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 ________________________________________________________________________ Microsoft brings you a new way to search the web. Try Bing? now ------------------------------------------------------------------------------ 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Mon Jun 22 13:07:48 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Mon, 22 Jun 2009 13:07:48 +0200 Subject: Infrastructure help! In-Reply-To: <1245667069.5014.12.camel@bdi12718.arvato-logistics.de> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> <1245667069.5014.12.camel@bdi12718.arvato-logistics.de> Message-ID: <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> Hi guys, We are currently about to fully engage with Nagios. Our current VM which has aprox. 1200 services and 200 hosts will be deleted and a new "distributed monitoring" will be setup. Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 services. Almost all Servers are in a single location. So there should be no need for Nagios "probes" distributed on big locations... Has anyone had an experience with Nagios with this ammount of hosts/services to be monitored? I need a basic guidance regarding hardware and distribution model to be used. Thanks in advance for your suggestions. Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Jun 22 13:55:58 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 22 Jun 2009 07:55:58 -0400 Subject: REPOST: Problem in Preflight Check with commands.cfg Message-ID: Hi there-- I am reposting this question due to a lack of response. I really am in need of help here, and any would be greatly appreciated. Thanks. I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server using the apt-get utility. We currently have a Nagios 2.6 server running, and I wanted to import the configuration files into the newer server. To that end, I have placed the appropriate configuration files in the /etc/nagios3/conf.d directory, and modified the nagios.cfg file to reflect the location of the configuration files. I ran the preflight check and the following error message appeared on-screen: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I checked the commands.cfg, and several other files, and I do not see where the duplicate definition is occurring. Can someone lend a hand on this? Thanks. -----Original Message----- From: Kaplan, Andrew H. Sent: Friday, June 19, 2009 4:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem in Preflight Check with commands.cfg Hi there -- I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server using the apt-get utility. We currently have a Nagios 2.6 server running, and I wanted to import the configuration files into the newer server. To that end, I have placed the appropriate configuration files in the /etc/nagios3/conf.d directory, and modified the nagios.cfg file to reflect the location of the configuration files. I ran the preflight check and the following error message appeared on-screen: /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL Reading configuration data... Warning: Duplicate definition found for command 'check_dns' (config file '/etc/nagios3/conf.d/commands.cfg', starting on line 90) Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' on line 91. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I checked the commands.cfg, and several other files, and I do not see where the duplicate definition is occurring. Can someone lend a hand on this? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Jun 22 13:44:41 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 22 Jun 2009 13:44:41 +0200 Subject: Infrastructure help! In-Reply-To: <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> ("Harald =?utf-8?Q?B=C3=B6hmecke=22's?= message of "Mon, 22 Jun 2009 13:07:48 +0200") References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> <1245667069.5014.12.camel@bdi12718.arvato-logistics.de> <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> Message-ID: <15tr5xcfq6u.fsf@tux.uio.no> Harald B?hmecke writes: > We are currently about to fully engage with Nagios. > > Our current VM which has aprox. 1200 services and 200 hosts will be > deleted and a new "distributed monitoring" will be setup. > > Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 > services. > > Almost all Servers are in a single location. So there should be no > need for Nagios "probes" distributed on big locations... > > Has anyone had an experience with Nagios with this ammount of > hosts/services to be monitored? I need a basic guidance regarding > hardware and distribution model to be used. We currently have ~850 host and ~13000 service checks running on a single, standalone server. The hardware is nothing fancy, a plain HP ProLiant DL360 G5 with 8GB of RAM. You should be fine with a single server, but there are a few things to look out for: * The 'enable_environment_macro' should be set to 0. Enabling this config option seriously increased the load on our server. * PNP4Nagios and similar addons may significantly increase the load on your server. We collect perfdata and use PNP4Nagios for only a few select services. * The Nagios embedded perl interpreter (ePN) was a major PITA, it leaked memory and we ended up compiling Nagios without ePN completely. * You may have to adjust the command_check_interval and similar config settings. * We mostly use NRPE plugins and only monitor UNIX/Linux hosts. You may have to take care not to use plugins that consume a lot of resources on your Nagios server. These are the only tuning tips I can think of for now, but YMMV :) We don't use distributed monitoring, but are looking into it. When a more streamlined clustered Nagios setup becomes available for production use (probably with the Merlin backend), we will definately be interested. Cheers, -- Trond Hasle Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Mon Jun 22 14:03:54 2009 From: guidosh at gmail.com (Guy Waugh) Date: Mon, 22 Jun 2009 13:03:54 +0100 Subject: REPOST: Problem in Preflight Check with commands.cfg In-Reply-To: References: Message-ID: Hi there, All I can suggest is: 1. "cd /etc/nagios3/conf.d; grep -r check_dns *" and see if the command definition appears twice anywhere; 2. Vet your nagios.cfg carefully and make sure you're not inadvertently including the same file twice, files from somewhere else etc.; and 3. Deleting the lines around the definition of the check_dns command, and the command definition itself, and retyping it manually (to make sure no strange characters have found their way in there somewhere). You've probably done the equivalent of all those already, but that's all I can think of... Cheers, Guy. On Mon, Jun 22, 2009 at 12:55 PM, Kaplan, Andrew H. wrote: > Hi there-- > > I am reposting this question due to a lack of response. I really am in need > of > help here, and any would be greatly appreciated. Thanks. > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 > server > using the apt-get utility. We currently have a Nagios 2.6 server running, > and > I wanted to import the configuration files into the newer server. To that > end, > I have placed the appropriate configuration files in the > /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of the > configuration files. > > I ran the preflight check and the following error message appeared > on-screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file > '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config > files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see where > the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Friday, June 19, 2009 4:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem in Preflight Check with commands.cfg > > Hi there -- > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 > server > using the apt-get utility. > We currently have a Nagios 2.6 server running, and I wanted to import the > configuration files into the > newer server. To that end, I have placed the appropriate configuration > files in > the /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of the > configuration files. > > I ran the preflight check and the following error message appeared > on-screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file > '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config > files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see where > the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > > > > The information in this e-mail is intended only for the person to whom it > is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in > error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 14:36:25 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Mon, 22 Jun 2009 14:36:25 +0200 Subject: WG: nagiosgrapher-1.7.1 -> graphs performance tools? Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705F09FB7@iw50.iwbnet.ch> Hi again, I've read some webpage about nagiosgrapher... and it will be replace with netwaysgrapher2 ;( So, nagiosgrapher doesn't run well and I want to install a new performance graph tools. I've seen on Internet about: PNP4Nagios, opcp, nagiosgraph, n2rrd, and so on... Do you have experience feedback about performance graphs? Thank a lot for your help, jerome Von: Meyer Jerome Gesendet: Montag, 22. Juni 2009 11:20 An: 'Nagios-users at lists.sourceforge.net' Betreff: nagiosgrapher-1.7.1 Hi I've installed nagiosGrapher-1.7.1 and a icon (without image) appears at side from the PING service into the < Service Status Detail > webpage. When I clic on it the explorer open a new windows with < NETWAYS Nagios Graph > Title with some infos at the top and with some Current graph, Daily graph,... boxes at the bottom (see attach file)! The problem are that no graph appears at all! The only possibility is to view the graph as PNG,PDF,and so on... I've checked all config. files, read the doc again but I don't find the problem ? Has anyone some idea? Best regards Jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 16:21:40 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Mon, 22 Jun 2009 10:21:40 -0400 Subject: Infrastructure help! In-Reply-To: <15tr5xcfq6u.fsf@tux.uio.no> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> <1245667069.5014.12.camel@bdi12718.arvato-logistics.de> <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> <15tr5xcfq6u.fsf@tux.uio.no> Message-ID: Alot depends on the type of checks, the check frequency, and timeout values. For example, we have ALOT of webinject (perl script) tests which can take 20-40 seconds to complete. With a retry_interval of 1min, when we have some "issues", we can quickly have many checks running simultaneously (even hanging, waiting for the 60sec timeout). This can quickly suck memory and may cause Nagios to crash. In my situation, I have several small VPS systems that do external monitoring, testing and development that check to ensure Nagios is running on the our core monitoring box and page me to death if that check fails. :-) On a very reasonable spec'd server I'm sure you should be able to handle it. -- Mat W. - http://www.techadre.com > From: t.h.amundsen at usit.uio.no > To: harald.boehmecke at bertelsmann.de > Date: Mon, 22 Jun 2009 13:44:41 +0200 > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Infrastructure help! > > Harald B?hmecke writes: > > > We are currently about to fully engage with Nagios. > > > > Our current VM which has aprox. 1200 services and 200 hosts will be > > deleted and a new "distributed monitoring" will be setup. > > > > Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 > > services. > > > > Almost all Servers are in a single location. So there should be no > > need for Nagios "probes" distributed on big locations... > > > > Has anyone had an experience with Nagios with this ammount of > > hosts/services to be monitored? I need a basic guidance regarding > > hardware and distribution model to be used. > > We currently have ~850 host and ~13000 service checks running on a > single, standalone server. The hardware is nothing fancy, a plain HP > ProLiant DL360 G5 with 8GB of RAM. You should be fine with a single > server, but there are a few things to look out for: > > * The 'enable_environment_macro' should be set to 0. Enabling this > config option seriously increased the load on our server. > > * PNP4Nagios and similar addons may significantly increase the load on > your server. We collect perfdata and use PNP4Nagios for only a few > select services. > > * The Nagios embedded perl interpreter (ePN) was a major PITA, it > leaked memory and we ended up compiling Nagios without ePN > completely. > > * You may have to adjust the command_check_interval and similar config > settings. > > * We mostly use NRPE plugins and only monitor UNIX/Linux hosts. You > may have to take care not to use plugins that consume a lot of > resources on your Nagios server. > > These are the only tuning tips I can think of for now, but YMMV :) > > We don't use distributed monitoring, but are looking into it. When a > more streamlined clustered Nagios setup becomes available for production > use (probably with the Merlin backend), we will definately be > interested. > > Cheers, > -- > Trond Hasle Amundsen > Center for Information Technology Services, University of Oslo > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelcome at tenet.ac.za Mon Jun 22 15:57:46 2009 From: twelcome at tenet.ac.za (Traiano Welcome) Date: Mon, 22 Jun 2009 15:57:46 +0200 Subject: StatusMaps Nagios With Google Maps In-Reply-To: <1245329480.6841.7.camel@deocir-desktop> References: <1245329480.6841.7.camel@deocir-desktop> Message-ID: <4A3F8DDA.6070509@tenet.ac.za> Hi Deocir I have a (not very elegant) but working implementation of this, below is a description that you may be able to use as a rough example to construct your own, and attached is the scripts I use: The system is composed of a number of components 1. Google API Frontend (NAGIOS-monitored sites over a map display): ---------------------------------------------------------------------------------------------- The GoogleMaps frontend scripts are based on examples provided in the API tutorial, and modified to display sites stored in a mysql database table. The scripts draw individual sites with markers coloured blue or red depending on whether the site is up or down, and also links (representing WAN links) between sites defined by two GPS end-points. 2. Node and Link Editing Interface (so users can edit WAN links and site markers) ----------------------------------------------------------------------------------------------------------- PHP scripts provide an interface to define single nodes on a map, which represent sites monitored by NAGIOS, and also WAN links between two sites that have been defined. Basically, the scripts allow you to enter site details and GPS coordinates into a database table, which the Google API code will read and represent on the GoogleMap. 3. Database Backend (to hold site GPS coordinates and site status info): --------------------------------------------------------------------------------------------- Mysql database tables hold information defining a "site" on the map, i.e GPS coordinates, colour of the marker, name of the site and a short textual description of the site which will pop up on the map "on mouse-over ". The GoogleMap frontend code reads these tables in order to draw links and individual sites. The tables are edited through a simple HTML/PHP frontend in order to define sites and links. 4. Site Marker update script (to update the status of site markers on the map according to NAGIOS alerts) ------------------------------------------------------------------------------------------------------------------------------------------ NAGIOS sends alerts via email to an email alias on the web server, the alias is to a perl script which parses the email and updates the status of the site in the database table. Depending on the status of a site (UP/DOWN) the colour of the marker for a given site is changed between Blue and Red, and this will show up on the GoogleMap frontend. Attached are the scripts that comprise the system, below is a description of how they're arranged in the file hierarchy on my web server: Web front-end scripts: ----- traiano at sparklight:/var/www/maps/# ls -l -rw-r--r-- 1 root root 3921 2009-06-19 13:40 index.html -rw-r--r-- 1 root root 4950 2009-06-19 13:40 mapedit.php -rwxr-xr-x 1 root root 90 2009-06-19 13:40 phpsqlajax_dbinfo.php -rwxr-xr-x 1 root root 1277 2009-06-19 13:40 phpsqlajax_genxml_lines.php -rwxr-xr-x 1 root root 1238 2009-06-19 13:40 phpsqlajax_genxml.php -rwxr-xr-x 1 root root 1965 2009-06-19 13:40 store_link.php ---- Perl code and files to update the status of sites in the database ---- traiano at sparklight:/var/local/google_mapping# ls -la * -rw-rw-rw- 1 root staff 98222 2009-06-03 19:36 msg.log -rw-r--r-- 1 root staff 230 2009-02-09 15:33 sample.dat -rw-rw-rw- 1 root staff 773 2009-06-03 19:36 site_status.dat bin: total 12 drwxr-sr-x 2 root staff 4096 2009-02-09 15:38 . drwxrwsrwx 3 root staff 4096 2009-06-19 13:45 .. -rwxr-xr-x 1 root staff 2279 2009-02-09 15:38 update_marker_status.pl ---- Database schema and sample data: --- tables in the google mapping database ---- mysql> show tables; +--------------------------+ | Tables_in_google_mapping | +--------------------------+ | map_items | | map_links | | map_node_relations | | map_nodes | | markers | +--------------------------+ 5 rows in set (0.00 sec) --- map_items ---- The map_items table holds items for a drop down list so the user can select the colour of a link when defining it through the interface: mysql> describe map_items; +-------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | link_colour | varchar(255) | NO | | #FF0000 | | | link_width | int(16) | NO | | 3 | | +-------------+--------------+------+-----+---------+----------------+ 3 rows in set (0.00 sec) mysql> select * from map_items; +----+-------------+------------+ | id | link_colour | link_width | +----+-------------+------------+ | 1 | #FFFFFF | 1 | | 2 | #FFF200 | 2 | | 3 | #00FF00 | 3 | | 4 | #FF5F00 | 4 | +----+-------------+------------+ 4 rows in set (0.00 sec) --- map_links ---- The map_links table holds the coordinate information required for the GoogleMap API to draw a link. The coords are taken from sites that have already been defined in the "markers" table. mysql> describe map_links; +--------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | link_id | varchar(255) | NO | | UNKNOWN | | | link_parent | int(16) | NO | | 0 | | | parent_coord | varchar(255) | NO | | UNKNOWN | | | link_child | int(16) | NO | | 0 | | | child_coord | varchar(255) | NO | | UNKNOWN | | | link_state | varchar(255) | NO | | UP | | | link_desc | varchar(255) | NO | | UNKNOWN | | | link_colour | varchar(255) | NO | | #002A97 | | | link_width | int(16) | NO | | 3 | | +--------------+--------------+------+-----+---------+----------------+ 10 rows in set (0.00 sec) mysql> select * from map_links limit 1; +----+---------+-------------+----------------------+------------+----------------------+------------+------------------+-------------+------------+ | id | link_id | link_parent | parent_coord | link_child | child_coord | link_state | link_desc | link_colour | link_width | +----+---------+-------------+----------------------+------------+----------------------+------------+------------------+-------------+------------+ | 7 | 85-44 | 85 | -29.134351,23.044633 | 44 | -24.193867,24.055133 | UP | SITE85-SITE44 Link | #002A97 | 3 | +----+---------+-------------+----------------------+------------+----------------------+------------+------------------+-------------+------------+ 1 row in set (0.00 sec) --- markers --- The markers table holds details of each monitored site that will be required for the Googlemap API scripts to place site markers on the map. The details are added via a simple PHP web form the users fill in: mysql> describe markers; +---------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------+-------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | varchar(60) | NO | | | | | address | varchar(80) | NO | | | | | lat | float(10,6) | NO | | | | | lng | float(10,6) | NO | | | | | type | varchar(30) | NO | | | | +---------+-------------+------+-----+---------+----------------+ 6 rows in set (0.01 sec) An example of a defined site (marker) in the table: mysql> select * from markers limit 1; +----+-------+----------------------------------------------------------------------------------+------------+-----------+------+ | id | name | address | lat | lng | type | +----+-------+----------------------------------------------------------------------------------+------------+-----------+------+ | 1 | NUMC | University of Lalaland, Primary PABX Room | -24.887315 | 45.985916| UP | +----+-------+----------------------------------------------------------------------------------+------------+-----------+------+ 1 row in set (0.00 sec) Deocir Ribeiro Luz wrote: > Hi all, > > I'm new in this list, so I don't know if this was discussed here. I'm > studing the API Google Maps with the objective of the integrate of the > statusmaps of nagios with the Google Maps. I need do this, are there > some person that did this here that can help me? > > Thanks > Deocir Ribeiro Luz > > > ------------------------------------------------------------------------------ > 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 -------------- A non-text attachment was scrubbed... Name: google-mapping-documentation.tar.gz Type: application/gzip Size: 15517 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harald.boehmecke at bertelsmann.de Mon Jun 22 15:59:09 2009 From: harald.boehmecke at bertelsmann.de (Harald =?ISO-8859-1?Q?B=F6hmecke?=) Date: Mon, 22 Jun 2009 15:59:09 +0200 Subject: Infrastructure help! In-Reply-To: <2C8854B601A84CD09EE4B07FF3DE5924@eOPcwh02.com> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com> <1245667069.5014.12.camel@bdi12718.arvato-logistics.de> <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> <2C8854B601A84CD09EE4B07FF3DE5924@eOPcwh02.com> Message-ID: <1245679149.5014.48.camel@bdi12718.arvato-logistics.de> I am sorry. The mail was stuck on the outbox of Evolution. I did not notice it was being re-sent. Regards, Harald -----Original Message----- From: cms.mahape To: 'Harald B?hmecke' , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Infrastructure help! Date: Mon, 22 Jun 2009 16:42:30 +0530 Please don?t send mail again Atish ________________________________________________________________________ From: Harald B?hmecke [mailto:harald.boehmecke at bertelsmann.de] Sent: Monday, June 22, 2009 4:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Infrastructure help! Hi guys, We are currently about to fully engage with Nagios. Our current VM which has aprox. 1200 services and 200 hosts will be deleted and a new "distributed monitoring" will be setup. Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 services. Almost all Servers are in a single location. So there should be no need for Nagios "probes" distributed on big locations... Has anyone had an experience with Nagios with this ammount of hosts/services to be monitored? I need a basic guidance regarding hardware and distribution model to be used. Thanks in advance for your suggestions. Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 16:36:49 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Mon, 22 Jun 2009 10:36:49 -0400 Subject: Return code of 142 is out of bounds In-Reply-To: <4a56dba90906192304l2c64ab57pa52470a58d45e909@mail.gmail.com> References: <4a56dba90906172208t81fd7adif02712029617cd06@mail.gmail.com> <4a56dba90906192304l2c64ab57pa52470a58d45e909@mail.gmail.com> Message-ID: just a thought... is $HOSTNAME$ valid? sure you don't mean $HOSTADDRESS$ instead? -- Mat W. - http://www.techadre.com Date: Sat, 20 Jun 2009 11:34:17 +0530 Subject: Re: [Nagios-users] Return code of 142 is out of bounds From: victory17 at gmail.com To: lmw94002 at hotmail.com CC: nagios-users at lists.sourceforge.net I am using the snmp commands. The following are a coupld of examples: check_snmp_ntpstat -H $HOSTNAME$ -C COMMUNITY_NAME check_snmp_disk -H $HOSTNAME$ -C COMMUNITY_NAME I have seen the faqs mentioned by you and it says the same thing as mentioned by you. But interestingly, error "Return code of 142" started to show up from version 3.x. I did not find that in any previous versions. Regards, On Thu, Jun 18, 2009 at 8:24 PM, Mat W wrote: there's the FAQ... http://www.nagios.org/faqs/viewfaq.php?faq_id=17 I think this can also happen when some checks returns -no- value, or return a string when expecting an integer, etc. essentially encountering something the plugin isn't expecting which could be leading to "bad exit" from the script. Can you recreate this from the command line? -- Mat W. - http://www.techadre.com Date: Thu, 18 Jun 2009 10:38:18 +0530 From: victory17 at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Return code of 142 is out of bounds Hi All, I am running Nagios 3.0.2 on FC5 server. I have been encountering this strange error intermittently on a few checks. (Return code of 142 is out of bounds) I am using the nagios with snmp (net-snmp-5.2 & net-snmp-5.3) on a few servers. This normally happens with snmp-load checks or snmp-disk checks. I could not find anything related to this problem over the internet. Hoping to get a solution to this problem here. Regards, Windows LiveT: Keep your life in sync. Check it out. -- Regards, Gagan Brahmi (SKY) +919860091019 (?`?.???) Always `?.?(?`?.???) Keep (?`?.???)?.?? Smiling! `?.?.?? _________________________________________________________________ Lauren found her dream laptop. Find the PC that's right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sosagabriel at gmail.com Mon Jun 22 16:42:48 2009 From: sosagabriel at gmail.com (Gabriel Sosa) Date: Mon, 22 Jun 2009 11:42:48 -0300 Subject: nagios dont care about time periods Message-ID: <4498aded0906220742l55118422sd30b7307e74aa053@mail.gmail.com> guys, we are two sysAdmin and for that I added two time periods for alerts but nagios still sending alerts to both. It was working fine but from one week ago when I added some other services to check we both starting getting alerts. And I'm sure about something its working wrong because when I go to nagios and check the log or alerts sent I can see that were sent to both. Any ideas? Thank you! here is my timeperiods config: define timeperiod{ timeperiod_name LUNES_MIERCOLES_VIERNES_DOMINGO alias 3 DAYS A WEEK AND SUNDAY sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:09-22:00 wednesday 00:00-24:00 thursday 00:09-22:00 friday 00:00-24:00 saturday 00:09-22:00 } define timeperiod{ timeperiod_name MARTES_JUEVES_SABADOS_DOMINGO alias JONY 3 DAYS A WEEK AND SUNDAY sunday 00:00-24:00 monday 00:09-22:00 tuesday 00:00-24:00 wednesday 00:09-22:00 thursday 00:00-24:00 friday 00:09-22:00 saturday 00:00-24:00 } AND MY CONTACTs CONFIG define contact{ contact_name jonathan use generic-contact alias Jonathan email xxxxxxxx at bbbbbbbbbbbb service_notification_period MARTES_JUEVES_SABADOS_DOMINGO host_notification_period MARTES_JUEVES_SABADOS_DOMINGO } define contact{ contact_name gabriel use generic-contact alias Gabriel email xxxxxxxx at aaaaaaaaa service_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO host_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO } -- Gabriel Sosa Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sosagabriel at gmail.com Mon Jun 22 16:50:26 2009 From: sosagabriel at gmail.com (Gabriel Sosa) Date: Mon, 22 Jun 2009 11:50:26 -0300 Subject: nagios dont care about time periods In-Reply-To: <4498aded0906220742l55118422sd30b7307e74aa053@mail.gmail.com> References: <4498aded0906220742l55118422sd30b7307e74aa053@mail.gmail.com> Message-ID: <4498aded0906220750g42f972e4jcc234fdb8a6411a4@mail.gmail.com> guys, we are two sysAdmin and for that I added two time periods for alerts but nagios still sending alerts to both. It was working fine but from one week ago when I added some other services to check we both starting getting alerts. And I'm sure about something its working wrong because when I go to nagios and check the log or alerts sent I can see that were sent to both. Any ideas? Thank you! here is my timeperiods config: define timeperiod{ ? ? ? ?timeperiod_name LUNES_MIERCOLES_VIERNES_DOMINGO ? ? ? ?alias ? ? ? ? ?3 DAYS A WEEK AND SUNDAY ? ? ? ?sunday ? ? ? ? ?00:00-24:00 ? ? ? ?monday ? ? ? ? ?00:00-24:00 ? ? ? ?tuesday ? ? ? ? 00:09-22:00 ? ? ? ?wednesday ? ? ? 00:00-24:00 ? ? ? ?thursday ? ? ? ?00:09-22:00 ? ? ? ?friday ? ? ? ? ?00:00-24:00 ? ? ? ?saturday ? ? ? ?00:09-22:00 ? ? ? ?} define timeperiod{ ? ? ? ?timeperiod_name MARTES_JUEVES_SABADOS_DOMINGO ? ? ? ?alias ? ? ? ? ? JONY 3 DAYS A WEEK AND SUNDAY ? ? ? ?sunday ? ? ? ? ?00:00-24:00 ? ? ? ?monday ? ? ? ? ?00:09-22:00 ? ? ? ?tuesday ? ? ? ? 00:00-24:00 ? ? ? ?wednesday ? ? ? 00:09-22:00 ? ? ? ?thursday ? ? ? ?00:00-24:00 ? ? ? ?friday ? ? ? ? ?00:09-22:00 ? ? ? ?saturday ? ? ? ?00:00-24:00 ? ? ? ?} AND MY CONTACTs CONFIG define contact{ ? ? ? ?contact_name jonathan ? ? ? ?use generic-contact ? ? ? ?alias Jonathan ? ? ? ?email xxxxxxxx at bbbbbbbbbbbb ? ? ? ?service_notification_period MARTES_JUEVES_SABADOS_DOMINGO ? ? ? ?host_notification_period MARTES_JUEVES_SABADOS_DOMINGO } define contact{ ? ? ? ?contact_name gabriel ? ? ? ?use generic-contact ? ? ? ?alias Gabriel ? ? ? ?email xxxxxxxx at aaaaaaaaa ? ? ? ?service_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO ? ? ? ?host_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO } -- Gabriel Sosa Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriel at impactteachers.com Mon Jun 22 16:34:50 2009 From: Gabriel at impactteachers.com (Gabriel - IP Guys) Date: Mon, 22 Jun 2009 15:34:50 +0100 Subject: REPOST: Problem in Preflight Check with commands.cfg In-Reply-To: References: Message-ID: I would suggest that you install version 2.6 on ubuntu, and then upgrade through the versions. It will take some time, but jumping from 2.6 to 3.0.6 is asking for issues. There are just too many things that have changed. Besides, it will also teach you about the upgrade process :) > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: 22 June 2009 12:56 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] REPOST: Problem in Preflight Check with > commands.cfg > Importance: High > > Hi there-- > > I am reposting this question due to a lack of response. I really am in > need of > help here, and any would be greatly appreciated. Thanks. > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 > server > using the apt-get utility. We currently have a Nagios 2.6 server > running, and > I wanted to import the configuration files into the newer server. To > that end, > I have placed the appropriate configuration files in the > /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of > the > configuration files. > > I ran the preflight check and the following error message appeared on- > screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config > file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file > '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config > files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a > previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to > read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see > where the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Friday, June 19, 2009 4:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem in Preflight Check with commands.cfg > > Hi there -- > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 > server > using the apt-get utility. > We currently have a Nagios 2.6 server running, and I wanted to import > the > configuration files into the > newer server. To that end, I have placed the appropriate configuration > files in > the /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of > the > configuration files. > > I ran the preflight check and the following error message appeared on- > screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config > file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file > '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config > files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a > previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to > read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see > where the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > > > > The information in this e-mail is intended only for the person to whom > it is > addressed. If you believe this e-mail was sent to you in error and the > e-mail > contains patient information, please contact the Partners Compliance > HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you > in error > but does not contain patient information, please contact the sender and > properly > dispose of the e-mail. > > > ----------------------------------------------------------------------- > ------- > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of > unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebri > dge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ----------------------------------------------------------------------- > ------- > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of > unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebri > dge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Mon Jun 22 16:56:25 2009 From: guidosh at gmail.com (Guy Waugh) Date: Mon, 22 Jun 2009 15:56:25 +0100 Subject: nagios dont care about time periods In-Reply-To: <4498aded0906220742l55118422sd30b7307e74aa053@mail.gmail.com> References: <4498aded0906220742l55118422sd30b7307e74aa053@mail.gmail.com> Message-ID: Hello, I might be misunderstanding you here, but it looks like the timeperiods might not be defined correctly for what you want. It looks like the first timeperiod is defined as the entire week except for Tuesday, Thursday and Saturday, midnight to 9 mins past midnight, and 10:00pm to midnight. So the only times in the week that aren't lying within the timeperiod are about two hours and nine minutes on each of those three days. The second timeperiod is defined similarly, but for the days Monday, Wednesday and Friday instead of Tuesday, Thursday and Saturday. Here is a timeperiod we use to define 'non-working hours' -- it might give you a bit of help in crafting your own timeperiods...: define timeperiod { timeperiod_name nonworkhours alias Non Working Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } Regards, Guy. On Mon, Jun 22, 2009 at 3:42 PM, Gabriel Sosa wrote: > guys, > > we are two sysAdmin and for that I added two time periods for alerts > but nagios still sending alerts to both. It was working fine but from > one week ago when I added some other services to check we both > starting getting alerts. > > And I'm sure about something its working wrong because when I go to > nagios and check the log or alerts sent I can see that were sent to > both. > > Any ideas? Thank you! > > > here is my timeperiods config: > > define timeperiod{ > timeperiod_name LUNES_MIERCOLES_VIERNES_DOMINGO > alias 3 DAYS A WEEK AND SUNDAY > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:09-22:00 > wednesday 00:00-24:00 > thursday 00:09-22:00 > friday 00:00-24:00 > saturday 00:09-22:00 > } > > define timeperiod{ > timeperiod_name MARTES_JUEVES_SABADOS_DOMINGO > alias JONY 3 DAYS A WEEK AND SUNDAY > sunday 00:00-24:00 > monday 00:09-22:00 > tuesday 00:00-24:00 > wednesday 00:09-22:00 > thursday 00:00-24:00 > friday 00:09-22:00 > saturday 00:00-24:00 > } > > > AND MY CONTACTs CONFIG > > > define contact{ > contact_name jonathan > use generic-contact > alias Jonathan > email xxxxxxxx at bbbbbbbbbbbb > service_notification_period MARTES_JUEVES_SABADOS_DOMINGO > host_notification_period MARTES_JUEVES_SABADOS_DOMINGO > } > > define contact{ > contact_name gabriel > use generic-contact > alias Gabriel > email xxxxxxxx at aaaaaaaaa > service_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO > host_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO > } > > > -- > Gabriel Sosa > Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cms.mahape at eofficeplanet.com Mon Jun 22 13:12:30 2009 From: cms.mahape at eofficeplanet.com (cms.mahape) Date: Mon, 22 Jun 2009 16:42:30 +0530 Subject: Infrastructure help! In-Reply-To: <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com><1245667069.5014.12.camel@bdi12718.arvato-logistics.de> <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> Message-ID: <2C8854B601A84CD09EE4B07FF3DE5924@eOPcwh02.com> Please don?t send mail again Atish _____ From: Harald B?hmecke [mailto:harald.boehmecke at bertelsmann.de] Sent: Monday, June 22, 2009 4:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Infrastructure help! Hi guys, We are currently about to fully engage with Nagios. Our current VM which has aprox. 1200 services and 200 hosts will be deleted and a new "distributed monitoring" will be setup. Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 services. Almost all Servers are in a single location. So there should be no need for Nagios "probes" distributed on big locations... Has anyone had an experience with Nagios with this ammount of hosts/services to be monitored? I need a basic guidance regarding hardware and distribution model to be used. Thanks in advance for your suggestions. Regards, Harald -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon Jun 22 14:12:29 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 22 Jun 2009 05:12:29 -0700 Subject: REPOST: Problem in Preflight Check with commands.cfg In-Reply-To: References: Message-ID: <4A3F752D.6000900@kkeane.com> I would suggest that you use grep to be sure you really caught all configuration files (grep -ri "check_dns" /etc/nagios3). My guess, though - just a hunch - is that you may be accidentally including the same file twice in your nagios.cfg. For instance, you may have explicitly specified it in nagios.cfg, and it may also get automatically included because it is in the conf.d directory. Another possibility is that the directory structures of the old and new nagios servers don't match, and you somehow ended up with two separate command.cfg files. Kaplan, Andrew H. wrote: > Hi there-- > > I am reposting this question due to a lack of response. I really am in need of > help here, and any would be greatly appreciated. Thanks. > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server > using the apt-get utility. We currently have a Nagios 2.6 server running, and > I wanted to import the configuration files into the newer server. To that end, > I have placed the appropriate configuration files in the /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of the > configuration files. > > I ran the preflight check and the following error message appeared on-screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see where the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Friday, June 19, 2009 4:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem in Preflight Check with commands.cfg > > Hi there -- > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server > using the apt-get utility. > We currently have a Nagios 2.6 server running, and I wanted to import the > configuration files into the > newer server. To that end, I have placed the appropriate configuration files in > the /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of the > configuration files. > > I ran the preflight check and the following error message appeared on-screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see where the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > -- 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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sosagabriel at gmail.com Mon Jun 22 17:00:29 2009 From: sosagabriel at gmail.com (Gabriel Sosa) Date: Mon, 22 Jun 2009 12:00:29 -0300 Subject: nagios dont care about time periods In-Reply-To: References: <4498aded0906220742l55118422sd30b7307e74aa053@mail.gmail.com> Message-ID: <4498aded0906220800l529bc087n4f35fb67b05d51e5@mail.gmail.com> great!!! thats the problem!!! hahah... I can't believe I miss that!! I mean.. I can believe I miss that.. :P thank you On Mon, Jun 22, 2009 at 11:56 AM, Guy Waugh wrote: > Hello, > > I might be misunderstanding you here, but it looks like the timeperiods > might not be defined correctly for what you want. > > It looks like the first timeperiod is defined as the entire week except for > Tuesday, Thursday and Saturday, midnight to 9 mins past midnight, and > 10:00pm to midnight. So the only times in the week that aren't lying within > the timeperiod are about two hours and nine minutes on each of those three > days. The second timeperiod is defined similarly, but for the days Monday, > Wednesday and Friday instead of Tuesday, Thursday and Saturday. > > Here is a timeperiod we use to define 'non-working hours' -- it might give > you a bit of help in crafting your own timeperiods...: > > define? timeperiod { > ??????? timeperiod_name nonworkhours > ??????? alias?????????? Non Working Hours > ??????? sunday????????? 00:00-24:00 > ??????? monday????????? 00:00-09:00,17:00-24:00 > ??????? tuesday???????? 00:00-09:00,17:00-24:00 > ??????? wednesday?????? 00:00-09:00,17:00-24:00 > ??????? thursday??????? 00:00-09:00,17:00-24:00 > ??????? friday????????? 00:00-09:00,17:00-24:00 > ??????? saturday??????? 00:00-24:00 > ??????? } > > Regards, > Guy. > > > On Mon, Jun 22, 2009 at 3:42 PM, Gabriel Sosa wrote: >> >> guys, >> >> we are two sysAdmin and for that I added two time periods for alerts >> but nagios still sending alerts to both. It was working fine but from >> one week ago when I added some other services to check we both >> starting getting alerts. >> >> And I'm sure about something its working wrong because when I go to >> nagios and check the log or alerts sent I can see that were sent to >> both. >> >> Any ideas? Thank you! >> >> >> here is my timeperiods config: >> >> define timeperiod{ >> ? ? ? ?timeperiod_name LUNES_MIERCOLES_VIERNES_DOMINGO >> ? ? ? ?alias ? ? ? ? ?3 DAYS A WEEK AND SUNDAY >> ? ? ? ?sunday ? ? ? ? ?00:00-24:00 >> ? ? ? ?monday ? ? ? ? ?00:00-24:00 >> ? ? ? ?tuesday ? ? ? ? 00:09-22:00 >> ? ? ? ?wednesday ? ? ? 00:00-24:00 >> ? ? ? ?thursday ? ? ? ?00:09-22:00 >> ? ? ? ?friday ? ? ? ? ?00:00-24:00 >> ? ? ? ?saturday ? ? ? ?00:09-22:00 >> ? ? ? ?} >> >> define timeperiod{ >> ? ? ? ?timeperiod_name MARTES_JUEVES_SABADOS_DOMINGO >> ? ? ? ?alias ? ? ? ? ? JONY 3 DAYS A WEEK AND SUNDAY >> ? ? ? ?sunday ? ? ? ? ?00:00-24:00 >> ? ? ? ?monday ? ? ? ? ?00:09-22:00 >> ? ? ? ?tuesday ? ? ? ? 00:00-24:00 >> ? ? ? ?wednesday ? ? ? 00:09-22:00 >> ? ? ? ?thursday ? ? ? ?00:00-24:00 >> ? ? ? ?friday ? ? ? ? ?00:09-22:00 >> ? ? ? ?saturday ? ? ? ?00:00-24:00 >> ? ? ? ?} >> >> >> AND MY CONTACTs CONFIG >> >> >> define contact{ >> ? ? ? ?contact_name jonathan >> ? ? ? ?use generic-contact >> ? ? ? ?alias Jonathan >> ? ? ? ?email xxxxxxxx at bbbbbbbbbbbb >> ? ? ? ?service_notification_period MARTES_JUEVES_SABADOS_DOMINGO >> ? ? ? ?host_notification_period MARTES_JUEVES_SABADOS_DOMINGO >> } >> >> define contact{ >> ? ? ? ?contact_name gabriel >> ? ? ? ?use generic-contact >> ? ? ? ?alias Gabriel >> ? ? ? ?email xxxxxxxx at aaaaaaaaa >> ? ? ? ?service_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO >> ? ? ? ?host_notification_period LUNES_MIERCOLES_VIERNES_DOMINGO >> } >> >> >> -- >> Gabriel Sosa >> Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein >> >> >> ------------------------------------------------------------------------------ >> Are you an open source citizen? Join us for the Open Source Bridge >> conference! >> Portland, OR, June 17-19. Two days of sessions, one day of unconference: >> $250. >> Need another reason to go? 24-hour hacker lounge. Register today! >> >> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > -- Gabriel Sosa Si buscas resultados distintos, no hagas siempre lo mismo. - Einstein ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Mon Jun 22 17:14:32 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 22 Jun 2009 08:14:32 -0700 Subject: Infrastructure help! In-Reply-To: <2C8854B601A84CD09EE4B07FF3DE5924@eOPcwh02.com> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com><1245667069.5014.12.camel@bdi12718.arvato-logistics.de> <1245668868.5014.16.camel@bdi12718.arvato-logistics.de> <2C8854B601A84CD09EE4B07FF3DE5924@eOPcwh02.com> Message-ID: <4A3F9FD8.4020105@kkeane.com> If you don't want to receive these emails, you have to unsubscribe from the list. cms.mahape wrote: > > Please don?t send mail again > > Atish > > ------------------------------------------------------------------------ > > *From:* Harald B?hmecke [mailto:harald.boehmecke at bertelsmann.de] > *Sent:* Monday, June 22, 2009 4:38 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Infrastructure help! > > Hi guys, > > We are currently about to fully engage with Nagios. > > Our current VM which has aprox. 1200 services and 200 hosts will be > deleted and a new "distributed monitoring" will be setup. > > Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 services. > > Almost all Servers are in a single location. So there should be no > need for Nagios "probes" distributed on big locations... > > Has anyone had an experience with Nagios with this ammount of > hosts/services to be monitored? I need a basic guidance regarding > hardware and distribution model to be used. > > > Thanks in advance for your suggestions. > > Regards, > > Harald > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 22 17:20:25 2009 From: prmsrnvs at gmail.com (Param Srinivas) Date: Mon, 22 Jun 2009 11:20:25 -0400 Subject: socket time out Message-ID: <8d09c5d20906220820h1821dd2cpeb438b194013208b@mail.gmail.com> Hello guys, We are facing problem with one windows server that has socket time out error for a long time. NC_NET is installed on this server. C drive is showing "socket timeout after 20 sec" error. Can any body tell why is this hapenning ? -- Best Regards Param S -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 17:29:29 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Mon, 22 Jun 2009 11:29:29 -0400 Subject: REPOST: Problem in Preflight Check with commands.cfg In-Reply-To: <4A3F752D.6000900@kkeane.com> References: <4A3F752D.6000900@kkeane.com> Message-ID: Ahhh... perhaps you're calling the directory as well as the file explicitly in nagios.cfg? -- Mat W. - http://www.techadre.com > Date: Mon, 22 Jun 2009 05:12:29 -0700 > From: subscription at kkeane.com > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] REPOST: Problem in Preflight Check with commands.cfg > > I would suggest that you use grep to be sure you really caught all > configuration files (grep -ri "check_dns" /etc/nagios3). > > My guess, though - just a hunch - is that you may be accidentally > including the same file twice in your nagios.cfg. For instance, you may > have explicitly specified it in nagios.cfg, and it may also get > automatically included because it is in the conf.d directory. > > Another possibility is that the directory structures of the old and new > nagios servers don't match, and you somehow ended up with two separate > command.cfg files. > > Kaplan, Andrew H. wrote: > > Hi there-- > > > > I am reposting this question due to a lack of response. I really am in need of > > help here, and any would be greatly appreciated. Thanks. > > > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server > > using the apt-get utility. We currently have a Nagios 2.6 server running, and > > I wanted to import the configuration files into the newer server. To that end, > > I have placed the appropriate configuration files in the /etc/nagios3/conf.d > > directory, and modified the nagios.cfg file to reflect the location of the > > configuration files. > > > > I ran the preflight check and the following error message appeared on-screen: > > > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > > Nagios 3.0.6 > > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > > Last Modified: 12-01-2008 > > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for command 'check_dns' (config file > > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > > on line 91. > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > > directives and data defintions. If you are upgrading from a previous > > version of Nagios, you should be aware that some variables/definitions > > may have been removed or modified in this version. Make sure to read > > the HTML documentation regarding the config files, as well as the > > 'Whats New' section to find out what has changed. > > > > I checked the commands.cfg, and several other files, and I do not see where the > > duplicate definition is occurring. > > Can someone lend a hand on this? Thanks. > > > > -----Original Message----- > > From: Kaplan, Andrew H. > > Sent: Friday, June 19, 2009 4:52 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problem in Preflight Check with commands.cfg > > > > Hi there -- > > > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server > > using the apt-get utility. > > We currently have a Nagios 2.6 server running, and I wanted to import the > > configuration files into the > > newer server. To that end, I have placed the appropriate configuration files in > > the /etc/nagios3/conf.d > > directory, and modified the nagios.cfg file to reflect the location of the > > configuration files. > > > > I ran the preflight check and the following error message appeared on-screen: > > > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > > Nagios 3.0.6 > > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > > Last Modified: 12-01-2008 > > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for command 'check_dns' (config file > > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > > on line 91. > > ***> One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > > directives and data defintions. If you are upgrading from a previous > > version of Nagios, you should be aware that some variables/definitions > > may have been removed or modified in this version. Make sure to read > > the HTML documentation regarding the config files, as well as the > > 'Whats New' section to find out what has changed. > > > > I checked the commands.cfg, and several other files, and I do not see where the > > duplicate definition is occurring. > > Can someone lend a hand on this? Thanks. > > > > -- > 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. > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 17:31:25 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Mon, 22 Jun 2009 11:31:25 -0400 Subject: socket time out In-Reply-To: <8d09c5d20906220820h1821dd2cpeb438b194013208b@mail.gmail.com> References: <8d09c5d20906220820h1821dd2cpeb438b194013208b@mail.gmail.com> Message-ID: sounds like a possible connectivity issue between the boxes... check connectivity, services, firewall settings, and DNS (if using host addresses vs. IPs). that's my usual run down of issues. -- Mat W. - http://www.techadre.com Date: Mon, 22 Jun 2009 11:20:25 -0400 From: prmsrnvs at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] socket time out Hello guys, We are facing problem with one windows server that has socket time out error for a long time. NC_NET is installed on this server. C drive is showing "socket timeout after 20 sec" error. Can any body tell why is this hapenning ? -- Best Regards Param S _________________________________________________________________ Bing? brings you maps, menus, and reviews organized in one place. Try it now. http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TEXT_MLOGEN_Core_tagline_local_1x1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 22 18:45:07 2009 From: prmsrnvs at gmail.com (Param Srinivas) Date: Mon, 22 Jun 2009 12:45:07 -0400 Subject: socket time out In-Reply-To: References: <8d09c5d20906220820h1821dd2cpeb438b194013208b@mail.gmail.com> Message-ID: <8d09c5d20906220945n750d8f02g7a97de5332df6dc@mail.gmail.com> Connectivity is excellent, check_ping works fine. No firewall and DNS - using host by ip only. Also for the socket time out error tried increasing the time by 50 sec but still the same. Now NC_NET when installed , it requires few changes in its configuration right ? Like in active_ip_accept_list included the ip address of the Nagios server , and changing the startup.cfg file by commenting out port and ipaddress. Note : When opening the config files for NC_NET i select open as word pad Is this right ? There is not proper documentation on how to troubleshoot issues with NC_NET Thanks Param On Mon, Jun 22, 2009 at 11:31 AM, Mathew Walker wrote: > sounds like a possible connectivity issue between the boxes... > > check connectivity, services, firewall settings, and DNS (if using host > addresses vs. IPs). that's my usual run down of issues. > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Mon, 22 Jun 2009 11:20:25 -0400 > From: prmsrnvs at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] socket time out > > > Hello guys, > > We are facing problem with one windows server that has socket time out > error for a long time. > NC_NET is installed on this server. C drive is showing "socket timeout > after 20 sec" error. > > Can any body tell why is this hapenning ? > -- > Best Regards > Param S > > ------------------------------ > Bing? brings you maps, menus, and reviews organized in one place. Try it > now. > -- Best Regards Param S -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 22 19:52:47 2009 From: karlsson.ulf at gmail.com (Ulf Karlsson) Date: Mon, 22 Jun 2009 19:52:47 +0200 Subject: Nagios SLA tool In-Reply-To: <4A3F51AD.20107@osiatis.es> References: <4A3F51AD.20107@osiatis.es> Message-ID: Hi Felipe, I have written a small Python script that uses pycurl to retrieve the Nagios availability web page, and then PyQuery to parse the HTML and retrieve the table with the availability report and put it into a custom HTML body and then smtplib to send an email. It was pretty straight forward, tell me if you're interested and perhaps I can prepare a version without passwords etc. /Ulf ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlitwin at stubhub.com Mon Jun 22 20:31:24 2009 From: mlitwin at stubhub.com (Litwin, Matthew) Date: Mon, 22 Jun 2009 11:31:24 -0700 Subject: Access Control for disable notification? In-Reply-To: References: Message-ID: This would disable notifications across the board, wouldn't it? ________________________________ From: Sean Carley [mailto:scarley at gmi-mr.com] Sent: Friday, June 19, 2009 1:47 PM To: Litwin, Matthew; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Access Control for disable notification? You could always use an apache rewrite rule to discourage those commands: RewriteEngine On RewriteCond %{QUERY_STRING} ^(cmd_typ=25)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html RewriteCond %{QUERY_STRING} ^(cmd_typ=23)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html RewriteCond %{QUERY_STRING} ^(cmd_typ=29)(.*) RewriteRule ^cmd\.cgi$ /nagios/nodisable.html From: Mat W [mailto:lmw94002 at hotmail.com] Sent: Friday, June 19, 2009 12:32 PM To: mlitwin at stubhub.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Access Control for disable notification? cgi.cfg has the options for security access to the webUI. authorized_for_all_service_commands You can't get that much more granular out of the box I don't think. Might be some addons out there, but I haven't dug into it. -- Mat W. - http://www.techadre.com ________________________________ Date: Fri, 19 Jun 2009 11:48:39 -0700 From: mlitwin at stubhub.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Access Control for disable notification? Is there a way to control user access for just the controls to disable/enable notification alerts for a monitor in nagios.cfg or elsewhere? ________________________________ Bing(tm) brings you maps, menus, and reviews organized in one place. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 22 20:41:14 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Mon, 22 Jun 2009 18:41:14 +0000 Subject: ndoutils 1.3.1 Message-ID: Hello I need some additional help for installing NDOUtils1.3.1 I am running nagios v2.11 and am trying to get nagvis installed I have installed the mysql database and it has this information in it mysql> CREATE DATABASE nagios; ERROR 1007 (HY000): Can't create database 'nagios'; database exists mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | cactidb | | mysql | | nagios | | test | +--------------------+ 5 rows in set (0.00 sec) mysql> GRANT ALL ON nagios.* TO nagios at localhost IDENTIFIED BY "nagios"; Query OK, 0 rows affected (0.00 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.00 sec) mysql> quit I have run through the entire install process but when I get to this (see below) - I get an error referncing the database...I don't know what I am missing...Any help would be appreciated [root at nagios sbin]# ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ng.nagios at schmidt24.org Mon Jun 22 21:54:24 2009 From: ng.nagios at schmidt24.org (Carsten Schmidt) Date: Mon, 22 Jun 2009 21:54:24 +0200 Subject: ndoutils 1.3.1 In-Reply-To: References: Message-ID: <4A3FE170.7040009@schmidt24.org> Hello Natalie, you need to compile ndoutils with mysql-support. A normal ./configure should find the required files, so maybe: a) your system lacks the mysql-development-libraries (on debian/ubuntu the package is called "libmysqlclient-dev" I think). configure should write out the following lines: --------------------------------------------------------------------------------------------- checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes MySQL library and include file(s) were found! --------------------------------------------------------------------------------------------- If you have installed the development files just do "./configure && make" again. b) configure can't just find them, for that case the README at ndoutils-1.4b7 told the following: --------------------------------------------------------------------------------------------- Use the following commands to compile the NDO broker module, NDO2DB daemon, and additional utilities: ./configure make If the configure script is unable to locate your MySQL or PostgreSQL development libraries, you may need to help it out by using the --with-mysql-lib or --with-pgsql-lib options. Here's an example: ./configure --with-mysql-lib=/usr/lib/mysql --------------------------------------------------------------------------------------------- good luck -- Carsten Natalie Aloi schrieb: > Hello > > I need some additional help for installing NDOUtils1.3.1 I am running > nagios v2.11 and am trying to get nagvis installed > I have installed the mysql database and it has this information in it > > mysql> CREATE DATABASE nagios; > ERROR 1007 (HY000): Can't create database 'nagios'; database exists > mysql> show databases; > +--------------------+ > | Database | > +--------------------+ > | information_schema | > | cactidb | > | mysql | > | nagios | > | test | > +--------------------+ > 5 rows in set (0.00 sec) > > mysql> GRANT ALL ON nagios.* TO nagios at localhost IDENTIFIED BY "nagios"; > Query OK, 0 rows affected (0.00 sec) > > mysql> FLUSH PRIVILEGES; > Query OK, 0 rows affected (0.00 sec) > > mysql> quit > > I have run through the entire install process but when I get to this > (see below) - I get an error referncing the database...I don't know > what I am missing...Any help would be appreciated > > [root at nagios sbin]# ndo2db-2x -c /etc/nagios/ndo2db.cfg > Support for the specified database server is either not yet supported, > or was not found on your system. > e-mail:naloi at experisdatacenters.com ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 22:35:49 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Mon, 22 Jun 2009 17:35:49 -0300 Subject: Generic SNMP query Message-ID: I've searched this at monitoring exchange, but I haven't found many scripts. What options I have to use as "generic" SNMP checks? Passing OIDs or tables and comparing with values for critical and warning states, and passing data trought performance output. What scripts do you use? -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 23:48:30 2009 From: marc at ena.com (Marc Powell) Date: Mon, 22 Jun 2009 16:48:30 -0500 Subject: Generic SNMP query In-Reply-To: References: Message-ID: <34C0359F-5A59-4D8E-8DC6-E1E82E071208@ena.com> On Jun 22, 2009, at 3:35 PM, Livio Zanol Puppim wrote: > I've searched this at monitoring exchange, but I haven't found many > scripts. What options I have to use as "generic" SNMP checks? > Passing OIDs or tables and comparing with values for critical and > warning states, and passing data trought performance output. > > What scripts do you use? check_snmp, in the standard plugins, is pretty darn generic letting you query any OID and searching for numbers, strings or regexes and alerting based on those values. Do you need more than that? -- Marc ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Tue Jun 23 00:48:54 2009 From: mgius at createspace.com (Mark Gius) Date: Mon, 22 Jun 2009 15:48:54 -0700 Subject: Generic SNMP query In-Reply-To: References: Message-ID: <4A400A56.20000@createspace.com> You may find this perl script helpful. It takes a base OID, does an snmpwalk on it, and then compares the results to a specified regex or warning/critical threshold. Gius Livio Zanol Puppim wrote: > I've searched this at monitoring exchange, but I haven't found many > scripts. What options I have to use as "generic" SNMP checks? Passing > OIDs or tables and comparing with values for critical and warning > states, and passing data trought performance output. > > What scripts do you use? > > -- > []'s > > L?vio Zanol Puppim > -------------- next part -------------- A non-text attachment was scrubbed... Name: check_snmp_generic.pl Type: application/x-perl Size: 1876 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorr at attributor.com Tue Jun 23 00:58:02 2009 From: jorr at attributor.com (jeff) Date: Mon, 22 Jun 2009 15:58:02 -0700 Subject: Host UP alert 0, email weirdness Message-ID: <4A400C7A.1070202@attributor.com> Hello! We have updated our Nagios installation from 2.12 to the latest stable 3.x. For the most part, things seem to be working okay. One bit of weirdness, though, is that we are occasionally getting email delivered to "$@.com" instead of "@.com". Our head IT person is getting all these alerts, since he is the designated bounce address for the domain. Here is our host notify by email command: define command { command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$ for $HOSTDURATION$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nACKed by: $HOSTACKAUTHOR$ \nComment: $HOSTACKCOMMENT$ \n" | /bin/mail -v -s "Host $HOSTSTATE$ alert $HOSTNOTIFICATIONNUMBER$ for $HOSTNAME$!" $CONTACTEMAIL$ } The other weird thing is that the notification # seems to be resetting back to 0 when the host recovers. Is this normal? Thanks! Jeff Orr Attributor Corporation ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 23 03:56:31 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Tue, 23 Jun 2009 07:26:31 +0530 Subject: - NRPE 2.12 ./configure error on solaris 9 Message-ID: Dear All, I m trying to configure NRPE 2.12 on one of my sun server (solaris 9)... i m getting the following error. I also tried to give path of ssl libraries... ie ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- didnt work either.. ecking for getopt_long... no checking for getopt_long in -liberty... yes checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for main in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries Please let me know the work around for this. Thanks in advance. Regards, Chethan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 02:25:58 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 22 Jun 2009 17:25:58 -0700 Subject: ping dependency Message-ID: <2d4ba7ab0906221725x154d20bbmbc8d85e6f85ac074@mail.gmail.com> For some reason I'm having a hard time understanding exactly how dependencies work. What I'm trying to do is create a service dependcy that will halt notifications of any number of servers file if that host cannot be pinged. Can anyone assist? Here is the required basic syntax of a basic servicedependency definition in nagios2. define servicedependency{ host_name service_description dependent_host_name dependent_service_description } Much appreciated, Jeremiah -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victory17 at gmail.com Tue Jun 23 05:56:33 2009 From: victory17 at gmail.com (victory) Date: Tue, 23 Jun 2009 09:26:33 +0530 Subject: Return code of 142 is out of bounds In-Reply-To: References: <4a56dba90906172208t81fd7adif02712029617cd06@mail.gmail.com> <4a56dba90906192304l2c64ab57pa52470a58d45e909@mail.gmail.com> Message-ID: <4a56dba90906222056l55f33d85r1d551b665130f590@mail.gmail.com> It is either or. I have tried it with $HOSTADDRESS$ as well. The command defined is for $HOSTADDRESS$ 2009/6/22 Mathew Walker > just a thought... > > is $HOSTNAME$ valid? sure you don't mean $HOSTADDRESS$ instead? > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Sat, 20 Jun 2009 11:34:17 +0530 > Subject: Re: [Nagios-users] Return code of 142 is out of bounds > From: victory17 at gmail.com > To: lmw94002 at hotmail.com > CC: nagios-users at lists.sourceforge.net > > > I am using the snmp commands. The following are a coupld of examples: > > check_snmp_ntpstat -H $HOSTNAME$ -C COMMUNITY_NAME > check_snmp_disk -H $HOSTNAME$ -C COMMUNITY_NAME > > I have seen the faqs mentioned by you and it says the same thing as > mentioned by you. But interestingly, error "Return code of 142" started to > show up from version 3.x. I did not find that in any previous versions. > > Regards, > > On Thu, Jun 18, 2009 at 8:24 PM, Mat W wrote: > > there's the FAQ... http://www.nagios.org/faqs/viewfaq.php?faq_id=17 > > I think this can also happen when some checks returns -no- value, or return > a string when expecting an integer, etc. essentially encountering something > the plugin isn't expecting which could be leading to "bad exit" from the > script. > > Can you recreate this from the command line? > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Thu, 18 Jun 2009 10:38:18 +0530 > From: victory17 at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Return code of 142 is out of bounds > > > Hi All, > > I am running Nagios 3.0.2 on FC5 server. > > I have been encountering this strange error intermittently on a few checks. > > (Return code of 142 is out of bounds) > > I am using the nagios with snmp (net-snmp-5.2 & net-snmp-5.3) on a few > servers. > > This normally happens with snmp-load checks or snmp-disk checks. > > I could not find anything related to this problem over the internet. Hoping > to get a solution to this problem here. > > Regards, > > > ------------------------------ > Windows LiveT: Keep your life in sync. Check it out. > > > > > -- > Regards, > Gagan Brahmi > (SKY) > +919860091019 > > (?`?.???) Always > `?.?(?`?.???) Keep > (?`?.???)?.?? Smiling! > `?.?.?? > > ------------------------------ > Lauren found her dream laptop. Find the PC that's right for you. > -- Regards, Gagan Brahmi (SKY) +919860091019 (?`?.???) Always `?.?(?`?.???) Keep (?`?.???)?.?? Smiling! `?.?.?? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujeet at npn.com.np Tue Jun 23 07:21:38 2009 From: sujeet at npn.com.np (Sujeet Mulmi) Date: Tue, 23 Jun 2009 11:06:38 +0545 Subject: Regarding snmp databyte multiplication Message-ID: <4A406662.9010300@npn.com.np> Hi, I have used nagios to get some information of disk usage of my NAS . However I could get the correct parameter with the correct OID, but I felt to scaled it . I was wondering how can I do multiplication of the output value with some units to get the exact result. Any highlight will be appreciated. Thanks in advance. Rgds, Sujeet ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.felici at alpikom.it Tue Jun 23 08:39:00 2009 From: s.felici at alpikom.it (Simone Felici) Date: Tue, 23 Jun 2009 08:39:00 +0200 Subject: Nagios SLA tool In-Reply-To: References: <4A3F51AD.20107@osiatis.es> Message-ID: <4A407884.5030505@alpikom.it> Sounds good :) I'm looking a while for a SLA Reporting. Is there a way to take a look to your version? Many thank's Simon Ulf Karlsson ha scritto in data 22/06/2009 19.52: > Hi Felipe, > > I have written a small Python script that uses pycurl to retrieve the > Nagios availability web page, and then PyQuery to parse the HTML and > retrieve the table with the availability report and put it into a > custom HTML body and then smtplib to send an email. It was pretty > straight forward, tell me if you're interested and perhaps I can > prepare a version without passwords etc. > > /Ulf > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Tue Jun 23 08:31:57 2009 From: tom.deblende at dhl.com (Tom DE BLENDE (DHL GBS)) Date: Tue, 23 Jun 2009 08:31:57 +0200 Subject: Nagios 3.1.1 compile fails on Centos-3 Message-ID: Hi all, This is where the compiler craps out: cd ./base && make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/base' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/base' cd ./cgi && make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm statusmap.c: In function `initialize_graphics': statusmap.c:2111: warning: assignment makes pointer from integer without a cast /tmp/ccNrEvP7.o(.text+0x33f0): In function `initialize_graphics': /usr/src/install/nagios/nagios-3.1.1/cgi/statusmap.c:2111: undefined reference to `gdImageCreateTrueColor' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/cgi' make: *** [all] Error 2 Configure showed no problems with gd: [me at box nagios-3.1.1]# ./configure | grep gd checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes This what I have from gd on my box: [me at box nagios-3.1.1]# rpm -qa | grep gd gdbm-1.8.0-20 sysklogd-1.4.1-26_EL3 libgdiplus-1.2.3-0.rhel3.novell gd-1.8.4-12.3.1 libgdiplus-debuginfo-1.2.3-0.rhel3.novell gdb-6.3.0.0-1.138.el3 gdbm-devel-1.8.0-20 gdk-pixbuf-0.22.0-13.el3.3 gd-devel-1.8.4-12.3.1 gdm-2.4.1.6-18.el3 I'm running a fully upgraded Centos-3. Any ideas? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cms.mahape at eofficeplanet.com Mon Jun 22 14:59:59 2009 From: cms.mahape at eofficeplanet.com (cms.mahape) Date: Mon, 22 Jun 2009 18:29:59 +0530 Subject: Infrastructure help! In-Reply-To: <15tr5xcfq6u.fsf@tux.uio.no> References: <43691.65.107.105.50.1245418843.squirrel@mail.digitalmorris.com><1245667069.5014.12.camel@bdi12718.arvato-logistics.de><1245668868.5014.16.camel@bdi12718.arvato-logistics.de> <15tr5xcfq6u.fsf@tux.uio.no> Message-ID: Don?t send m mails again Atish -----Original Message----- From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no] Sent: Monday, June 22, 2009 5:15 PM To: Harald B?hmecke Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Infrastructure help! Harald B?hmecke writes: > We are currently about to fully engage with Nagios. > > Our current VM which has aprox. 1200 services and 200 hosts will be > deleted and a new "distributed monitoring" will be setup. > > Thing is, we need to monitor aprox. 500 hosts with aprox. 6000 > services. > > Almost all Servers are in a single location. So there should be no > need for Nagios "probes" distributed on big locations... > > Has anyone had an experience with Nagios with this ammount of > hosts/services to be monitored? I need a basic guidance regarding > hardware and distribution model to be used. We currently have ~850 host and ~13000 service checks running on a single, standalone server. The hardware is nothing fancy, a plain HP ProLiant DL360 G5 with 8GB of RAM. You should be fine with a single server, but there are a few things to look out for: * The 'enable_environment_macro' should be set to 0. Enabling this config option seriously increased the load on our server. * PNP4Nagios and similar addons may significantly increase the load on your server. We collect perfdata and use PNP4Nagios for only a few select services. * The Nagios embedded perl interpreter (ePN) was a major PITA, it leaked memory and we ended up compiling Nagios without ePN completely. * You may have to adjust the command_check_interval and similar config settings. * We mostly use NRPE plugins and only monitor UNIX/Linux hosts. You may have to take care not to use plugins that consume a lot of resources on your Nagios server. These are the only tuning tips I can think of for now, but YMMV :) We don't use distributed monitoring, but are looking into it. When a more streamlined clustered Nagios setup becomes available for production use (probably with the Merlin backend), we will definately be interested. Cheers, -- Trond Hasle Amundsen Center for Information Technology Services, University of Oslo ---------------------------------------------------------------------------- -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.o rg _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Tue Jun 23 10:11:00 2009 From: guidosh at gmail.com (Guy Waugh) Date: Tue, 23 Jun 2009 09:11:00 +0100 Subject: - NRPE 2.12 ./configure error on solaris 9 In-Reply-To: References: Message-ID: Hello, I recently faced this problem, but I ended up installing NRPE from blastwave (http://www.blastwave.org/howto.html), and it's working well. If you want to persevere with compiling NRPE, are there SSL libraries in /usr/sfw/lib? What does config.log say? Are there any other SSL installs on the system, e.g. in /usr/local/ssl, /usr/local etc.? Regards, Guy. On Tue, Jun 23, 2009 at 2:56 AM, wrote: > Dear All, > > I m trying to configure NRPE 2.12 on one of my sun server (solaris 9)... i > m getting the following error. > > I also tried to give path of ssl libraries... ie > ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- didnt work > either.. > > > ecking for getopt_long... no > checking for getopt_long in -liberty... yes > checking for main in -lnsl... yes > checking for socket in -lsocket... yes > checking for main in -lwrap... yes > checking for strdup... yes > checking for strstr... yes > checking for strtoul... yes > checking for initgroups... yes > checking for closesocket... no > checking for socklen_t... yes > checking for type of socket size... size_t > checking for SSL headers... SSL headers found in /usr/local/ssl > checking for SSL libraries... configure: error: Cannot find ssl libraries > Please let me know the work around for this. > > Thanks in advance. > > > Regards, > Chethan > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Tue Jun 23 10:51:40 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Tue, 23 Jun 2009 10:51:40 +0200 Subject: - NRPE 2.12 ./configure error on solaris 9 In-Reply-To: References: Message-ID: <2FBC78030439A7499BAA99B46CCC1C6D0237045CBF@vld1-ex01> LS, Chethan scribbled on 2009-06-23: > Dear All, > > I m trying to configure NRPE 2.12 on one of my sun server (solaris > 9)... i m getting the following error. > > I also tried to give path of ssl libraries... ie > ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- > didnt work either.. > this should be ./configure --with-ssl=...... HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Paradijslaan 36 \ /| /\| : : 5611 KN Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Tue Jun 23 11:07:54 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Tue, 23 Jun 2009 14:52:54 +0545 Subject: Regarding snmp databyte multiplication In-Reply-To: <4A406662.9010300@npn.com.np> References: <4A406662.9010300@npn.com.np> Message-ID: <4A409B6A.8070907@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, for you are trying to modify the value nagios gets after the snmpget and not the nagios output [OK, CRITICAL, etc etc] . I doubt there wouldn't be an actual way of doing it after nagios had already executed the plugin. Rather you could go recode check_snmp.c to suit your needs cutting out all the other crap. Moreover it would be more better if you could add one more parameter that takes the multiplication unit to your modded check_snmp.c Sujeet Mulmi wrote: > Hi, > > I have used nagios to get some information of disk usage of my > NAS . However I could get the correct parameter with the correct OID, > but I felt to scaled it . I was wondering how can I do multiplication of > the output value with some units to get the exact result. Any highlight > will be appreciated. > > Thanks in advance. > > Rgds, > Sujeet Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpAm2kACgkQnfv7imVnL2t8zgCePhOdcetc9zJlL9k+at94asru fQIAoKOqtwBERkFN/r9lo9+eftzadG5D =npNG -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Tue Jun 23 11:09:55 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Tue, 23 Jun 2009 14:54:55 +0545 Subject: Regarding snmp databyte multiplication In-Reply-To: <4A409B6A.8070907@subisu.net.np> References: <4A406662.9010300@npn.com.np> <4A409B6A.8070907@subisu.net.np> Message-ID: <4A409BE3.6050103@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gaurav Ghimire wrote: > Well, for you are trying to modify the value nagios gets after the snmpget and not the nagios output [OK, CRITICAL, etc etc] . I doubt there > wouldn't be an actual way of doing it after nagios had already executed the plugin. Rather you could go recode check_snmp.c to suit your needs > cutting out all the other crap. > > Moreover it would be more better if you could add one more parameter that takes the multiplication unit to your modded check_snmp.c I don't know if it helps though. That was what I understood. > > Sujeet Mulmi wrote: > >> Hi, > >> I have used nagios to get some information of disk usage of my >> NAS . However I could get the correct parameter with the correct OID, >> but I felt to scaled it . I was wondering how can I do multiplication of >> the output value with some units to get the exact result. Any highlight >> will be appreciated. > >> Thanks in advance. > >> Rgds, >> Sujeet > > Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal T: 00977 1 4429616/17 Ext.: 110 F: 00977 1 4430572 http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpAm+MACgkQnfv7imVnL2tU2wCgxn4BaIpln2BgdrYRGDn+pOPP mf0An2gWaQDi410sm9rDcug6fXHMYvw0 =ghjw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujeet at npn.com.np Tue Jun 23 11:26:44 2009 From: sujeet at npn.com.np (Sujeet Mulmi) Date: Tue, 23 Jun 2009 15:11:44 +0545 Subject: Regarding snmp databyte multiplication In-Reply-To: <4A409BE3.6050103@subisu.net.np> References: <4A406662.9010300@npn.com.np> <4A409B6A.8070907@subisu.net.np> <4A409BE3.6050103@subisu.net.np> Message-ID: <4A409FD4.8020000@npn.com.np> Dear Gaurav, Thanks for the reply. I was wondering if recoding of check_snmp.c gets effect for other services even disk checking for other servers. Rgds, Sujeet Gaurav Ghimire wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gaurav Ghimire wrote: > >> Well, for you are trying to modify the value nagios gets after the snmpget and not the nagios output [OK, CRITICAL, etc etc] . I doubt there >> wouldn't be an actual way of doing it after nagios had already executed the plugin. Rather you could go recode check_snmp.c to suit your needs >> cutting out all the other crap. >> >> Moreover it would be more better if you could add one more parameter that takes the multiplication unit to your modded check_snmp.c >> > > I don't know if it helps though. That was what I understood. > > >> Sujeet Mulmi wrote: >> >> >>> Hi, >>> >>> I have used nagios to get some information of disk usage of my >>> NAS . However I could get the correct parameter with the correct OID, >>> but I felt to scaled it . I was wondering how can I do multiplication of >>> the output value with some units to get the exact result. Any highlight >>> will be appreciated. >>> >>> Thanks in advance. >>> >>> Rgds, >>> Sujeet >>> >> Regards, >> > > - -- > Gaurav Ghimire > System Administrator > Subisu Cablenet (P.) Ltd. > 148 Thirbum Sadak > Baluwatar, Kathmandu > Nepal > > > T: 00977 1 4429616/17 Ext.: 110 > F: 00977 1 4430572 > > http://www.subisu.net.np > > First and Only True Cable Internet Service Provider in Nepal > > (An ISO 9001:2000 Certified Company) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkpAm+MACgkQnfv7imVnL2tU2wCgxn4BaIpln2BgdrYRGDn+pOPP > mf0An2gWaQDi410sm9rDcug6fXHMYvw0 > =ghjw > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 11:39:48 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 23 Jun 2009 11:39:48 +0200 Subject: ndoutils 1.3.1 In-Reply-To: <4A3FE170.7040009@schmidt24.org> References: <4A3FE170.7040009@schmidt24.org> Message-ID: <4A40A2E4.7020403@univie.ac.at> suse: yast -i mysql-devel rhel/centos yum install mysql-devel debian/ubuntu apt-get install libmysqlclient15-dev --- ./configure --enable-mysql --with-mysql-lib=/usr/mysql/lib --disable-pgsql make Kind regards, Michael Carsten Schmidt wrote the following on 22.06.2009 21:54: > Hello Natalie, > > you need to compile ndoutils with mysql-support. A normal ./configure > should find the required files, so maybe: > > a) your system lacks the mysql-development-libraries (on debian/ubuntu > the package is called "libmysqlclient-dev" I think). > configure should write out the following lines: > --------------------------------------------------------------------------------------------- > checking mysql/mysql.h usability... yes > checking mysql/mysql.h presence... yes > checking for mysql/mysql.h... yes > MySQL library and include file(s) were found! > --------------------------------------------------------------------------------------------- > If you have installed the development files just do "./configure && > make" again. > > b) configure can't just find them, for that case the README at > ndoutils-1.4b7 told the following: > > --------------------------------------------------------------------------------------------- > Use the following commands to compile the NDO broker module, NDO2DB > daemon, and > additional utilities: > > ./configure > make > > If the configure script is unable to locate your MySQL or PostgreSQL > development > libraries, you may need to help it out by using the --with-mysql-lib or > --with-pgsql-lib options. Here's an example: > > ./configure --with-mysql-lib=/usr/lib/mysql > --------------------------------------------------------------------------------------------- > > good luck > -- Carsten > > > Natalie Aloi schrieb: > >> Hello >> >> I need some additional help for installing NDOUtils1.3.1 I am running >> nagios v2.11 and am trying to get nagvis installed >> I have installed the mysql database and it has this information in it >> >> mysql> CREATE DATABASE nagios; >> ERROR 1007 (HY000): Can't create database 'nagios'; database exists >> mysql> show databases; >> +--------------------+ >> | Database | >> +--------------------+ >> | information_schema | >> | cactidb | >> | mysql | >> | nagios | >> | test | >> +--------------------+ >> 5 rows in set (0.00 sec) >> >> mysql> GRANT ALL ON nagios.* TO nagios at localhost IDENTIFIED BY "nagios"; >> Query OK, 0 rows affected (0.00 sec) >> >> mysql> FLUSH PRIVILEGES; >> Query OK, 0 rows affected (0.00 sec) >> >> mysql> quit >> >> I have run through the entire install process but when I get to this >> (see below) - I get an error referncing the database...I don't know >> what I am missing...Any help would be appreciated >> >> [root at nagios sbin]# ndo2db-2x -c /etc/nagios/ndo2db.cfg >> Support for the specified database server is either not yet supported, >> or was not found on your system. >> e-mail:naloi at experisdatacenters.com >> > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 11:43:53 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Jun 2009 11:43:53 +0200 Subject: Nagios SLA tool In-Reply-To: <4A3F51AD.20107@osiatis.es> References: <4A3F51AD.20107@osiatis.es> Message-ID: <4A40A3D9.4020605@op5.se> Felipe Ferreira wrote: > Hello fellow nagios fan, > > I am looking for an addon that provides me easy and clean reporting > capabilities, to allow correct SLA reports. > We have an extremely good SLA reporting tool. There are screenshots of it available at http://www.op5.com/op5/demo/screenshots The software is released as GPL'd opensource and available for download from git.op5.org/git. The projects you want to download are called monitor-reports-gui and monitor-reports-module. > For the front end I use Centreon 2.0.2 and it is a really nice tool, but > the Reporting does not allow > me simple things like selecting timeperiod, SLAs are only from 8:00 to > 17:00 and how can I get that information? > I saw few scripts but they are all outdated, NaReTo seems to work only > with v2.0 anyone got it working for nagios 3? > > Functions I would like to see: > > * /Allow to create groups of services/hosts to genereate report from/ Supported. > * /Define time periods / Supported. > * /Sort by problems/ This doesn't really apply to our SLA reports as they, unlike Nagios, calculate SLA as the uptime of the entire group combined. Nagios presents an availability *average*, which is an entirely different cup of tea. You'll have to see them and think about what you're seeing to make sense of that answer, I think. > * /Export to CSV,PDF/ Supported. > * /Auto email reports previsouly defined, weekly or monthly,/ Supported (also daily). > * /Get TOP X most downtime servers/services./ > Not supported, although a very nice feature we should probably implement some day. It would be quite slow for large networks though, as it means calculating the downtime for all nodes that have any downtime at all and then sorting the list after it's been calculated. > > Any advise is very welcome. > Just use our stuff now, or hang on until Merlin and Ninja are ready for public production use sometime in august or september. -- 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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 12:10:54 2009 From: karlsson.ulf at gmail.com (Ulf Karlsson) Date: Tue, 23 Jun 2009 12:10:54 +0200 Subject: Nagios SLA tool In-Reply-To: <4A407884.5030505@alpikom.it> References: <4A3F51AD.20107@osiatis.es> <4A407884.5030505@alpikom.it> Message-ID: Hi, The crude script that I use is attached. I have set up cron to send reports every Sunday morning. The script picks out some parts of the Nagios HTML page generated by avail.cgi, i.e. the table with the availability report, and data like the time span, and puts this into a new HTML template that it then sends it by email. I hope there will be a nicer solution available soon integrated with Merlin and Ninja - that SLA reporting that Andreas pointed to is really nice but it was not really packaged for use outside op5 last time I checked the Git repository a week ago or so. I'd like to thank op5 for all the good work that everyone will profit from. I hope that we will have the opportunity to give something back to op5 at some point. /Ulf #!/usr/bin/python from optparse import OptionParser from string import Template import smtplib import sys import pycurl import tempfile from pyquery import PyQuery as pquery from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.Utils import COMMASPACE, formatdate from email import Encoders import tidy nagios_user = "nagios" nagios_pass = "yourpassword" base = "http://nagios.example.com/nagios3/cgi-bin/" # Email config bcc_addrs = [] from_addr = "root at nagios.example.com" smtp_server = "localhost" url_lastweek_template = Template("http://localhost/nagios3/cgi-bin/avail.cgi?show_log_entries=&hostgroup=$hostgroup&timeperiod=lastweek") html_template = Template(""" $report_range $report_duration $data_title $data
For any period for when the NMS does not know the state of the object, it is reported as being in an undetermined state. This may happen when an object has been added recently. The numbers in parenthesis are adjusted for when objects have been in an undetermined state.
""") # Command line parsing parser = OptionParser() parser.add_option('--hostgroup') parser.add_option('--to', dest='to_addr') parser.add_option('--from', dest='from_addr') parser.add_option('--bcc', dest='bcc_addrs') (options, args) = parser.parse_args() # Making sure all mandatory options appeared. mandatories = ['hostgroup', 'to_addr'] for m in mandatories: ? ?if not options.__dict__[m]: ? ? ? ?print "mandatory option is missing\n" ? ? ? ?parser.print_help() ? ? ? ?exit(-1) to_addr = options.to_addr hostgroup = options.hostgroup if options.__dict__['from_addr']: ? ?from_addr = options.from_addr if options.__dict__['bcc_addrs']: ? ?bcc_addrs = options.bcc_addrs.split(':') url = url_lastweek_template.safe_substitute(dict(hostgroup=options.hostgroup)) file = tempfile.TemporaryFile() c = pycurl.Curl() c.setopt(pycurl.URL, url) c.setopt(pycurl.WRITEFUNCTION, file.write) c.setopt(pycurl.USERPWD, "%s:%s" % (nagios_user, nagios_pass)) c.perform() file.seek(0) contents = file.read() doc = pquery(contents) # Select the relevant parts of the HTML report_range = doc('div.reportRange') report_duration = doc('div.reportDuration') data_title = doc('div.dataTitle') data = doc('table.data') subject = "Report for %s (%s)" % (hostgroup, report_range.text()) # Include CSS style = "" css = open('/etc/nagios3/stylesheets/common.css') style += css.read() css = open('/etc/nagios3/stylesheets/avail.css') style += css.read() msg = MIMEMultipart() msg['From'] = from_addr msg['To'] = to_addr msg['Date'] = formatdate(localtime=True) msg['Subject'] = subject html_subs = dict(hostgroup=hostgroup, ? ? ? ? ? ?base=base, ? ? ? ? ? ?style=style, ? ? ? ? ? ?report_range=report_range, ? ? ? ? ? ?report_duration=report_duration, ? ? ? ? ? ?data_title=data_title, ? ? ? ? ? ?data=data) html = html_template.safe_substitute(html_subs) # Tidy HTML to reduce line length etc (postfix has 990 characters line length limit) tidy_options = dict(output_xhtml=0, ? ? ? ? ? ? ? ? ? ?indent=1, ? ? ? ? ? ? ? ? ? ?tidy_mark=0) tidy_html = tidy.parseString(html, **tidy_options) # print tidy_html.get_errors() msg.attach(MIMEText(str(tidy_html), 'html')) server = smtplib.SMTP(smtp_server) server.sendmail(from_addr, to_addr, msg.as_string()) for bcc_addr in bcc_addrs: ? ?server.sendmail(from_addr, bcc_addr, msg) server.quit() file.close() ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Tue Jun 23 12:34:12 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Tue, 23 Jun 2009 16:19:12 +0545 Subject: Regarding snmp databyte multiplication In-Reply-To: <4A409FD4.8020000@npn.com.np> References: <4A406662.9010300@npn.com.np> <4A409B6A.8070907@subisu.net.np> <4A409BE3.6050103@subisu.net.np> <4A409FD4.8020000@npn.com.np> Message-ID: <4A40AFA4.30500@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sujeet Mulmi wrote: > Dear Gaurav, > > Thanks for the reply. I was wondering if recoding of > check_snmp.c gets effect for other services even disk checking for > other servers. > Yes it will for obvious reasons...you can just copy check_snmp.c to some other name and edit it for your changes...and use the output plugin for your specific use. For you will be doing the matematics with the snmpget output the plugin receives...there is no way you can use the same plugin for other regular monitored normal services. > Gaurav Ghimire wrote: > >>>> Well, for you are trying to modify the value nagios gets after the snmpget and not the nagios output [OK, CRITICAL, etc etc] . I doubt there >>>> wouldn't be an actual way of doing it after nagios had already executed the plugin. Rather you could go recode check_snmp.c to suit your needs >>>> cutting out all the other crap. >>>> >>>> Moreover it would be more better if you could add one more parameter that takes the multiplication unit to your modded check_snmp.c >>>> > > I don't know if it helps though. That was what I understood. > > >>>> Sujeet Mulmi wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> I have used nagios to get some information of disk usage of my >>>>> NAS . However I could get the correct parameter with the correct OID, >>>>> but I felt to scaled it . I was wondering how can I do multiplication of >>>>> the output value with some units to get the exact result. Any highlight >>>>> will be appreciated. >>>>> >>>>> Thanks in advance. >>>>> >>>>> Rgds, >>>>> Sujeet >>>>> >>>> Regards, >>>> > >> Regards. - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpAr6QACgkQnfv7imVnL2tGGQCdEZ21XeDZUn53hjOVeOuxLi9P cssAoLb1tAFvJ9F0BiZTOn9uVS+uOJ7I =0bBH -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujeet at npn.com.np Tue Jun 23 13:08:05 2009 From: sujeet at npn.com.np (Sujeet Mulmi) Date: Tue, 23 Jun 2009 16:53:05 +0545 Subject: Regarding snmp databyte multiplication In-Reply-To: <4A40AFA4.30500@subisu.net.np> References: <4A406662.9010300@npn.com.np> <4A409B6A.8070907@subisu.net.np> <4A409BE3.6050103@subisu.net.np> <4A409FD4.8020000@npn.com.np> <4A40AFA4.30500@subisu.net.np> Message-ID: <4A40B795.2090007@npn.com.np> Yes I have got some information regarding this type of algebraic operation for check_snmp so that output can be multiplied or divided . But fail to get output, need to google more . Rgds, Sujeet Gaurav Ghimire wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sujeet Mulmi wrote: > >> Dear Gaurav, >> >> Thanks for the reply. I was wondering if recoding of >> check_snmp.c gets effect for other services even disk checking for >> other servers. >> >> > Yes it will for obvious reasons...you can just copy check_snmp.c to some other name and edit it for your changes...and use the output plugin for > your specific use. For you will be doing the matematics with the snmpget output the plugin receives...there is no way you can use the same > plugin for other regular monitored normal services. > > >> Gaurav Ghimire wrote: >> >> >>>>> Well, for you are trying to modify the value nagios gets after the snmpget and not the nagios output [OK, CRITICAL, etc etc] . I doubt there >>>>> wouldn't be an actual way of doing it after nagios had already executed the plugin. Rather you could go recode check_snmp.c to suit your needs >>>>> cutting out all the other crap. >>>>> >>>>> Moreover it would be more better if you could add one more parameter that takes the multiplication unit to your modded check_snmp.c >>>>> >>>>> >> I don't know if it helps though. That was what I understood. >> >> >> >>>>> Sujeet Mulmi wrote: >>>>> >>>>> >>>>> >>>>>> Hi, >>>>>> >>>>>> I have used nagios to get some information of disk usage of my >>>>>> NAS . However I could get the correct parameter with the correct OID, >>>>>> but I felt to scaled it . I was wondering how can I do multiplication of >>>>>> the output value with some units to get the exact result. Any highlight >>>>>> will be appreciated. >>>>>> >>>>>> Thanks in advance. >>>>>> >>>>>> Rgds, >>>>>> Sujeet >>>>>> >>>>>> >>>>> Regards, >>>>> >>>>> > > Regards. > - -- > Gaurav Ghimire > System Administrator > Subisu Cablenet (P.) Ltd. > 148 Thirbum Sadak > Baluwatar, Kathmandu > Nepal > > http://www.subisu.net.np > > First and Only True Cable Internet Service Provider in Nepal > > (An ISO 9001:2000 Certified Company) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkpAr6QACgkQnfv7imVnL2tGGQCdEZ21XeDZUn53hjOVeOuxLi9P > cssAoLb1tAFvJ9F0BiZTOn9uVS+uOJ7I > =0bBH > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fferreira at osiatis.es Tue Jun 23 13:09:24 2009 From: fferreira at osiatis.es (Felipe Ferreira) Date: Tue, 23 Jun 2009 13:09:24 +0200 Subject: Nagios SLA tool In-Reply-To: References: <4A3F51AD.20107@osiatis.es> <4A407884.5030505@alpikom.it> Message-ID: <4A40B7E4.8050509@osiatis.es> Thanks everyone for the information. I could not get the Op5 monitor-gui to work but thanks. I found nagios own reporting tool quite good to use http:///nagios/cgi-bin/summary.cgi?btnSubmit=Generate+New+Report Then I found a very nice script written in Perl by Rob Moss that I was able to modify and use it. The script is attached. It does not perform all the functionaly I wanted, but its better then nothing. Cheers, Felipe Ferreira -- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-reporter.v131.pl.txt URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Tue Jun 23 11:12:24 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Tue, 23 Jun 2009 11:12:24 +0200 Subject: Escaping broke i 3.1.1 ? Message-ID: Hello, I just recently upgraded to the latest version, and now my escaping of '$' is broken. Before it was \$, but what is it now? Best regards, Tore -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 15:28:26 2009 From: lmw94002 at hotmail.com (Mat W) Date: Mon, 22 Jun 2009 09:28:26 -0400 Subject: REPOST: Problem in Preflight Check with commands.cfg In-Reply-To: References: Message-ID: Perhaps you added another "config" file that has a check_dns command? I've seen installations where people like to break out the larger config files into a directory with smaller configs. you could do something like... find /usr/local/nagios/etc |xargs grep -c check_dns which will find all the files with "check_dns" in it (assuming I got the command syntax right). -- Mat W. - http://www.techadre.com > Date: Mon, 22 Jun 2009 07:55:58 -0400 > From: AHKAPLAN at PARTNERS.ORG > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] REPOST: Problem in Preflight Check with commands.cfg > > Hi there-- > > I am reposting this question due to a lack of response. I really am in need of > help here, and any would be greatly appreciated. Thanks. > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server > using the apt-get utility. We currently have a Nagios 2.6 server running, and > I wanted to import the configuration files into the newer server. To that end, > I have placed the appropriate configuration files in the /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of the > configuration files. > > I ran the preflight check and the following error message appeared on-screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see where the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Friday, June 19, 2009 4:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem in Preflight Check with commands.cfg > > Hi there -- > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 server > using the apt-get utility. > We currently have a Nagios 2.6 server running, and I wanted to import the > configuration files into the > newer server. To that end, I have placed the appropriate configuration files in > the /etc/nagios3/conf.d > directory, and modified the nagios.cfg file to reflect the location of the > configuration files. > > I ran the preflight check and the following error message appeared on-screen: > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > on line 91. > ***> One or more problems was encountered while processing the config files... > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > I checked the commands.cfg, and several other files, and I do not see where the > duplicate definition is occurring. > Can someone lend a hand on this? Thanks. > > > > > The information in this e-mail is intended only for the person to whom it is > addressed. If you believe this e-mail was sent to you in error and the e-mail > contains patient information, please contact the Partners Compliance HelpLine at > http://www.partners.org/complianceline . If the e-mail was sent to you in error > but does not contain patient information, please contact the sender and properly > dispose of the e-mail. > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 23 15:01:17 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Tue, 23 Jun 2009 13:01:17 +0000 Subject: NDOUtils 1.3.1 Installation assistance Message-ID: ok during my compile I found this information... *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql when I more my ld.so.conf file it only has this in it: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf [root at nagios etc]# 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. What am I supposed to put into the /ld.so.conf file so it knows where the libraries are? Thanks, Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 15:02:55 2009 From: ebaddouh at gmail.com (edward baddouh) Date: Tue, 23 Jun 2009 09:02:55 -0400 Subject: REPOST: Problem in Preflight Check with commands.cfg In-Reply-To: References: Message-ID: <60523a4f0906230602g635b655r9fde3ee9ee1aaa01@mail.gmail.com> try *grep -ir check_dns /etc/nagios3/** it will show all occurences of check_dns 2009/6/22 Mat W > Perhaps you added another "config" file that has a check_dns command? > > I've seen installations where people like to break out the larger config > files into a directory with smaller configs. > > you could do something like... > > *find /usr/local/nagios/etc |xargs grep -c check_dns* > > which will find all the files with "check_dns" in it (assuming I got the > command syntax right). > > -- > Mat W. - http://www.techadre.com > > > > > Date: Mon, 22 Jun 2009 07:55:58 -0400 > > From: AHKAPLAN at PARTNERS.ORG > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] REPOST: Problem in Preflight Check with > commands.cfg > > > > > Hi there-- > > > > I am reposting this question due to a lack of response. I really am in > need of > > help here, and any would be greatly appreciated. Thanks. > > > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 > server > > using the apt-get utility. We currently have a Nagios 2.6 server running, > and > > I wanted to import the configuration files into the newer server. To that > end, > > I have placed the appropriate configuration files in the > /etc/nagios3/conf.d > > directory, and modified the nagios.cfg file to reflect the location of > the > > configuration files. > > > > I ran the preflight check and the following error message appeared > on-screen: > > > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > > Nagios 3.0.6 > > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > > Last Modified: 12-01-2008 > > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for command 'check_dns' (config file > > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > > Error: Could not add object property in file > '/etc/nagios3/conf.d/commands.cfg' > > on line 91. > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > > directives and data defintions. If you are upgrading from a previous > > version of Nagios, you should be aware that some variables/definitions > > may have been removed or modified in this version. Make sure to read > > the HTML documentation regarding the config files, as well as the > > 'Whats New' section to find out what has changed. > > > > I checked the commands.cfg, and several other files, and I do not see > where the > > duplicate definition is occurring. > > Can someone lend a hand on this? Thanks. > > > > -----Original Message----- > > From: Kaplan, Andrew H. > > Sent: Friday, June 19, 2009 4:52 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problem in Preflight Check with commands.cfg > > > > Hi there -- > > > > I have completed the installation of Nagios 3.0.6 onto an Ubuntu 9.04 > server > > using the apt-get utility. > > We currently have a Nagios 2.6 server running, and I wanted to import the > > configuration files into the > > newer server. To that end, I have placed the appropriate configuration > files in > > the /etc/nagios3/conf.d > > directory, and modified the nagios.cfg file to reflect the location of > the > > configuration files. > > > > I ran the preflight check and the following error message appeared > on-screen: > > > > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > > Nagios 3.0.6 > > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > > Last Modified: 12-01-2008 > > License: GPL > > Reading configuration data... > > Warning: Duplicate definition found for command 'check_dns' (config file > > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > > Error: Could not add object property in file > '/etc/nagios3/conf.d/commands.cfg' > > on line 91. > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > > directives and data defintions. If you are upgrading from a previous > > version of Nagios, you should be aware that some variables/definitions > > may have been removed or modified in this version. Make sure to read > > the HTML documentation regarding the config files, as well as the > > 'Whats New' section to find out what has changed. > > > > I checked the commands.cfg, and several other files, and I do not see > where the > > duplicate definition is occurring. > > Can someone lend a hand on this? Thanks. > > > > > > > > > > The information in this e-mail is intended only for the person to whom it > is > > addressed. If you believe this e-mail was sent to you in error and the > e-mail > > contains patient information, please contact the Partners Compliance > HelpLine at > > http://www.partners.org/complianceline . If the e-mail was sent to you > in error > > but does not contain patient information, please contact the sender and > properly > > dispose of the e-mail. > > > > > > > ------------------------------------------------------------------------------ > > Are you an open source citizen? Join us for the Open Source Bridge > conference! > > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > > Need another reason to go? 24-hour hacker lounge. Register today! > > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > > Are you an open source citizen? Join us for the Open Source Bridge > conference! > > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > > Need another reason to go? 24-hour hacker lounge. Register today! > > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------ > Insert movie times and more without leaving Hotmail?. See how. > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 16:09:11 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 23 Jun 2009 14:09:11 +0000 Subject: NDOUtils 1.3.1 Installation assistance In-Reply-To: References: Message-ID: <200906231409.11285.assaf.flatto@ssp-intl.com> Have you installed Mysql and the libmysql libraries on the machine ? what distro are you using ? Assaf On Tuesday 23 June 2009 13:01:17 Natalie Aloi wrote: > ok during my compile I found this information... > > *** MySQL library could not be located... ************************** > You chose to compile NDBXT with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib argument to specify the > location of the MySQL library. > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > TIP: Try the following.... > ./configure --with-mysql-lib=/usr/lib/mysql > > > > when I more my ld.so.conf file it only has this in it: > [root at nagios etc]# more ld.so.conf > include ld.so.conf.d/*.conf > [root at nagios etc]# > > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the MySQL libraries are installed. > > > What am I supposed to put into the /ld.so.conf file so it knows where the > libraries are? Thanks, > Natalie > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.com -- 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 ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Tue Jun 23 16:09:28 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Tue, 23 Jun 2009 16:09:28 +0200 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: Let me see, this should be enough i think: define host { host_name X alias X address X check_period 24x7 check_command check-host-alive contact_groups notification_period 24x7 initial_state o check_interval 15.000000 retry_interval 5.000000 max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_host 1 event_handler_enabled 0 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,d,u freshness_threshold 0 check_freshness 0 notification_options d,r notifications_enabled 1 notification_interval 60.000000 first_notification_delay 60.000000 stalking_options n process_perf_data 1 failure_prediction_enabled 1 notes_url retain_status_information 1 retain_nonstatus_information 1 _REQUESTOR _CRM_SERVICES "AOS$\$01" } define service { host_name X service_description X check_period 24x7 check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES contact_groups notification_period 24x7 initial_state o check_interval 1.000000 retry_interval 5.000000 max_check_attempts 2 is_volatile 0 parallelize_check 1 active_checks_enabled 1 passive_checks_enabled 0 obsess_over_service 0 event_handler_enabled 0 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 1 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options c,r notifications_enabled 1 notification_interval 60.000000 first_notification_delay 10.000000 stalking_options n process_perf_data 0 failure_prediction_enabled 1 notes retain_status_information 1 retain_nonstatus_information 1 } The problem for me it seems is when nagios is parsing the data just before it is going to execute the command. It is no problem executes check_nrpe with ah backslash (\) as the escape char. But the problem for me is what escape char do i use in custom macros? Best regards, Tore 2009/6/23 Ton Voon > > > On 23 Jun 2009, at 10:12, Tore L?n?y wrote: > > I just recently upgraded to the latest version, and now my escaping of '$' >> is broken. >> >> Before it was \$, but what is it now? >> > > Can you give a snippet of the configuration that is broken? Plus the > appropriate parts of /usr/local/nagios/var/objects.cache > > As much real detail as possible will be good, though I understand you could > have sensitive data there. > > Ton > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 16:27:21 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 23 Jun 2009 16:27:21 +0200 Subject: Nagios SLA tool In-Reply-To: References: <4A3F51AD.20107@osiatis.es> <4A407884.5030505@alpikom.it> Message-ID: <4A40E649.7000709@op5.se> Ulf Karlsson wrote: > > I hope there will be a nicer solution available soon integrated with > Merlin and Ninja - that SLA reporting that Andreas pointed to is > really nice but it was not really packaged for use outside op5 last > time I checked the Git repository a week ago or so. > It is indeed supposed to be integrated with Ninja in the fullness of time. Right now we have precious little time to make reports-gui usable out of the box, so it's unlikely we'll do anything about it before the reports+Ninja integration is complete. Thanks for the kind words, btw. It's mainly our webdesigner My who's to blame/praise for the design. I just fiddle with the core bits that bring up the numbers, as my sense of style is very nearly as good as that of a roadkilled toad. > I'd like to thank op5 for all the good work that everyone will profit > from. I hope that we will have the opportunity to give something back > to op5 at some point. > Well, if you're looking for work, you could make reports-gui work with the merlin database instead of the monitor_gui one. That would be one giant leap towards making it perfectly possible to decouple it from the monitor-gui dependency, and also make it easier to integrate the reports into Ninja. The only real difference between the two databases that should affect reports-gui is the service-table, where host_name is a varchar(100) containing the actual host_name the service is linked to instead of an id-number linking into the host table, so it should be quite easy really. The object importer class used by Merlin could then be shipped with reports-gui, which would decouple it completely from both merlin and monitor-gui, making it possible to run our reporting tool as a stand- alone product. Patches welcome in case anyone else is interested in doing this. I'm sorry to say we're a bit behind schedule with Merlin and Ninja and thus we don't have time to take care of this rather trivial step on our own :-/ -- 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. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 16:53:25 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 23 Jun 2009 10:53:25 -0400 Subject: Nagios check for CAS service Message-ID: <6db4a4200906230753h7aa7e165k76b5af5ebfa3f726@mail.gmail.com> All, I want to monitor CAS authentication service with nagios. Can someone give me some idea how to do this. We are using something call "wind authentication" which is based on CAS authentication. http://www.columbia.edu/acis/rad/authmethods/wind/. I am wondering if there is anyway to check if wind service is working or not. Thanks in advance. -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 23 17:53:17 2009 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Tue, 23 Jun 2009 12:53:17 -0300 Subject: Generic SNMP query In-Reply-To: <4A400A56.20000@createspace.com> References: <4A400A56.20000@createspace.com> Message-ID: The oficial "check_snmp" does not return via performance data the warning and critical values... also (but less important) does not check snmp tables. example: ./check_snmp -H 127.0.0.1 -o .1.3.6.1.2.1.25.3.3.1.1.1 -w10 -c10 -C public CPU OK - 0 % | iso.3.6.1.2.1.25.3.3.1.1.1=0 2009/6/22 Mark Gius > You may find this perl script helpful. It takes a base OID, does an > snmpwalk on it, and then compares the results to a specified regex or > warning/critical threshold. > Gius > > > Livio Zanol Puppim wrote: > >> I've searched this at monitoring exchange, but I haven't found many >> scripts. What options I have to use as "generic" SNMP checks? Passing OIDs >> or tables and comparing with values for critical and warning states, and >> passing data trought performance output. >> >> What scripts do you use? >> >> -- >> []'s >> >> L?vio Zanol Puppim >> >> -- []'s L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius7096 at gmail.com Tue Jun 23 18:06:26 2009 From: mgius7096 at gmail.com (Mark Gius) Date: Tue, 23 Jun 2009 09:06:26 -0700 Subject: Generic SNMP query In-Reply-To: References: <4A400A56.20000@createspace.com> Message-ID: <4A40FD82.1090206@gmail.com> I'm not sure what you mean by "snmp tables," but the script I attached previously will return "SNMP OK" or SNMP in the main area, and will place all scanned OIDs into the performance data. -Gius Livio Zanol Puppim wrote: > The oficial "check_snmp" does not return via performance data the > warning and critical values... also (but less important) does not > check snmp tables. > > example: > > ./check_snmp -H 127.0.0.1 -o .1.3.6.1.2.1.25.3.3.1.1.1 -w10 -c10 -C > public > CPU OK - 0 % | iso.3.6.1.2.1.25.3.3.1.1.1=0 > > > > 2009/6/22 Mark Gius > > > You may find this perl script helpful. It takes a base OID, does > an snmpwalk on it, and then compares the results to a specified > regex or warning/critical threshold. > Gius > > > Livio Zanol Puppim wrote: > > I've searched this at monitoring exchange, but I haven't found > many scripts. What options I have to use as "generic" SNMP > checks? Passing OIDs or tables and comparing with values for > critical and warning states, and passing data trought > performance output. > > What scripts do you use? > > -- > []'s > > L?vio Zanol Puppim > > > > > -- > []'s > > L?vio Zanol Puppim > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 23 18:23:54 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Tue, 23 Jun 2009 16:23:54 +0000 Subject: NDOUtils 1.3.1 Installation assistance Message-ID: >>Have you installed Mysql and the libmysql libraries on the machine ? >>what distro are you using ? below are the mysql packages that I have installed on my machine...I am using Fedora 9 [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Tuesday, June 23, 2009 09:01 AM To: 'Nagios Users Mail-list' Cc: ng.nagios at schmidt24.org Subject: NDOUtils 1.3.1 Installation assistance ok during my compile I found this information... *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql when I more my ld.so.conf file it only has this in it: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf [root at nagios etc]# 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. What am I supposed to put into the /ld.so.conf file so it knows where the libraries are? Thanks, Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 20:52:07 2009 From: ton.voon at opsera.com (Ton Voon) Date: Tue, 23 Jun 2009 19:52:07 +0100 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: <864AF918-0779-4585-885D-AFE784E69C40@opsera.com> Tore, Can you send the configuration for the host and service too? Can you also send the check_nrpe_parameters command definition. On the command line, what works? Also, you said a previous version of Nagios worked with this definition - which version of Nagios was that? Ton On 23 Jun 2009, at 15:09, Tore L?n?y wrote: > Let me see, this should be enough i think: > > define host { > host_name X > alias X > address X > check_period 24x7 > check_command check-host-alive > contact_groups > notification_period 24x7 > initial_state o > check_interval 15.000000 > retry_interval 5.000000 > max_check_attempts 3 > active_checks_enabled 1 > passive_checks_enabled 0 > obsess_over_host 1 > event_handler_enabled 0 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold 0 > check_freshness 0 > notification_options d,r > notifications_enabled 1 > notification_interval 60.000000 > first_notification_delay 60.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > notes_url > retain_status_information 1 > retain_nonstatus_information 1 > _REQUESTOR > _CRM_SERVICES "AOS$\$01" > } > > define service { > host_name X > service_description X > check_period 24x7 > check_command check_nrpe_parameters!CheckServiceState! > ShowAll=long $_HOSTCRM_SERVICES > contact_groups > notification_period 24x7 > initial_state o > check_interval 1.000000 > retry_interval 5.000000 > max_check_attempts 2 > is_volatile 0 > parallelize_check 1 > active_checks_enabled 1 > passive_checks_enabled 0 > obsess_over_service 0 > event_handler_enabled 0 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,w,u,c > freshness_threshold 0 > check_freshness 0 > notification_options c,r > notifications_enabled 1 > notification_interval 60.000000 > first_notification_delay 10.000000 > stalking_options n > process_perf_data 0 > failure_prediction_enabled 1 > notes > retain_status_information 1 > retain_nonstatus_information 1 > } > > The problem for me it seems is when nagios is parsing the data just > before it is going to execute the command. It is no problem executes > check_nrpe with ah backslash (\) as the escape char. But the problem > for me is what escape char do i use in custom macros? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Wed Jun 24 01:08:33 2009 From: mirde at oppy.com (Mirza Dedic) Date: Tue, 23 Jun 2009 16:08:33 -0700 Subject: NConf vs. NagiosQL vs. lilac ?? Message-ID: Hello, I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. I've noticed there are a few to chose from.. NConf NagiosQL Lilac Platform Anyone experience with any of these, which one would you suggest to go with? My main deciding factor is speed, performance, and ease of use/customization-configuration. Thanks. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deibertine at yahoo.com Wed Jun 24 01:15:08 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Tue, 23 Jun 2009 16:15:08 -0700 (PDT) Subject: Network Slowness In-Reply-To: References: Message-ID: <247144.53161.qm@web111216.mail.gq1.yahoo.com> Q: is there a way to monitor network slowness in Nagios? I wanted something that will trigger an alarm that will send me notification when the network is acting really slow or below average. Someone please kindly advise. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moby at mobsternet.com Wed Jun 24 01:57:01 2009 From: moby at mobsternet.com (Moby) Date: Tue, 23 Jun 2009 18:57:01 -0500 Subject: NConf vs. NagiosQL vs. lilac ?? In-Reply-To: References: Message-ID: <4A416BCD.7020708@mobsternet.com> Mirza Dedic wrote: > Hello, > > I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. > > I've noticed there are a few to chose from.. > > NConf > NagiosQL > Lilac Platform > > Anyone experience with any of these, which one would you suggest to go with? My main deciding factor is speed, performance, and ease of use/customization-configuration. > > Thanks. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > I tried the ones you mention, as well as nagiosadmin. I have finally settled on nagiosQL - I found it to be the most stable and feature rich, your mileage may vary. Regards, -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 02:47:35 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Wed, 24 Jun 2009 06:17:35 +0530 Subject: - NRPE 2.12 error on solaris 9 References: <2FBC78030439A7499BAA99B46CCC1C6D0237045CBF@vld1-ex01> Message-ID: Dear all, ON Solaris servers NRPE is configured and wrking fine locally, but when I try running check_nrpe from the nagios server I m getting error: "Error :Could not complete the SSL handshake", Locally check_nrpe command is wrking fine. I checked all the configuration and found that the "openssl" package on the nagios server is "openssl-0.9.8e-7.el5" and that on solaris server is " 0.9.7e". I guess this may be the issue for ssl handshake error. Please let me know if anythig i have missed or need to be done. PLease let me know the fix. waiting for valuable suggestions. regards, Chethan M N -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 02:37:24 2009 From: chethan.mnc at wipro.com (chethan.mnc at wipro.com) Date: Wed, 24 Jun 2009 06:07:24 +0530 Subject: - NRPE 2.12 ./configure error on solaris 9 References: Message-ID: Hi guy, Thanks for the reply... Yes SSL libraries are there... After configuring NRPE... locally check_nrpe command is working fine... but when i execute the check_nrpe command from the nagios server i m getting the "Could not complete the SSL handshake" error. Please let me know if any one has faced this problem and have a fix to it. Please help thanks Chethan M N ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Tue 6/23/2009 1:41 PM To: Chethan M N (WI01 - Manage IT); nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] - NRPE 2.12 ./configure error on solaris 9 Hello, I recently faced this problem, but I ended up installing NRPE from blastwave (http://www.blastwave.org/howto.html), and it's working well. If you want to persevere with compiling NRPE, are there SSL libraries in /usr/sfw/lib? What does config.log say? Are there any other SSL installs on the system, e.g. in /usr/local/ssl, /usr/local etc.? Regards, Guy. On Tue, Jun 23, 2009 at 2:56 AM, wrote: Dear All, I m trying to configure NRPE 2.12 on one of my sun server (solaris 9)... i m getting the following error. I also tried to give path of ssl libraries... ie ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- didnt work either.. ecking for getopt_long... no checking for getopt_long in -liberty... yes checking for main in -lnsl... yes checking for socket in -lsocket... yes checking for main in -lwrap... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for closesocket... no checking for socklen_t... yes checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries Please let me know the work around for this. Thanks in advance. Regards, Chethan ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Wed Jun 24 07:59:52 2009 From: tom.deblende at dhl.com (Tom DE BLENDE (DHL GBS)) Date: Wed, 24 Jun 2009 07:59:52 +0200 Subject: Nagios 3.1.1 compile fails on Centos-3 In-Reply-To: References: Message-ID: OK, for future reference. If anyone has problems compiling Nagios 3.1.x on Centos 3 (I know, I know, it's ancient, but it still works, and it is still supported), here is what to do. Download the latest tarball of gd at http://www.libgd.org/Downloads and install it to a location like /opt: ./configure --prefix=/opt Then compile Nagios pointing to that location: ./configure --with-gd-lib=/opt/lib --with-gd-inc=/opt/include This avoids having to remove the old version of gd, which will bring you dependency hell. Kind regards, Tom ________________________________ From: Tom DE BLENDE (DHL GBS) [mailto:tom.deblende at dhl.com] Sent: Tuesday, June 23, 2009 08:32 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.1.1 compile fails on Centos-3 Hi all, This is where the compiler craps out: cd ./base && make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/base' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/base' cd ./cgi && make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm statusmap.c: In function `initialize_graphics': statusmap.c:2111: warning: assignment makes pointer from integer without a cast /tmp/ccNrEvP7.o(.text+0x33f0): In function `initialize_graphics': /usr/src/install/nagios/nagios-3.1.1/cgi/statusmap.c:2111: undefined reference to `gdImageCreateTrueColor' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/cgi' make: *** [all] Error 2 Configure showed no problems with gd: [me at box nagios-3.1.1]# ./configure | grep gd checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes This what I have from gd on my box: [me at box nagios-3.1.1]# rpm -qa | grep gd gdbm-1.8.0-20 sysklogd-1.4.1-26_EL3 libgdiplus-1.2.3-0.rhel3.novell gd-1.8.4-12.3.1 libgdiplus-debuginfo-1.2.3-0.rhel3.novell gdb-6.3.0.0-1.138.el3 gdbm-devel-1.8.0-20 gdk-pixbuf-0.22.0-13.el3.3 gd-devel-1.8.4-12.3.1 gdm-2.4.1.6-18.el3 I'm running a fully upgraded Centos-3. Any ideas? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Wed Jun 24 08:30:53 2009 From: tom.deblende at dhl.com (Tom DE BLENDE (DHL GBS)) Date: Wed, 24 Jun 2009 08:30:53 +0200 Subject: Nagios 3.1.1 compile fails on Centos-3 In-Reply-To: References: Message-ID: Small addendum. It did compile without problems, but I got an internal server error while trying to use statusmap.cgi and some other cgi's. Apache couldn't find the new lib. Therefore create a symlink: ln -s /opt/lib/libgd.so.2 /usr/lib/libgd.so.2 ________________________________ From: Tom DE BLENDE (DHL GBS) [mailto:tom.deblende at dhl.com] Sent: Wednesday, June 24, 2009 08:00 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.1.1 compile fails on Centos-3 OK, for future reference. If anyone has problems compiling Nagios 3.1.x on Centos 3 (I know, I know, it's ancient, but it still works, and it is still supported), here is what to do. Download the latest tarball of gd at http://www.libgd.org/Downloads and install it to a location like /opt: ./configure --prefix=/opt Then compile Nagios pointing to that location: ./configure --with-gd-lib=/opt/lib --with-gd-inc=/opt/include This avoids having to remove the old version of gd, which will bring you dependency hell. Kind regards, Tom ________________________________ From: Tom DE BLENDE (DHL GBS) [mailto:tom.deblende at dhl.com] Sent: Tuesday, June 23, 2009 08:32 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 3.1.1 compile fails on Centos-3 Hi all, This is where the compiler craps out: cd ./base && make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/base' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/base' cd ./cgi && make make[1]: Entering directory `/usr/src/install/nagios/nagios-3.1.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o skiplist.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lgd -lpng -ljpeg -lz -lm statusmap.c: In function `initialize_graphics': statusmap.c:2111: warning: assignment makes pointer from integer without a cast /tmp/ccNrEvP7.o(.text+0x33f0): In function `initialize_graphics': /usr/src/install/nagios/nagios-3.1.1/cgi/statusmap.c:2111: undefined reference to `gdImageCreateTrueColor' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/src/install/nagios/nagios-3.1.1/cgi' make: *** [all] Error 2 Configure showed no problems with gd: [me at box nagios-3.1.1]# ./configure | grep gd checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes This what I have from gd on my box: [me at box nagios-3.1.1]# rpm -qa | grep gd gdbm-1.8.0-20 sysklogd-1.4.1-26_EL3 libgdiplus-1.2.3-0.rhel3.novell gd-1.8.4-12.3.1 libgdiplus-debuginfo-1.2.3-0.rhel3.novell gdb-6.3.0.0-1.138.el3 gdbm-devel-1.8.0-20 gdk-pixbuf-0.22.0-13.el3.3 gd-devel-1.8.4-12.3.1 gdm-2.4.1.6-18.el3 I'm running a fully upgraded Centos-3. Any ideas? Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Wed Jun 24 08:34:12 2009 From: guidosh at gmail.com (Guy Waugh) Date: Wed, 24 Jun 2009 07:34:12 +0100 Subject: - NRPE 2.12 ./configure error on solaris 9 In-Reply-To: References: Message-ID: So, you managed to compile NRPE on the Solaris 9 host? You've installed the NRPE daemon on the host that the Nagios host is going to monitor with the check_nrpe plugin? Are you running the daemon out of xinetd or standalone? Does 'netstat -an' on the monitored host show that something is listening on port 5666? What syntax are you using on the Nagios host to use the check_nrpe plugin? Does the NRPE daemon configuration allow connections from the Nagios host? Also, what exactly do you mean when you say that check_nrpe is working fine locally? Questions, questions... Regards, Guy. On Wed, Jun 24, 2009 at 1:37 AM, wrote: > Hi guy, > > Thanks for the reply... > > Yes SSL libraries are there... After configuring NRPE... locally check_nrpe > command is working fine... but when i execute the check_nrpe command from > the nagios server i m getting the "Could not complete the SSL handshake" > error. > > > Please let me know if any one has faced this problem and have a fix to it. > > > Please help > > thanks > Chethan M N > > ------------------------------ > *From:* Guy Waugh [mailto:guidosh at gmail.com] > *Sent:* Tue 6/23/2009 1:41 PM > *To:* Chethan M N (WI01 - Manage IT); nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] - NRPE 2.12 ./configure error on solaris 9 > > Hello, > > I recently faced this problem, but I ended up installing NRPE from > blastwave (http://www.blastwave.org/howto.html), and it's working well. > > If you want to persevere with compiling NRPE, are there SSL libraries in > /usr/sfw/lib? What does config.log say? Are there any other SSL installs on > the system, e.g. in /usr/local/ssl, /usr/local etc.? > > Regards, > Guy. > > On Tue, Jun 23, 2009 at 2:56 AM, wrote: > >> Dear All, >> >> I m trying to configure NRPE 2.12 on one of my sun server (solaris 9)... i >> m getting the following error. >> >> I also tried to give path of ssl libraries... ie >> ./configure with-ssl=/usr/sfw/ with-ssl-lib=/usr/sfw/lib/ --- didnt work >> either.. >> >> >> ecking for getopt_long... no >> checking for getopt_long in -liberty... yes >> checking for main in -lnsl... yes >> checking for socket in -lsocket... yes >> checking for main in -lwrap... yes >> checking for strdup... yes >> checking for strstr... yes >> checking for strtoul... yes >> checking for initgroups... yes >> checking for closesocket... no >> checking for socklen_t... yes >> checking for type of socket size... size_t >> checking for SSL headers... SSL headers found in /usr/local/ssl >> checking for SSL libraries... configure: error: Cannot find ssl libraries >> Please let me know the work around for this. >> >> Thanks in advance. >> >> >> Regards, >> Chethan >> >> >> ------------------------------------------------------------------------------ >> Are you an open source citizen? Join us for the Open Source Bridge >> conference! >> Portland, OR, June 17-19. Two days of sessions, one day of unconference: >> $250. >> Need another reason to go? 24-hour hacker lounge. Register today! >> >> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > *Please do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Wed Jun 24 08:36:48 2009 From: guidosh at gmail.com (Guy Waugh) Date: Wed, 24 Jun 2009 07:36:48 +0100 Subject: - NRPE 2.12 error on solaris 9 In-Reply-To: References: <2FBC78030439A7499BAA99B46CCC1C6D0237045CBF@vld1-ex01> Message-ID: Sorry, should have looked further down the inbox :-) Can you telnet from the Nagios server to port 5666 on the host with the NRPE daemon? Does it connect? Cheers, Guy. On Wed, Jun 24, 2009 at 1:47 AM, wrote: > Dear all, > > ON Solaris servers NRPE is configured and wrking fine locally, but when I > try running check_nrpe from the nagios server I m getting error: "*Error > :Could not complete the SSL handshake*", Locally check_nrpe command is > wrking fine. > I checked all the configuration and found that the "openssl" package > on the nagios server is "openssl-0.9.8e-7.el5" and that on solaris server is > " 0.9.7e". I guess this may be the issue for ssl handshake error. > > Please let me know if anythig i have missed or need to be done. > > PLease let me know the fix. > > > waiting for valuable suggestions. > > > regards, > Chethan M N > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 09:40:12 2009 From: Ayotunde.Itayemi at zain.com (Ayotunde Itayemi) Date: Wed, 24 Jun 2009 08:40:12 +0100 Subject: Error while configuring NRPE on solaris In-Reply-To: <4A2FB177.1020808@gmail.com> References: <4A2FB177.1020808@gmail.com> Message-ID: <99487797D76C7841AEEDE4A1DCA86C7005BC2F8A@VNL-LA01EX04S.vmobile-nigeria.com> Hi, came across this just now while browsing my NAGIOS mail folder. >From my notes on installing NAGIOS on Solaris 10: If getting SSL handshake error from nrpe, it may be that you don't have the SUN Solaris crypto packages SUNWcrman, SUNWcryr and SUNWcry installed. Install them in the order: SUNWcrman, SUNWcryr, and SUNWcry Note: they are in the Solaris_10/Product subdirectory of the Solaris 10 DVD # pkgadd -d . SUNWcrman SUNWcry SUNWcryr For the other error with the "svc:/network/nrpe/tcp", I would suggest you delete the SMF profile for NRPE and recreate it following the instructions by Stephan Windmueller at http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html. You don't need the whole thing, just the "Integrating Nagios into SMF" section. Look out for the paths and modify to match your install. Regards, "This mail is from a Gimper" From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, June 10, 2009 2:13 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Error while configuring NRPE on solaris 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martyn at chetnet.co.uk Wed Jun 24 10:37:28 2009 From: martyn at chetnet.co.uk (Martyn) Date: Wed, 24 Jun 2009 09:37:28 +0100 Subject: SMS Foxbox Message-ID: Does anybody know where I can purchase one of these in the UK at all? Also what would be the next level up for an SMS gateway, is there a server version around Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 11:43:49 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Wed, 24 Jun 2009 15:13:49 +0530 Subject: Error while configuring NRPE on solaris In-Reply-To: <99487797D76C7841AEEDE4A1DCA86C7005BC2F8A@VNL-LA01EX04S.vmobile-nigeria.com> References: <99487797D76C7841AEEDE4A1DCA86C7005BC2F8A@VNL-LA01EX04S.vmobile-nigeria.com> Message-ID: Hay Ayotunde Please go through this doc which i have written when i was installaing NRPE on Solaris 10. http://allunix.wordpress.com/2009/06/11/install-and-configure-nagios-plugins-nrpe-on-solaris-10/ Thanks, Nilesh Ayotunde Itayemi 06/24/2009 01:10 PM To , Nagios Users Mailinglist cc Subject Re: [Nagios-users] Error while configuring NRPE on solaris Hi, came across this just now while browsing my NAGIOS mail folder. From my notes on installing NAGIOS on Solaris 10: If getting SSL handshake error from nrpe, it may be that you don?t have the SUN Solaris crypto packages SUNWcrman, SUNWcryr and SUNWcry installed. Install them in the order: SUNWcrman, SUNWcryr, and SUNWcry Note: they are in the Solaris_10/Product subdirectory of the Solaris 10 DVD # pkgadd -d . SUNWcrman SUNWcry SUNWcryr For the other error with the ?svc:/network/nrpe/tcp?, I would suggest you delete the SMF profile for NRPE and recreate it following the instructions by Stephan Windmueller at http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html. You don?t need the whole thing, just the ?Integrating Nagios into SMF? section. Look out for the paths and modify to match your install. Regards, "This mail is from a Gimper" From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Wednesday, June 10, 2009 2:13 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Error while configuring NRPE on solaris 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 ______________________________________________________________________ ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Wed Jun 24 11:46:25 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Wed, 24 Jun 2009 11:46:25 +0200 Subject: Nagios-users Digest, Vol 37, Issue 34 In-Reply-To: References: Message-ID: Hello Ton, Command line: /nagios/libexec/check_nrpe -H -c CheckServiceState -a AOS\$01 ShowAll=long OK: AOS$01: started Here is the host def: define host { use X host_name X address X alias X hostgroups +CRM4 #max_check_attempts 3 #check_interval 2 #retry_interval 1 #contact_groups + #notifications_enabled 1 _CRM_SERVICES AOS\$01 # Macros _REQUESTOR } The service definition: define service { # Which _template_* to use. # (e.g. standard-service-60) use standard-service-1 # Service spesific service_description CRM Services check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES hostgroup_name CRM4 # Per service options first_notification_delay 10 process_perf_data 0 notifications_enabled 1 max_check_attempts 2 retry_interval 5 } The check command definition: define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$ } It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$.... You name it! Thanks for your help, Tore > Date: Tue, 23 Jun 2009 19:52:07 +0100 > From: Ton Voon > Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? > To: Nagios Users Mailinglist > Message-ID: <864AF918-0779-4585-885D-AFE784E69C40 at opsera.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > Tore, > > Can you send the configuration for the host and service too? Can you > also send the check_nrpe_parameters command definition. > > On the command line, what works? > > Also, you said a previous version of Nagios worked with this > definition - which version of Nagios was that? > > Ton > > On 23 Jun 2009, at 15:09, Tore L?n?y wrote: > > > Let me see, this should be enough i think: > > > > define host { > > host_name X > > alias X > > address X > > check_period 24x7 > > check_command check-host-alive > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 15.000000 > > retry_interval 5.000000 > > max_check_attempts 3 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_host 1 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,d,u > > freshness_threshold 0 > > check_freshness 0 > > notification_options d,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 60.000000 > > stalking_options n > > process_perf_data 1 > > failure_prediction_enabled 1 > > notes_url > > retain_status_information 1 > > retain_nonstatus_information 1 > > _REQUESTOR > > _CRM_SERVICES "AOS$\$01" > > } > > > > define service { > > host_name X > > service_description X > > check_period 24x7 > > check_command check_nrpe_parameters!CheckServiceState! > > ShowAll=long $_HOSTCRM_SERVICES > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 1.000000 > > retry_interval 5.000000 > > max_check_attempts 2 > > is_volatile 0 > > parallelize_check 1 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_service 0 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,w,u,c > > freshness_threshold 0 > > check_freshness 0 > > notification_options c,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 10.000000 > > stalking_options n > > process_perf_data 0 > > failure_prediction_enabled 1 > > notes > > retain_status_information 1 > > retain_nonstatus_information 1 > > } > > > > The problem for me it seems is when nagios is parsing the data just > > before it is going to execute the command. It is no problem executes > > check_nrpe with ah backslash (\) as the escape char. But the problem > > for me is what escape char do i use in custom macros? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ctemple at merethis.com Wed Jun 24 10:56:16 2009 From: ctemple at merethis.com (Cedric Temple) Date: Wed, 24 Jun 2009 10:56:16 +0200 Subject: NConf vs. NagiosQL vs. lilac ?? In-Reply-To: References: Message-ID: <960a54cc0906240156g5056a151g77ef0d8e9c23a885@mail.gmail.com> Hello, 2009/6/24 Mirza Dedic : > Hello, > > I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. > > I've noticed there are a few to chose from.. > > NConf > NagiosQL > Lilac Platform Centreon is another web-based configuration utility for Nagios. RRDTool graphs are available in Centreon with no addon. Regards. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gaurav at subisu.net.np Wed Jun 24 12:24:32 2009 From: gaurav at subisu.net.np (Gaurav Ghimire) Date: Wed, 24 Jun 2009 16:09:32 +0545 Subject: NConf vs. NagiosQL vs. lilac ?? In-Reply-To: <4A416BCD.7020708@mobsternet.com> References: <4A416BCD.7020708@mobsternet.com> Message-ID: <4A41FEE0.7090204@subisu.net.np> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Moby wrote: > > Mirza Dedic wrote: >> Hello, >> >> I am stuck at choosing which configuration tool I should use for my Nagios, I plan to refine our checks to steamline them more for performance, and change some of the plug-ins used for checks, and would like to install a web-based configuration utlity. >> >> I've noticed there are a few to chose from.. >> >> NConf >> NagiosQL >> Lilac Platform >> >> Anyone experience with any of these, which one would you suggest to go with? My main deciding factor is speed, performance, and ease of use/customization-configuration. >> >> Thanks. >> >> > I tried the ones you mention, as well as nagiosadmin. I have finally > settled on nagiosQL - I found it to be the most stable and feature rich, > your mileage may vary. > > Regards, > Same here. Moreover the categorization feature with the configuring options are awsome. Saves filtering overload. Regards, - -- Gaurav Ghimire System Administrator Subisu Cablenet (P.) Ltd. 148 Thirbum Sadak Baluwatar, Kathmandu Nepal T: 00977 1 4429616/17 Ext.: 110 F: 00977 1 4430572 http://www.subisu.net.np First and Only True Cable Internet Service Provider in Nepal (An ISO 9001:2000 Certified Company) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpB/uAACgkQnfv7imVnL2t9lQCffBcOqWrKfJZDlvbY0LKO6Cmh Y7kAn3oNzcQQEqSak4AjrSxmXO1uRaw+ =aDbU -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Wed Jun 24 13:13:31 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Wed, 24 Jun 2009 13:13:31 +0200 Subject: Problem in Preflight Check with commands.cfg In-Reply-To: References: Message-ID: <90f6e8270906240413v4030de39x888bb45ded2e9425@mail.gmail.com> On Fri, Jun 19, 2009 at 10:52 PM, Kaplan, Andrew H. wrote: > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > on line 91. I would start grepping in /etc/nagios3 for check_dns (you can grep recursively and ignoring case sensitivity with the options -ri ). something like this, then: # cd /etc/nagios3 # grep -ri "check_dns" * See what you get, somewhere you have a duplicate command in your configuration. Natxo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at iphh.net Wed Jun 24 13:30:46 2009 From: ck at iphh.net (Christoph Kluenter) Date: Wed, 24 Jun 2009 13:30:46 +0200 Subject: View all unhandled services and all unhandled hosts Message-ID: <200906241330.46613.ck@iphh.net> Hi, I want to see all unhandled service problems and all unhandled host problems on one page. I thought, this URL would do it: status.cgi?host=all&servicestatustypes=28&serviceprops=42&hoststatustypes=12&hostprops=42 But it doesn't. It shows nothing instead of the down hosts and services I have. Any ideas ? Kind regards, Christoph -- Christoph Kluenter E-Mail: ck at iphh.net Technik Tel: +49 (0)40 374919-10 IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29 Grosse Reichenstrasse 27 AG Hamburg, HRB 76071 D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Wed Jun 24 15:12:20 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Wed, 24 Jun 2009 15:12:20 +0200 Subject: Escaping broke i 3.1.1 ? Message-ID: Hello, Sorry for double posting, but wrong subject. Ton: Command line: /nagios/libexec/check_nrpe -H -c CheckServiceState -a AOS\$01 ShowAll=long OK: AOS$01: started Here is the host def: define host { use X host_name X address X alias X hostgroups +CRM4 #max_check_attempts 3 #check_interval 2 #retry_interval 1 #contact_groups + #notifications_enabled 1 _CRM_SERVICES AOS\$01 # Macros _REQUESTOR } The service definition: define service { # Which _template_* to use. # (e.g. standard-service-60) use standard-service-1 # Service spesific service_description CRM Services check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES hostgroup_name CRM4 # Per service options first_notification_delay 10 process_perf_data 0 notifications_enabled 1 max_check_attempts 2 retry_interval 5 } The check command definition: define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$ } It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$.... You name it! Thanks for your help, Tore > Date: Tue, 23 Jun 2009 19:52:07 +0100 > From: Ton Voon > Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? > To: Nagios Users Mailinglist > Message-ID: <864AF918-0779-4585-885D-AFE784E69C40 at opsera.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > Tore, > > Can you send the configuration for the host and service too? Can you > also send the check_nrpe_parameters command definition. > > On the command line, what works? > > Also, you said a previous version of Nagios worked with this > definition - which version of Nagios was that? > > Ton > > On 23 Jun 2009, at 15:09, Tore L?n?y wrote: > > > Let me see, this should be enough i think: > > > > define host { > > host_name X > > alias X > > address X > > check_period 24x7 > > check_command check-host-alive > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 15.000000 > > retry_interval 5.000000 > > max_check_attempts 3 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_host 1 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,d,u > > freshness_threshold 0 > > check_freshness 0 > > notification_options d,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 60.000000 > > stalking_options n > > process_perf_data 1 > > failure_prediction_enabled 1 > > notes_url > > retain_status_information 1 > > retain_nonstatus_information 1 > > _REQUESTOR > > _CRM_SERVICES "AOS$\$01" > > } > > > > define service { > > host_name X > > service_description X > > check_period 24x7 > > check_command check_nrpe_parameters!CheckServiceState! > > ShowAll=long $_HOSTCRM_SERVICES > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 1.000000 > > retry_interval 5.000000 > > max_check_attempts 2 > > is_volatile 0 > > parallelize_check 1 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_service 0 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,w,u,c > > freshness_threshold 0 > > check_freshness 0 > > notification_options c,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 10.000000 > > stalking_options n > > process_perf_data 0 > > failure_prediction_enabled 1 > > notes > > retain_status_information 1 > > retain_nonstatus_information 1 > > } > > > > The problem for me it seems is when nagios is parsing the data just > > before it is going to execute the command. It is no problem executes > > check_nrpe with ah backslash (\) as the escape char. But the problem > > for me is what escape char do i use in custom macros? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:22:51 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Wed, 24 Jun 2009 15:22:51 +0200 Subject: nrpe-2.12 Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> Hi I'm trying to install nrpe-2.12 on the nagios server and I receive this message : ./configure [...] checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries The openssl's version is : openssl-0.9.8h-30.11 and there's not openssl.devel package available... on the other hand the version nrpe-2.8 is running ! On some forums, I've read that I could install this patch (see attach file). How could I run this patch? Which version is better to use: nrpe-2.8 or nrpe-2.12? Thanks jerome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Wed Jun 24 17:09:17 2009 From: weinerm at ccf.org (Weiner, Michael) Date: Wed, 24 Jun 2009 11:09:17 -0400 Subject: packaged but not installed Message-ID: Trying to build a 3.1.2 RPM using the SPEC file included with the latest nagios tarball, and I keep running into the following errors: RPM build errors: File not found: /var/tmp/nagios-buildroot/usr/share/nagios File not found by glob: /var/tmp/nagios-buildroot/usr/share/nagios/* Installed (but unpackaged) file(s) found: And the failure RPM is complaining about is correct, when I cd to /var/tmp/nagios-buildroot/usr/share there is no nagios directory with the listed files that are unpackaged. In going through the SPEC file, I cannot gleam anything that indicates where the specific problem is. Has anyone else run into this? And has anyone been able to address it, and correct the SPEC file? Thanks in advance Michael Weiner =================================== P Please consider the environment before printing this e-mail Cleveland Clinic is ranked one of the top hospitals in America by U.S. News & World Report (2008). Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contactdayo at gmail.com Wed Jun 24 17:41:36 2009 From: contactdayo at gmail.com (Dayo Adewunmi) Date: Wed, 24 Jun 2009 16:41:36 +0100 Subject: Can't see http://localhost/nagios Message-ID: <4A424930.2050102@gmail.com> Hi, I've just installed nagios by this guide http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my /var/www/ is empty, and so I can't see anything when I point my browser to http://localhost/nagios. Am I missing a step somewhere? Do I need to additionally configure something else, too? Best regards Dayo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 18:43:40 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 24 Jun 2009 16:43:40 +0000 Subject: Nagios Center implemntation Message-ID: <200906241643.40820.assaf.flatto@ssp-intl.com> Hello List Has anyone managed to install and use this nagios add on ? http://nagcen.sourceforge.net/ 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 ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 17:54:08 2009 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 24 Jun 2009 17:54:08 +0200 Subject: Antwort: Can't see http://localhost/nagios In-Reply-To: <4A424930.2050102@gmail.com> References: <4A424930.2050102@gmail.com> Message-ID: > I've just installed nagios by this guide > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my > /var/www/ is empty, and so I can't see anything when I point my browser > to http://localhost/nagios. Am I missing a step somewhere? Do I need to > additionally configure something else, too? Did you follow point 5) in the guide? Nagios installs its html/cgi files into /usr/local/nagios/share. make install-webconf copies a nagios.cfg file into /etc/httpd/httpd.conf, if I am not mistaken. A reload of apache should load that config. As far as I can remember, debian/ubuntu does not have a /etc/httpd, but a /etc/apache2 directory. Please doublecheck if the apache configfile for nagios has been created and reload the apache2 server if you fixed the problem. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 18:53:22 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Wed, 24 Jun 2009 16:53:22 +0000 Subject: Can't see http://localhost/nagios In-Reply-To: <4A424930.2050102@gmail.com> References: <4A424930.2050102@gmail.com> Message-ID: <200906241653.22502.assaf.flatto@ssp-intl.com> is the apache web server started ? what does the apache nagios.conf file say ? Assaf On Wednesday 24 June 2009 15:41:36 Dayo Adewunmi wrote: > Hi, > > I've just installed nagios by this guide > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my > /var/www/ is empty, and so I can't see anything when I point my browser > to http://localhost/nagios. Am I missing a step somewhere? Do I need to > additionally configure something else, too? > > Best regards > > Dayo > > --------------------------------------------------------------------------- >--- _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 18:00:01 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 24 Jun 2009 18:00:01 +0200 Subject: Can't see http://localhost/nagios In-Reply-To: <4A424930.2050102@gmail.com> References: <4A424930.2050102@gmail.com> Message-ID: <4A424D81.20205@univie.ac.at> make install-webconf /var/www is truely empty because the virtual host definition for nagios points to the nagios/share directory Kind regards, Michael Dayo Adewunmi wrote the following on 24.06.2009 17:41: > Hi, > > I've just installed nagios by this guide > http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my > /var/www/ is empty, and so I can't see anything when I point my browser > to http://localhost/nagios. Am I missing a step somewhere? Do I need to > additionally configure something else, too? > > Best regards > > Dayo > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 18:21:55 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Wed, 24 Jun 2009 12:21:55 -0400 Subject: nrpe-2.12 In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> Message-ID: you can probably easilly fix with openssl-devel if you have yum... "yum install openssl-devel" is all you have to do. -- Mat W. - http://www.techadre.com Date: Wed, 24 Jun 2009 15:22:51 +0200 From: Jerome.Meyer at baldata.ch To: Nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: [Nagios-users] nrpe-2.12 Hi I?m trying to install nrpe-2.12 on the nagios server and I receive this message : ./configure [?] checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries The openssl?s version is : openssl-0.9.8h-30.11 and there?s not openssl.devel package available? on the other hand the version nrpe-2.8 is running ! On some forums, I?ve read that I could install this patch (see attach file). How could I run this patch? Which version is better to use: nrpe-2.8 or nrpe-2.12? Thanks jerome _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 18:32:32 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Wed, 24 Jun 2009 12:32:32 -0400 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: I think you may need to escape the backslash itself with another backslash ... vaguely recall having to do that myself in some checks when passing values that had a backslash in it. -- Mat W. - http://www.techadre.com Date: Wed, 24 Jun 2009 15:12:20 +0200 From: tore.lonoy at gmail.com To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? Hello, Sorry for double posting, but wrong subject. Ton: Command line: /nagios/libexec/check_nrpe -H -c CheckServiceState -a AOS\$01 ShowAll=long OK: AOS$01: started Here is the host def: define host { use X host_name X address X alias X hostgroups +CRM4 #max_check_attempts 3 #check_interval 2 #retry_interval 1 #contact_groups + #notifications_enabled 1 _CRM_SERVICES AOS\$01 # Macros _REQUESTOR } The service definition: define service { # Which _template_* to use. # (e.g. standard-service-60) use standard-service-1 # Service spesific service_description CRM Services check_command check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES hostgroup_name CRM4 # Per service options first_notification_delay 10 process_perf_data 0 notifications_enabled 1 max_check_attempts 2 retry_interval 5 } The check command definition: define command { command_name check_nrpe_parameters command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a $ARG2$ } It worked on Nagios 3.0.6. I've tried almost any combination of escaping the dollar sign, $$, \$, \\$$,\\\$.... You name it! Thanks for your help, Tore Date: Tue, 23 Jun 2009 19:52:07 +0100 From: Ton Voon Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? To: Nagios Users Mailinglist Message-ID: <864AF918-0779-4585-885D-AFE784E69C40 at opsera.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Tore, Can you send the configuration for the host and service too? Can you also send the check_nrpe_parameters command definition. On the command line, what works? Also, you said a previous version of Nagios worked with this definition - which version of Nagios was that? Ton On 23 Jun 2009, at 15:09, Tore L?n?y wrote: > Let me see, this should be enough i think: > > define host { > host_name X > alias X > address X > check_period 24x7 > check_command check-host-alive > contact_groups > notification_period 24x7 > initial_state o > check_interval 15.000000 > retry_interval 5.000000 > max_check_attempts 3 > active_checks_enabled 1 > passive_checks_enabled 0 > obsess_over_host 1 > event_handler_enabled 0 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,d,u > freshness_threshold 0 > check_freshness 0 > notification_options d,r > notifications_enabled 1 > notification_interval 60.000000 > first_notification_delay 60.000000 > stalking_options n > process_perf_data 1 > failure_prediction_enabled 1 > notes_url > retain_status_information 1 > retain_nonstatus_information 1 > _REQUESTOR > _CRM_SERVICES "AOS$\$01" > } > > define service { > host_name X > service_description X > check_period 24x7 > check_command check_nrpe_parameters!CheckServiceState! > ShowAll=long $_HOSTCRM_SERVICES > contact_groups > notification_period 24x7 > initial_state o > check_interval 1.000000 > retry_interval 5.000000 > max_check_attempts 2 > is_volatile 0 > parallelize_check 1 > active_checks_enabled 1 > passive_checks_enabled 0 > obsess_over_service 0 > event_handler_enabled 0 > low_flap_threshold 0.000000 > high_flap_threshold 0.000000 > flap_detection_enabled 1 > flap_detection_options o,w,u,c > freshness_threshold 0 > check_freshness 0 > notification_options c,r > notifications_enabled 1 > notification_interval 60.000000 > first_notification_delay 10.000000 > stalking_options n > process_perf_data 0 > failure_prediction_enabled 1 > notes > retain_status_information 1 > retain_nonstatus_information 1 > } > > The problem for me it seems is when nagios is parsing the data just > before it is going to execute the command. It is no problem executes > check_nrpe with ah backslash (\) as the escape char. But the problem > for me is what escape char do i use in custom macros? _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jun 24 18:35:05 2009 From: ricardo.maraschini at opservices.com.br (Ricardo Maraschini) Date: Wed, 24 Jun 2009 13:35:05 -0300 (BRT) Subject: NConf vs. NagiosQL vs. lilac ?? In-Reply-To: References: Message-ID: <4696643.53181245861304970.JavaMail.root@mail.opservices.com.br> ----- "Mirza Dedic" escreveu: > Hello, > > I am stuck at choosing which configuration tool I should use for my > Nagios, I plan to refine our checks to steamline them more for > performance, and change some of the plug-ins used for checks, and > would like to install a web-based configuration utlity. We use the opcfg, you can find it on [1] and it's opensource. It's based on an old Fruity version with a lot of enhancements. Take a look. [1] http://www.opmon.org -rm ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contactdayo at gmail.com Wed Jun 24 19:02:08 2009 From: contactdayo at gmail.com (Dayo Adewunmi) Date: Wed, 24 Jun 2009 18:02:08 +0100 Subject: Can't see http://localhost/nagios In-Reply-To: <4A424D81.20205@univie.ac.at> References: <4A424930.2050102@gmail.com> <4A424D81.20205@univie.ac.at> Message-ID: <4A425C10.2070007@gmail.com> Thanks, that did the trick. Also, I needed to *restart* apache2, and not just reload it. Best regards Dayo --------------- Michael Friedrich wrote: > make install-webconf > > /var/www is truely empty because the virtual host definition for nagios > points to the nagios/share directory > > Kind regards, > Michael > > Dayo Adewunmi wrote the following on 24.06.2009 17:41: > >> Hi, >> >> I've just installed nagios by this guide >> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html, but my >> /var/www/ is empty, and so I can't see anything when I point my browser >> to http://localhost/nagios. Am I missing a step somewhere? Do I need to >> additionally configure something else, too? >> >> Best regards >> >> Dayo >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 19:56:07 2009 From: nccomp at gmail.com (Andrew Davis) Date: Wed, 24 Jun 2009 13:56:07 -0400 Subject: Nagios Center implemntation In-Reply-To: <200906241643.40820.assaf.flatto@ssp-intl.com> References: <200906241643.40820.assaf.flatto@ssp-intl.com> Message-ID: <4A4268B7.1010800@gmail.com> Not sure about you, but w/o a screenshot or something I'd be inclined to skip it. :) 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 Assaf Flatto wrote: > Hello List > > Has anyone managed to install and use this nagios add on ? > > http://nagcen.sourceforge.net/ > > Assaf > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 22:17:41 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 24 Jun 2009 16:17:41 -0400 Subject: Problem in Preflight Check with commands.cfg In-Reply-To: <90f6e8270906240413v4030de39x888bb45ded2e9425@mail.gmail.com> References: <90f6e8270906240413v4030de39x888bb45ded2e9425@mail.gmail.com> Message-ID: I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a loss as to why the error message is occurring, and I would really appreciate help on this. -----Original Message----- From: Natxo Asenjo [mailto:natxo.asenjo at gmail.com] Sent: Wednesday, June 24, 2009 7:14 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem in Preflight Check with commands.cfg On Fri, Jun 19, 2009 at 10:52 PM, Kaplan, Andrew H. wrote: > /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > Reading configuration data... > Warning: Duplicate definition found for command 'check_dns' (config file > '/etc/nagios3/conf.d/commands.cfg', starting on line 90) > Error: Could not add object property in file '/etc/nagios3/conf.d/commands.cfg' > on line 91. I would start grepping in /etc/nagios3 for check_dns (you can grep recursively and ignoring case sensitivity with the options -ri ). something like this, then: # cd /etc/nagios3 # grep -ri "check_dns" * See what you get, somewhere you have a duplicate command in your configuration. Natxo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- A non-text attachment was scrubbed... Name: httpd.conf Type: application/octet-stream Size: 34428 bytes Desc: httpd.conf URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 01:24:24 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 24 Jun 2009 19:24:24 -0400 Subject: Problem getting past main page Message-ID: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. <> 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: httpd.conf Type: application/octet-stream Size: 34428 bytes Desc: httpd.conf URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 01:24:58 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 24 Jun 2009 18:24:58 -0500 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: <4A378642.1080304@kkeane.com> References: <4A378642.1080304@kkeane.com> Message-ID: On Tue, Jun 16, 2009 at 6:47 AM, Kevin Keane wrote: > 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. > Thanks for all those helpful comments guys! You might have saved me from a few disasters here. I think I am staying away from Nagvis (and ndoutils ) for now. Nagviz seems to me one of those tools that simply look great but the back-end still needs quite some work before I'd be brave enough to unleash it in a production environment! -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 06:16:45 2009 From: N.Patil at lntinfotech.com (N Patil) Date: Thu, 25 Jun 2009 09:46:45 +0530 Subject: How to get/generate nagios reports in CSV or PDF format? In-Reply-To: <200906241653.22502.assaf.flatto@ssp-intl.com> References: <200906241653.22502.assaf.flatto@ssp-intl.com> Message-ID: Hello everyone, I have nagios implemented inhouse which monitors most of the unix, windows servers as well as routers and switches. Is there any way that I can generate/convert reports into CSV, PDF, DOC or such formats ? Can I generate reports for CPU Utilization, Memory Utilization, Disk Utilization, Ping Availability etc. Thanks in advance. - nilesh ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 07:20:37 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 24 Jun 2009 22:20:37 -0700 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: References: <4A378642.1080304@kkeane.com> Message-ID: <4A430925.4090802@kkeane.com> Rahul Nabar wrote: > > > On Tue, Jun 16, 2009 at 6:47 AM, Kevin Keane > wrote: > > 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. > > > Thanks for all those helpful comments guys! You might have saved me > from a few disasters here. I think I am staying away from Nagvis (and > ndoutils ) for now. > > Nagviz seems to me one of those tools that simply look great but the > back-end still needs quite some work before I'd be brave enough to > unleash it in a production environment! I think that is a bit overreacting. ndoutils is a database client. Databases need management and tuning to get you good performance - that's just routine, regardless of the brand you are using: mysql, SQL Server, Oracle, Postgres, .... No amount of work or "polishing" will change that. There's a reason DBAs are highly valued professionals. For that matter, my database would have had this problem regardless of ndoutils. It's just that ndoutils writes a lot more to the database than my other applications (by nature, not ndoutils' fault). By the way, the tuning I suggested seems to have done the trick. It's been running for more than a week without a hitch, and without the increase in disk space I had observed before. -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 07:32:14 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 25 Jun 2009 00:32:14 -0500 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: <4A430925.4090802@kkeane.com> References: <4A378642.1080304@kkeane.com> <4A430925.4090802@kkeane.com> Message-ID: On Thu, Jun 25, 2009 at 12:20 AM, Kevin Keane wrote: > I think that is a bit overreacting. ndoutils is a database client. > Thanks Kevin. Point taken. > Databases need management and tuning to get you good performance - > that's just routine, regardless of the brand you are using: mysql, SQL > Server, Oracle, Postgres, .... > But the way nagios natively stores data seems to be pretty robust though. Nagios has scaled excellently right out of the box. From all these discussions it seems that the problems arise when I try to hook up ndoutils etc. in there. Maybe I am wrong! >No amount of work or "polishing" will >change that. There's a reason DBAs are highly valued professionals. I feel that's the crux though. If each native nagios install neeed a skilled DBA to tune it till it worked I doubt it'd have been so successful. -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 08:24:12 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Thu, 25 Jun 2009 08:24:12 +0200 Subject: nrpe-2.12 In-Reply-To: References: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> I couldn't use "yum" on SLES11, that's the problem! There'isbt openssl-devel on the openssl.org website... regards jm Von: Mathew Walker [mailto:lmw94002 at hotmail.com] Gesendet: Mittwoch, 24. Juni 2009 18:22 An: Meyer Jerome; nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Betreff: RE: [Nagios-users] nrpe-2.12 you can probably easilly fix with openssl-devel if you have yum... "yum install openssl-devel" is all you have to do. -- Mat W. - http://www.techadre.com ________________________________ Date: Wed, 24 Jun 2009 15:22:51 +0200 From: Jerome.Meyer at baldata.ch To: Nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Subject: [Nagios-users] nrpe-2.12 Hi I'm trying to install nrpe-2.12 on the nagios server and I receive this message : ./configure [...] checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries The openssl's version is : openssl-0.9.8h-30.11 and there's not openssl.devel package available... on the other hand the version nrpe-2.8 is running ! On some forums, I've read that I could install this patch (see attach file). How could I run this patch? Which version is better to use: nrpe-2.8 or nrpe-2.12? Thanks jerome ________________________________ Lauren found her dream laptop. Find the PC that's right for you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 08:28:26 2009 From: subscription at kkeane.com (Kevin Keane) Date: Wed, 24 Jun 2009 23:28:26 -0700 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: References: <4A378642.1080304@kkeane.com> <4A430925.4090802@kkeane.com> Message-ID: <4A43190A.5020902@kkeane.com> Rahul Nabar wrote: > > > On Thu, Jun 25, 2009 at 12:20 AM, Kevin Keane > wrote: > > I think that is a bit overreacting. ndoutils is a database client. > > > Thanks Kevin. Point taken. > > > Databases need management and tuning to get you good performance - > that's just routine, regardless of the brand you are using: mysql, SQL > Server, Oracle, Postgres, .... > > > But the way nagios natively stores data seems to be pretty robust > though. Nagios has scaled excellently right out of the box. From all > these discussions it seems that the problems arise when I try to hook > up ndoutils etc. in there. Maybe I am wrong! No, you are entirely right. For that matter, ndoutils does absolutely NOTHING for Nagios itself. Nagios continues to store the data in its native format. Nagios itself doesn't need a database, doesn't benefit from it, and probably actually will take a (slight) performance hit from calling ndoutils and writing to the DB. All it does is replicate the data into a database - you can think of it as an export utility to MySQL. What it comes down to: if you need the data available in a database for some tool like nagviz, you use ndoutils. If you don't - then don't use ndoutils. Simple as that. Also, keep in mind that Nagios' native data storage is designed for just Nagios own internal use. If other tools started accessing it directly, it would very quickly stop being robust. > >No amount of work or "polishing" will change that. There's a reason > DBAs are highly valued professionals. > > I feel that's the crux though. If each native nagios install neeed a > skilled DBA to tune it till it worked I doubt it'd have been so > successful. Fortunately, it's not quite that bad. For smaller installations - the vast majority - the necessary tuning is something you can do yourself with a little bit of research. I'm not a DBA, just a universalist who dabbles in everything from C++ to SQL to Active Directory to Linux administration. Only if your installation is truly humongous would you need a DBA to really wring out the last little ounce of performance. That said, there are also good reasons why everybody is using databases for all kinds of things today. Heck, my Web site stores the content in a database! Databases do add a lot of power and flexibility, provide access for multiple clients, a very simple interface, they can easily be made available across a network are easy to back up and very robust. These things are the reasons very few tools access the proprietary Nagios data directly but most require ndoutils. And if somebody was to rewrite Nagios from scratch today, they would probably store the data in a database to begin with. I'd also like to point out that Nagios itself needs just as much tuning as a database does. As does the Linux server you are running it on. -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Thu Jun 25 09:02:56 2009 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 25 Jun 2009 09:02:56 +0200 Subject: nrpe-2.12 In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> Message-ID: <4A432120.3010203@ufz.de> Meyer Jerome [25.06.2009 08:24]: > I couldn't use "yum" on SLES11, that's the problem! There'isbt > openssl-devel on the openssl.org website... A "zypper se openssl" will show you all known packages containing openssl in their names. Maybe libopenssl-devel ist the package you're looking for. Try "zypper in libopenssl-devel" to install it and retry compiling. HTH Werner > > > > regards > > jm > > > > Von: Mathew Walker [mailto:lmw94002 at hotmail.com] > Gesendet: Mittwoch, 24. Juni 2009 18:22 > An: Meyer Jerome; nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Betreff: RE: [Nagios-users] nrpe-2.12 > > > > you can probably easilly fix with openssl-devel > > if you have yum... "yum install openssl-devel" is all you have to do. > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dggutierrez at telecable.com Thu Jun 25 09:00:17 2009 From: dggutierrez at telecable.com (David Gutierrez Gutierrez) Date: Thu, 25 Jun 2009 09:00:17 +0200 Subject: nrpe-2.12 In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> Message-ID: <4A432081.8050402@telecable.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dggutierrez.vcf Type: text/x-vcard Size: 669 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 09:27:37 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 25 Jun 2009 09:27:37 +0200 Subject: nagvis requires ndoutils; how stable is ndoutils? In-Reply-To: References: <4A378642.1080304@kkeane.com> Message-ID: <4A4326E9.9030105@univie.ac.at> Hi there, you can use Nagvis not depending on installing NDOUtils - try NDO2fs which is a new module and fully compatible to current NagVis version. It gets the data from Nagios via NDO Event Broker and writes it to a filebased structure from where NagVis will select the data from. http://www.vertical-visions.de/2009/01/13/introducing-ndo2fs/ http://www.vertical-visions.de/projects/nagvis-project/ http://www.nagvis.org/ "We added two backends to the main NagVis code. You can now connect NagVis to ndo2fs . Ndo2fs is a lightweight alternative to the default MySQL based NDO." Kind regards, Michael Rahul Nabar wrote the following on 25.06.2009 01:24: > > > On Tue, Jun 16, 2009 at 6:47 AM, Kevin Keane > wrote: > > 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. > > > Thanks for all those helpful comments guys! You might have saved me > from a few disasters here. I think I am staying away from Nagvis (and > ndoutils ) for now. > > Nagviz seems to me one of those tools that simply look great but the > back-end still needs quite some work before I'd be brave enough to > unleash it in a production environment! > > -- > Rahul > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Thu Jun 25 09:30:09 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Thu, 25 Jun 2009 09:30:09 +0200 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: The service name is "AOS$01", not "AOS\$01". The backslash is added to escape the $. I've tried the following combination: $$ \$ \\$ $$$ \\\$ \\\$$ But no luck :( 2009/6/24 Mathew Walker > I think you may need to escape the backslash itself with another backslash > ... vaguely recall having to do that myself in some checks when passing > values that had a backslash in it. > > -- > Mat W. - http://www.techadre.com > > > > ------------------------------ > Date: Wed, 24 Jun 2009 15:12:20 +0200 > From: tore.lonoy at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? > > Hello, > > Sorry for double posting, but wrong subject. > > Ton: > > Command line: > /nagios/libexec/check_nrpe -H -c CheckServiceState -a AOS\$01 > ShowAll=long > OK: AOS$01: started > > Here is the host def: > define host { > use X > > host_name X > address X > alias X > > > hostgroups +CRM4 > > #max_check_attempts 3 > #check_interval 2 > #retry_interval 1 > > #contact_groups + > #notifications_enabled 1 > > _CRM_SERVICES AOS\$01 > > # Macros > _REQUESTOR > > } > > The service definition: > define service { > # Which _template_* to use. > # (e.g. standard-service-60) > use standard-service-1 > > # Service spesific > service_description CRM Services > check_command > check_nrpe_parameters!CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES > hostgroup_name CRM4 > > # Per service options > first_notification_delay 10 > process_perf_data 0 > notifications_enabled 1 > max_check_attempts 2 > retry_interval 5 > } > > The check command definition: > define command { > command_name check_nrpe_parameters > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -a > $ARG2$ > } > > > It worked on Nagios 3.0.6. I've tried almost any combination of escaping > the dollar sign, $$, \$, \\$$,\\\$.... You name it! > > Thanks for your help, > > Tore > > > > Date: Tue, 23 Jun 2009 19:52:07 +0100 > From: Ton Voon > Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? > To: Nagios Users Mailinglist > Message-ID: <864AF918-0779-4585-885D-AFE784E69C40 at opsera.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > Tore, > > Can you send the configuration for the host and service too? Can you > also send the check_nrpe_parameters command definition. > > On the command line, what works? > > Also, you said a previous version of Nagios worked with this > definition - which version of Nagios was that? > > Ton > > On 23 Jun 2009, at 15:09, Tore L?n?y wrote: > > > Let me see, this should be enough i think: > > > > define host { > > host_name X > > alias X > > address X > > check_period 24x7 > > check_command check-host-alive > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 15.000000 > > retry_interval 5.000000 > > max_check_attempts 3 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_host 1 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,d,u > > freshness_threshold 0 > > check_freshness 0 > > notification_options d,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 60.000000 > > stalking_options n > > process_perf_data 1 > > failure_prediction_enabled 1 > > notes_url > > retain_status_information 1 > > retain_nonstatus_information 1 > > _REQUESTOR > > _CRM_SERVICES "AOS$\$01" > > } > > > > define service { > > host_name X > > service_description X > > check_period 24x7 > > check_command check_nrpe_parameters!CheckServiceState! > > ShowAll=long $_HOSTCRM_SERVICES > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 1.000000 > > retry_interval 5.000000 > > max_check_attempts 2 > > is_volatile 0 > > parallelize_check 1 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_service 0 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,w,u,c > > freshness_threshold 0 > > check_freshness 0 > > notification_options c,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 10.000000 > > stalking_options n > > process_perf_data 0 > > failure_prediction_enabled 1 > > notes > > retain_status_information 1 > > retain_nonstatus_information 1 > > } > > > > The problem for me it seems is when nagios is parsing the data just > > before it is going to execute the command. It is no problem executes > > check_nrpe with ah backslash (\) as the escape char. But the problem > > for me is what escape char do i use in custom macros? > > > > > > > ------------------------------ > Lauren found her dream laptop. Find the PC that?s right for you. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Thu Jun 25 09:36:20 2009 From: werner.flamme at ufz.de (Werner Flamme) Date: Thu, 25 Jun 2009 09:36:20 +0200 Subject: nrpe-2.12 In-Reply-To: <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> References: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch> <46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> Message-ID: <4A4328F4.3030109@ufz.de> Meyer Jerome [25.06.2009 08:24]: > I couldn't use "yum" on SLES11, that's the problem! There'isbt > openssl-devel on the openssl.org website... My second thought: For SLES11, you may include the repository at http://download.opensuse.org/repositories/server:/monitoring/SLE_11/. There are prcompiled packages of nagios and nrpe. Plus you don't confuse your server with packages that are installed alongside the package management ;-) HTH Werner > > > > regards > > jm > > > > Von: Mathew Walker [mailto:lmw94002 at hotmail.com] > Gesendet: Mittwoch, 24. Juni 2009 18:22 > An: Meyer Jerome; nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Betreff: RE: [Nagios-users] nrpe-2.12 > > > > you can probably easilly fix with openssl-devel > > if you have yum... "yum install openssl-devel" is all you have to do. > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Thu Jun 25 10:14:40 2009 From: guidosh at gmail.com (Guy Waugh) Date: Thu, 25 Jun 2009 09:14:40 +0100 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi Andrew, On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. wrote: > This issue is an offshoot of the Problem in preflight check with > commands.cfg. > > I went ahead and copied the nagios directory from our original server to > the new > one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The > main page > of the application appears without a problem. However, whenever I try to go > to any one > of the links from the main page, an error message similar to the one below > appears > on-screen: > > *Not Found* > *The requested URL /nagios/cgi-bin/status.cgi was not found on this > server.* > Looking at your attached httpd.conf file, you seem to have configured the URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then you are trying to access them with the URL '/nagios/cgi-bin'. Provided the Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, you should probably define your ScriptAlias like this: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Cheers, Guy. > * * > > I noticed that after I inserted the snippets from the nagios.conf file into > the > httpd.conf file, and subsequently restarted the Apache server, the > following > errors appeared on-screen: > > *Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf > at line* > *566 will probably never match because it overlaps an earlier ScriptAlias. > * > *[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will > * > *probably never match because it overlaps an earlier Alias.* > > I have enclosed a copy of the httpd.conf file in its present version. I am > at a > lossas to why the error message is occurring, and I would really appreciate > help on > this. > > <> > > 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 athttp://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. > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 10:17:38 2009 From: ton.voon at opsera.com (Ton Voon) Date: Thu, 25 Jun 2009 09:17:38 +0100 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: Tore, Aren't you missing a $ at the end of $_HOSTCRM_SERVICES$ in your services definition? See Custom variables in http://nagios.sourceforge.net/docs/3_0/macros.html You could also have some debugging set in Nagios to show the exact command being run. Ton On 24 Jun 2009, at 14:12, Tore L?n?y wrote: > Hello, > > Sorry for double posting, but wrong subject. > > Ton: > > Command line: > /nagios/libexec/check_nrpe -H -c CheckServiceState -a AOS\$01 > ShowAll=long > OK: AOS$01: started > > Here is the host def: > define host { > use X > > host_name X > address X > alias X > > > hostgroups +CRM4 > > #max_check_attempts 3 > #check_interval 2 > #retry_interval 1 > > #contact_groups + > #notifications_enabled 1 > > _CRM_SERVICES AOS\$01 > > # Macros > _REQUESTOR > > } > > The service definition: > define service { > # Which _template_* to use. > # (e.g. standard-service-60) > use standard-service-1 > > # Service spesific > service_description CRM Services > > check_command check_nrpe_parameters! > CheckServiceState!ShowAll=long $_HOSTCRM_SERVICES > hostgroup_name CRM4 > > # Per service options > first_notification_delay 10 > process_perf_data 0 > notifications_enabled 1 > max_check_attempts 2 > retry_interval 5 > } > > The check command definition: > define command { > command_name check_nrpe_parameters > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c > $ARG1$ -a $ARG2$ > } > > > It worked on Nagios 3.0.6. I've tried almost any combination of > escaping the dollar sign, $$, \$, \\$$,\\\$.... You name it! > > Thanks for your help, > > Tore > > > Date: Tue, 23 Jun 2009 19:52:07 +0100 > From: Ton Voon > Subject: Re: [Nagios-users] Escaping broke i 3.1.1 ? > To: Nagios Users Mailinglist > Message-ID: <864AF918-0779-4585-885D-AFE784E69C40 at opsera.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > Tore, > > Can you send the configuration for the host and service too? Can you > also send the check_nrpe_parameters command definition. > > On the command line, what works? > > Also, you said a previous version of Nagios worked with this > definition - which version of Nagios was that? > > Ton > > On 23 Jun 2009, at 15:09, Tore L?n?y wrote: > > > Let me see, this should be enough i think: > > > > define host { > > host_name X > > alias X > > address X > > check_period 24x7 > > check_command check-host-alive > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 15.000000 > > retry_interval 5.000000 > > max_check_attempts 3 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_host 1 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,d,u > > freshness_threshold 0 > > check_freshness 0 > > notification_options d,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 60.000000 > > stalking_options n > > process_perf_data 1 > > failure_prediction_enabled 1 > > notes_url > > retain_status_information 1 > > retain_nonstatus_information 1 > > _REQUESTOR > > _CRM_SERVICES "AOS$\$01" > > } > > > > define service { > > host_name X > > service_description X > > check_period 24x7 > > check_command check_nrpe_parameters!CheckServiceState! > > ShowAll=long $_HOSTCRM_SERVICES > > contact_groups > > notification_period 24x7 > > initial_state o > > check_interval 1.000000 > > retry_interval 5.000000 > > max_check_attempts 2 > > is_volatile 0 > > parallelize_check 1 > > active_checks_enabled 1 > > passive_checks_enabled 0 > > obsess_over_service 0 > > event_handler_enabled 0 > > low_flap_threshold 0.000000 > > high_flap_threshold 0.000000 > > flap_detection_enabled 1 > > flap_detection_options o,w,u,c > > freshness_threshold 0 > > check_freshness 0 > > notification_options c,r > > notifications_enabled 1 > > notification_interval 60.000000 > > first_notification_delay 10.000000 > > stalking_options n > > process_perf_data 0 > > failure_prediction_enabled 1 > > notes > > retain_status_information 1 > > retain_nonstatus_information 1 > > } > > > > The problem for me it seems is when nagios is parsing the data just > > before it is going to execute the command. It is no problem executes > > check_nrpe with ah backslash (\) as the escape char. But the problem > > for me is what escape char do i use in custom macros? > > > > > Ton Voon Product Architect Opsera Limited | Unit 69 Suttons Business Park Reading | Berkshire | RG6 1AZ | UK Phone: +44 (0) 845 057 7887 Mobile: +44 (0) 7931 365796 Skype: tonvoon Email: ton.voon at opsera.com www.opsera.com This e-mail is confidential, intended only for the named recipient(s) above and may contain information that is privileged and confidential. If you receive this message in error, or are not the named recipient(s), please notify the sender at the phone number above, do not copy this message, do not disclose its contents to anyone, and delete this e-mail message from your computer. Although Opsera routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Opsera makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 749 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 10:54:19 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Thu, 25 Jun 2009 10:54:19 +0200 Subject: nrpe-2.12 In-Reply-To: <4A4328F4.3030109@ufz.de> References: <46EEEA5FAED9CA479556002BA9C27FD705F0A4E4@iw50.iwbnet.ch><46EEEA5FAED9CA479556002BA9C27FD705F0A5AD@iw50.iwbnet.ch> <4A4328F4.3030109@ufz.de> Message-ID: <46EEEA5FAED9CA479556002BA9C27FD705F0A665@iw50.iwbnet.ch> Hi Werner Thanks for the link and your help... Now,I easily could installed the package rpm for the version 2.12! I didn't know the command "zypper", it's really nice... Regards jerome > -----Urspr?ngliche Nachricht----- > Von: Werner Flamme [mailto:werner.flamme at ufz.de] > Gesendet: Donnerstag, 25. Juni 2009 09:36 > An: Nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] nrpe-2.12 > > Meyer Jerome [25.06.2009 08:24]: > > I couldn't use "yum" on SLES11, that's the problem! There'isbt > > openssl-devel on the openssl.org website... > > My second thought: > > For SLES11, you may include the repository at > http://download.opensuse.org/repositories/server:/monitoring/SLE_11/. > There are prcompiled packages of nagios and nrpe. Plus you don't confuse > your server with packages that are installed alongside the package > management ;-) > > HTH > Werner > > > > > > > > > > regards > > > > jm > > > > > > > > Von: Mathew Walker [mailto:lmw94002 at hotmail.com] > > Gesendet: Mittwoch, 24. Juni 2009 18:22 > > An: Meyer Jerome; nagios-users at lists.sourceforge.net; > > nagios-devel at lists.sourceforge.net > > Betreff: RE: [Nagios-users] nrpe-2.12 > > > > > > > > you can probably easilly fix with openssl-devel > > > > if you have yum... "yum install openssl-devel" is all you have to do. > > > > ----------------------------------------------------------------------------- > - > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pr.sekharreddy at gmail.com Thu Jun 25 10:58:41 2009 From: pr.sekharreddy at gmail.com (Pallavolu Reddi Sekhar Reddy) Date: Thu, 25 Jun 2009 14:28:41 +0530 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: Hi, I am not able to get info of linux server disk space uptime and all. Any help is suggestable. Thanks in advance.. Thanks Sekhar Reddy On Tue, Jun 23, 2009 at 2:42 PM, Tore L?n?y wrote: > Hello, > > I just recently upgraded to the latest version, and now my escaping of '$' > is broken. > > Before it was \$, but what is it now? > > Best regards, Tore > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- P.R.Sekhar Reddy +91-9916727650 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pr.sekharreddy at gmail.com Thu Jun 25 10:59:57 2009 From: pr.sekharreddy at gmail.com (Pallavolu Reddi Sekhar Reddy) Date: Thu, 25 Jun 2009 14:29:57 +0530 Subject: Escaping broke i 3.1.1 ? In-Reply-To: References: Message-ID: All LAN Servers. Do i need to install NRPE in all the server. Help me out. I am new to Linux. Thanks in advance. On Thu, Jun 25, 2009 at 2:28 PM, Pallavolu Reddi Sekhar Reddy < pr.sekharreddy at gmail.com> wrote: > Hi, > I am not able to get info of linux server disk space uptime and all. > > Any help is suggestable. Thanks in advance.. > > Thanks > Sekhar Reddy > > On Tue, Jun 23, 2009 at 2:42 PM, Tore L?n?y wrote: > >> Hello, >> >> I just recently upgraded to the latest version, and now my escaping of '$' >> is broken. >> >> Before it was \$, but what is it now? >> >> Best regards, Tore >> >> >> ------------------------------------------------------------------------------ >> Are you an open source citizen? Join us for the Open Source Bridge >> conference! >> Portland, OR, June 17-19. Two days of sessions, one day of unconference: >> $250. >> Need another reason to go? 24-hour hacker lounge. Register today! >> >> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > P.R.Sekhar Reddy > +91-9916727650 > -- P.R.Sekhar Reddy +91-9916727650 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 14:57:45 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 25 Jun 2009 12:57:45 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Thu Jun 25 15:08:42 2009 From: guidosh at gmail.com (Guy Waugh) Date: Thu, 25 Jun 2009 14:08:42 +0100 Subject: Fwd: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: > Hi I am having trouble getting ndoutils to work > during my install I found this information logged: > > *** MySQL library could not be located... ************************** > You chose to compile NDBXT with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib argument to specify the > location of the MySQL library. > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > TIP: Try the following.... > ./configure --with-mysql-lib=/usr/lib/mysql > I have a question about step 1. When I more the file all it has in it is > this information: > > [root at nagios etc]# more ld.so.conf > include ld.so.conf.d/*.conf > > My question is what is the syntax of the libraries I have no idea what to > add into this file. > Do I just add "/usr/lib/mysql" ? > The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. > > I am running Fedora 9 > mysql has been installed (see below:) > [root at nagios etc]# rpm -qa | grep mysql > qt-mysql-4.5.0-14.fc9.i386 > mysql-administrator-5.0r12-8.fc9.i386 > mysql-server-5.0.77-1.fc9.i386 > mysql-devel-5.0.77-1.fc9.i386 > mysql-connector-odbc-3.51.24r1071-1.fc9.i386 > mysql-connector-java-3.1.12-5.fc9.i386 > php-mysql-5.2.6-2.fc9.i386 > mysql-5.0.77-1.fc9.i386 > libdbi-dbd-mysql-0.8.3-2.fc9.i386 > mysql-libs-5.0.77-1.fc9.i386 > nagios-plugins-mysql-1.4.13-9.fc9.i386 > mysql-gui-common-5.0r12-8.fc9.i386 > below is infor from mysql for nagios db for ndoutils.... > mysql> use nagios > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > Database changed > mysql> show tables; > +-------------------------------------+ > | Tables_in_nagios | > +-------------------------------------+ > | ndo_acknowledgements | > | ndo_commands | > | ndo_commenthistory | > | ndo_comments | > | ndo_configfiles | > | ndo_configfilevariables | > | ndo_conninfo | > | ndo_contact_addresses | > | ndo_contact_notificationcommands | > | ndo_contactgroup_members | > | ndo_contactgroups | > | ndo_contactnotificationmethods | > | ndo_contactnotifications | > | ndo_contacts | > | ndo_customobjectvariables | > | ndo_downtimehistory | > | ndo_eventhandlers | > | ndo_externalcommands | > | ndo_flappinghistory | > | ndo_host_contactgroups | > | ndo_host_parenthosts | > | ndo_hostchecks | > | ndo_hostdependencies | > | ndo_hostescalation_contactgroups | > | ndo_hostescalations | > | ndo_hostextinfo | > | ndo_hostgroup_members | > | ndo_hostgroups | > | ndo_hosts | > | ndo_hoststatus | > | ndo_instances | > | ndo_logentries | > | ndo_notifications | > | ndo_objects | > | ndo_processevents | > | ndo_programstatus | > | ndo_runtimevariables | > | ndo_scheduleddowntime | > | ndo_service_contactgroups | > | ndo_servicechecks | > | ndo_servicedependencies | > | ndo_serviceescalation_contactgroups | > | ndo_serviceescalations | > | ndo_serviceextinfo | > | ndo_servicegroup_members | > | ndo_servicegroups | > | ndo_services | > | ndo_servicestatus | > | ndo_statehistory | > | ndo_systemcommands | > | ndo_timedeventqueue | > | ndo_timedevents | > | ndo_timeperiod_timeranges | > | ndo_timeperiods | > +-------------------------------------+ > 54 rows in set (0.00 sec) > mysql> > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:15:05 2009 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 25 Jun 2009 06:15:05 -0700 Subject: NDO Utils is not running even after repeated attempts In-Reply-To: <4A437551.7090501@excelindia.com> References: <4A372E6C.30903@excelindia.com> <4A376732.2070802@kkeane.com> <4A37838B.50203@excelindia.com> <4A3784B4.9060904@kkeane.com> <4A38EB88.50702@excelindia.com> <4A437551.7090501@excelindia.com> Message-ID: <4A437859.3030307@kkeane.com> The error message says that ndoutils is running, but can't connect to the database. Can you try and see if port 3306 is open? That is the one MySQL should be listening on. The command to do that is: netstat -ltunp Next, check if there might be a firewall blocking access. For instance, to see the rules for iptables: iptables -vnL I hope this helps! rajashekar.s wrote: > Hello all, > > I request your help for this problem of mine. > Please refer this mail down for all the configuration settings. > > I am still getting the same message > > Jun 25 18:23:12 excel-desktop nagios: Nagios 3.0.6 starting... (PID=464) > Jun 25 18:23:12 excel-desktop nagios: Local time is Thu Jun 25 > 18:23:12 IST 2009 > Jun 25 18:23:12 excel-desktop nagios: LOG VERSION: 2.0 > Jun 25 18:23:12 excel-desktop nagios: ndomod: NDOMOD 1.4b7 > (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) > Jun 25 18:23:12 excel-desktop nagios: ndomod: Could not open data > sink! I'll keep trying, but some output may get lost... > Jun 25 18:23:12 excel-desktop nagios: Event broker module > '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. > Jun 25 18:23:12 excel-desktop nagios: Finished daemonizing... (New > PID=465) > Jun 25 18:23:28 excel-desktop nagios: ndomod: Still unable to connect > to data sink. 394 items lost, 5000 queued items to flush. > Jun 25 18:23:44 excel-desktop nagios: ndomod: Still unable to connect > to data sink. 482 items lost, 5000 queued items to flush. > Jun 25 18:24:00 excel-desktop nagios: ndomod: Still unable to connect > to data sink. 579 items lost, 5000 queued items to flush. > > Thanks > Rajshekar > > > > rajashekar.s wrote: >> Dear Kevin, >> >> I did as you said, but still it is not connected (same message is coming) >> when I run the command >> >> # /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg >> Error processing config file '/usr/local/nagios/etc/ndo2db.cfg'. >> >> I do not know the what is the error? >> >> I restarted both Nagios and MySQL >> >> Thanks >> Rajshekar >> >> Kevin Keane wrote: >>> 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 >>>>>> -- >>>>>> -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:18:36 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 25 Jun 2009 09:18:36 -0400 Subject: Problem getting past main page In-Reply-To: References: Message-ID: <4A43792C.7070402@gmail.com> I recognize this may sound a little terse and I don't mean it to be so... but as I've seen all the emails from you that are indicative of a first time setup, might I suggest getting a Nagios book to assist you? There's quite a few out there. I personally use Nagios 2nd Edition from Wolfgang Barth and its proven to very valuable... Just a thought... 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 Kaplan, Andrew H. wrote: > > This issue is an offshoot of the Problem in preflight check with > commands.cfg. > > I went ahead and copied the nagios directory from our original server > to the new > one. Once that was done, I did the upgrade to version 3.1.2 of nagios. > The main page > of the application appears without a problem. However, whenever I try > to go to any one > of the links from the main page, an error message similar to the one > below appears > on-screen: > > *Not Found* > *The requested URL /nagios/cgi-bin/status.cgi was not found on this > server. * > > > I noticed that after I inserted the snippets from the nagios.conf file > into the > httpd.conf file, and subsequently restarted the Apache server, the > following > errors appeared on-screen: > > *Starting httpd: The ScriptAlias directive in > /etc/httpd/conf/httpd.conf at line* > *566 will probably never match because it overlaps an earlier > ScriptAlias.* > *[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 > will* > *probably never match because it overlaps an earlier Alias.* > > I have enclosed a copy of the httpd.conf file in its present version. > I am at a > lossas to why the error message is occurring, and I would really > appreciate help on > this. > > <> > > 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. > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:28:30 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 25 Jun 2009 15:28:30 +0200 Subject: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: <4A437B7E.1010901@univie.ac.at> Once again, ./configure --help gives you all the help you need. Try ls /usr/lib/mysql | grep libmysqlclient.so and check the output. If there is nothing found, try find /usr/lib/ | grep libmysqlclient.so The path to the found file (in case) is the one you need for configure e.g. ./configure --with-mysql-lib=/usr/lib/mysql Same thing for mysql.h find /usr/include/ | grep 'mysql.h' and adjust this to your needs e.g. ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql and then give the whole configure output. but PLEASE REPLY, do _not_ start another thread. Kind regards, Michael Natalie Aloi wrote the following on 25.06.2009 14:57: > Hi I am having trouble getting ndoutils to work > during my install I found this information logged: > > *** MySQL library could not be located... ************************** > You chose to compile NDBXT with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib argument to specify the > location of the MySQL library. > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > TIP: Try the following.... > ./configure --with-mysql-lib=/usr/lib/mysql > I have a question about step 1. When I more the file all it has in it > is this information: > > [root at nagios etc]# more ld.so.conf > include ld.so.conf.d/*.conf > > My question is what is the syntax of the libraries I have no idea what > to add into this file. > Do I just add "/usr/lib/mysql" ? > > I am running Fedora 9 > mysql has been installed (see below:) > [root at nagios etc]# rpm -qa | grep mysql > qt-mysql-4.5.0-14.fc9.i386 > mysql-administrator-5.0r12-8.fc9.i386 > mysql-server-5.0.77-1.fc9.i386 > mysql-devel-5.0.77-1.fc9.i386 > mysql-connector-odbc-3.51.24r1071-1.fc9.i386 > mysql-connector-java-3.1.12-5.fc9.i386 > php-mysql-5.2.6-2.fc9.i386 > mysql-5.0.77-1.fc9.i386 > libdbi-dbd-mysql-0.8.3-2.fc9.i386 > mysql-libs-5.0.77-1.fc9.i386 > nagios-plugins-mysql-1.4.13-9.fc9.i386 > mysql-gui-common-5.0r12-8.fc9.i386 > below is infor from mysql for nagios db for ndoutils.... > mysql> use nagios > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > Database changed > mysql> show tables; > +-------------------------------------+ > | Tables_in_nagios | > +-------------------------------------+ > | ndo_acknowledgements | > | ndo_commands | > | ndo_commenthistory | > | ndo_comments | > | ndo_configfiles | > | ndo_configfilevariables | > | ndo_conninfo | > | ndo_contact_addresses | > | ndo_contact_notificationcommands | > | ndo_contactgroup_members | > | ndo_contactgroups | > | ndo_contactnotificationmethods | > | ndo_contactnotifications | > | ndo_contacts | > | ndo_customobjectvariables | > | ndo_downtimehistory | > | ndo_eventhandlers | > | ndo_externalcommands | > | ndo_flappinghistory | > | ndo_host_contactgroups | > | ndo_host_parenthosts | > | ndo_hostchecks | > | ndo_hostdependencies | > | ndo_hostescalation_contactgroups | > | ndo_hostescalations | > | ndo_hostextinfo | > | ndo_hostgroup_members | > | ndo_hostgroups | > | ndo_hosts | > | ndo_hoststatus | > | ndo_instances | > | ndo_logentries | > | ndo_notifications | > | ndo_objects | > | ndo_processevents | > | ndo_programstatus | > | ndo_runtimevariables | > | ndo_scheduleddowntime | > | ndo_service_contactgroups | > | ndo_servicechecks | > | ndo_servicedependencies | > | ndo_serviceescalation_contactgroups | > | ndo_serviceescalations | > | ndo_serviceextinfo | > | ndo_servicegroup_members | > | ndo_servicegroups | > | ndo_services | > | ndo_servicestatus | > | ndo_statehistory | > | ndo_systemcommands | > | ndo_timedeventqueue | > | ndo_timedevents | > | ndo_timeperiod_timeranges | > | ndo_timeperiods | > +-------------------------------------+ > 54 rows in set (0.00 sec) > mysql> > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.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 -- 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 15:29:35 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 25 Jun 2009 13:29:35 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:42:54 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 25 Jun 2009 09:42:54 -0400 Subject: Problem getting past main page In-Reply-To: <4A43792C.7070402@gmail.com> References: <4A43792C.7070402@gmail.com> Message-ID: Hi there -- Thank-you for your reply. I did indeed check out several books prior to posting my messages, and while all of them are thorough with doing a scratch installation, there were none that I read which delved deeply into doing an upgrade. The upgrade scenario is what I am involved with at this time. The purpose of this exercise is to be able to preserve the configuration, and have it available in the newer version of the Nagios application. I am hoping to avoid having to rebuild all checks from the beginning. The amount of checks that I have in place would require a great deal of time that I am hoping I will not have to commit. My previous upgrading experince, from Nagios 1.x to Nagios 2.x was not very difficult. I am hoping to accomplish that here. ________________________________ From: Andrew Davis [mailto:nccomp at gmail.com] Sent: Thursday, June 25, 2009 9:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page I recognize this may sound a little terse and I don't mean it to be so... but as I've seen all the emails from you that are indicative of a first time setup, might I suggest getting a Nagios book to assist you? There's quite a few out there. I personally use Nagios 2nd Edition from Wolfgang Barth and its proven to very valuable... Just a thought... 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 Kaplan, Andrew H. wrote: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. <> 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. ________________________________ ------------------------------------------------------------------------------ ________________________________ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:47:55 2009 From: nccomp at gmail.com (Andrew Davis) Date: Thu, 25 Jun 2009 09:47:55 -0400 Subject: Problem getting past main page In-Reply-To: References: <4A43792C.7070402@gmail.com> Message-ID: <4A43800B.2010107@gmail.com> Ah, now I understand. My apologies. I missed the part where you were upgrading and reading the emails showed errors that are very common to first time installations. That said, all I can say is "read the log files". Quite a few issues I've encountered were solved when consulting various log files (httpd logs, /var/log/messages, mysql logs, etc). 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 Kaplan, Andrew H. wrote: > Hi there -- > > Thank-you for your reply. I did indeed check out several books prior > to posting my messages, and while all of them are thorough with > doing a scratch installation, there were none that I read which delved > deeply into doing an upgrade. The upgrade scenario is what I am > involved with at this time. The purpose of this exercise is to be able > to preserve the configuration, and have it available in the newer > version of the Nagios application. I am hoping to avoid having to > rebuild all checks from the beginning. The amount of checks that I have > in place would require a great deal of time that I am hoping I will > not have to commit. My previous upgrading experince, from Nagios 1.x > to Nagios 2.x was not very difficult. I am hoping to accomplish that here. > > > > ------------------------------------------------------------------------ > *From:* Andrew Davis [mailto:nccomp at gmail.com] > *Sent:* Thursday, June 25, 2009 9:19 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Problem getting past main page > > I recognize this may sound a little terse and I don't mean it to be > so... but as I've seen all the emails from you that are indicative of > a first time setup, might I suggest getting a Nagios book to assist > you? There's quite a few out there. I personally use Nagios 2nd > Edition from Wolfgang Barth and its proven to very valuable... > > Just a thought... > 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 > > > > Kaplan, Andrew H. wrote: >> >> This issue is an offshoot of the Problem in preflight check with >> commands.cfg. >> >> I went ahead and copied the nagios directory from our original server >> to the new >> one. Once that was done, I did the upgrade to version 3.1.2 of >> nagios. The main page >> of the application appears without a problem. However, whenever I try >> to go to any one >> of the links from the main page, an error message similar to the one >> below appears >> on-screen: >> >> *Not Found* >> *The requested URL /nagios/cgi-bin/status.cgi was not found on this >> server. * >> >> >> I noticed that after I inserted the snippets from the nagios.conf >> file into the >> httpd.conf file, and subsequently restarted the Apache server, the >> following >> errors appeared on-screen: >> >> *Starting httpd: The ScriptAlias directive in >> /etc/httpd/conf/httpd.conf at line* >> *566 will probably never match because it overlaps an earlier >> ScriptAlias.* >> *[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 >> will* >> *probably never match because it overlaps an earlier Alias.* >> >> I have enclosed a copy of the httpd.conf file in its present version. >> I am at a >> lossas to why the error message is occurring, and I would really >> appreciate help on >> this. >> >> <> >> >> 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. >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 15:35:37 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 25 Jun 2009 09:35:37 -0400 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi there -- Thanks for your reply. I made the change that you suggested, and subsequently restarted the Apache and Nagios applications. Unfortunately, the problem still occurs. Here is the output that I am seeing: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I can't figure out what is going on with this. Enclosed is the updated version of the httpd.conf with the changes that were suggested. I am desperate at this point... ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 4:15 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi Andrew, On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. wrote: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. Looking at your attached httpd.conf file, you seem to have configured the URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then you are trying to access them with the URL '/nagios/cgi-bin'. Provided the Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, you should probably define your ScriptAlias like this: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Cheers, Guy. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. <> 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: httpd.conf Type: application/octet-stream Size: 34428 bytes Desc: httpd.conf URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristoir at gmail.com Thu Jun 25 15:51:25 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Thu, 25 Jun 2009 14:51:25 +0100 Subject: NDO Utils Question Message-ID: Hi everyone, I have a quick question about Nagios and NDOUtils I was hoping someone could answer. What happens if the database that NDO Utils is using becomes unavailable? (e.g. the server has crashed). I'm assuming Nagios will continue to monitor and send notifications as normal, is this correct? What about the service check results that would normally be passed to NDO Utils and then stored in the database? Are they queued somewhere? And if so, how is the capacity of this queue defined? If they are not queued, what happens? Will NDO Utils just throw an error for each result it tries to store in the database and fails? Will this affect the core Nagios process? Hopefully someone can provide some insight. Cheers, Chris ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 15:41:33 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 25 Jun 2009 13:41:33 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: Ok...making progress...after rerunning the config the sql libraries were found but now I get about postgresql support....Do I need this? Or Can I just run make? MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.3.1 02-15-2006 *** Type 'make' to compile the NDO utilities. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:29 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Thu Jun 25 15:57:23 2009 From: guidosh at gmail.com (Guy Waugh) Date: Thu, 25 Jun 2009 14:57:23 +0100 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi again, Strange... Some questions: You're sure you restarted apache after editing httpd.conf? What is the output of 'apachectl configtest'? What files are in /usr/local/nagios/sbin -- are they files like 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user that apache is running as? Is there anything useful in the apache error logs? What do you see when you go to http:///nagios with your web browser? Is that when you get the error below? Is the nagios host a Linux or Unix host (sorry, can't remember if you've specified this before)? If so, which flavour/version? Did you compile nagios on this host, install it via a package manager, or copy it from another host? Cheers, Guy. On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I made the change that you suggested, and > subsequently restarted the Apache and Nagios applications. > > Unfortunately, the problem still occurs. Here is the output that I am > seeing: > > Not Found > > The requested URL /nagios/cgi-bin/status.cgi was not found on this server. > > I can't figure out what is going on with this. Enclosed is the updated > version of the httpd.conf with the changes that were suggested. > > I am desperate at this point... > > > > > > > ------------------------------ > *From:* Guy Waugh [mailto:guidosh at gmail.com] > *Sent:* Thursday, June 25, 2009 4:15 AM > *To:* Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Problem getting past main page > > Hi Andrew, > > On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. > wrote: > >> This issue is an offshoot of the Problem in preflight check with >> commands.cfg. >> >> I went ahead and copied the nagios directory from our original server to >> the new >> one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The >> main page >> of the application appears without a problem. However, whenever I try to >> go to any one >> of the links from the main page, an error message similar to the one below >> appears >> on-screen: >> >> *Not Found* >> *The requested URL /nagios/cgi-bin/status.cgi was not found on this >> server.* >> > > Looking at your attached httpd.conf file, you seem to have configured the > URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then > you are trying to access them with the URL '/nagios/cgi-bin'. Provided the > Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, > you should probably define your ScriptAlias like this: > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > Cheers, > Guy. > > >> ** >> >> I noticed that after I inserted the snippets from the nagios.conf file >> into the >> httpd.conf file, and subsequently restarted the Apache server, the >> following >> errors appeared on-screen: >> >> *Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf >> at line* >> *566 will probably never match because it overlaps an earlier >> ScriptAlias.* >> *[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 >> will* >> *probably never match because it overlaps an earlier Alias.* >> >> I have enclosed a copy of the httpd.conf file in its present version. I am >> at a >> lossas to why the error message is occurring, and I would really >> appreciate help on >> this. >> >> <> >> >> 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 athttp://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. >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tore.lonoy at gmail.com Thu Jun 25 15:57:49 2009 From: tore.lonoy at gmail.com (=?ISO-8859-1?Q?Tore_L=F8n=F8y?=) Date: Thu, 25 Jun 2009 15:57:49 +0200 Subject: Get custom host variabels from extinfo.cgi Message-ID: Hello, Im currently modifying our GUI to better suit our needs. However, one thing I haven't been able to do (so far), is to extract all host macros that are custom made, in extinfo.cgi. Have anyone done this before? Thanks in advance.... Tore -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 16:29:45 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 25 Jun 2009 16:29:45 +0200 Subject: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: <4A4389D9.8050609@univie.ac.at> Give make a try and see yourself. Natalie Aloi wrote the following on 25.06.2009 15:41: > Ok...making progress...after rerunning the config the sql libraries > were found but now I get about postgresql support....Do I need this? > Or Can I just run make? > MySQL library and include file(s) were found! > checking for PQconnectdb in -lpq... no > > *** PostgreSQL library could not be located... ********************* > You chose to compile NDBXT with PostgreSQL support, but I was > unable to locate the PostgreSQL library on your system. If the > library is installed, use the --with-pgsql-lib argument to specify > the location of the PostgreSQL library. > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the PostgreSQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > ******************************************************************** > > checking libpq-fe.h usability... no > checking libpq-fe.h presence... no > checking for libpq-fe.h... no > > *** PostgreSQL include file could not be located... **************** > You chose to compile NDBXT with PostgreSQL support, but I was unable > to locate on your system. If the include file is > installed, use the --with-pgsql-inc argument to specify the location > of the PostgreSQL include file. > ******************************************************************** > > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating include/config.h > > *** ndoutils 1.3.1 02-15-2006 *** > > Type 'make' to compile the NDO utilities. > [root at nagios ndoutils-1.3.1]# > > -----Original Message----- > *From:* Natalie Aloi [mailto:naloi at experisdatacenters.com] > *Sent:* Thursday, June 25, 2009 09:29 AM > *To:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > So this is what's in ld.so.conf.d....do I just do steps 2-4 now > since there is already a file that points to it - or do I need to > rename mysql-i386.conf to mysql.conf? > > [root at nagios ld.so.conf.d]# ls -lat > total 32 > drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. > drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . > -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf > -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf > -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf > -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf > [root at nagios ld.so.conf.d]# more mysql-i386.conf > /usr/lib/mysql > [root at nagios ld.so.conf.d]# > > -----Original Message----- > *From:* Guy Waugh [mailto:guidosh at gmail.com] > *Sent:* Thursday, June 25, 2009 09:07 AM > *To:* 'Natalie Aloi' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > Hello, > > On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi > > wrote: > > Hi I am having trouble getting ndoutils to work > during my install I found this information logged: > > *** MySQL library could not be located... > ************************** > You chose to compile NDBXT with MySQL support, but I was > unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib argument to specify the > location of the MySQL library. > NOTE: After you install the necessary libraries on your > system: > 1. Make sure /etc/ld.so.conf has an entry for the > directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to > clean out > any old references to your previous compile. > 4. Rerun the configure script. > TIP: Try the following.... > ./configure --with-mysql-lib=/usr/lib/mysql > I have a question about step 1. When I more the file all > it has in it is this information: > > [root at nagios etc]# more ld.so.conf > include ld.so.conf.d/*.conf > > My question is what is the syntax of the libraries I have > no idea what to add into this file. > Do I just add "/usr/lib/mysql" ? > > > The best thing to do would be to create a file in > '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you > suggest, one line thus: '/usr/lib/mysql' (without the quotes). > Then, proceed with steps 2, 3 and 4 above. > > Cheers, > Guy. > > > > I am running Fedora 9 > mysql has been installed (see below:) > [root at nagios etc]# rpm -qa | grep mysql > qt-mysql-4.5.0-14.fc9.i386 > mysql-administrator-5.0r12-8.fc9.i386 > mysql-server-5.0.77-1.fc9.i386 > mysql-devel-5.0.77-1.fc9.i386 > mysql-connector-odbc-3.51.24r1071-1.fc9.i386 > mysql-connector-java-3.1.12-5.fc9.i386 > php-mysql-5.2.6-2.fc9.i386 > mysql-5.0.77-1.fc9.i386 > libdbi-dbd-mysql-0.8.3-2.fc9.i386 > mysql-libs-5.0.77-1.fc9.i386 > nagios-plugins-mysql-1.4.13-9.fc9.i386 > mysql-gui-common-5.0r12-8.fc9.i386 > below is infor from mysql for nagios db for ndoutils.... > mysql> use nagios > Reading table information for completion of table and > column names > You can turn off this feature to get a quicker startup with -A > Database changed > mysql> show tables; > +-------------------------------------+ > | Tables_in_nagios | > +-------------------------------------+ > | ndo_acknowledgements | > | ndo_commands | > | ndo_commenthistory | > | ndo_comments | > | ndo_configfiles | > | ndo_configfilevariables | > | ndo_conninfo | > | ndo_contact_addresses | > | ndo_contact_notificationcommands | > | ndo_contactgroup_members | > | ndo_contactgroups | > | ndo_contactnotificationmethods | > | ndo_contactnotifications | > | ndo_contacts | > | ndo_customobjectvariables | > | ndo_downtimehistory | > | ndo_eventhandlers | > | ndo_externalcommands | > | ndo_flappinghistory | > | ndo_host_contactgroups | > | ndo_host_parenthosts | > | ndo_hostchecks | > | ndo_hostdependencies | > | ndo_hostescalation_contactgroups | > | ndo_hostescalations | > | ndo_hostextinfo | > | ndo_hostgroup_members | > | ndo_hostgroups | > | ndo_hosts | > | ndo_hoststatus | > | ndo_instances | > | ndo_logentries | > | ndo_notifications | > | ndo_objects | > | ndo_processevents | > | ndo_programstatus | > | ndo_runtimevariables | > | ndo_scheduleddowntime | > | ndo_service_contactgroups | > | ndo_servicechecks | > | ndo_servicedependencies | > | ndo_serviceescalation_contactgroups | > | ndo_serviceescalations | > | ndo_serviceextinfo | > | ndo_servicegroup_members | > | ndo_servicegroups | > | ndo_services | > | ndo_servicestatus | > | ndo_statehistory | > | ndo_systemcommands | > | ndo_timedeventqueue | > | ndo_timedevents | > | ndo_timeperiod_timeranges | > | ndo_timeperiods | > +-------------------------------------+ > 54 rows in set (0.00 sec) > mysql> > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > mailto:e-mail%3Analoi at experisdatacenters.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 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 15:47:42 2009 From: rajashekar.s at excelindia.com (rajashekar.s) Date: Thu, 25 Jun 2009 19:17:42 +0530 Subject: NDO Utils is not running even after repeated attempts In-Reply-To: <4A437859.3030307@kkeane.com> References: <4A372E6C.30903@excelindia.com> <4A376732.2070802@kkeane.com> <4A37838B.50203@excelindia.com> <4A3784B4.9060904@kkeane.com> <4A38EB88.50702@excelindia.com> <4A437551.7090501@excelindia.com> <4A437859.3030307@kkeane.com> Message-ID: <4A437FFE.1070307@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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 15:02:09 2009 From: rajashekar.s at excelindia.com (rajashekar.s) Date: Thu, 25 Jun 2009 18:32:09 +0530 Subject: NDO Utils is not running even after repeated attempts In-Reply-To: <4A38EB88.50702@excelindia.com> References: <4A372E6C.30903@excelindia.com> <4A376732.2070802@kkeane.com> <4A37838B.50203@excelindia.com> <4A3784B4.9060904@kkeane.com> <4A38EB88.50702@excelindia.com> Message-ID: <4A437551.7090501@excelindia.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/bmp Size: 68054 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RajSignature.bmp Type: image/bmp Size: 68054 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 16:39:05 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 25 Jun 2009 10:39:05 -0400 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi there -- I can answer your questions in the order they were asked: 1. I made sure to restart apache after the changes were made via the "sudo /etc/init.d/httpd restart" command syntax. 2. The output of the apachectl configtest is the following: [Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier Alias. [Thu Jun 25 10:22:48 2009] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. Syntax OK 3. The files that are located in the /usr/local/nagios/sbin directory are the following: -rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi -rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi -rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi -rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi -rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi -rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi -rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48 notifications.cgi -rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi -rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi -rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi -rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi -rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi -rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi -rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi -rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi 4. The permissions of the files would seem to indicate the apache user has read and execute permissions. If necessary, I can change the permissions to match those of the owner and group. 5. I ran the tail -f command on the error_log file, and went through the motions of clicking on the links of the main page. The error messages appeared on-screen, while the following entries appeared in the log file: [Thu Jun 25 10:29:38 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php [Thu Jun 25 10:29:44 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php [Thu Jun 25 10:29:48 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php 6. When I go to the http:///nagios page, I get the splash screen for the Nagios application. The error occurs whenever I click on any of the links starting from the Current Status group and going down the list. 7. The host in question is a CentOS 5.3 system running on the i386 architecture. 8. The original Nagios 2.6 directory was copied as a tar file and via sftp from the original Nagios server to the new one. The tar file was extracted into the /usr/local directory. The nagios user and group were created, with the former being given a home directory and utilizing the nologin shell. The Nagios 3.1.2 application was compiled from source on the new server, with the following arguments: configured by ./configure, generated by GNU Autoconf 2.61, with options \"'--prefix=/usr/local/nagios' '--with-nagios-user=nagios' '--with-nagios-grp=nagios'\" What do you think? ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 9:57 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi again, Strange... Some questions: You're sure you restarted apache after editing httpd.conf? What is the output of 'apachectl configtest'? What files are in /usr/local/nagios/sbin -- are they files like 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user that apache is running as? Is there anything useful in the apache error logs? What do you see when you go to http:///nagios with your web browser? Is that when you get the error below? Is the nagios host a Linux or Unix host (sorry, can't remember if you've specified this before)? If so, which flavour/version? Did you compile nagios on this host, install it via a package manager, or copy it from another host? Cheers, Guy. On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. wrote: Hi there -- Thanks for your reply. I made the change that you suggested, and subsequently restarted the Apache and Nagios applications. Unfortunately, the problem still occurs. Here is the output that I am seeing: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I can't figure out what is going on with this. Enclosed is the updated version of the httpd.conf with the changes that were suggested. I am desperate at this point... ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 4:15 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi Andrew, On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. wrote: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. Looking at your attached httpd.conf file, you seem to have configured the URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then you are trying to access them with the URL '/nagios/cgi-bin'. Provided the Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, you should probably define your ScriptAlias like this: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Cheers, Guy. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. <> 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 16:55:52 2009 From: jonathan.wheeler at stfc.ac.uk (Wheeler, JF (Jonathan)) Date: Thu, 25 Jun 2009 15:55:52 +0100 Subject: FW: NDO Utils Question Message-ID: > -----Original Message----- > From: Christopher McAtackney [mailto:cristoir at gmail.com] > Sent: 25 June 2009 14:51 > > Hi everyone, > > I have a quick question about Nagios and NDOUtils I was hoping someone > could answer. > > What happens if the database that NDO Utils is using becomes > unavailable? (e.g. the server has crashed). The answer depends a lot on whether you are using Nagios v2 or Nagios v3; we are using Nagios v2.11. My understanding is that in Nagios v2, the code that communicates with the event broker module in single-threaded. Therefore a problem with the SQL server can jam up Nagios to the extent that it effectively stops running commands. In Nagios v3, threading has been rewritten and this problem no longer exists. > I'm assuming Nagios will continue to monitor and send notifications as > normal, is this correct? In Nagios v2 it seems that almost all activity is suspended when you are using NDOutils and the MySQL server is unavailable; this continues until the SQL server is restored. One solution is to restart Nagios without the broker_module. > What about the service check results that would normally be passed to > NDO Utils and then stored in the database? Are they queued somewhere? > And if so, how is the capacity of this queue defined? If they are not > queued, what happens? Will NDO Utils just throw an error for each > result it tries to store in the database and fails? Will this affect > the core Nagios process? Results passing into the command pipe are stored. The relevant parameters are in nagios.cfg; they are external_command_buffer_slots and check_result_buffer_slots - by default these are set to 4096 (see documentation within the configuration file). > Hopefully someone can provide some insight. Hopefully this has Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -- Scanned by iCritical. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Thu Jun 25 16:56:57 2009 From: guidosh at gmail.com (Guy Waugh) Date: Thu, 25 Jun 2009 15:56:57 +0100 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi again, On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. wrote: > Hi there -- > > I can answer your questions in the order they were asked: > > 1. I made sure to restart apache after the changes were made via the "sudo > /etc/init.d/httpd restart" command syntax. > OK, great. Just making sure :-) > > 2. The output of the apachectl configtest is the following: > [Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in > /etc/httpd/conf/httpd.conf at line 566 will probably never match because it > overlaps an earlier Alias. > [Thu Jun 25 10:22:48 2009] [warn] The Alias directive in > /etc/httpd/conf/httpd.conf at line 583 will probably never match because it > overlaps an earlier Alias. > Syntax OK > Right. This indicates that the configuration options for the 'ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios /usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't taking effect. This is probably because there is a file in /etc/httpd/conf.d (possibly 'nagios.conf'?) that is being loaded before apache parses those lines in your httpd.conf file (see line 210 of your httpd.conf file: 'include conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and see what ScriptAlias and Alias definitions exist in that file. It might in fact make more sense to put the nagios web configuration in that file rather than in the httpd.conf file... though it's up to you. There should only be one definition for the nagios Alias and ScriptAlias definitions, and they should be as they currently are in your httpd.conf file. > > 3. The files that are located in the /usr/local/nagios/sbin directory are > the following: > -rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi > -rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi > -rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi > -rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi > -rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi > -rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi > -rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48 > notifications.cgi > -rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi > -rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi > -rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi > -rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi > -rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi > -rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi > -rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi > -rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi > -rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi > That all looks good, because these files are executable by everybody, so the apache user will be able to execute them. > > 4. The permissions of the files would seem to indicate the apache user has > read and execute permissions. If necessary, I can change the permissions > to match those of the owner and group. > No, it looks fine. > > 5. I ran the tail -f command on the error_log file, and went through the > motions of clicking on the links of the main page. The error messages > appeared > on-screen, while the following entries appeared in the log file: > > [Thu Jun 25 10:29:38 2009] [error] [] File does not > exist: /usr/local/nagios/share/cgi-bin, referer: http:// server>/nagios/side.php > [Thu Jun 25 10:29:44 2009] [error] [] File does not > exist: /usr/local/nagios/share/cgi-bin, referer: http:// server>/nagios/side.php > [Thu Jun 25 10:29:48 2009] [error] [] File does not > exist: /usr/local/nagios/share/cgi-bin, referer: http:// server>/nagios/side.php > OK... you can see here that apache has been configured to look for the CGIs in /usr/local/nagios/share/cgi-bin, not /usr/local/nagios/sbin. This must be the definition in the apache configuration file in /etc/httpd/conf.d . > > 6. When I go to the http:///nagios page, I get the splash > screen for the Nagios application. The error occurs whenever I click on any > of the > links starting from the Current Status group and going down the list. > OK. > > 7. The host in question is a CentOS 5.3 system running on the i386 > architecture. > > 8. The original Nagios 2.6 directory was copied as a tar file and via sftp > from the original Nagios server to the new one. The tar file was extracted > into the > /usr/local directory. The nagios user and group were created, with the > former being given a home directory and utilizing the nologin shell. The > Nagios > 3.1.2 application was compiled from source on the new server, with the > following arguments: > > configured by ./configure, generated by GNU Autoconf 2.61, with > options \"'--prefix=/usr/local/nagios' '--with-nagios-user=nagios' > '--with-nagios-grp=nagios'\" > OK. Provided nagios itself is running, that's probably fine. > > What do you think? > > Cheers, Guy. > > > > > > ------------------------------ > *From:* Guy Waugh [mailto:guidosh at gmail.com] > *Sent:* Thursday, June 25, 2009 9:57 AM > *To:* Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Problem getting past main page > > Hi again, > > Strange... > > Some questions: > > You're sure you restarted apache after editing httpd.conf? > What is the output of 'apachectl configtest'? > What files are in /usr/local/nagios/sbin -- are they files like > 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user > that apache is running as? > Is there anything useful in the apache error logs? > What do you see when you go to http:///nagios with your web > browser? Is that when you get the error below? > Is the nagios host a Linux or Unix host (sorry, can't remember if you've > specified this before)? If so, which flavour/version? > Did you compile nagios on this host, install it via a package manager, or > copy it from another host? > > Cheers, > Guy. > > On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. wrote: > >> Hi there -- >> >> Thanks for your reply. I made the change that you suggested, and >> subsequently restarted the Apache and Nagios applications. >> >> Unfortunately, the problem still occurs. Here is the output that I am >> seeing: >> >> Not Found >> >> The requested URL /nagios/cgi-bin/status.cgi was not found on this server. >> >> I can't figure out what is going on with this. Enclosed is the updated >> version of the httpd.conf with the changes that were suggested. >> >> I am desperate at this point... >> >> >> >> >> >> >> ------------------------------ >> *From:* Guy Waugh [mailto:guidosh at gmail.com] >> *Sent:* Thursday, June 25, 2009 4:15 AM >> *To:* Kaplan, Andrew H.; nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] Problem getting past main page >> >> Hi Andrew, >> >> On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. < >> AHKAPLAN at partners.org> wrote: >> >>> This issue is an offshoot of the Problem in preflight check with >>> commands.cfg. >>> >>> I went ahead and copied the nagios directory from our original server to >>> the new >>> one. Once that was done, I did the upgrade to version 3.1.2 of nagios. >>> The main page >>> of the application appears without a problem. However, whenever I try to >>> go to any one >>> of the links from the main page, an error message similar to the one >>> below appears >>> on-screen: >>> >>> *Not Found* >>> *The requested URL /nagios/cgi-bin/status.cgi was not found on this >>> server.* >>> >> >> Looking at your attached httpd.conf file, you seem to have configured the >> URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then >> you are trying to access them with the URL '/nagios/cgi-bin'. Provided the >> Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, >> you should probably define your ScriptAlias like this: >> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> >> Cheers, >> Guy. >> >> >>> ** >>> >>> I noticed that after I inserted the snippets from the nagios.conf file >>> into the >>> httpd.conf file, and subsequently restarted the Apache server, the >>> following >>> errors appeared on-screen: >>> >>> *Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf >>> at line* >>> *566 will probably never match because it overlaps an earlier >>> ScriptAlias.* >>> *[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 >>> will* >>> *probably never match because it overlaps an earlier Alias.* >>> >>> I have enclosed a copy of the httpd.conf file in its present version. I >>> am at a >>> lossas to why the error message is occurring, and I would really >>> appreciate help on >>> this. >>> >>> <> >>> >>> 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 athttp://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. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 17:12:48 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 25 Jun 2009 11:12:48 -0400 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi there -- I have to be at a meeting, so I won't be able to follow up for the next several hours. As soon as I get back, I will post my findings. Thanks again for the help. ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 10:57 AM To: Kaplan, Andrew H. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi again, On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. wrote: Hi there -- I can answer your questions in the order they were asked: 1. I made sure to restart apache after the changes were made via the "sudo /etc/init.d/httpd restart" command syntax. OK, great. Just making sure :-) 2. The output of the apachectl configtest is the following: [Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier Alias. [Thu Jun 25 10:22:48 2009] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. Syntax OK Right. This indicates that the configuration options for the 'ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios /usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't taking effect. This is probably because there is a file in /etc/httpd/conf.d (possibly 'nagios.conf'?) that is being loaded before apache parses those lines in your httpd.conf file (see line 210 of your httpd.conf file: 'include conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and see what ScriptAlias and Alias definitions exist in that file. It might in fact make more sense to put the nagios web configuration in that file rather than in the httpd.conf file... though it's up to you. There should only be one definition for the nagios Alias and ScriptAlias definitions, and they should be as they currently are in your httpd.conf file. 3. The files that are located in the /usr/local/nagios/sbin directory are the following: -rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi -rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi -rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi -rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi -rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi -rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi -rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48 notifications.cgi -rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi -rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi -rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi -rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi -rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi -rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi -rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi -rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi That all looks good, because these files are executable by everybody, so the apache user will be able to execute them. 4. The permissions of the files would seem to indicate the apache user has read and execute permissions. If necessary, I can change the permissions to match those of the owner and group. No, it looks fine. 5. I ran the tail -f command on the error_log file, and went through the motions of clicking on the links of the main page. The error messages appeared on-screen, while the following entries appeared in the log file: [Thu Jun 25 10:29:38 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php [Thu Jun 25 10:29:44 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php [Thu Jun 25 10:29:48 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php OK... you can see here that apache has been configured to look for the CGIs in /usr/local/nagios/share/cgi-bin, not /usr/local/nagios/sbin. This must be the definition in the apache configuration file in /etc/httpd/conf.d . 6. When I go to the http:///nagios page, I get the splash screen for the Nagios application. The error occurs whenever I click on any of the links starting from the Current Status group and going down the list. OK. 7. The host in question is a CentOS 5.3 system running on the i386 architecture. 8. The original Nagios 2.6 directory was copied as a tar file and via sftp from the original Nagios server to the new one. The tar file was extracted into the /usr/local directory. The nagios user and group were created, with the former being given a home directory and utilizing the nologin shell. The Nagios 3.1.2 application was compiled from source on the new server, with the following arguments: configured by ./configure, generated by GNU Autoconf 2.61, with options \"'--prefix=/usr/local/nagios' '--with-nagios-user=nagios' '--with-nagios-grp=nagios'\" OK. Provided nagios itself is running, that's probably fine. What do you think? Cheers, Guy. ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 9:57 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi again, Strange... Some questions: You're sure you restarted apache after editing httpd.conf? What is the output of 'apachectl configtest'? What files are in /usr/local/nagios/sbin -- are they files like 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user that apache is running as? Is there anything useful in the apache error logs? What do you see when you go to http:///nagios with your web browser? Is that when you get the error below? Is the nagios host a Linux or Unix host (sorry, can't remember if you've specified this before)? If so, which flavour/version? Did you compile nagios on this host, install it via a package manager, or copy it from another host? Cheers, Guy. On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. wrote: Hi there -- Thanks for your reply. I made the change that you suggested, and subsequently restarted the Apache and Nagios applications. Unfortunately, the problem still occurs. Here is the output that I am seeing: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I can't figure out what is going on with this. Enclosed is the updated version of the httpd.conf with the changes that were suggested. I am desperate at this point... ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 4:15 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi Andrew, On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. wrote: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. Looking at your attached httpd.conf file, you seem to have configured the URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then you are trying to access them with the URL '/nagios/cgi-bin'. Provided the Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, you should probably define your ScriptAlias like this: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Cheers, Guy. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. <> 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 17:30:05 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 25 Jun 2009 15:30:05 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: I guess I'm a timid user..(not running make earlier) So ran make - I didn't get any errors but it still says support for database servers not found does that mean I need to re-run for postgresql? [root at nagios ndoutils-1.3.1]# make cd ./src/; make ; cd .. make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl make ndo2db-2x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndo2db-3x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-2x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-3x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -lm -lnsl make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' [root at nagios /]# cd /tmp/ndoutils-1.3.1 [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:41 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Ok...making progress...after rerunning the config the sql libraries were found but now I get about postgresql support....Do I need this? Or Can I just run make? MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.3.1 02-15-2006 *** Type 'make' to compile the NDO utilities. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:29 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristoir at gmail.com Thu Jun 25 17:32:59 2009 From: cristoir at gmail.com (Christopher McAtackney) Date: Thu, 25 Jun 2009 16:32:59 +0100 Subject: FW: NDO Utils Question In-Reply-To: References: Message-ID: 2009/6/25 Wheeler, JF (Jonathan) : >> -----Original Message----- >> From: Christopher McAtackney [mailto:cristoir at gmail.com] >> Sent: 25 June 2009 14:51 >> >> Hi everyone, >> >> I have a quick question about Nagios and NDOUtils I was hoping someone >> could answer. >> >> What happens if the database that NDO Utils is using becomes >> unavailable? (e.g. the server has crashed). > > The answer depends a lot on whether you are using Nagios v2 or Nagios > v3; we are using Nagios v2.11. ?My understanding is that in Nagios v2, > the code that communicates with the event broker module in > single-threaded. ?Therefore a problem with the SQL server can jam up > Nagios to the extent that it effectively stops running commands. ?In > Nagios v3, threading has been rewritten and this problem no longer > exists. Sorry, should have specified that. I'm running 3.0.6. >> I'm assuming Nagios will continue to monitor and send notifications as >> normal, is this correct? > > In Nagios v2 it seems that almost all activity is suspended when you are > using NDOutils and the MySQL server is unavailable; this continues until > the SQL server is restored. ?One solution is to restart Nagios without > the broker_module. > >> What about the service check results that would normally be passed to >> NDO Utils and then stored in the database? Are they queued somewhere? >> And if so, how is the capacity of this queue defined? If they are not >> queued, what happens? Will NDO Utils just throw an error for each >> result it tries to store in the database and fails? Will this affect >> the core Nagios process? > > Results passing into the command pipe are stored. ?The relevant > parameters are in nagios.cfg; they are external_command_buffer_slots and > check_result_buffer_slots - by default these are set to 4096 (see > documentation within the configuration file). Great, that's what I was hoping for. Do you have any experience of setting this buffer to much higher values? Not that I necessarily intend to, but it's always useful to know the effects of pushing the system to its limits. >> Hopefully someone can provide some insight. > > Hopefully this has Yes, this has been very helpful, thanks for your answer. Thanks as well Carsten, much appreciated. > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Thu Jun 25 18:12:33 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Thu, 25 Jun 2009 12:12:33 -0400 Subject: Server/host Inheritance Message-ID: <4A43A1F1.8020406@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, I have a question about inheritance within a service/host. First, these are completely separate, correct? ie, if I define a host with a contactgroup of foo, the service does not use that contactgroup, but rather uses the one defined by the service template, correct? Or does it fall back to the host contact group if a service contact group is undefined? Next, if I have an existing service/host template with a contactgroup and I define a new service using that template, under what conditions is that contactgroup superseded? If I define single contacts, will it still use the contactgroup? How about if I specify a new contactgroup? Can I add/delete contacts and contactgroups without specifying the inherited ones? Thanks, - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkpDofEACgkQO80o6DJ8Uvm2nACdFmFRNDxIXwRITu1WSMt88KeS XT4AoJOMUNf0zl5tC17Qhba+85dn0WH0 =eXAn -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Thu Jun 25 18:38:16 2009 From: mgius at createspace.com (Mark Gius) Date: Thu, 25 Jun 2009 09:38:16 -0700 Subject: Server/host Inheritance In-Reply-To: <4A43A1F1.8020406@lafayette.edu> References: <4A43A1F1.8020406@lafayette.edu> Message-ID: <4A43A7F8.9000707@createspace.com> You're going to want to read this: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html, specifically "implied inheritance" about 3/4 of the way down. Host and service inheritance is (mostly) separate. There are some implied inheritance rules however. For example, if a service doesn't define contact_groups anywhere, it will inherit contact_groups from its host. If you override contact_groups in the service somewhere, it will use that instead. You can add things using the "+" syntax (see additive inheritance), and you can kind of delete things with "!", but I've not played with that very much. -Gius Jason Frisvold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Greetings, > > I have a question about inheritance within a service/host. First, > these are completely separate, correct? ie, if I define a host with a > contactgroup of foo, the service does not use that contactgroup, but > rather uses the one defined by the service template, correct? Or does > it fall back to the host contact group if a service contact group is > undefined? > > Next, if I have an existing service/host template with a contactgroup > and I define a new service using that template, under what conditions is > that contactgroup superseded? If I define single contacts, will it > still use the contactgroup? How about if I specify a new contactgroup? > Can I add/delete contacts and contactgroups without specifying the > inherited ones? > > Thanks, > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkpDofEACgkQO80o6DJ8Uvm2nACdFmFRNDxIXwRITu1WSMt88KeS > XT4AoJOMUNf0zl5tC17Qhba+85dn0WH0 > =eXAn > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 18:39:36 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 25 Jun 2009 18:39:36 +0200 Subject: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: <4A43A848.9080409@univie.ac.at> uhm... you should copy the new compiled binary to your nagios/bin directory, but i don't think that will resolv the error anyways. give us a plot of your ndo2db.cfg please. Natalie Aloi wrote: > I guess I'm a timid user..(not running make earlier) > So ran make - I didn't get any errors but it still says support for > database servers not found does that mean I need to re-run for > postgresql? > > [root at nagios ndoutils-1.3.1]# make > cd ./src/; make ; cd .. > make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' > gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c > gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c > gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o > -lm -lnsl > gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl > make ndo2db-2x > make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' > gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c > gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o > dbhandlers.c > gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c > dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient > make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' > make ndo2db-3x > make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' > gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o > dbhandlers.c > gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c > dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient > make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' > make ndomod-2x.o > make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' > gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o > ndomod.c io.o utils.o -shared -lnsl > make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' > make ndomod-3x.o > make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' > gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o > ndomod.c io.o utils.o -shared -lnsl > make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' > gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o > -lm -lnsl > make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' > [root at nagios /]# cd /tmp/ndoutils-1.3.1 > [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg > Support for the specified database server is either not yet supported, > or was not found on your system. > [root at nagios ndoutils-1.3.1]# > > -----Original Message----- > *From:* Natalie Aloi [mailto:naloi at experisdatacenters.com] > *Sent:* Thursday, June 25, 2009 09:41 AM > *To:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > Ok...making progress...after rerunning the config the sql > libraries were found but now I get about postgresql support....Do > I need this? Or Can I just run make? > MySQL library and include file(s) were found! > checking for PQconnectdb in -lpq... no > > *** PostgreSQL library could not be located... ********************* > You chose to compile NDBXT with PostgreSQL support, but I was > unable to locate the PostgreSQL library on your system. If the > library is installed, use the --with-pgsql-lib argument to specify > the location of the PostgreSQL library. > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the PostgreSQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make devclean' in the NDBXT distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > ******************************************************************** > > checking libpq-fe.h usability... no > checking libpq-fe.h presence... no > checking for libpq-fe.h... no > > *** PostgreSQL include file could not be located... **************** > You chose to compile NDBXT with PostgreSQL support, but I was unable > to locate on your system. If the include file is > installed, use the --with-pgsql-inc argument to specify the location > of the PostgreSQL include file. > ******************************************************************** > > configure: creating ./config.status > config.status: creating Makefile > config.status: creating src/Makefile > config.status: creating include/config.h > > *** ndoutils 1.3.1 02-15-2006 *** > > Type 'make' to compile the NDO utilities. > [root at nagios ndoutils-1.3.1]# > > -----Original Message----- > *From:* Natalie Aloi [mailto:naloi at experisdatacenters.com] > *Sent:* Thursday, June 25, 2009 09:29 AM > *To:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > So this is what's in ld.so.conf.d....do I just do steps 2-4 > now since there is already a file that points to it - or do I > need to rename mysql-i386.conf to mysql.conf? > > [root at nagios ld.so.conf.d]# ls -lat > total 32 > drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. > drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . > -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf > -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf > -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf > -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf > [root at nagios ld.so.conf.d]# more mysql-i386.conf > /usr/lib/mysql > [root at nagios ld.so.conf.d]# > > -----Original Message----- > *From:* Guy Waugh [mailto:guidosh at gmail.com] > *Sent:* Thursday, June 25, 2009 09:07 AM > *To:* 'Natalie Aloi' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > Hello, > > On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi > > wrote: > > Hi I am having trouble getting ndoutils to work > during my install I found this information logged: > > *** MySQL library could not be located... > ************************** > You chose to compile NDBXT with MySQL support, but I > was unable to > locate the MySQL library on your system. If the > library is > installed, use the --with-mysql-lib argument to > specify the > location of the MySQL library. > NOTE: After you install the necessary libraries on > your system: > 1. Make sure /etc/ld.so.conf has an entry for > the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker > options. > 3. Run 'make devclean' in the NDBXT distribution > to clean out > any old references to your previous compile. > 4. Rerun the configure script. > TIP: Try the following.... > ./configure --with-mysql-lib=/usr/lib/mysql > I have a question about step 1. When I more the file > all it has in it is this information: > > [root at nagios etc]# more ld.so.conf > include ld.so.conf.d/*.conf > > My question is what is the syntax of the libraries I > have no idea what to add into this file. > Do I just add "/usr/lib/mysql" ? > > > The best thing to do would be to create a file in > '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as > you suggest, one line thus: '/usr/lib/mysql' (without the > quotes). Then, proceed with steps 2, 3 and 4 above. > > Cheers, > Guy. > > > > I am running Fedora 9 > mysql has been installed (see below:) > [root at nagios etc]# rpm -qa | grep mysql > qt-mysql-4.5.0-14.fc9.i386 > mysql-administrator-5.0r12-8.fc9.i386 > mysql-server-5.0.77-1.fc9.i386 > mysql-devel-5.0.77-1.fc9.i386 > mysql-connector-odbc-3.51.24r1071-1.fc9.i386 > mysql-connector-java-3.1.12-5.fc9.i386 > php-mysql-5.2.6-2.fc9.i386 > mysql-5.0.77-1.fc9.i386 > libdbi-dbd-mysql-0.8.3-2.fc9.i386 > mysql-libs-5.0.77-1.fc9.i386 > nagios-plugins-mysql-1.4.13-9.fc9.i386 > mysql-gui-common-5.0r12-8.fc9.i386 > below is infor from mysql for nagios db for ndoutils.... > mysql> use nagios > Reading table information for completion of table and > column names > You can turn off this feature to get a quicker startup > with -A > Database changed > mysql> show tables; > +-------------------------------------+ > | Tables_in_nagios | > +-------------------------------------+ > | ndo_acknowledgements | > | ndo_commands | > | ndo_commenthistory | > | ndo_comments | > | ndo_configfiles | > | ndo_configfilevariables | > | ndo_conninfo | > | ndo_contact_addresses | > | ndo_contact_notificationcommands | > | ndo_contactgroup_members | > | ndo_contactgroups | > | ndo_contactnotificationmethods | > | ndo_contactnotifications | > | ndo_contacts | > | ndo_customobjectvariables | > | ndo_downtimehistory | > | ndo_eventhandlers | > | ndo_externalcommands | > | ndo_flappinghistory | > | ndo_host_contactgroups | > | ndo_host_parenthosts | > | ndo_hostchecks | > | ndo_hostdependencies | > | ndo_hostescalation_contactgroups | > | ndo_hostescalations | > | ndo_hostextinfo | > | ndo_hostgroup_members | > | ndo_hostgroups | > | ndo_hosts | > | ndo_hoststatus | > | ndo_instances | > | ndo_logentries | > | ndo_notifications | > | ndo_objects | > | ndo_processevents | > | ndo_programstatus | > | ndo_runtimevariables | > | ndo_scheduleddowntime | > | ndo_service_contactgroups | > | ndo_servicechecks | > | ndo_servicedependencies | > | ndo_serviceescalation_contactgroups | > | ndo_serviceescalations | > | ndo_serviceextinfo | > | ndo_servicegroup_members | > | ndo_servicegroups | > | ndo_services | > | ndo_servicestatus | > | ndo_statehistory | > | ndo_systemcommands | > | ndo_timedeventqueue | > | ndo_timedevents | > | ndo_timeperiod_timeranges | > | ndo_timeperiods | > +-------------------------------------+ > 54 rows in set (0.00 sec) > mysql> > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > mailto:e-mail%3Analoi at experisdatacenters.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 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 18:42:44 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Thu, 25 Jun 2009 12:42:44 -0400 Subject: Server/host Inheritance In-Reply-To: <4A43A1F1.8020406@lafayette.edu> References: <4A43A1F1.8020406@lafayette.edu> Message-ID: The documentation on this is actually pretty good... http://nagios.sourceforge.net/docs/3_0/objectinheritance.html If you have a host that use's the template... then in that host's config you define the same value again, it will override... except if you use the "!" and "+" signs to change the behavior. in the case of contacts and hosts (like in a group)... eg, contact_group +management Using the line above will add the management group in addition to what was assigned via the template. If you used "!management", it should not send to the management group even if it was defined in the template. If you just used it without the ! or +, it will override the template and just email management. I think I got that all straight... dont' quote me, quote the documentation. :-) -- Mat W. - http://www.techadre.com > Date: Thu, 25 Jun 2009 12:12:33 -0400 > From: frisvolj at lafayette.edu > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Server/host Inheritance > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Greetings, > > I have a question about inheritance within a service/host. First, > these are completely separate, correct? ie, if I define a host with a > contactgroup of foo, the service does not use that contactgroup, but > rather uses the one defined by the service template, correct? Or does > it fall back to the host contact group if a service contact group is > undefined? > > Next, if I have an existing service/host template with a contactgroup > and I define a new service using that template, under what conditions is > that contactgroup superseded? If I define single contacts, will it > still use the contactgroup? How about if I specify a new contactgroup? > Can I add/delete contacts and contactgroups without specifying the > inherited ones? > > Thanks, > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkpDofEACgkQO80o6DJ8Uvm2nACdFmFRNDxIXwRITu1WSMt88KeS > XT4AoJOMUNf0zl5tC17Qhba+85dn0WH0 > =eXAn > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 19:58:07 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 25 Jun 2009 17:58:07 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: woohoo! Thanks Michael! [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o cp: overwrite `/usr/sbin/ndomod.o'? y [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db [root at nagios src]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db [root at nagios sbin]# Except!...shoot!...I am getting that dumb error but I have those lines verified - ndo2db.cfg and ndomod.cfg files included [root at nagios nagios]# tail /var/log/nagios/nagios.log [1245950692] Caught SIGTERM, shutting down... [1245950692] Successfully shutdown... (PID=739) [1245950692] ndomod: Shutdown complete. [1245950692] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245950693] Nagios 2.11 starting... (PID=1813) [1245950693] LOG VERSION: 2.0 [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245950693] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245950693] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245950693] Finished daemonizing... (New PID=1814) [root at nagios nagios]# more ndomod.cfg ##################################################################### # NDOMOD CONFIG FILE # # Last Modified: 01-10-2006 ##################################################################### # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default # OUTPUT TYPE # This option determines what type of output sink the NDO NEB module # should use for data output. Valid options include: # file = standard text file # tcpsocket = TCP socket # unixsocket = UNIX domain socket (default) #output_type=file #output_type=tcpsocket output_type=unixsocket # OUTPUT # This option determines the name and path of the file or UNIX domain # socket to which output will be sent if the output type option specified # above is "file" or "unixsocket", respectively. If the output type # option is "tcpsocket", this option is used to specify the IP address # of fully qualified domain name of the host that the module should # connect to for sending output. #output=/usr/local/nagios/var/ndo.dat #output=127.0.0.1 output=/var/run/nagios/ndo.sock [root at nagios nagios]# more ndo2db.cfg ##################################################################### # NDO2DB DAEMON CONFIG FILE # # Last Modified: 02-12-2006 ##################################################################### # SOCKET TYPE # This option determines what type of socket the daemon will create # an accept connections from. # Value: # unix = Unix domain socket (default) # tcp = TCP socket socket_type=unix #socket_type=tcp # SOCKET NAME # This option determines the name and path of the UNIX domain # socket that the daemon will create and accept connections from. # This option is only valid if the socket type specified above # is "unix". #socket_name=/usr/local/nagios/var/ndo.sock socket_name=/var/run/nagios/ndo.sock # TCP PORT # This option determines what port the daemon will listen for # connections on. This option is only vlaid if the socket type # specified above is "tcp". tcp_port=5668 # DATABASE SERVER TYPE # This option determines what type of DB server the daemon should # connect to. # Values: # mysql = MySQL # pgsql = PostgreSQL db_servertype=mysql # DATABASE HOST # This option specifies what host the DB server is running on. db_host=localhost # DATABASE PORT # This option specifies the port that the DB server is running on. # Values: # 3306 = Default MySQL port # 5432 = Default PostgreSQL port db_port=3306 # DATABASE NAME # This option specifies the name of the database that should be used. db_name=nagios # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. db_prefix= #db_prefix=ndo_ # DATABASE USERNAME/PASSWORD # This is the username/password that will be used to authenticate to the DB. # The user needs at least SELECT, INSERT, UPDATE, and DELETE privileges on # the database. #db_user=ndouser #db_pass=ndopassword db_user=nagios db_pass=nagios ## TABLE TRIMMING OPTIONS # Several database tables containing Nagios event data can become quite large # over time. Most admins will want to trim these tables and keep only a # certain amount of data in them. The options below are used to specify the # age (in MINUTES) that data should be allowd to remain in various tables # before it is deleted. Using a value of zero (0) for any value means that # that particular table should NOT be automatically trimmed. # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 1 week max_systemcommands_age=10080 # Keep service checks for 1 week max_servicechecks_age=10080 # Keep host checks for 1 week max_hostchecks_age=10080 # Keep event handlers for 31 days max_eventhandlers_age=44640 [root at nagios nagios]# -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 12:39 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed uhm... you should copy the new compiled binary to your nagios/bin directory, but i don't think that will resolv the error anyways. give us a plot of your ndo2db.cfg please. Natalie Aloi wrote: I guess I'm a timid user..(not running make earlier) So ran make - I didn't get any errors but it still says support for database servers not found does that mean I need to re-run for postgresql? [root at nagios ndoutils-1.3.1]# make cd ./src/; make ; cd .. make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl make ndo2db-2x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndo2db-3x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-2x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-3x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -lm -lnsl make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' [root at nagios /]# cd /tmp/ndoutils-1.3.1 [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:41 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Ok...making progress...after rerunning the config the sql libraries were found but now I get about postgresql support....Do I need this? Or Can I just run make? MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.3.1 02-15-2006 *** Type 'make' to compile the NDO utilities. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:29 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 20:18:13 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 25 Jun 2009 20:18:13 +0200 Subject: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: <4A43BF65.5090109@univie.ac.at> Your database table scheme is with prefix "ndo_" so you have to set that in your ndo2db.cfg too and make sure you start ndo2db first and then nagios. Natalie Aloi wrote: > woohoo! Thanks Michael! > [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o > cp: overwrite `/usr/sbin/ndomod.o'? y > [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db > [root at nagios src]# cd /usr/sbin > [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg > [root at nagios sbin]# ps -ef | grep ndo2db > root 601 1 0 13:04 ? 00:00:00 ndo2db -c > /etc/nagios/ndo2db.cfg > root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db > [root at nagios sbin]# > > Except!...shoot!...I am getting that dumb error but I have those lines > verified - ndo2db.cfg and ndomod.cfg files included > > [root at nagios nagios]# tail /var/log/nagios/nagios.log > [1245950692] Caught SIGTERM, shutting down... > [1245950692] Successfully shutdown... (PID=739) > [1245950692] ndomod: Shutdown complete. > [1245950692] Event broker module '/usr/sbin/ndomod.o' deinitialized > successfully. > [1245950693] Nagios 2.11 starting... (PID=1813) > [1245950693] LOG VERSION: 2.0 > [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan > Galstad (nagios at nagios.org ) > [1245950693] ndomod: Could not open data sink! I'll keep trying, but > some output may get lost... > [1245950693] Event broker module '/usr/sbin/ndomod.o' initialized > successfully. > [1245950693] Finished daemonizing... (New PID=1814) > > [root at nagios nagios]# more ndomod.cfg > ##################################################################### > # NDOMOD CONFIG FILE > # > # Last Modified: 01-10-2006 > ##################################################################### > > # INSTANCE NAME > # This option identifies the "name" associated with this particular > # instance of Nagios and is used to seperate data coming from multiple > # instances. Defaults to 'default' (without quotes). > instance_name=default > > # OUTPUT TYPE > # This option determines what type of output sink the NDO NEB module > # should use for data output. Valid options include: > # file = standard text file > # tcpsocket = TCP socket > # unixsocket = UNIX domain socket (default) > #output_type=file > #output_type=tcpsocket > output_type=unixsocket > > # OUTPUT > # This option determines the name and path of the file or UNIX domain > # socket to which output will be sent if the output type option specified > # above is "file" or "unixsocket", respectively. If the output type > # option is "tcpsocket", this option is used to specify the IP address > # of fully qualified domain name of the host that the module should > # connect to for sending output. > #output=/usr/local/nagios/var/ndo.dat > #output=127.0.0.1 > output=/var/run/nagios/ndo.sock > > [root at nagios nagios]# more ndo2db.cfg > ##################################################################### > # NDO2DB DAEMON CONFIG FILE > # > # Last Modified: 02-12-2006 > ##################################################################### > > # SOCKET TYPE > # This option determines what type of socket the daemon will create > # an accept connections from. > # Value: > # unix = Unix domain socket (default) > # tcp = TCP socket > socket_type=unix > #socket_type=tcp > > # SOCKET NAME > # This option determines the name and path of the UNIX domain > # socket that the daemon will create and accept connections from. > # This option is only valid if the socket type specified above > # is "unix". > #socket_name=/usr/local/nagios/var/ndo.sock > socket_name=/var/run/nagios/ndo.sock > > # TCP PORT > # This option determines what port the daemon will listen for > # connections on. This option is only vlaid if the socket type > # specified above is "tcp". > tcp_port=5668 > > # DATABASE SERVER TYPE > # This option determines what type of DB server the daemon should > # connect to. > # Values: > # mysql = MySQL > # pgsql = PostgreSQL > db_servertype=mysql > > # DATABASE HOST > # This option specifies what host the DB server is running on. > db_host=localhost > > # DATABASE PORT > # This option specifies the port that the DB server is running on. > # Values: > # 3306 = Default MySQL port > # 5432 = Default PostgreSQL port > db_port=3306 > > # DATABASE NAME > # This option specifies the name of the database that should be used. > db_name=nagios > > # DATABASE TABLE PREFIX > # Determines the prefix (if any) that should be prepended to table names. > db_prefix= > #db_prefix=ndo_ > > # DATABASE USERNAME/PASSWORD > # This is the username/password that will be used to authenticate to > the DB. > # The user needs at least SELECT, INSERT, UPDATE, and DELETE privileges on > # the database. > #db_user=ndouser > #db_pass=ndopassword > db_user=nagios > db_pass=nagios > > ## TABLE TRIMMING OPTIONS > # Several database tables containing Nagios event data can become > quite large > # over time. Most admins will want to trim these tables and keep only a > # certain amount of data in them. The options below are used to > specify the > # age (in MINUTES) that data should be allowd to remain in various tables > # before it is deleted. Using a value of zero (0) for any value means > that > # that particular table should NOT be automatically trimmed. > # Keep timed events for 24 hours > max_timedevents_age=1440 > # Keep system commands for 1 week > max_systemcommands_age=10080 > # Keep service checks for 1 week > max_servicechecks_age=10080 > # Keep host checks for 1 week > max_hostchecks_age=10080 > # Keep event handlers for 31 days > max_eventhandlers_age=44640 > [root at nagios nagios]# > > > > -----Original Message----- > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Thursday, June 25, 2009 12:39 PM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > uhm... you should copy the new compiled binary to your nagios/bin > directory, but i don't think that will resolv the error anyways. > > give us a plot of your ndo2db.cfg please. > > > > Natalie Aloi wrote: >> I guess I'm a timid user..(not running make earlier) >> So ran make - I didn't get any errors but it still says support >> for database servers not found does that mean I need to re-run >> for postgresql? >> >> [root at nagios ndoutils-1.3.1]# make >> cd ./src/; make ; cd .. >> make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' >> gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c >> gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c >> gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o >> utils.o -lm -lnsl >> gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o >> -lm -lnsl >> make ndo2db-2x >> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >> gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c >> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o >> dbhandlers-2x.o dbhandlers.c >> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x >> ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql >> -lnsl -lmysqlclient >> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >> make ndo2db-3x >> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o >> dbhandlers-3x.o dbhandlers.c >> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x >> ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql >> -lnsl -lmysqlclient >> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >> make ndomod-2x.o >> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o >> ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl >> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >> make ndomod-3x.o >> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o >> ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl >> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >> gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o >> utils.o -lm -lnsl >> make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' >> [root at nagios /]# cd /tmp/ndoutils-1.3.1 >> [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg >> Support for the specified database server is either not yet >> supported, or was not found on your system. >> [root at nagios ndoutils-1.3.1]# >> >> -----Original Message----- >> *From:* Natalie Aloi [mailto:naloi at experisdatacenters.com] >> *Sent:* Thursday, June 25, 2009 09:41 AM >> *To:* 'Nagios Users Mail-list' >> *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries >> assistance needed >> >> Ok...making progress...after rerunning the config the sql >> libraries were found but now I get about postgresql >> support....Do I need this? Or Can I just run make? >> MySQL library and include file(s) were found! >> checking for PQconnectdb in -lpq... no >> >> *** PostgreSQL library could not be located... >> ********************* >> You chose to compile NDBXT with PostgreSQL support, but I was >> unable to locate the PostgreSQL library on your system. If the >> library is installed, use the --with-pgsql-lib argument to >> specify >> the location of the PostgreSQL library. >> NOTE: After you install the necessary libraries on your system: >> 1. Make sure /etc/ld.so.conf has an entry for the >> directory in >> which the PostgreSQL libraries are installed. >> 2. Run 'ldconfig' to update the run-time linker options. >> 3. Run 'make devclean' in the NDBXT distribution to >> clean out >> any old references to your previous compile. >> 4. Rerun the configure script. >> ******************************************************************** >> >> checking libpq-fe.h usability... no >> checking libpq-fe.h presence... no >> checking for libpq-fe.h... no >> >> *** PostgreSQL include file could not be located... >> **************** >> You chose to compile NDBXT with PostgreSQL support, but I was >> unable >> to locate on your system. If the include file is >> installed, use the --with-pgsql-inc argument to specify the >> location >> of the PostgreSQL include file. >> ******************************************************************** >> >> configure: creating ./config.status >> config.status: creating Makefile >> config.status: creating src/Makefile >> config.status: creating include/config.h >> >> *** ndoutils 1.3.1 02-15-2006 *** >> >> Type 'make' to compile the NDO utilities. >> [root at nagios ndoutils-1.3.1]# >> >> -----Original Message----- >> *From:* Natalie Aloi [mailto:naloi at experisdatacenters.com] >> *Sent:* Thursday, June 25, 2009 09:29 AM >> *To:* 'Nagios Users Mail-list' >> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >> libraries assistance needed >> >> So this is what's in ld.so.conf.d....do I just do >> steps 2-4 now since there is already a file that points >> to it - or do I need to rename mysql-i386.conf to mysql.conf? >> >> [root at nagios ld.so.conf.d]# ls -lat >> total 32 >> drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. >> drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . >> -rw-r--r-- 1 root root 23 2009-04-27 08:31 >> xulrunner-32.conf >> -rw-r--r-- 1 root root 15 2009-03-07 18:39 >> mysql-i386.conf >> -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf >> -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf >> [root at nagios ld.so.conf.d]# more mysql-i386.conf >> /usr/lib/mysql >> [root at nagios ld.so.conf.d]# >> >> -----Original Message----- >> *From:* Guy Waugh [mailto:guidosh at gmail.com] >> *Sent:* Thursday, June 25, 2009 09:07 AM >> *To:* 'Natalie Aloi' >> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >> libraries assistance needed >> >> Hello, >> >> On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi >> > > wrote: >> >> Hi I am having trouble getting ndoutils to work >> during my install I found this information logged: >> >> *** MySQL library could not be located... >> ************************** >> You chose to compile NDBXT with MySQL support, >> but I was unable to >> locate the MySQL library on your system. If the >> library is >> installed, use the --with-mysql-lib argument to >> specify the >> location of the MySQL library. >> NOTE: After you install the necessary libraries >> on your system: >> 1. Make sure /etc/ld.so.conf has an entry >> for the directory in >> which the MySQL libraries are installed. >> 2. Run 'ldconfig' to update the run-time >> linker options. >> 3. Run 'make devclean' in the NDBXT >> distribution to clean out >> any old references to your previous compile. >> 4. Rerun the configure script. >> TIP: Try the following.... >> ./configure --with-mysql-lib=/usr/lib/mysql >> I have a question about step 1. When I more the >> file all it has in it is this information: >> >> [root at nagios etc]# more ld.so.conf >> include ld.so.conf.d/*.conf >> >> My question is what is the syntax of the >> libraries I have no idea what to add into this file. >> Do I just add "/usr/lib/mysql" ? >> >> >> The best thing to do would be to create a file in >> '/etc/ld.so.conf.d' called 'mysql.conf' that >> contains, as you suggest, one line thus: >> '/usr/lib/mysql' (without the quotes). Then, proceed >> with steps 2, 3 and 4 above. >> >> Cheers, >> Guy. >> >> >> >> I am running Fedora 9 >> mysql has been installed (see below:) >> [root at nagios etc]# rpm -qa | grep mysql >> qt-mysql-4.5.0-14.fc9.i386 >> mysql-administrator-5.0r12-8.fc9.i386 >> mysql-server-5.0.77-1.fc9.i386 >> mysql-devel-5.0.77-1.fc9.i386 >> mysql-connector-odbc-3.51.24r1071-1.fc9.i386 >> mysql-connector-java-3.1.12-5.fc9.i386 >> php-mysql-5.2.6-2.fc9.i386 >> mysql-5.0.77-1.fc9.i386 >> libdbi-dbd-mysql-0.8.3-2.fc9.i386 >> mysql-libs-5.0.77-1.fc9.i386 >> nagios-plugins-mysql-1.4.13-9.fc9.i386 >> mysql-gui-common-5.0r12-8.fc9.i386 >> below is infor from mysql for nagios db for >> ndoutils.... >> mysql> use nagios >> Reading table information for completion of table >> and column names >> You can turn off this feature to get a quicker >> startup with -A >> Database changed >> mysql> show tables; >> +-------------------------------------+ >> | Tables_in_nagios | >> +-------------------------------------+ >> | ndo_acknowledgements | >> | ndo_commands | >> | ndo_commenthistory | >> | ndo_comments | >> | ndo_configfiles | >> | ndo_configfilevariables | >> | ndo_conninfo | >> | ndo_contact_addresses | >> | ndo_contact_notificationcommands | >> | ndo_contactgroup_members | >> | ndo_contactgroups | >> | ndo_contactnotificationmethods | >> | ndo_contactnotifications | >> | ndo_contacts | >> | ndo_customobjectvariables | >> | ndo_downtimehistory | >> | ndo_eventhandlers | >> | ndo_externalcommands | >> | ndo_flappinghistory | >> | ndo_host_contactgroups | >> | ndo_host_parenthosts | >> | ndo_hostchecks | >> | ndo_hostdependencies | >> | ndo_hostescalation_contactgroups | >> | ndo_hostescalations | >> | ndo_hostextinfo | >> | ndo_hostgroup_members | >> | ndo_hostgroups | >> | ndo_hosts | >> | ndo_hoststatus | >> | ndo_instances | >> | ndo_logentries | >> | ndo_notifications | >> | ndo_objects | >> | ndo_processevents | >> | ndo_programstatus | >> | ndo_runtimevariables | >> | ndo_scheduleddowntime | >> | ndo_service_contactgroups | >> | ndo_servicechecks | >> | ndo_servicedependencies | >> | ndo_serviceescalation_contactgroups | >> | ndo_serviceescalations | >> | ndo_serviceextinfo | >> | ndo_servicegroup_members | >> | ndo_servicegroups | >> | ndo_services | >> | ndo_servicestatus | >> | ndo_statehistory | >> | ndo_systemcommands | >> | ndo_timedeventqueue | >> | ndo_timedevents | >> | ndo_timeperiod_timeranges | >> | ndo_timeperiods | >> +-------------------------------------+ >> 54 rows in set (0.00 sec) >> mysql> >> >> Network Operations Center Manager >> Experis Data Center LLC >> 8209 Valley Pike >> PO Box 535 >> Middletown,VA 22645 >> phone:540-869-8702 >> cell:240-988-3267 >> fax:540-869-8710 >> mailto:e-mail%3Analoi at experisdatacenters.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 >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 20:35:09 2009 From: epearce at amberpoint.com (Eric Pearce) Date: Thu, 25 Jun 2009 11:35:09 -0700 Subject: adding custom macros/variables/objects Message-ID: <8D6A87EF26D14447A1253FB5B8AC6AE4@edgility.com> I currently use the two "url" variables for different ways of connecting to a host from the nagios webpage: define host{ use generic-host host_name vpn-server address 192.168.1.1 contact_groups it notes_url https://192.168.1.1 action_url ssh://192.168.1.1 statusmap_image cisco.png } I just click on the "notes" or "action" icon and it fires up a new browser or ssh window to the host. What I would like to do is add more of these "url" variables, for example, connect to a digital KVM switch, turn the host power on and off with some SNMP commands, connect to the host RAID controller's web interface, etc. Is there an easy way to add more of these variables and have them show up in the GUI? I see the documentation regarding custom object variables, but a quick glance at the cgi source code made it appear that all this stuff is hard-coded. I suppose I could use one the existing "url" variables to send me to another landing page with my custom buttons, but it would nice to have everything in one spot in the GUI. I'm also open to other ways to doing the same thing. Thanks -e -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 21:30:34 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Thu, 25 Jun 2009 15:30:34 -0400 Subject: dynamic service name creation Message-ID: <6db4a4200906251230s1ab2b560m3f6a905c7ebcf02c@mail.gmail.com> All, I am trying to create my service name dynamically. Can someone tell me a clever way to do. What I am tyring to achive is the following. I have a servicename "outlet1outputcurrent". Outlet1 is connected to host1. I can get the hostname for host1 by doing a snmp query. Somehow I want to generate the servicename to say "host1outputcurrent". Is it possible to do this using check_snmp plugin. Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 21:44:23 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 25 Jun 2009 15:44:23 -0400 Subject: Problem getting past main page In-Reply-To: References: Message-ID: I have made some progress. I removed the nagios.conf file from the /etc/httpd/conf.d directory. Once that was done, I was able to get past the main screen. My next step was to configure the various cfg files fromt Nagios 2.6 to work with the Nagios 3.1.2 application. I added several lines to the nagios.cfg file that pointed to the location of the files that I brought over. I ran the preflight check again, and now I have the following appearing 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! I checked the /usr/local/nagios/etc/ and /usr/local/nagios/etc/objects directories, and each has a localhost.cfg file in it. The nagios.cfg file points to the latter as the one that it looks to for configuration settings. I checked through it, and there is no mention of admins anywhere. I also checked the services.cfg file in the same directory as localhost, with the results being the same. Where is this cause of complaint originating from, and how can I correct it? Thanks. ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 10:57 AM To: Kaplan, Andrew H. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi again, On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. wrote: Hi there -- I can answer your questions in the order they were asked: 1. I made sure to restart apache after the changes were made via the "sudo /etc/init.d/httpd restart" command syntax. OK, great. Just making sure :-) 2. The output of the apachectl configtest is the following: [Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier Alias. [Thu Jun 25 10:22:48 2009] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. Syntax OK Right. This indicates that the configuration options for the 'ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios /usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't taking effect. This is probably because there is a file in /etc/httpd/conf.d (possibly 'nagios.conf'?) that is being loaded before apache parses those lines in your httpd.conf file (see line 210 of your httpd.conf file: 'include conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and see what ScriptAlias and Alias definitions exist in that file. It might in fact make more sense to put the nagios web configuration in that file rather than in the httpd.conf file... though it's up to you. There should only be one definition for the nagios Alias and ScriptAlias definitions, and they should be as they currently are in your httpd.conf file. 3. The files that are located in the /usr/local/nagios/sbin directory are the following: -rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi -rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi -rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi -rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi -rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi -rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi -rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48 notifications.cgi -rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi -rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi -rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi -rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi -rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi -rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi -rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi -rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi That all looks good, because these files are executable by everybody, so the apache user will be able to execute them. 4. The permissions of the files would seem to indicate the apache user has read and execute permissions. If necessary, I can change the permissions to match those of the owner and group. No, it looks fine. 5. I ran the tail -f command on the error_log file, and went through the motions of clicking on the links of the main page. The error messages appeared on-screen, while the following entries appeared in the log file: [Thu Jun 25 10:29:38 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php [Thu Jun 25 10:29:44 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php [Thu Jun 25 10:29:48 2009] [error] [] File does not exist: /usr/local/nagios/share/cgi-bin, referer: http:///nagios/side.php OK... you can see here that apache has been configured to look for the CGIs in /usr/local/nagios/share/cgi-bin, not /usr/local/nagios/sbin. This must be the definition in the apache configuration file in /etc/httpd/conf.d . 6. When I go to the http:///nagios page, I get the splash screen for the Nagios application. The error occurs whenever I click on any of the links starting from the Current Status group and going down the list. OK. 7. The host in question is a CentOS 5.3 system running on the i386 architecture. 8. The original Nagios 2.6 directory was copied as a tar file and via sftp from the original Nagios server to the new one. The tar file was extracted into the /usr/local directory. The nagios user and group were created, with the former being given a home directory and utilizing the nologin shell. The Nagios 3.1.2 application was compiled from source on the new server, with the following arguments: configured by ./configure, generated by GNU Autoconf 2.61, with options \"'--prefix=/usr/local/nagios' '--with-nagios-user=nagios' '--with-nagios-grp=nagios'\" OK. Provided nagios itself is running, that's probably fine. What do you think? Cheers, Guy. ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 9:57 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi again, Strange... Some questions: You're sure you restarted apache after editing httpd.conf? What is the output of 'apachectl configtest'? What files are in /usr/local/nagios/sbin -- are they files like 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user that apache is running as? Is there anything useful in the apache error logs? What do you see when you go to http:///nagios with your web browser? Is that when you get the error below? Is the nagios host a Linux or Unix host (sorry, can't remember if you've specified this before)? If so, which flavour/version? Did you compile nagios on this host, install it via a package manager, or copy it from another host? Cheers, Guy. On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. wrote: Hi there -- Thanks for your reply. I made the change that you suggested, and subsequently restarted the Apache and Nagios applications. Unfortunately, the problem still occurs. Here is the output that I am seeing: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. I can't figure out what is going on with this. Enclosed is the updated version of the httpd.conf with the changes that were suggested. I am desperate at this point... ________________________________ From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 4:15 AM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem getting past main page Hi Andrew, On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. wrote: This issue is an offshoot of the Problem in preflight check with commands.cfg. I went ahead and copied the nagios directory from our original server to the new one. Once that was done, I did the upgrade to version 3.1.2 of nagios. The main page of the application appears without a problem. However, whenever I try to go to any one of the links from the main page, an error message similar to the one below appears on-screen: Not Found The requested URL /nagios/cgi-bin/status.cgi was not found on this server. Looking at your attached httpd.conf file, you seem to have configured the URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then you are trying to access them with the URL '/nagios/cgi-bin'. Provided the Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, you should probably define your ScriptAlias like this: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Cheers, Guy. I noticed that after I inserted the snippets from the nagios.conf file into the httpd.conf file, and subsequently restarted the Apache server, the following errors appeared on-screen: Starting httpd: The ScriptAlias directive in /etc/httpd/conf/httpd.conf at line 566 will probably never match because it overlaps an earlier ScriptAlias. [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 will probably never match because it overlaps an earlier Alias. I have enclosed a copy of the httpd.conf file in its present version. I am at a lossas to why the error message is occurring, and I would really appreciate help on this. <> 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Thu Jun 25 22:11:20 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Thu, 25 Jun 2009 16:11:20 -0400 Subject: Server/host Inheritance In-Reply-To: <4A43A7F8.9000707@createspace.com> References: <4A43A1F1.8020406@lafayette.edu> <4A43A7F8.9000707@createspace.com> Message-ID: <4A43D9E8.1030105@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/25/2009 12:38 PM, Mark Gius wrote: > You're going to want to read this: > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html, > specifically "implied inheritance" about 3/4 of the way down. Excellent, thanks to you and Mathew .. This is exactly the info I needed. One more .. Is there a way to see, via the interface, who will be notified when something happens? This would help considerably with configuration/debugging. Thanks! > -Gius - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkpD2egACgkQO80o6DJ8UvkijACePfUOuDdnzLS2+5AjCLNbQkck gZgAnjL2ZUkm/ODlKa3t4HIGK9C3YID0 =oz4F -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Thu Jun 25 22:16:38 2009 From: mgius at createspace.com (Mark Gius) Date: Thu, 25 Jun 2009 13:16:38 -0700 Subject: Server/host Inheritance In-Reply-To: <4A43D9E8.1030105@lafayette.edu> References: <4A43A1F1.8020406@lafayette.edu> <4A43A7F8.9000707@createspace.com> <4A43D9E8.1030105@lafayette.edu> Message-ID: <4A43DB26.70209@createspace.com> As far as I know no. If you're logged in as a user that hasn't been hardcoded for full-access to CGIs, you can only see hosts and services that you're listed as a contact for (and as long as you're not going hog-wild with service escalations they'll get notified for those hosts/services), so that's one way, but if you're using service escalations I'm not aware of any way to see that from the web interface. -Gius Jason Frisvold wrote: > Excellent, thanks to you and Mathew .. This is exactly the info I needed. > One more .. Is there a way to see, via the interface, who will be > notified when something happens? This would help considerably with > configuration/debugging. > > Thanks! > > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Thu Jun 25 22:57:30 2009 From: guidosh at gmail.com (Guy Waugh) Date: Thu, 25 Jun 2009 21:57:30 +0100 Subject: Problem getting past main page In-Reply-To: References: Message-ID: Hi again Andrew, OK, now that you've made it to the point where nagios (and apache) appears to be working, it looks like it doesn't know about some commands, contacts and contactgroups that are used in the localhost.cfg file. You could read the nagios documentation, and/or try to find where those things are defined on your old nagios host and bring them over to the new one. They might be in files called 'commands.cfg', 'contacts.cfg' and 'contactgroups.cfg'. Cheers, Guy. On Thu, Jun 25, 2009 at 8:44 PM, Kaplan, Andrew H. wrote: > I have made some progress. I removed the nagios.conf file from the > /etc/httpd/conf.d directory. > Once that was done, I was able to get past the main screen. My next step > was to configure > the various cfg files fromt Nagios 2.6 to work with the Nagios 3.1.2 > application. I added several > lines to the nagios.cfg file that pointed to the location of the files > that I brought over. > > I ran the preflight check again, and now I have the following appearing > 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! > > I checked the /usr/local/nagios/etc/ and /usr/local/nagios/etc/objects > directories, and each has a localhost.cfg file > in it. The nagios.cfg file points to the latter as the one that it looks to > for configuration settings. I checked through it, > and there is no mention of admins anywhere. I also checked the services.cfg > file in the same directory as localhost, > with the results being the same. > > Where is this cause of complaint originating from, and how can I correct > it? Thanks. > > > > > ------------------------------ > *From:* Guy Waugh [mailto:guidosh at gmail.com] > *Sent:* Thursday, June 25, 2009 10:57 AM > *To:* Kaplan, Andrew H. > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Problem getting past main page > > Hi again, > > On Thu, Jun 25, 2009 at 3:39 PM, Kaplan, Andrew H. wrote: > >> Hi there -- >> >> I can answer your questions in the order they were asked: >> >> 1. I made sure to restart apache after the changes were made via the "sudo >> /etc/init.d/httpd restart" command syntax. >> > > OK, great. Just making sure :-) > > >> >> 2. The output of the apachectl configtest is the following: >> [Thu Jun 25 10:22:48 2009] [warn] The ScriptAlias directive in >> /etc/httpd/conf/httpd.conf at line 566 will probably never match because it >> overlaps an earlier Alias. >> [Thu Jun 25 10:22:48 2009] [warn] The Alias directive in >> /etc/httpd/conf/httpd.conf at line 583 will probably never match because it >> overlaps an earlier Alias. >> Syntax OK >> > > Right. This indicates that the configuration options for the 'ScriptAlias > /nagios/cgi-bin /usr/local/nagios/sbin' and 'Alias /nagios > /usr/local/nagios/share' on lines 566 and 583 of your httpd.conf file aren't > taking effect. This is probably because there is a file in /etc/httpd/conf.d > (possibly 'nagios.conf'?) that is being loaded before apache parses those > lines in your httpd.conf file (see line 210 of your httpd.conf file: > 'include conf.d/*.conf'). Have a look at the file in /etc/httpd/conf.d and > see what ScriptAlias and Alias definitions exist in that file. It might in > fact make more sense to put the nagios web configuration in that file rather > than in the httpd.conf file... though it's up to you. There should only be > one definition for the nagios Alias and ScriptAlias definitions, and they > should be as they currently are in your httpd.conf file. > > >> >> 3. The files that are located in the /usr/local/nagios/sbin directory are >> the following: >> -rwxrwxr-x 1 nagios nagios 229964 Jun 24 15:48 avail.cgi >> -rwxrwxr-x 1 nagios nagios 225272 Jun 24 15:48 cmd.cgi >> -rwxrwxr-x 1 nagios nagios 193036 Jun 24 15:48 config.cgi >> -rwxrwxr-x 1 nagios nagios 246284 Jun 24 15:48 extinfo.cgi >> -rwxrwxr-x 1 nagios nagios 197292 Jun 24 15:48 histogram.cgi >> -rwxrwxr-x 1 nagios nagios 176684 Jun 24 15:48 history.cgi >> -rwxrwxr-x 1 nagios nagios 172812 Jun 24 15:48 >> notifications.cgi >> -rwxrwxr-x 1 nagios nagios 168460 Jun 24 15:48 outages.cgi >> -rwxrwxr-x 1 nagios nagios 172844 Jun 24 15:48 showlog.cgi >> -rwxrwxr-x 1 nagios nagios 234156 Jun 24 15:48 status.cgi >> -rwxrwxr-x 1 nagios nagios 190220 Jun 24 15:48 statusmap.cgi >> -rwxrwxr-x 1 nagios nagios 188940 Jun 24 15:48 statuswml.cgi >> -rwxrwxr-x 1 nagios nagios 172588 Jun 24 15:48 statuswrl.cgi >> -rwxrwxr-x 1 nagios nagios 193100 Jun 24 15:48 summary.cgi >> -rwxrwxr-x 1 nagios nagios 184940 Jun 24 15:48 tac.cgi >> -rwxrwxr-x 1 nagios nagios 201388 Jun 24 15:48 trends.cgi >> > > That all looks good, because these files are executable by everybody, so > the apache user will be able to execute them. > > >> >> 4. The permissions of the files would seem to indicate the apache user has >> read and execute permissions. If necessary, I can change the permissions >> to match those of the owner and group. >> > > No, it looks fine. > > >> >> 5. I ran the tail -f command on the error_log file, and went through the >> motions of clicking on the links of the main page. The error messages >> appeared >> on-screen, while the following entries appeared in the log file: >> >> [Thu Jun 25 10:29:38 2009] [error] [] File does not >> exist: /usr/local/nagios/share/cgi-bin, referer: http://> server>/nagios/side.php >> [Thu Jun 25 10:29:44 2009] [error] [] File does not >> exist: /usr/local/nagios/share/cgi-bin, referer: http://> server>/nagios/side.php >> [Thu Jun 25 10:29:48 2009] [error] [] File does not >> exist: /usr/local/nagios/share/cgi-bin, referer: http://> server>/nagios/side.php >> > > OK... you can see here that apache has been configured to look for the CGIs > in /usr/local/nagios/share/cgi-bin, not /usr/local/nagios/sbin. This must be > the definition in the apache configuration file in /etc/httpd/conf.d . > > >> >> 6. When I go to the http:///nagios page, I get the splash >> screen for the Nagios application. The error occurs whenever I click on any >> of the >> links starting from the Current Status group and going down the list. >> > > OK. > > >> >> 7. The host in question is a CentOS 5.3 system running on the i386 >> architecture. >> >> 8. The original Nagios 2.6 directory was copied as a tar file and via sftp >> from the original Nagios server to the new one. The tar file was extracted >> into the >> /usr/local directory. The nagios user and group were created, with the >> former being given a home directory and utilizing the nologin shell. The >> Nagios >> 3.1.2 application was compiled from source on the new server, with the >> following arguments: >> >> configured by ./configure, generated by GNU Autoconf 2.61, with >> options \"'--prefix=/usr/local/nagios' '--with-nagios-user=nagios' >> '--with-nagios-grp=nagios'\" >> > > OK. Provided nagios itself is running, that's probably fine. > > >> >> What do you think? >> >> > > Cheers, > Guy. > > >> >> >> >> >> >> ------------------------------ >> *From:* Guy Waugh [mailto:guidosh at gmail.com] >> *Sent:* Thursday, June 25, 2009 9:57 AM >> *To:* Kaplan, Andrew H.; nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] Problem getting past main page >> >> Hi again, >> >> Strange... >> >> Some questions: >> >> You're sure you restarted apache after editing httpd.conf? >> What is the output of 'apachectl configtest'? >> What files are in /usr/local/nagios/sbin -- are they files like >> 'status.cgi', 'avail.cgi', 'cmd.cgi' etc.? Are they executable by the user >> that apache is running as? >> Is there anything useful in the apache error logs? >> What do you see when you go to http:///nagios with your web >> browser? Is that when you get the error below? >> Is the nagios host a Linux or Unix host (sorry, can't remember if you've >> specified this before)? If so, which flavour/version? >> Did you compile nagios on this host, install it via a package manager, or >> copy it from another host? >> >> Cheers, >> Guy. >> >> On Thu, Jun 25, 2009 at 2:35 PM, Kaplan, Andrew H. > > wrote: >> >>> Hi there -- >>> >>> Thanks for your reply. I made the change that you suggested, and >>> subsequently restarted the Apache and Nagios applications. >>> >>> Unfortunately, the problem still occurs. Here is the output that I am >>> seeing: >>> >>> Not Found >>> >>> The requested URL /nagios/cgi-bin/status.cgi was not found on this >>> server. >>> >>> I can't figure out what is going on with this. Enclosed is the updated >>> version of the httpd.conf with the changes that were suggested. >>> >>> I am desperate at this point... >>> >>> >>> >>> >>> >>> >>> ------------------------------ >>> *From:* Guy Waugh [mailto:guidosh at gmail.com] >>> *Sent:* Thursday, June 25, 2009 4:15 AM >>> *To:* Kaplan, Andrew H.; nagios-users at lists.sourceforge.net >>> *Subject:* Re: [Nagios-users] Problem getting past main page >>> >>> Hi Andrew, >>> >>> On Thu, Jun 25, 2009 at 12:24 AM, Kaplan, Andrew H. < >>> AHKAPLAN at partners.org> wrote: >>> >>>> This issue is an offshoot of the Problem in preflight check with >>>> commands.cfg. >>>> >>>> I went ahead and copied the nagios directory from our original server to >>>> the new >>>> one. Once that was done, I did the upgrade to version 3.1.2 of nagios. >>>> The main page >>>> of the application appears without a problem. However, whenever I try to >>>> go to any one >>>> of the links from the main page, an error message similar to the one >>>> below appears >>>> on-screen: >>>> >>>> *Not Found* >>>> *The requested URL /nagios/cgi-bin/status.cgi was not found on this >>>> server.* >>>> >>> >>> Looking at your attached httpd.conf file, you seem to have configured the >>> URL '/cgi-bin/nagios' to be the ScriptAlias for the nagios CGIs, but then >>> you are trying to access them with the URL '/nagios/cgi-bin'. Provided the >>> Nagios CGI scripts are in /usr/local/nagios/sbin, as they are by default, >>> you should probably define your ScriptAlias like this: >>> >>> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >>> >>> Cheers, >>> Guy. >>> >>> >>>> ** >>>> >>>> I noticed that after I inserted the snippets from the nagios.conf file >>>> into the >>>> httpd.conf file, and subsequently restarted the Apache server, the >>>> following >>>> errors appeared on-screen: >>>> >>>> *Starting httpd: The ScriptAlias directive in >>>> /etc/httpd/conf/httpd.conf at line* >>>> *566 will probably never match because it overlaps an earlier >>>> ScriptAlias.* >>>> *[warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 583 >>>> will* >>>> *probably never match because it overlaps an earlier Alias.* >>>> >>>> I have enclosed a copy of the httpd.conf file in its present version. I >>>> am at a >>>> lossas to why the error message is occurring, and I would really >>>> appreciate help on >>>> this. >>>> >>>> <> >>>> >>>> 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 athttp://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. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jun 25 23:10:48 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Thu, 25 Jun 2009 21:10:48 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: I change it but am still getting could not sink data error... # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. #db_prefix= db_prefix=ndo_ then I stopped ndo2db and restarted it, then restarted nagios [root at nagios nagios]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 11550 12431 0 16:01 pts/1 00:00:00 grep ndo2db [root at nagios nagios]# kill 601 [root at nagios nagios]# ps -ef | grep ndo2db root 13403 12431 0 16:07 pts/1 00:00:00 grep ndo2db [root at nagios nagios]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# sudo service nagios restart Running configuration check...done Stopping nagios: .done. Starting nagios: done. [root at nagios sbin]# tail /var/log/nagios/nagios.log [1245960534] Caught SIGTERM, shutting down... [1245960534] Successfully shutdown... (PID=3070) [1245960534] ndomod: Shutdown complete. [1245960534] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245960535] Nagios 2.11 starting... (PID=14253) [1245960535] LOG VERSION: 2.0 [1245960535] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245960535] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245960535] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245960535] Finished daemonizing... (New PID=14254) -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 02:18 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Your database table scheme is with prefix "ndo_" so you have to set that in your ndo2db.cfg too and make sure you start ndo2db first and then nagios. Natalie Aloi wrote: woohoo! Thanks Michael! [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o cp: overwrite `/usr/sbin/ndomod.o'? y [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db [root at nagios src]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db [root at nagios sbin]# Except!...shoot!...I am getting that dumb error but I have those lines verified - ndo2db.cfg and ndomod.cfg files included [root at nagios nagios]# tail /var/log/nagios/nagios.log [1245950692] Caught SIGTERM, shutting down... [1245950692] Successfully shutdown... (PID=739) [1245950692] ndomod: Shutdown complete. [1245950692] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245950693] Nagios 2.11 starting... (PID=1813) [1245950693] LOG VERSION: 2.0 [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245950693] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245950693] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245950693] Finished daemonizing... (New PID=1814) [root at nagios nagios]# more ndomod.cfg ##################################################################### # NDOMOD CONFIG FILE # # Last Modified: 01-10-2006 ##################################################################### # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default # OUTPUT TYPE # This option determines what type of output sink the NDO NEB module # should use for data output. Valid options include: # file = standard text file # tcpsocket = TCP socket # unixsocket = UNIX domain socket (default) #output_type=file #output_type=tcpsocket output_type=unixsocket # OUTPUT # This option determines the name and path of the file or UNIX domain # socket to which output will be sent if the output type option specified # above is "file" or "unixsocket", respectively. If the output type # option is "tcpsocket", this option is used to specify the IP address # of fully qualified domain name of the host that the module should # connect to for sending output. #output=/usr/local/nagios/var/ndo.dat #output=127.0.0.1 output=/var/run/nagios/ndo.sock [root at nagios nagios]# more ndo2db.cfg ##################################################################### # NDO2DB DAEMON CONFIG FILE # # Last Modified: 02-12-2006 ##################################################################### # SOCKET TYPE # This option determines what type of socket the daemon will create # an accept connections from. # Value: # unix = Unix domain socket (default) # tcp = TCP socket socket_type=unix #socket_type=tcp # SOCKET NAME # This option determines the name and path of the UNIX domain # socket that the daemon will create and accept connections from. # This option is only valid if the socket type specified above # is "unix". #socket_name=/usr/local/nagios/var/ndo.sock socket_name=/var/run/nagios/ndo.sock # TCP PORT # This option determines what port the daemon will listen for # connections on. This option is only vlaid if the socket type # specified above is "tcp". tcp_port=5668 # DATABASE SERVER TYPE # This option determines what type of DB server the daemon should # connect to. # Values: # mysql = MySQL # pgsql = PostgreSQL db_servertype=mysql # DATABASE HOST # This option specifies what host the DB server is running on. db_host=localhost # DATABASE PORT # This option specifies the port that the DB server is running on. # Values: # 3306 = Default MySQL port # 5432 = Default PostgreSQL port db_port=3306 # DATABASE NAME # This option specifies the name of the database that should be used. db_name=nagios # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. db_prefix= #db_prefix=ndo_ # DATABASE USERNAME/PASSWORD # This is the username/password that will be used to authenticate to the DB. # The user needs at least SELECT, INSERT, UPDATE, and DELETE privileges on # the database. #db_user=ndouser #db_pass=ndopassword db_user=nagios db_pass=nagios ## TABLE TRIMMING OPTIONS # Several database tables containing Nagios event data can become quite large # over time. Most admins will want to trim these tables and keep only a # certain amount of data in them. The options below are used to specify the # age (in MINUTES) that data should be allowd to remain in various tables # before it is deleted. Using a value of zero (0) for any value means that # that particular table should NOT be automatically trimmed. # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 1 week max_systemcommands_age=10080 # Keep service checks for 1 week max_servicechecks_age=10080 # Keep host checks for 1 week max_hostchecks_age=10080 # Keep event handlers for 31 days max_eventhandlers_age=44640 [root at nagios nagios]# -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 12:39 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed uhm... you should copy the new compiled binary to your nagios/bin directory, but i don't think that will resolv the error anyways. give us a plot of your ndo2db.cfg please. Natalie Aloi wrote: I guess I'm a timid user..(not running make earlier) So ran make - I didn't get any errors but it still says support for database servers not found does that mean I need to re-run for postgresql? [root at nagios ndoutils-1.3.1]# make cd ./src/; make ; cd .. make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl make ndo2db-2x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndo2db-3x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-2x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-3x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -lm -lnsl make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' [root at nagios /]# cd /tmp/ndoutils-1.3.1 [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:41 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Ok...making progress...after rerunning the config the sql libraries were found but now I get about postgresql support....Do I need this? Or Can I just run make? MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.3.1 02-15-2006 *** Type 'make' to compile the NDO utilities. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:29 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 26 02:37:14 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 25 Jun 2009 19:37:14 -0500 Subject: how can I access data stored by pnp4nagios In-Reply-To: References: Message-ID: On Thu, Jun 25, 2009 at 7:31 PM, Rahul Nabar wrote: > > > In which case is there another way for me to access historic_perf_quantity > at a given point in time for all servers? Or perhaps it is possible to > generate something like this using custom rrdtool queries? > > Any suggestions? > Just noticed that one of my old emails had received a pointed to the "pages" feature in pnp4nagios. Maybe that will work this time around.......... -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 26 02:31:47 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Thu, 25 Jun 2009 19:31:47 -0500 Subject: how can I access data stored by pnp4nagios Message-ID: I just updated my nagios installation so that I can get cpu-core temperatures with lm_sensors. Works fine. I have pnp4nagios which give good time series trends of temperatures as well. But the problem is if I want a snapshot of CPU temperatures right now for my whole server room hardware (or at any other past instance of time) pnp4nagios is not useful. It gives a time series but not a spatial (trend over servers at a point in time) graph. If I wanted to hack together my own graphing tool what's the best place to pull out data from? Digging in I noticed the /nagios/share/perfdata/serverxxx/ directory which does have the xml and rrd files. Is this a good spot to pull data out from for each monitored server? Unfortunately that would only be for the latest time instance , right? But since pnp4nagios can plot over a time range it must have access to historic temperatures too. So, where are these stored? I suspect internally as a binary produced my rrdtool? In which case is there another way for me to access historic_perf_quantity at a given point in time for all servers? Or perhaps it is possible to generate something like this using custom rrdtool queries? Any sugesstions? -- Rahul -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 07:13:40 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Thu, 25 Jun 2009 22:13:40 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <247144.53161.qm@web111216.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> Message-ID: <892576.11391.qm@web111209.mail.gq1.yahoo.com> Hi all, I need to monitor our dhcp server and came to see the check_dhcp plugin. However I'm getting this error when initiating the command: nagios at tool:~/libexec$ ./check_dhcp -s serveip1 Error: Could not bind socket to interface eth0. Check your privileges... But when I am on root, I get this: root at tool:/usr/local/nagios/libexec# ./check_dhcp -s serveip1 OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec ls -als on check_dhcp: 76 -rwxr-xr-x 1 nagios nagios 72834 2009-04-27 13:06 check_dhcp Do I need to do something like set permissions on serveip1 server? Please advise. Thanks! DB -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 26 07:43:13 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Jun 2009 07:43:13 +0200 Subject: check_dhcp issue In-Reply-To: <892576.11391.qm@web111209.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> Message-ID: <4A445FF1.3010308@op5.se> Dei Bertine wrote: > Hi all, > > I need to monitor our dhcp server and came to see the check_dhcp plugin. > > However I'm getting this error when initiating the command: > > nagios at tool:~/libexec$ ./check_dhcp -s serveip1 > Error: Could not bind socket to interface eth0. Check your privileges... > > But when I am on root, I get this: > root at tool:/usr/local/nagios/libexec# ./check_dhcp -s serveip1 > OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec > > ls -als on check_dhcp: > 76 -rwxr-xr-x 1 nagios nagios 72834 2009-04-27 13:06 check_dhcp > > Do I need to do something like set permissions on serveip1 server? > > Please advise. > As root on your nagios server: chmod 4755 ./check_dhcp -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 07:53:55 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Thu, 25 Jun 2009 22:53:55 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <4A445FF1.3010308@op5.se> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> Message-ID: <650472.81267.qm@web111208.mail.gq1.yahoo.com> Ok did that but still error: root at tool:/usr/local/nagios/libexec# chmod 4755 ./check_dhcp root at tool:/usr/local/nagios/libexec# ls -als check_dhcp 76 -rwsr-xr-x 1 nagios nagios 72834 2009-04-26 21:06 check_dhcp nagios at tool:~/libexec$ ./check_dhcp -s serveip1 Error: Could not bind socket to interface eth0. Check your privileges... Any other ideas? Thanks. ________________________________ From: Andreas Ericsson To: Dei Bertine Cc: nagios-users at lists.sourceforge.net Sent: Thursday, June 25, 2009 10:43:13 PM Subject: Re: [Nagios-users] check_dhcp issue Dei Bertine wrote: > Hi all, > > I need to monitor our dhcp server and came to see the check_dhcp plugin. > > However I'm getting this error when initiating the command: > > nagios at tool:~/libexec$ ./check_dhcp -s serveip1 > Error: Could not bind socket to interface eth0. Check your privileges... > > But when I am on root, I get this: root at tool:/usr/local/nagios/libexec# ./check_dhcp -s serveip1 > OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec > > ls -als on check_dhcp: > 76 -rwxr-xr-x 1 nagios nagios 72834 2009-04-27 13:06 check_dhcp > > Do I need to do something like set permissions on serveip1 server? > Please advise. > As root on your nagios server: chmod 4755 ./check_dhcp -- 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 26 07:58:14 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Jun 2009 07:58:14 +0200 Subject: check_dhcp issue In-Reply-To: <650472.81267.qm@web111208.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> Message-ID: <4A446376.4000508@op5.se> Dei Bertine wrote: > Ok did that but still error: > root at tool:/usr/local/nagios/libexec# chmod 4755 ./check_dhcp > root at tool:/usr/local/nagios/libexec# ls -als check_dhcp > 76 -rwsr-xr-x 1 nagios nagios 72834 2009-04-26 21:06 check_dhcp > nagios at tool:~/libexec$ ./check_dhcp -s serveip1 > Error: Could not bind socket to interface eth0. Check your privileges... > > Any other ideas? > Sorry. As root: chown root:root check_dhcp && chmod 4755 check_dhcp -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 26 08:44:43 2009 From: nagios02 at in-put.de (Stefan-Michael Guenther) Date: Fri, 26 Jun 2009 08:44:43 +0200 Subject: Monitoring traffic on switch port via Nagios/Nagiosgrapher Message-ID: <4A446E5B.2060603@in-put.de> Hello, I like to monitor the traffic on different HP switches via Nagios and Nagiosgrapher. Does aynone of you have a plugin that calculates the in- and outgoing traffic on every single port? Or do you know the corresponding OIDs? I have checked the MIBs for the HP ProCurve 2824 / 2810 but wasn't really successful in finding the right MIBs. Thanks for any suggestions or hints, Stefan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 09:58:14 2009 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Fri, 26 Jun 2009 08:58:14 +0100 Subject: Monitoring traffic on switch port viaNagios/Nagiosgrapher References: <4A446E5B.2060603@in-put.de> Message-ID: Our ciscos respond to the standard IF-MIB::ifSpeed oid (I think it's .1.3.6.1.2.1.2.2.1.5), we have a perl script wrapped around that which calculates traffic over a 20 second period, but you could use a temporary file to record the traffic if you were interested in a longer time. Be warned though, at 1gbit, a 32bit snmp counter could wrap around every 30 seconds -- once you look at measuring 10gibt you really need a switch and client that're capable of doing 64bit snmp counters. The output is pumped into nagiosgrapher, with traffic out of the port multiplied by -1 The plugin might say something like OK: Port "GigabitEthernet9/15" on 10.129.138.1 transferred 241211 bits/s in (0.02% utilisation) and 684 bits/s out (0% utilisation) We only bother measuring the inter-switch ports -----Original Message----- From: Stefan-Michael Guenther [mailto:nagios02 at in-put.de] Sent: Fri 6/26/2009 7:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring traffic on switch port viaNagios/Nagiosgrapher Hello, I like to monitor the traffic on different HP switches via Nagios and Nagiosgrapher. Does aynone of you have a plugin that calculates the in- and outgoing traffic on every single port? Or do you know the corresponding OIDs? I have checked the MIBs for the HP ProCurve 2824 / 2810 but wasn't really successful in finding the right MIBs. Thanks for any suggestions or hints, Stefan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 10:09:41 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Fri, 26 Jun 2009 01:09:41 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <4A446376.4000508@op5.se> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> Message-ID: <140961.98886.qm@web111209.mail.gq1.yahoo.com> Ok some progress doing this command... :-) chown root:root check_dhcp && chmod 4755 check_dhcp However, what's odd is when I launch the plugin command via cli I am ok: OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec. But when I look at the nagios monitor page, I get this: CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 86400 sec. Any idea why? ________________________________ From: Andreas Ericsson To: Dei Bertine Cc: nagios-users at lists.sourceforge.net Sent: Thursday, June 25, 2009 10:58:14 PM Subject: Re: [Nagios-users] check_dhcp issue Dei Bertine wrote: > Ok did that but still error: > root at tool:/usr/local/nagios/libexec# chmod 4755 ./check_dhcp > root at tool:/usr/local/nagios/libexec# ls -als check_dhcp > 76 -rwsr-xr-x 1 nagios nagios 72834 2009-04-26 21:06 check_dhcp > nagios at tool:~/libexec$ ./check_dhcp -s serveip1 > Error: Could not bind socket to interface eth0. Check your privileges... > > Any other ideas? > Sorry. As root: chown root:root check_dhcp && chmod 4755 check_dhcp -- 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jun 26 10:20:30 2009 From: ae at op5.se (Andreas Ericsson) Date: Fri, 26 Jun 2009 10:20:30 +0200 Subject: check_dhcp issue In-Reply-To: <140961.98886.qm@web111209.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> Message-ID: <4A4484CE.5030804@op5.se> Dei Bertine wrote: > Ok some progress doing this command... :-) > chown root:root check_dhcp && chmod 4755 check_dhcp > > However, what's odd is when I launch the plugin command via cli I am ok: > OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec. > > But when I look at the nagios monitor page, I get this: > CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 86400 sec. > > > Any idea why? > You're not running it with the exact same parameters from Nagios and the command-line. -- 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 11:15:04 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Fri, 26 Jun 2009 02:15:04 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <4A4484CE.5030804@op5.se> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> Message-ID: <909570.53767.qm@web111204.mail.gq1.yahoo.com> Ok, here's my definition in services: define service{ use local-service host_name serveip1.dev.net service_description check_dhcp check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$ } Here's my command.cfg: define command{ command_name check_dhcp command_line $USER1$/check_dhcp -s $HOSTADDRESS$ } Please advise. ________________________________ From: Andreas Ericsson To: Dei Bertine Cc: nagios-users at lists.sourceforge.net Sent: Friday, June 26, 2009 1:20:30 AM Subject: Re: [Nagios-users] check_dhcp issue Dei Bertine wrote: > Ok some progress doing this command... :-) > chown root:root check_dhcp && chmod 4755 check_dhcp > > However, what's odd is when I launch the plugin command via cli I am ok: > OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec. > > But when I look at the nagios monitor page, I get this: > CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 86400 sec. > > Any idea why? You're not running it with the exact same parameters from Nagios and the command-line. -- 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edgar.Matzinger at valid.nl Fri Jun 26 12:47:06 2009 From: Edgar.Matzinger at valid.nl (Edgar Matzinger) Date: Fri, 26 Jun 2009 12:47:06 +0200 Subject: check_dhcp issue In-Reply-To: <909570.53767.qm@web111204.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> <909570.53767.qm@web111204.mail.gq1.yahoo.com> Message-ID: <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> LS, Dei scribbled on 2009-06-26: > Ok, here's my definition in services: > > define service{ > use local-service > host_name serveip1.dev.net > service_description check_dhcp > check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$ > } the command_line should be: check_command check_dhcp Without !/check_dh....! > > Here's my command.cfg: > define command{ > command_name check_dhcp > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ > } In your examples from a few posts ago, you specify a *hostname*. In your service description, an *IP address*. Does that make any difference? HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Rachel at bartec.de Fri Jun 26 13:13:28 2009 From: Steffen.Rachel at bartec.de (Rachel Steffen) Date: Fri, 26 Jun 2009 13:13:28 +0200 Subject: Monitoring traffic on switch port viaNagios/Nagiosgrapher In-Reply-To: <4A446E5B.2060603@in-put.de> References: <4A446E5B.2060603@in-put.de> Message-ID: <847C8B990A3CFB468591F5F5214C24D1C2DE70@mgh-ex01.bartec.lan> Hi Stefan, I'm using check_snmp_netint from nagiosexchange. It works fine for me... http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1475.html;d=1 It's just a little bit tricky to configure but read the content of the checkplugin carefully and it should be no problem. Regards Steffen -----Urspr?ngliche Nachricht----- Von: Stefan-Michael Guenther [mailto:nagios02 at in-put.de] Gesendet: Freitag, 26. Juni 2009 08:45 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitoring traffic on switch port viaNagios/Nagiosgrapher Hello, I like to monitor the traffic on different HP switches via Nagios and Nagiosgrapher. Does aynone of you have a plugin that calculates the in- and outgoing traffic on every single port? Or do you know the corresponding OIDs? I have checked the MIBs for the HP ProCurve 2824 / 2810 but wasn't really successful in finding the right MIBs. Thanks for any suggestions or hints, Stefan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 26 13:38:08 2009 From: nagios02 at in-put.de (Stefan-Michael Guenther) Date: Fri, 26 Jun 2009 13:38:08 +0200 Subject: Monitoring traffic on switch port viaNagios/Nagiosgrapher In-Reply-To: <847C8B990A3CFB468591F5F5214C24D1C2DE70@mgh-ex01.bartec.lan> References: <4A446E5B.2060603@in-put.de> <847C8B990A3CFB468591F5F5214C24D1C2DE70@mgh-ex01.bartec.lan> Message-ID: <4A44B320.3020507@in-put.de> Hi Steffen, > I'm using check_snmp_netint from nagiosexchange. It works fine for me... > > http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1475.html;d=1 > > It's just a little bit tricky to configure but read the content of the checkplugin carefully and it should be no problem. > thanks for the link. The parameter "-n" should be followed by "Name in description OID". The thing is that snmpwalk for one of the switches (3COM 2924) only returns "IF-MIB::ifDescr.1 = STRING: Ethernet Interface" as a description for all interfaces/ports. How can you distinguish between the different ports? What kind of switch(es) do you monitor (manufacturer/model)? Regards, Stefan ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mchyzer at yahoo.com Fri Jun 26 14:04:01 2009 From: mchyzer at yahoo.com (Chris Hyzer) Date: Fri, 26 Jun 2009 05:04:01 -0700 (PDT) Subject: evenly spacing out service checks Message-ID: <400734.99066.qm@web51103.mail.re2.yahoo.com> Hey, I have a bunch of services on a bunch of hosts, and they overlap.? Some services I check every 5 minutes, some I check every 60 minutes.? I would like the ones which are 60 minutes to be spaced out by 60/7 minutes in the initial schedule.? But they arent, they are spaced out the same delay that the 5 minute ones are (several seconds).? If I change this setting in nagios.cfg: service_inter_check_delay_method=s ? Then all services have that delay, and some dont get scheduled for hours. ? Here is an example of my configs (the first check is every 5 minutes, the second is every hour, for the same app on the same servers): ? define service{ ??? use prodService ??? normal_check_interval?5 ??? max_check_attempts????? 2 ??? service_description wiki productionShallow ??? check_command check_fast_http! wiki webService=nagiosShallow? ??? contact_groups? wikiContacts } define service{ ??? use prodService ??? normal_check_interval 60 ??? max_check_attempts????? 2 ??? service_description wiki productionComplete ??? check_command check_fast_http! wiki webService=nagiosComplete ??? contact_groups? wikiContacts } define servicegroup{ ? servicegroup_name wiki production ? alias???? wiki production ? members???? server1,wiki productionShallow,server2,wiki productionShallow,server3,wiki productionShallow,server4,wiki productionShallow,server5,wiki productionShallow,server6,wiki productionShallow,server7,wiki productionShallow,server1,wiki productionComplete,server2,wiki productionComplete,server3,wiki productionComplete,server4,wiki productionComplete,server5,wiki productionComplete,server6,wiki productionComplete,server7,wiki productionComplete } I know eventually chaos will ensue, and the complete ones?will be randomly distributed throughout the hour.? But I would like it to startout that way.? If I could add service_inter_check_delay_method to a service definition that would do the trick, but it gives an error when I try that.? Any way to do this? ? Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Rachel at bartec.de Fri Jun 26 14:13:45 2009 From: Steffen.Rachel at bartec.de (Rachel Steffen) Date: Fri, 26 Jun 2009 14:13:45 +0200 Subject: Monitoring traffic on switch port viaNagios/Nagiosgrapher In-Reply-To: <4A44B320.3020507@in-put.de> References: <4A446E5B.2060603@in-put.de> <847C8B990A3CFB468591F5F5214C24D1C2DE70@mgh-ex01.bartec.lan> <4A44B320.3020507@in-put.de> Message-ID: <847C8B990A3CFB468591F5F5214C24D1C2DE77@mgh-ex01.bartec.lan> Hi, >> How can you distinguish between the different ports? With the switch -r you have to give the exact port Name (just use a mibbrowser). E.g with the switch: define command{ command_name check_snmp_netint_load command_line $USER1$/check_snmp_netint.pl -H $HOSTADDRESS$ -C public -n $ARG1$ -f -r -Y -M -k -d 70 -w $ARG2$ -c $ARG3$ } define service{ host_name Swith 1 service_description Port 1 use check_net check_command check_snmp_netint_load!"RMON Port 01 on unit 1"!750000000,750000000!900000000,900000000 } You have to configure the exact Port name. E.g without the switch: define command{ command_name check_snmp_netint_load_2 command_line $USER1$/check_snmp_netint.pl -H $HOSTADDRESS$ -C public -n $ARG1$ -f -Y -M -k -d 70 -w $ARG2$ -c $ARG3$ } define service{ host_name Swith 1 service_description Port 1 use check_net check_command check_snmp_netint_load!"RMON Port"!750000000,750000000!900000000,900000000 } Now you will get all results from ports who contain "REMON Port" in the Portname. >> What kind of switch(es) do you monitor (manufacturer/model)? 3Com Switch, Watchguard Firewall, HP Server, Dell Server etc... You can monitor everything that collect ethernet traffic with SNMP Regards Steffen ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 26 16:10:07 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Fri, 26 Jun 2009 10:10:07 -0400 Subject: Server/host Inheritance In-Reply-To: <4A43D9E8.1030105@lafayette.edu> References: <4A43A1F1.8020406@lafayette.edu> <4A43A7F8.9000707@createspace.com> <4A43D9E8.1030105@lafayette.edu> Message-ID: I don't know a way to view that... but that is a very useful bit of info that should be added to host/service info pages. Sure it can't be too hard for someone to create that tweak. Or submit it as a feature request... -- Mat W. - http://www.techadre.com > Date: Thu, 25 Jun 2009 16:11:20 -0400 > From: frisvolj at lafayette.edu > To: mgius at createspace.com > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Server/host Inheritance > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/25/2009 12:38 PM, Mark Gius wrote: > > You're going to want to read this: > > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html, > > specifically "implied inheritance" about 3/4 of the way down. > > Excellent, thanks to you and Mathew .. This is exactly the info I needed. > > One more .. Is there a way to see, via the interface, who will be > notified when something happens? This would help considerably with > configuration/debugging. > > Thanks! > > > -Gius > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkpD2egACgkQO80o6DJ8UvkijACePfUOuDdnzLS2+5AjCLNbQkck > gZgAnjL2ZUkm/ODlKa3t4HIGK9C3YID0 > =oz4F > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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?: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 15:56:14 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Fri, 26 Jun 2009 09:56:14 -0400 Subject: ndo utils question In-Reply-To: <6db4a4200906151150l32cb0fbep7a8dae9fb305050d@mail.gmail.com> References: <6db4a4200906090742p42424679tefab24a12829cb73@mail.gmail.com> <4A2E9625.3050000@op5.se> <6db4a4200906100817v4b2b263blfb43ff5b981b1403@mail.gmail.com> <6db4a4200906121238s27f6bd89u8c4204d17d8e4e0f@mail.gmail.com> <6db4a4200906151150l32cb0fbep7a8dae9fb305050d@mail.gmail.com> Message-ID: <6db4a4200906260656k2db29e69jd7e93e6760ee22f4@mail.gmail.com> All, in case anyone is interested. I solved the problem. My "config_output_options' was set to zero in ndomod.cfg. If you set to 1 or 3 depending on your need then it works fine. Thanks On Mon, Jun 15, 2009 at 2:50 PM, shadih rahman wrote: > 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 > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Fri Jun 26 18:50:41 2009 From: gardealuis at gmail.com (Luis Gardea) Date: Fri, 26 Jun 2009 09:50:41 -0700 Subject: mttr in nagios Message-ID: <44f056cc0906260950j46abd5f1ybd9703ff38f00509@mail.gmail.com> Hello I want know if Nagios can get the mttr for each host or service. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jun 26 19:52:02 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Fri, 26 Jun 2009 12:52:02 -0500 Subject: graphing trends across hosts or services instead of a timeseries In-Reply-To: References: <765d77c80902231119v7f0b7f5x75c596c53d2cebd2@mail.gmail.com> <765d77c80902240117h6db2254dme67c1577562298c9@mail.gmail.com> Message-ID: On Wed, Mar 4, 2009 at 3:33 PM, Marco Tirado wrote: > PNP4Nagios has a feature called "pages" that allows you to show multiple > services for the same host or multiple hosts for the same service. It should > be easy to use since it supports regular expressions. Check the following > link > > http://www.pnp4nagios.org/pnp/pages I can't seem to get the "pages" feature of pnp4nagios working correctly to get an assembly of charts. I just tried creating a page by modifying the canned file "web_traffic.cfg-sample" in the directory "/nagios/etc/pnp/pages/" like so: ################filename: cpu_temperatures.cfg ##################### define page { use_regex 1 page_name Compute Nodes Current CPU Core Temperatures } define graph { host_name star177,star178,star179 service_desc CpuCoreTemperature } ############################################################ I still do not see the webpage. Where should I be looking for in the web-interface? I already have a corresponding entry in the services.cfg file: define service{ use rpn_intermediate_service hostgroup_name 64bit-compute-nodes service_description CpuCoreTemperature check_command check_nrpe!check_cpu_temp use srv-pnp-rpn-intermediate } The permissions and ownership of cpu_temperatures.cfg also seems correct. What else could I be messing up? Any advice? -- Rahul ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manuel.fortier-lanctot at gameloft.com Fri Jun 26 21:20:20 2009 From: manuel.fortier-lanctot at gameloft.com (Manuel Fortier-Lanctot) Date: Fri, 26 Jun 2009 15:20:20 -0400 Subject: Wildcards in escalation stopped working In-Reply-To: References: <4A43A1F1.8020406@lafayette.edu> <4A43A7F8.9000707@createspace.com> <4A43D9E8.1030105@lafayette.edu> Message-ID: <4A451F74.1040703@gameloft.com> I haven't made any changes to our escalation setup in a while but now it suddenly stopped working. Basically, I want escalation on all hosts and services except a few core ones. Here is what I have: define hostgroup{ hostgroup_name no_escalation alias no_escal member } define hostescalation{ host_name * hostgroup_name !no_escalation first_notification 1 last_notification 1 notification_interval 5 contact_groups level-1-group escalation_period escalation-hours } define serviceescalation{ service_description * hostgroup_name *,!no_escalation first_notification 1 last_notification 1 notification_interval 5 contact_groups level-1-group escalation_period escalation-hours } This setup worked fine for a long time but today I just reloaded the config and it barfs with: Error: Could not expand services specified in service escalation (config file '/etc/nagios3/escalation.cfg', starting on line 21) Said line 21 is the start of the serviceesclation section. Again, this worked fine for a while and I reloaded a few times without problems, except today. Could it be possible a that a newly added host or service somewhere cause a problem with the globbing? If anybody has any idea, help would be appreciated. -- Manuel Fortier-Lanctot ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From computer11111 at sohu.com Mon Jun 29 04:23:55 2009 From: computer11111 at sohu.com (gmm) Date: Mon, 29 Jun 2009 10:23:55 +0800 Subject: need help Message-ID: <20090629022316.B820912B999@smtp.sohu.com> hello,all! I have a strange problem.I have installed nagios with nagios-3.1.2 and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK! But i found there is a strange problem with my web monitor page.In my host groups some hosts status are UP,and some status are PENDING all the time,but all of these hosts services are all ok! I try to change my configuration files some way but can't find out the reason. Thank you for your help! ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 09:29:36 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 29 Jun 2009 09:29:36 +0200 Subject: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: <4A486D60.5020507@univie.ac.at> Hmmm stop nagios, stop ndo start ndo, start nagios if this doesn't do the trick, please tell again, which nagios version and which ndo version you are currently using. afaik nagios 2 works with ndo 1.4b7 Kind regards, Michael Natalie Aloi wrote the following on 25.06.2009 23:10: > I change it but am still getting could not sink data error... > > # DATABASE TABLE PREFIX > # Determines the prefix (if any) that should be prepended to table names. > #db_prefix= > db_prefix=ndo_ > then I stopped ndo2db and restarted it, then restarted nagios > [root at nagios nagios]# ps -ef | grep ndo2db > root 601 1 0 13:04 ? 00:00:00 ndo2db -c > /etc/nagios/ndo2db.cfg > root 11550 12431 0 16:01 pts/1 00:00:00 grep ndo2db > [root at nagios nagios]# kill 601 > [root at nagios nagios]# ps -ef | grep ndo2db > root 13403 12431 0 16:07 pts/1 00:00:00 grep ndo2db > [root at nagios nagios]# cd /usr/sbin > [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg > [root at nagios sbin]# sudo service nagios restart > Running configuration check...done > Stopping nagios: .done. > Starting nagios: done. > [root at nagios sbin]# tail /var/log/nagios/nagios.log > [1245960534] Caught SIGTERM, shutting down... > [1245960534] Successfully shutdown... (PID=3070) > [1245960534] ndomod: Shutdown complete. > [1245960534] Event broker module '/usr/sbin/ndomod.o' deinitialized > successfully. > [1245960535] Nagios 2.11 starting... (PID=14253) > [1245960535] LOG VERSION: 2.0 > [1245960535] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan > Galstad (nagios at nagios.org ) > [1245960535] ndomod: Could not open data sink! I'll keep trying, but > some output may get lost... > [1245960535] Event broker module '/usr/sbin/ndomod.o' initialized > successfully. > [1245960535] Finished daemonizing... (New PID=14254) > > -----Original Message----- > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Thursday, June 25, 2009 02:18 PM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > Your database table scheme is with prefix "ndo_" so you have to > set that in your ndo2db.cfg too > > and make sure you start ndo2db first and then nagios. > > > Natalie Aloi wrote: >> woohoo! Thanks Michael! >> [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o >> cp: overwrite `/usr/sbin/ndomod.o'? y >> [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db >> [root at nagios src]# cd /usr/sbin >> [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg >> [root at nagios sbin]# ps -ef | grep ndo2db >> root 601 1 0 13:04 ? 00:00:00 ndo2db -c >> /etc/nagios/ndo2db.cfg >> root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db >> [root at nagios sbin]# >> >> Except!...shoot!...I am getting that dumb error but I have those >> lines verified - ndo2db.cfg and ndomod.cfg files included >> >> [root at nagios nagios]# tail /var/log/nagios/nagios.log >> [1245950692] Caught SIGTERM, shutting down... >> [1245950692] Successfully shutdown... (PID=739) >> [1245950692] ndomod: Shutdown complete. >> [1245950692] Event broker module '/usr/sbin/ndomod.o' >> deinitialized successfully. >> [1245950693] Nagios 2.11 starting... (PID=1813) >> [1245950693] LOG VERSION: 2.0 >> [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan >> Galstad (nagios at nagios.org ) >> [1245950693] ndomod: Could not open data sink! I'll keep trying, >> but some output may get lost... >> [1245950693] Event broker module '/usr/sbin/ndomod.o' initialized >> successfully. >> [1245950693] Finished daemonizing... (New PID=1814) >> >> [root at nagios nagios]# more ndomod.cfg >> ##################################################################### >> # NDOMOD CONFIG FILE >> # >> # Last Modified: 01-10-2006 >> ##################################################################### >> >> # INSTANCE NAME >> # This option identifies the "name" associated with this particular >> # instance of Nagios and is used to seperate data coming from >> multiple >> # instances. Defaults to 'default' (without quotes). >> instance_name=default >> >> # OUTPUT TYPE >> # This option determines what type of output sink the NDO NEB module >> # should use for data output. Valid options include: >> # file = standard text file >> # tcpsocket = TCP socket >> # unixsocket = UNIX domain socket (default) >> #output_type=file >> #output_type=tcpsocket >> output_type=unixsocket >> >> # OUTPUT >> # This option determines the name and path of the file or UNIX domain >> # socket to which output will be sent if the output type option >> specified >> # above is "file" or "unixsocket", respectively. If the output type >> # option is "tcpsocket", this option is used to specify the IP >> address >> # of fully qualified domain name of the host that the module should >> # connect to for sending output. >> #output=/usr/local/nagios/var/ndo.dat >> #output=127.0.0.1 >> output=/var/run/nagios/ndo.sock >> >> [root at nagios nagios]# more ndo2db.cfg >> ##################################################################### >> # NDO2DB DAEMON CONFIG FILE >> # >> # Last Modified: 02-12-2006 >> ##################################################################### >> >> # SOCKET TYPE >> # This option determines what type of socket the daemon will create >> # an accept connections from. >> # Value: >> # unix = Unix domain socket (default) >> # tcp = TCP socket >> socket_type=unix >> #socket_type=tcp >> >> # SOCKET NAME >> # This option determines the name and path of the UNIX domain >> # socket that the daemon will create and accept connections from. >> # This option is only valid if the socket type specified above >> # is "unix". >> #socket_name=/usr/local/nagios/var/ndo.sock >> socket_name=/var/run/nagios/ndo.sock >> >> # TCP PORT >> # This option determines what port the daemon will listen for >> # connections on. This option is only vlaid if the socket type >> # specified above is "tcp". >> tcp_port=5668 >> >> # DATABASE SERVER TYPE >> # This option determines what type of DB server the daemon should >> # connect to. >> # Values: >> # mysql = MySQL >> # pgsql = PostgreSQL >> db_servertype=mysql >> >> # DATABASE HOST >> # This option specifies what host the DB server is running on. >> db_host=localhost >> >> # DATABASE PORT >> # This option specifies the port that the DB server is running on. >> # Values: >> # 3306 = Default MySQL port >> # 5432 = Default PostgreSQL port >> db_port=3306 >> >> # DATABASE NAME >> # This option specifies the name of the database that should be used. >> db_name=nagios >> >> # DATABASE TABLE PREFIX >> # Determines the prefix (if any) that should be prepended to >> table names. >> db_prefix= >> #db_prefix=ndo_ >> >> # DATABASE USERNAME/PASSWORD >> # This is the username/password that will be used to authenticate >> to the DB. >> # The user needs at least SELECT, INSERT, UPDATE, and DELETE >> privileges on >> # the database. >> #db_user=ndouser >> #db_pass=ndopassword >> db_user=nagios >> db_pass=nagios >> >> ## TABLE TRIMMING OPTIONS >> # Several database tables containing Nagios event data can become >> quite large >> # over time. Most admins will want to trim these tables and keep >> only a >> # certain amount of data in them. The options below are used to >> specify the >> # age (in MINUTES) that data should be allowd to remain in >> various tables >> # before it is deleted. Using a value of zero (0) for any value >> means that >> # that particular table should NOT be automatically trimmed. >> # Keep timed events for 24 hours >> max_timedevents_age=1440 >> # Keep system commands for 1 week >> max_systemcommands_age=10080 >> # Keep service checks for 1 week >> max_servicechecks_age=10080 >> # Keep host checks for 1 week >> max_hostchecks_age=10080 >> # Keep event handlers for 31 days >> max_eventhandlers_age=44640 >> [root at nagios nagios]# >> >> >> >> -----Original Message----- >> *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] >> *Sent:* Thursday, June 25, 2009 12:39 PM >> *To:* 'Natalie Aloi' >> *Cc:* 'Nagios Users Mail-list' >> *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries >> assistance needed >> >> uhm... you should copy the new compiled binary to your >> nagios/bin directory, but i don't think that will resolv the >> error anyways. >> >> give us a plot of your ndo2db.cfg please. >> >> >> >> Natalie Aloi wrote: >>> I guess I'm a timid user..(not running make earlier) >>> So ran make - I didn't get any errors but it still says >>> support for database servers not found does that mean I need >>> to re-run for postgresql? >>> >>> [root at nagios ndoutils-1.3.1]# make >>> cd ./src/; make ; cd .. >>> make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' >>> gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c >>> gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c >>> gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o >>> utils.o -lm -lnsl >>> gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o >>> utils.o -lm -lnsl >>> make ndo2db-2x >>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>> gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c >>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o >>> dbhandlers-2x.o dbhandlers.c >>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x >>> ndo2db.c dbhandlers-2x.o io.o utils.o db.o >>> -L/usr/lib/mysql -lnsl -lmysqlclient >>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>> make ndo2db-3x >>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o >>> dbhandlers-3x.o dbhandlers.c >>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x >>> ndo2db.c dbhandlers-3x.o io.o utils.o db.o >>> -L/usr/lib/mysql -lnsl -lmysqlclient >>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>> make ndomod-2x.o >>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o >>> ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl >>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>> make ndomod-3x.o >>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o >>> ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl >>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>> gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o >>> utils.o -lm -lnsl >>> make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>> [root at nagios /]# cd /tmp/ndoutils-1.3.1 >>> [root at nagios ndoutils-1.3.1]# ndo2db-2x -c >>> /etc/nagios/ndo2db.cfg >>> Support for the specified database server is either not yet >>> supported, or was not found on your system. >>> [root at nagios ndoutils-1.3.1]# >>> >>> -----Original Message----- >>> *From:* Natalie Aloi [mailto:naloi at experisdatacenters.com] >>> *Sent:* Thursday, June 25, 2009 09:41 AM >>> *To:* 'Nagios Users Mail-list' >>> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >>> libraries assistance needed >>> >>> Ok...making progress...after rerunning the config the >>> sql libraries were found but now I get about postgresql >>> support....Do I need this? Or Can I just run make? >>> MySQL library and include file(s) were found! >>> checking for PQconnectdb in -lpq... no >>> >>> *** PostgreSQL library could not be located... >>> ********************* >>> You chose to compile NDBXT with PostgreSQL support, but >>> I was >>> unable to locate the PostgreSQL library on your system. >>> If the >>> library is installed, use the --with-pgsql-lib argument >>> to specify >>> the location of the PostgreSQL library. >>> NOTE: After you install the necessary libraries on your >>> system: >>> 1. Make sure /etc/ld.so.conf has an entry for the >>> directory in >>> which the PostgreSQL libraries are installed. >>> 2. Run 'ldconfig' to update the run-time linker >>> options. >>> 3. Run 'make devclean' in the NDBXT distribution >>> to clean out >>> any old references to your previous compile. >>> 4. Rerun the configure script. >>> ******************************************************************** >>> >>> checking libpq-fe.h usability... no >>> checking libpq-fe.h presence... no >>> checking for libpq-fe.h... no >>> >>> *** PostgreSQL include file could not be located... >>> **************** >>> You chose to compile NDBXT with PostgreSQL support, but >>> I was unable >>> to locate on your system. If the include >>> file is >>> installed, use the --with-pgsql-inc argument to specify >>> the location >>> of the PostgreSQL include file. >>> ******************************************************************** >>> >>> configure: creating ./config.status >>> config.status: creating Makefile >>> config.status: creating src/Makefile >>> config.status: creating include/config.h >>> >>> *** ndoutils 1.3.1 02-15-2006 *** >>> >>> Type 'make' to compile the NDO utilities. >>> [root at nagios ndoutils-1.3.1]# >>> >>> -----Original Message----- >>> *From:* Natalie Aloi >>> [mailto:naloi at experisdatacenters.com] >>> *Sent:* Thursday, June 25, 2009 09:29 AM >>> *To:* 'Nagios Users Mail-list' >>> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >>> libraries assistance needed >>> >>> So this is what's in ld.so.conf.d....do I just do >>> steps 2-4 now since there is already a file >>> that points to it - or do I need to rename >>> mysql-i386.conf to mysql.conf? >>> >>> [root at nagios ld.so.conf.d]# ls -lat >>> total 32 >>> drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. >>> drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . >>> -rw-r--r-- 1 root root 23 2009-04-27 08:31 >>> xulrunner-32.conf >>> -rw-r--r-- 1 root root 15 2009-03-07 18:39 >>> mysql-i386.conf >>> -rw-r--r-- 1 root root 16 2008-10-21 05:02 >>> tix-i386.conf >>> -rw-r--r-- 1 root root 20 2008-07-07 15:49 >>> qt-i386.conf >>> [root at nagios ld.so.conf.d]# more mysql-i386.conf >>> /usr/lib/mysql >>> [root at nagios ld.so.conf.d]# >>> >>> -----Original Message----- >>> *From:* Guy Waugh [mailto:guidosh at gmail.com] >>> *Sent:* Thursday, June 25, 2009 09:07 AM >>> *To:* 'Natalie Aloi' >>> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >>> libraries assistance needed >>> >>> Hello, >>> >>> On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi >>> >> > wrote: >>> >>> Hi I am having trouble getting ndoutils to work >>> during my install I found this information >>> logged: >>> >>> *** MySQL library could not be located... >>> ************************** >>> You chose to compile NDBXT with MySQL >>> support, but I was unable to >>> locate the MySQL library on your system. If >>> the library is >>> installed, use the --with-mysql-lib >>> argument to specify the >>> location of the MySQL library. >>> NOTE: After you install the necessary >>> libraries on your system: >>> 1. Make sure /etc/ld.so.conf has an >>> entry for the directory in >>> which the MySQL libraries are >>> installed. >>> 2. Run 'ldconfig' to update the >>> run-time linker options. >>> 3. Run 'make devclean' in the NDBXT >>> distribution to clean out >>> any old references to your previous >>> compile. >>> 4. Rerun the configure script. >>> TIP: Try the following.... >>> ./configure >>> --with-mysql-lib=/usr/lib/mysql >>> I have a question about step 1. When I more >>> the file all it has in it is this information: >>> >>> [root at nagios etc]# more ld.so.conf >>> include ld.so.conf.d/*.conf >>> >>> My question is what is the syntax of the >>> libraries I have no idea what to add into >>> this file. >>> Do I just add "/usr/lib/mysql" ? >>> >>> >>> The best thing to do would be to create a file >>> in '/etc/ld.so.conf.d' called 'mysql.conf' that >>> contains, as you suggest, one line thus: >>> '/usr/lib/mysql' (without the quotes). Then, >>> proceed with steps 2, 3 and 4 above. >>> >>> Cheers, >>> Guy. >>> >>> >>> >>> I am running Fedora 9 >>> mysql has been installed (see below:) >>> [root at nagios etc]# rpm -qa | grep mysql >>> qt-mysql-4.5.0-14.fc9.i386 >>> mysql-administrator-5.0r12-8.fc9.i386 >>> mysql-server-5.0.77-1.fc9.i386 >>> mysql-devel-5.0.77-1.fc9.i386 >>> mysql-connector-odbc-3.51.24r1071-1.fc9.i386 >>> mysql-connector-java-3.1.12-5.fc9.i386 >>> php-mysql-5.2.6-2.fc9.i386 >>> mysql-5.0.77-1.fc9.i386 >>> libdbi-dbd-mysql-0.8.3-2.fc9.i386 >>> mysql-libs-5.0.77-1.fc9.i386 >>> nagios-plugins-mysql-1.4.13-9.fc9.i386 >>> mysql-gui-common-5.0r12-8.fc9.i386 >>> below is infor from mysql for nagios db for >>> ndoutils.... >>> mysql> use nagios >>> Reading table information for completion of >>> table and column names >>> You can turn off this feature to get a >>> quicker startup with -A >>> Database changed >>> mysql> show tables; >>> +-------------------------------------+ >>> | Tables_in_nagios | >>> +-------------------------------------+ >>> | ndo_acknowledgements | >>> | ndo_commands | >>> | ndo_commenthistory | >>> | ndo_comments | >>> | ndo_configfiles | >>> | ndo_configfilevariables | >>> | ndo_conninfo | >>> | ndo_contact_addresses | >>> | ndo_contact_notificationcommands | >>> | ndo_contactgroup_members | >>> | ndo_contactgroups | >>> | ndo_contactnotificationmethods | >>> | ndo_contactnotifications | >>> | ndo_contacts | >>> | ndo_customobjectvariables | >>> | ndo_downtimehistory | >>> | ndo_eventhandlers | >>> | ndo_externalcommands | >>> | ndo_flappinghistory | >>> | ndo_host_contactgroups | >>> | ndo_host_parenthosts | >>> | ndo_hostchecks | >>> | ndo_hostdependencies | >>> | ndo_hostescalation_contactgroups | >>> | ndo_hostescalations | >>> | ndo_hostextinfo | >>> | ndo_hostgroup_members | >>> | ndo_hostgroups | >>> | ndo_hosts | >>> | ndo_hoststatus | >>> | ndo_instances | >>> | ndo_logentries | >>> | ndo_notifications | >>> | ndo_objects | >>> | ndo_processevents | >>> | ndo_programstatus | >>> | ndo_runtimevariables | >>> | ndo_scheduleddowntime | >>> | ndo_service_contactgroups | >>> | ndo_servicechecks | >>> | ndo_servicedependencies | >>> | ndo_serviceescalation_contactgroups | >>> | ndo_serviceescalations | >>> | ndo_serviceextinfo | >>> | ndo_servicegroup_members | >>> | ndo_servicegroups | >>> | ndo_services | >>> | ndo_servicestatus | >>> | ndo_statehistory | >>> | ndo_systemcommands | >>> | ndo_timedeventqueue | >>> | ndo_timedevents | >>> | ndo_timeperiod_timeranges | >>> | ndo_timeperiods | >>> +-------------------------------------+ >>> 54 rows in set (0.00 sec) >>> mysql> >>> >>> Network Operations Center Manager >>> Experis Data Center LLC >>> 8209 Valley Pike >>> PO Box 535 >>> Middletown,VA 22645 >>> phone:540-869-8702 >>> cell:240-988-3267 >>> fax:540-869-8710 >>> mailto:e-mail%3Analoi at experisdatacenters.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 >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.lelievre at aznetwork.fr Mon Jun 29 11:42:55 2009 From: sebastien.lelievre at aznetwork.fr (=?ISO-8859-1?Q?=22M=2E_S=E9bastien_LELIEVRE=22?=) Date: Mon, 29 Jun 2009 11:42:55 +0200 Subject: How to monitor Windows Scheduled Tasks? Message-ID: <4A488C9F.9060900@aznetwork.fr> Greetings, I saw that NSClient++ can do it with : ; Extremly early beta of a task-schedule checker ;CheckTaskSched.dll How does it work? Is there any other way to do this? Best Regards, -- M. S?bastien LELI?VRE Ing?nieur Syst?me & Base de Donn?es AZ Network 40, rue Amp?re 61000 ALEN?ON (ORNE) FRANCE ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steffen.Rachel at bartec.de Mon Jun 29 12:01:28 2009 From: Steffen.Rachel at bartec.de (Rachel Steffen) Date: Mon, 29 Jun 2009 12:01:28 +0200 Subject: How to monitor Windows Scheduled Tasks? In-Reply-To: <4A488C9F.9060900@aznetwork.fr> References: <4A488C9F.9060900@aznetwork.fr> Message-ID: <847C8B990A3CFB468591F5F5214C24D1C2DEF6@mgh-ex01.bartec.lan> Hi, >> I saw that NSClient++ can do it with : >> ; Extremly early beta of a task-schedule checker ;CheckTaskSched.dll >> How does it work? I don't use it because of the early beta warning but I found somthing interesting. It's a collection of varios Windows checks... http://sourceforge.net/projects/nagiosplugincol/ Try it, it works fine for me. Regards Steffen ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Mon Jun 29 12:12:01 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Mon, 29 Jun 2009 12:12:01 +0200 Subject: How to monitor Windows Scheduled Tasks? In-Reply-To: <4A488C9F.9060900@aznetwork.fr> References: <4A488C9F.9060900@aznetwork.fr> Message-ID: <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> hi, at work I have written a very simple perl script that parses the output of the windows command schtasks /query. I let it execute thru nrpe in the windows servers (win2k3 std) that have scheduled jobs. It is a very simple script and it works for us. It requires a perl installation in the windows servers, but if one can install .Net, why not perl ? :-) -- Groeten, J.Asenjo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 13:23:24 2009 From: jonathan.wheeler at stfc.ac.uk (Wheeler, JF (Jonathan)) Date: Mon, 29 Jun 2009 12:23:24 +0100 Subject: FW: NDO Utils Question In-Reply-To: References: Message-ID: > -----Original Message----- > From: Christopher McAtackney [mailto:cristoir at gmail.com] > Sent: 25 June 2009 16:33 > > > Results passing into the command pipe are stored. ?The relevant > > parameters are in nagios.cfg; they are external_command_buffer_slots and > > check_result_buffer_slots - by default these are set to 4096 (see > > documentation within the configuration file). > > Great, that's what I was hoping for. Do you have any experience of > setting this buffer to much higher values? Not that I necessarily > intend to, but it's always useful to know the effects of pushing the > system to its limits. Routinely we have external_command_buffer_slots set to 40960 and check_result_buffer_slots set to 61440; this is because we have had problems with our SQL server (it gets very busy for other databases) which delays response to NDOUtils updates which fills up these buffers. You can see the current, high-water mark and setting for these parameters by running command nagiostats (the highest we have reached recently was about 25k buffer slots used). Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -- Scanned by iCritical. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 14:04:55 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 07:04:55 -0500 Subject: need help In-Reply-To: <20090629022316.B820912B999@smtp.sohu.com> References: <20090629022316.B820912B999@smtp.sohu.com> Message-ID: <1DDB4968-8342-410E-BFC9-BA6168CBD571@ena.com> On Jun 28, 2009, at 9:23 PM, gmm wrote: > hello,all! > > I have a strange problem.I have installed nagios with nagios-3.1.2 > and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK! > But i found there is a strange problem with my web monitor page.In > my host groups some hosts status are UP,and some status are > PENDING all the time,but all of these hosts services are all ok! I > try to change my configuration files some way but can't find out the > reason. Are you certain that hosts in a PENDING state have services associated with them and those are in an OK state? Post full configurations for a sample host and service. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 15:17:20 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Mon, 29 Jun 2009 13:17:20 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: nope didn't do the trick - running nagios 2.11 running ndo 1.3.1 as I didn't think 1.4b7 would work with anything less than 2.5 nagios...or that is what I remember reading... [root at nagios plugins.d]# sudo service nagios stop Stopping nagios: .done. [root at nagios plugins.d]# ps -ef | grep ndo root 5619 12431 0 09:12 pts/1 00:00:00 grep ndo naloi 7450 7222 0 Apr28 ? 05:34:40 nautilus --no-default-window --sm-client-id default3 root 13956 1 0 Jun25 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg naloi 27692 27632 0 Apr28 ? 05:37:24 nautilus --no-default-window --sm-client-id default3 [root at nagios plugins.d]# kill 13956 [root at nagios plugins.d]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios plugins.d]# ps -ef | grep ndo root 5623 1 0 09:13 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 5625 12431 0 09:13 pts/1 00:00:00 grep ndo naloi 7450 7222 0 Apr28 ? 05:34:40 nautilus --no-default-window --sm-client-id default3 naloi 27692 27632 0 Apr28 ? 05:37:24 nautilus --no-default-window --sm-client-id default3 [root at nagios plugins.d]# sudo service nagios start Starting nagios: done. [root at nagios plugins.d]# tail /var/log/nagios/nagios.log [1246281149] Caught SIGTERM, shutting down... [1246281149] Successfully shutdown... (PID=4779) [1246281149] ndomod: Shutdown complete. [1246281149] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1246281254] Nagios 2.11 starting... (PID=5641) [1246281254] LOG VERSION: 2.0 [1246281254] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1246281254] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1246281254] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1246281254] Finished daemonizing... (New PID=5642) [root at nagios plugins.d]# -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, June 29, 2009 03:29 AM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hmmm stop nagios, stop ndo start ndo, start nagios if this doesn't do the trick, please tell again, which nagios version and which ndo version you are currently using. afaik nagios 2 works with ndo 1.4b7 Kind regards, Michael Natalie Aloi wrote the following on 25.06.2009 23:10: I change it but am still getting could not sink data error... # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. #db_prefix= db_prefix=ndo_ then I stopped ndo2db and restarted it, then restarted nagios [root at nagios nagios]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 11550 12431 0 16:01 pts/1 00:00:00 grep ndo2db [root at nagios nagios]# kill 601 [root at nagios nagios]# ps -ef | grep ndo2db root 13403 12431 0 16:07 pts/1 00:00:00 grep ndo2db [root at nagios nagios]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# sudo service nagios restart Running configuration check...done Stopping nagios: .done. Starting nagios: done. [root at nagios sbin]# tail /var/log/nagios/nagios.log [1245960534] Caught SIGTERM, shutting down... [1245960534] Successfully shutdown... (PID=3070) [1245960534] ndomod: Shutdown complete. [1245960534] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245960535] Nagios 2.11 starting... (PID=14253) [1245960535] LOG VERSION: 2.0 [1245960535] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245960535] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245960535] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245960535] Finished daemonizing... (New PID=14254) -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 02:18 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Your database table scheme is with prefix "ndo_" so you have to set that in your ndo2db.cfg too and make sure you start ndo2db first and then nagios. Natalie Aloi wrote: woohoo! Thanks Michael! [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o cp: overwrite `/usr/sbin/ndomod.o'? y [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db [root at nagios src]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db [root at nagios sbin]# Except!...shoot!...I am getting that dumb error but I have those lines verified - ndo2db.cfg and ndomod.cfg files included [root at nagios nagios]# tail /var/log/nagios/nagios.log [1245950692] Caught SIGTERM, shutting down... [1245950692] Successfully shutdown... (PID=739) [1245950692] ndomod: Shutdown complete. [1245950692] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245950693] Nagios 2.11 starting... (PID=1813) [1245950693] LOG VERSION: 2.0 [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245950693] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245950693] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245950693] Finished daemonizing... (New PID=1814) [root at nagios nagios]# more ndomod.cfg ##################################################################### # NDOMOD CONFIG FILE # # Last Modified: 01-10-2006 ##################################################################### # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default # OUTPUT TYPE # This option determines what type of output sink the NDO NEB module # should use for data output. Valid options include: # file = standard text file # tcpsocket = TCP socket # unixsocket = UNIX domain socket (default) #output_type=file #output_type=tcpsocket output_type=unixsocket # OUTPUT # This option determines the name and path of the file or UNIX domain # socket to which output will be sent if the output type option specified # above is "file" or "unixsocket", respectively. If the output type # option is "tcpsocket", this option is used to specify the IP address # of fully qualified domain name of the host that the module should # connect to for sending output. #output=/usr/local/nagios/var/ndo.dat #output=127.0.0.1 output=/var/run/nagios/ndo.sock [root at nagios nagios]# more ndo2db.cfg ##################################################################### # NDO2DB DAEMON CONFIG FILE # # Last Modified: 02-12-2006 ##################################################################### # SOCKET TYPE # This option determines what type of socket the daemon will create # an accept connections from. # Value: # unix = Unix domain socket (default) # tcp = TCP socket socket_type=unix #socket_type=tcp # SOCKET NAME # This option determines the name and path of the UNIX domain # socket that the daemon will create and accept connections from. # This option is only valid if the socket type specified above # is "unix". #socket_name=/usr/local/nagios/var/ndo.sock socket_name=/var/run/nagios/ndo.sock # TCP PORT # This option determines what port the daemon will listen for # connections on. This option is only vlaid if the socket type # specified above is "tcp". tcp_port=5668 # DATABASE SERVER TYPE # This option determines what type of DB server the daemon should # connect to. # Values: # mysql = MySQL # pgsql = PostgreSQL db_servertype=mysql # DATABASE HOST # This option specifies what host the DB server is running on. db_host=localhost # DATABASE PORT # This option specifies the port that the DB server is running on. # Values: # 3306 = Default MySQL port # 5432 = Default PostgreSQL port db_port=3306 # DATABASE NAME # This option specifies the name of the database that should be used. db_name=nagios # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. db_prefix= #db_prefix=ndo_ # DATABASE USERNAME/PASSWORD # This is the username/password that will be used to authenticate to the DB. # The user needs at least SELECT, INSERT, UPDATE, and DELETE privileges on # the database. #db_user=ndouser #db_pass=ndopassword db_user=nagios db_pass=nagios ## TABLE TRIMMING OPTIONS # Several database tables containing Nagios event data can become quite large # over time. Most admins will want to trim these tables and keep only a # certain amount of data in them. The options below are used to specify the # age (in MINUTES) that data should be allowd to remain in various tables # before it is deleted. Using a value of zero (0) for any value means that # that particular table should NOT be automatically trimmed. # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 1 week max_systemcommands_age=10080 # Keep service checks for 1 week max_servicechecks_age=10080 # Keep host checks for 1 week max_hostchecks_age=10080 # Keep event handlers for 31 days max_eventhandlers_age=44640 [root at nagios nagios]# -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 12:39 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed uhm... you should copy the new compiled binary to your nagios/bin directory, but i don't think that will resolv the error anyways. give us a plot of your ndo2db.cfg please. Natalie Aloi wrote: I guess I'm a timid user..(not running make earlier) So ran make - I didn't get any errors but it still says support for database servers not found does that mean I need to re-run for postgresql? [root at nagios ndoutils-1.3.1]# make cd ./src/; make ; cd .. make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl make ndo2db-2x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndo2db-3x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-2x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-3x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -lm -lnsl make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' [root at nagios /]# cd /tmp/ndoutils-1.3.1 [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:41 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Ok...making progress...after rerunning the config the sql libraries were found but now I get about postgresql support....Do I need this? Or Can I just run make? MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.3.1 02-15-2006 *** Type 'make' to compile the NDO utilities. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:29 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 Friedrichmichael.friedrich at univie.ac.atTel: +43 1 4277 14359Vienna University Computer CenterUniversitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 16:10:51 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 29 Jun 2009 16:10:51 +0200 Subject: NDOUtils and Mysql libraries assistance needed In-Reply-To: References: Message-ID: <4A48CB6B.1020002@univie.ac.at> Well ok then... Upgrade to higher Nagios version, getting 1.4b8 from cvs of ndoutils... don't know what to recommend right now for such an old architecture. Natalie Aloi wrote the following on 29.06.2009 15:17: > nope didn't do the trick - running nagios 2.11 running ndo 1.3.1 as I > didn't think 1.4b7 would work with anything less than 2.5 nagios...or > that is what I remember reading... > > [root at nagios plugins.d]# sudo service nagios stop > Stopping nagios: .done. > [root at nagios plugins.d]# ps -ef | grep ndo > root 5619 12431 0 09:12 pts/1 00:00:00 grep ndo > naloi 7450 7222 0 Apr28 ? 05:34:40 nautilus > --no-default-window --sm-client-id default3 > root 13956 1 0 Jun25 ? 00:00:00 ndo2db -c > /etc/nagios/ndo2db.cfg > naloi 27692 27632 0 Apr28 ? 05:37:24 nautilus > --no-default-window --sm-client-id default3 > [root at nagios plugins.d]# kill 13956 > [root at nagios plugins.d]# ndo2db -c /etc/nagios/ndo2db.cfg > [root at nagios plugins.d]# ps -ef | grep ndo > root 5623 1 0 09:13 ? 00:00:00 ndo2db -c > /etc/nagios/ndo2db.cfg > root 5625 12431 0 09:13 pts/1 00:00:00 grep ndo > naloi 7450 7222 0 Apr28 ? 05:34:40 nautilus > --no-default-window --sm-client-id default3 > naloi 27692 27632 0 Apr28 ? 05:37:24 nautilus > --no-default-window --sm-client-id default3 > [root at nagios plugins.d]# sudo service nagios start > Starting nagios: done. > [root at nagios plugins.d]# tail /var/log/nagios/nagios.log > [1246281149] Caught SIGTERM, shutting down... > [1246281149] Successfully shutdown... (PID=4779) > [1246281149] ndomod: Shutdown complete. > [1246281149] Event broker module '/usr/sbin/ndomod.o' deinitialized > successfully. > [1246281254] Nagios 2.11 starting... (PID=5641) > [1246281254] LOG VERSION: 2.0 > [1246281254] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan > Galstad (nagios at nagios.org ) > [1246281254] ndomod: Could not open data sink! I'll keep trying, but > some output may get lost... > [1246281254] Event broker module '/usr/sbin/ndomod.o' initialized > successfully. > [1246281254] Finished daemonizing... (New PID=5642) > [root at nagios plugins.d]# > > -----Original Message----- > *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] > *Sent:* Monday, June 29, 2009 03:29 AM > *To:* 'Natalie Aloi' > *Cc:* 'Nagios Users Mail-list' > *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries > assistance needed > > Hmmm > > stop nagios, stop ndo > > start ndo, start nagios > > if this doesn't do the trick, please tell again, which nagios > version and which ndo version you are currently using. afaik > nagios 2 works with ndo 1.4b7 > > Kind regards, > Michael > > Natalie Aloi wrote the following on 25.06.2009 23:10: >> I change it but am still getting could not sink data error... >> >> # DATABASE TABLE PREFIX >> # Determines the prefix (if any) that should be prepended to >> table names. >> #db_prefix= >> db_prefix=ndo_ >> then I stopped ndo2db and restarted it, then restarted nagios >> [root at nagios nagios]# ps -ef | grep ndo2db >> root 601 1 0 13:04 ? 00:00:00 ndo2db -c >> /etc/nagios/ndo2db.cfg >> root 11550 12431 0 16:01 pts/1 00:00:00 grep ndo2db >> [root at nagios nagios]# kill 601 >> [root at nagios nagios]# ps -ef | grep ndo2db >> root 13403 12431 0 16:07 pts/1 00:00:00 grep ndo2db >> [root at nagios nagios]# cd /usr/sbin >> [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg >> [root at nagios sbin]# sudo service nagios restart >> Running configuration check...done >> Stopping nagios: .done. >> Starting nagios: done. >> [root at nagios sbin]# tail /var/log/nagios/nagios.log >> [1245960534] Caught SIGTERM, shutting down... >> [1245960534] Successfully shutdown... (PID=3070) >> [1245960534] ndomod: Shutdown complete. >> [1245960534] Event broker module '/usr/sbin/ndomod.o' >> deinitialized successfully. >> [1245960535] Nagios 2.11 starting... (PID=14253) >> [1245960535] LOG VERSION: 2.0 >> [1245960535] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan >> Galstad (nagios at nagios.org ) >> [1245960535] ndomod: Could not open data sink! I'll keep trying, >> but some output may get lost... >> [1245960535] Event broker module '/usr/sbin/ndomod.o' initialized >> successfully. >> [1245960535] Finished daemonizing... (New PID=14254) >> >> -----Original Message----- >> *From:* Michael Friedrich [mailto:michael.friedrich at univie.ac.at] >> *Sent:* Thursday, June 25, 2009 02:18 PM >> *To:* 'Natalie Aloi' >> *Cc:* 'Nagios Users Mail-list' >> *Subject:* Re: [Nagios-users] NDOUtils and Mysql libraries >> assistance needed >> >> Your database table scheme is with prefix "ndo_" so you have >> to set that in your ndo2db.cfg too >> >> and make sure you start ndo2db first and then nagios. >> >> >> Natalie Aloi wrote: >>> woohoo! Thanks Michael! >>> [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o >>> cp: overwrite `/usr/sbin/ndomod.o'? y >>> [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db >>> [root at nagios src]# cd /usr/sbin >>> [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg >>> [root at nagios sbin]# ps -ef | grep ndo2db >>> root 601 1 0 13:04 ? 00:00:00 ndo2db -c >>> /etc/nagios/ndo2db.cfg >>> root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db >>> [root at nagios sbin]# >>> >>> Except!...shoot!...I am getting that dumb error but I have >>> those lines verified - ndo2db.cfg and ndomod.cfg files included >>> >>> [root at nagios nagios]# tail /var/log/nagios/nagios.log >>> [1245950692] Caught SIGTERM, shutting down... >>> [1245950692] Successfully shutdown... (PID=739) >>> [1245950692] ndomod: Shutdown complete. >>> [1245950692] Event broker module '/usr/sbin/ndomod.o' >>> deinitialized successfully. >>> [1245950693] Nagios 2.11 starting... (PID=1813) >>> [1245950693] LOG VERSION: 2.0 >>> [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 >>> Ethan Galstad (nagios at nagios.org ) >>> [1245950693] ndomod: Could not open data sink! I'll keep >>> trying, but some output may get lost... >>> [1245950693] Event broker module '/usr/sbin/ndomod.o' >>> initialized successfully. >>> [1245950693] Finished daemonizing... (New PID=1814) >>> >>> [root at nagios nagios]# more ndomod.cfg >>> ##################################################################### >>> # NDOMOD CONFIG FILE >>> # >>> # Last Modified: 01-10-2006 >>> ##################################################################### >>> >>> # INSTANCE NAME >>> # This option identifies the "name" associated with this >>> particular >>> # instance of Nagios and is used to seperate data coming >>> from multiple >>> # instances. Defaults to 'default' (without quotes). >>> instance_name=default >>> >>> # OUTPUT TYPE >>> # This option determines what type of output sink the NDO >>> NEB module >>> # should use for data output. Valid options include: >>> # file = standard text file >>> # tcpsocket = TCP socket >>> # unixsocket = UNIX domain socket (default) >>> #output_type=file >>> #output_type=tcpsocket >>> output_type=unixsocket >>> >>> # OUTPUT >>> # This option determines the name and path of the file or >>> UNIX domain >>> # socket to which output will be sent if the output type >>> option specified >>> # above is "file" or "unixsocket", respectively. If the >>> output type >>> # option is "tcpsocket", this option is used to specify the >>> IP address >>> # of fully qualified domain name of the host that the module >>> should >>> # connect to for sending output. >>> #output=/usr/local/nagios/var/ndo.dat >>> #output=127.0.0.1 >>> output=/var/run/nagios/ndo.sock >>> >>> [root at nagios nagios]# more ndo2db.cfg >>> ##################################################################### >>> # NDO2DB DAEMON CONFIG FILE >>> # >>> # Last Modified: 02-12-2006 >>> ##################################################################### >>> >>> # SOCKET TYPE >>> # This option determines what type of socket the daemon will >>> create >>> # an accept connections from. >>> # Value: >>> # unix = Unix domain socket (default) >>> # tcp = TCP socket >>> socket_type=unix >>> #socket_type=tcp >>> >>> # SOCKET NAME >>> # This option determines the name and path of the UNIX domain >>> # socket that the daemon will create and accept connections >>> from. >>> # This option is only valid if the socket type specified above >>> # is "unix". >>> #socket_name=/usr/local/nagios/var/ndo.sock >>> socket_name=/var/run/nagios/ndo.sock >>> >>> # TCP PORT >>> # This option determines what port the daemon will listen for >>> # connections on. This option is only vlaid if the socket type >>> # specified above is "tcp". >>> tcp_port=5668 >>> >>> # DATABASE SERVER TYPE >>> # This option determines what type of DB server the daemon >>> should >>> # connect to. >>> # Values: >>> # mysql = MySQL >>> # pgsql = PostgreSQL >>> db_servertype=mysql >>> >>> # DATABASE HOST >>> # This option specifies what host the DB server is running on. >>> db_host=localhost >>> >>> # DATABASE PORT >>> # This option specifies the port that the DB server is >>> running on. >>> # Values: >>> # 3306 = Default MySQL port >>> # 5432 = Default PostgreSQL port >>> db_port=3306 >>> >>> # DATABASE NAME >>> # This option specifies the name of the database that should >>> be used. >>> db_name=nagios >>> >>> # DATABASE TABLE PREFIX >>> # Determines the prefix (if any) that should be prepended to >>> table names. >>> db_prefix= >>> #db_prefix=ndo_ >>> >>> # DATABASE USERNAME/PASSWORD >>> # This is the username/password that will be used to >>> authenticate to the DB. >>> # The user needs at least SELECT, INSERT, UPDATE, and DELETE >>> privileges on >>> # the database. >>> #db_user=ndouser >>> #db_pass=ndopassword >>> db_user=nagios >>> db_pass=nagios >>> >>> ## TABLE TRIMMING OPTIONS >>> # Several database tables containing Nagios event data can >>> become quite large >>> # over time. Most admins will want to trim these tables and >>> keep only a >>> # certain amount of data in them. The options below are >>> used to specify the >>> # age (in MINUTES) that data should be allowd to remain in >>> various tables >>> # before it is deleted. Using a value of zero (0) for any >>> value means that >>> # that particular table should NOT be automatically trimmed. >>> # Keep timed events for 24 hours >>> max_timedevents_age=1440 >>> # Keep system commands for 1 week >>> max_systemcommands_age=10080 >>> # Keep service checks for 1 week >>> max_servicechecks_age=10080 >>> # Keep host checks for 1 week >>> max_hostchecks_age=10080 >>> # Keep event handlers for 31 days >>> max_eventhandlers_age=44640 >>> [root at nagios nagios]# >>> >>> >>> >>> -----Original Message----- >>> *From:* Michael Friedrich >>> [mailto:michael.friedrich at univie.ac.at] >>> *Sent:* Thursday, June 25, 2009 12:39 PM >>> *To:* 'Natalie Aloi' >>> *Cc:* 'Nagios Users Mail-list' >>> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >>> libraries assistance needed >>> >>> uhm... you should copy the new compiled binary to your >>> nagios/bin directory, but i don't think that will resolv >>> the error anyways. >>> >>> give us a plot of your ndo2db.cfg please. >>> >>> >>> >>> Natalie Aloi wrote: >>>> I guess I'm a timid user..(not running make earlier) >>>> So ran make - I didn't get any errors but it still says >>>> support for database servers not found does that mean I >>>> need to re-run for postgresql? >>>> >>>> [root at nagios ndoutils-1.3.1]# make >>>> cd ./src/; make ; cd .. >>>> make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' >>>> gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c >>>> gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c >>>> gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c >>>> io.o utils.o -lm -lnsl >>>> gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o >>>> utils.o -lm -lnsl >>>> make ndo2db-2x >>>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>>> gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c >>>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o >>>> dbhandlers-2x.o dbhandlers.c >>>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o >>>> ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o >>>> -L/usr/lib/mysql -lnsl -lmysqlclient >>>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>>> make ndo2db-3x >>>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o >>>> dbhandlers-3x.o dbhandlers.c >>>> gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o >>>> ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o >>>> -L/usr/lib/mysql -lnsl -lmysqlclient >>>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>>> make ndomod-2x.o >>>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>>> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o >>>> ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl >>>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>>> make ndomod-3x.o >>>> make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' >>>> gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o >>>> ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl >>>> make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>>> gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c >>>> io.o utils.o -lm -lnsl >>>> make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' >>>> [root at nagios /]# cd /tmp/ndoutils-1.3.1 >>>> [root at nagios ndoutils-1.3.1]# ndo2db-2x -c >>>> /etc/nagios/ndo2db.cfg >>>> Support for the specified database server is either not >>>> yet supported, or was not found on your system. >>>> [root at nagios ndoutils-1.3.1]# >>>> >>>> -----Original Message----- >>>> *From:* Natalie Aloi >>>> [mailto:naloi at experisdatacenters.com] >>>> *Sent:* Thursday, June 25, 2009 09:41 AM >>>> *To:* 'Nagios Users Mail-list' >>>> *Subject:* Re: [Nagios-users] NDOUtils and Mysql >>>> libraries assistance needed >>>> >>>> Ok...making progress...after rerunning the config >>>> the sql libraries were found but now I get about >>>> postgresql support....Do I need this? Or Can I just >>>> run make? >>>> MySQL library and include file(s) were found! >>>> checking for PQconnectdb in -lpq... no >>>> >>>> *** PostgreSQL library could not be located... >>>> ********************* >>>> You chose to compile NDBXT with PostgreSQL support, >>>> but I was >>>> unable to locate the PostgreSQL library on your >>>> system. If the >>>> library is installed, use the --with-pgsql-lib >>>> argument to specify >>>> the location of the PostgreSQL library. >>>> NOTE: After you install the necessary libraries on >>>> your system: >>>> 1. Make sure /etc/ld.so.conf has an entry for >>>> the directory in >>>> which the PostgreSQL libraries are installed. >>>> 2. Run 'ldconfig' to update the run-time >>>> linker options. >>>> 3. Run 'make devclean' in the NDBXT >>>> distribution to clean out >>>> any old references to your previous compile. >>>> 4. Rerun the configure script. >>>> ******************************************************************** >>>> >>>> checking libpq-fe.h usability... no >>>> checking libpq-fe.h presence... no >>>> checking for libpq-fe.h... no >>>> >>>> *** PostgreSQL include file could not be located... >>>> **************** >>>> You chose to compile NDBXT with PostgreSQL support, >>>> but I was unable >>>> to locate on your system. If the >>>> include file is >>>> installed, use the --with-pgsql-inc argument to >>>> specify the location >>>> of the PostgreSQL include file. >>>> ******************************************************************** >>>> >>>> configure: creating ./config.status >>>> config.status: creating Makefile >>>> config.status: creating src/Makefile >>>> config.status: creating include/config.h >>>> >>>> *** ndoutils 1.3.1 02-15-2006 *** >>>> >>>> Type 'make' to compile the NDO utilities. >>>> [root at nagios ndoutils-1.3.1]# >>>> >>>> -----Original Message----- >>>> *From:* Natalie Aloi >>>> [mailto:naloi at experisdatacenters.com] >>>> *Sent:* Thursday, June 25, 2009 09:29 AM >>>> *To:* 'Nagios Users Mail-list' >>>> *Subject:* Re: [Nagios-users] NDOUtils and >>>> Mysql libraries assistance needed >>>> >>>> So this is what's in ld.so.conf.d....do I just >>>> do steps 2-4 now since there is already a file >>>> that points to it - or do I need to rename >>>> mysql-i386.conf to mysql.conf? >>>> >>>> [root at nagios ld.so.conf.d]# ls -lat >>>> total 32 >>>> drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. >>>> drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . >>>> -rw-r--r-- 1 root root 23 2009-04-27 08:31 >>>> xulrunner-32.conf >>>> -rw-r--r-- 1 root root 15 2009-03-07 18:39 >>>> mysql-i386.conf >>>> -rw-r--r-- 1 root root 16 2008-10-21 05:02 >>>> tix-i386.conf >>>> -rw-r--r-- 1 root root 20 2008-07-07 15:49 >>>> qt-i386.conf >>>> [root at nagios ld.so.conf.d]# more mysql-i386.conf >>>> /usr/lib/mysql >>>> [root at nagios ld.so.conf.d]# >>>> >>>> -----Original Message----- >>>> *From:* Guy Waugh [mailto:guidosh at gmail.com] >>>> *Sent:* Thursday, June 25, 2009 09:07 AM >>>> *To:* 'Natalie Aloi' >>>> *Subject:* Re: [Nagios-users] NDOUtils and >>>> Mysql libraries assistance needed >>>> >>>> Hello, >>>> >>>> On Thu, Jun 25, 2009 at 1:57 PM, Natalie >>>> Aloi >>> > wrote: >>>> >>>> Hi I am having trouble getting ndoutils >>>> to work >>>> during my install I found this >>>> information logged: >>>> >>>> *** MySQL library could not be >>>> located... ************************** >>>> You chose to compile NDBXT with MySQL >>>> support, but I was unable to >>>> locate the MySQL library on your >>>> system. If the library is >>>> installed, use the --with-mysql-lib >>>> argument to specify the >>>> location of the MySQL library. >>>> NOTE: After you install the necessary >>>> libraries on your system: >>>> 1. Make sure /etc/ld.so.conf has >>>> an entry for the directory in >>>> which the MySQL libraries are >>>> installed. >>>> 2. Run 'ldconfig' to update the >>>> run-time linker options. >>>> 3. Run 'make devclean' in the >>>> NDBXT distribution to clean out >>>> any old references to your >>>> previous compile. >>>> 4. Rerun the configure script. >>>> TIP: Try the following.... >>>> ./configure >>>> --with-mysql-lib=/usr/lib/mysql >>>> I have a question about step 1. When I >>>> more the file all it has in it is this >>>> information: >>>> >>>> [root at nagios etc]# more ld.so.conf >>>> include ld.so.conf.d/*.conf >>>> >>>> My question is what is the syntax of >>>> the libraries I have no idea what to >>>> add into this file. >>>> Do I just add "/usr/lib/mysql" ? >>>> >>>> >>>> The best thing to do would be to create a >>>> file in '/etc/ld.so.conf.d' called >>>> 'mysql.conf' that contains, as you suggest, >>>> one line thus: '/usr/lib/mysql' (without >>>> the quotes). Then, proceed with steps 2, 3 >>>> and 4 above. >>>> >>>> Cheers, >>>> Guy. >>>> >>>> >>>> >>>> I am running Fedora 9 >>>> mysql has been installed (see below:) >>>> [root at nagios etc]# rpm -qa | grep mysql >>>> qt-mysql-4.5.0-14.fc9.i386 >>>> mysql-administrator-5.0r12-8.fc9.i386 >>>> mysql-server-5.0.77-1.fc9.i386 >>>> mysql-devel-5.0.77-1.fc9.i386 >>>> mysql-connector-odbc-3.51.24r1071-1.fc9.i386 >>>> mysql-connector-java-3.1.12-5.fc9.i386 >>>> php-mysql-5.2.6-2.fc9.i386 >>>> mysql-5.0.77-1.fc9.i386 >>>> libdbi-dbd-mysql-0.8.3-2.fc9.i386 >>>> mysql-libs-5.0.77-1.fc9.i386 >>>> nagios-plugins-mysql-1.4.13-9.fc9.i386 >>>> mysql-gui-common-5.0r12-8.fc9.i386 >>>> below is infor from mysql for nagios db >>>> for ndoutils.... >>>> mysql> use nagios >>>> Reading table information for >>>> completion of table and column names >>>> You can turn off this feature to get a >>>> quicker startup with -A >>>> Database changed >>>> mysql> show tables; >>>> +-------------------------------------+ >>>> | Tables_in_nagios | >>>> +-------------------------------------+ >>>> | ndo_acknowledgements | >>>> | ndo_commands | >>>> | ndo_commenthistory | >>>> | ndo_comments | >>>> | ndo_configfiles | >>>> | ndo_configfilevariables | >>>> | ndo_conninfo | >>>> | ndo_contact_addresses | >>>> | ndo_contact_notificationcommands | >>>> | ndo_contactgroup_members | >>>> | ndo_contactgroups | >>>> | ndo_contactnotificationmethods | >>>> | ndo_contactnotifications | >>>> | ndo_contacts | >>>> | ndo_customobjectvariables | >>>> | ndo_downtimehistory | >>>> | ndo_eventhandlers | >>>> | ndo_externalcommands | >>>> | ndo_flappinghistory | >>>> | ndo_host_contactgroups | >>>> | ndo_host_parenthosts | >>>> | ndo_hostchecks | >>>> | ndo_hostdependencies | >>>> | ndo_hostescalation_contactgroups | >>>> | ndo_hostescalations | >>>> | ndo_hostextinfo | >>>> | ndo_hostgroup_members | >>>> | ndo_hostgroups | >>>> | ndo_hosts | >>>> | ndo_hoststatus | >>>> | ndo_instances | >>>> | ndo_logentries | >>>> | ndo_notifications | >>>> | ndo_objects | >>>> | ndo_processevents | >>>> | ndo_programstatus | >>>> | ndo_runtimevariables | >>>> | ndo_scheduleddowntime | >>>> | ndo_service_contactgroups | >>>> | ndo_servicechecks | >>>> | ndo_servicedependencies | >>>> | ndo_serviceescalation_contactgroups | >>>> | ndo_serviceescalations | >>>> | ndo_serviceextinfo | >>>> | ndo_servicegroup_members | >>>> | ndo_servicegroups | >>>> | ndo_services | >>>> | ndo_servicestatus | >>>> | ndo_statehistory | >>>> | ndo_systemcommands | >>>> | ndo_timedeventqueue | >>>> | ndo_timedevents | >>>> | ndo_timeperiod_timeranges | >>>> | ndo_timeperiods | >>>> +-------------------------------------+ >>>> 54 rows in set (0.00 sec) >>>> mysql> >>>> >>>> Network Operations Center Manager >>>> Experis Data Center LLC >>>> 8209 Valley Pike >>>> PO Box 535 >>>> Middletown,VA 22645 >>>> phone:540-869-8702 >>>> cell:240-988-3267 >>>> fax:540-869-8710 >>>> mailto:e-mail%3Analoi at experisdatacenters.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 >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 16:17:56 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Mon, 29 Jun 2009 14:17:56 +0000 Subject: NDOUtils and Mysql libraries assistance needed Message-ID: I am not sure why we are running this old version and need to find out if there is a reason and will upgrade if there is no reason not to. thanks for your help! Really! Natalie -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, June 29, 2009 10:10 AM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Well ok then... Upgrade to higher Nagios version, getting 1.4b8 from cvs of ndoutils... don't know what to recommend right now for such an old architecture. Natalie Aloi wrote the following on 29.06.2009 15:17: nope didn't do the trick - running nagios 2.11 running ndo 1.3.1 as I didn't think 1.4b7 would work with anything less than 2.5 nagios...or that is what I remember reading... [root at nagios plugins.d]# sudo service nagios stop Stopping nagios: .done. [root at nagios plugins.d]# ps -ef | grep ndo root 5619 12431 0 09:12 pts/1 00:00:00 grep ndo naloi 7450 7222 0 Apr28 ? 05:34:40 nautilus --no-default-window --sm-client-id default3 root 13956 1 0 Jun25 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg naloi 27692 27632 0 Apr28 ? 05:37:24 nautilus --no-default-window --sm-client-id default3 [root at nagios plugins.d]# kill 13956 [root at nagios plugins.d]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios plugins.d]# ps -ef | grep ndo root 5623 1 0 09:13 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 5625 12431 0 09:13 pts/1 00:00:00 grep ndo naloi 7450 7222 0 Apr28 ? 05:34:40 nautilus --no-default-window --sm-client-id default3 naloi 27692 27632 0 Apr28 ? 05:37:24 nautilus --no-default-window --sm-client-id default3 [root at nagios plugins.d]# sudo service nagios start Starting nagios: done. [root at nagios plugins.d]# tail /var/log/nagios/nagios.log [1246281149] Caught SIGTERM, shutting down... [1246281149] Successfully shutdown... (PID=4779) [1246281149] ndomod: Shutdown complete. [1246281149] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1246281254] Nagios 2.11 starting... (PID=5641) [1246281254] LOG VERSION: 2.0 [1246281254] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1246281254] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1246281254] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1246281254] Finished daemonizing... (New PID=5642) [root at nagios plugins.d]# -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, June 29, 2009 03:29 AM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hmmm stop nagios, stop ndo start ndo, start nagios if this doesn't do the trick, please tell again, which nagios version and which ndo version you are currently using. afaik nagios 2 works with ndo 1.4b7 Kind regards, Michael Natalie Aloi wrote the following on 25.06.2009 23:10: I change it but am still getting could not sink data error... # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. #db_prefix= db_prefix=ndo_ then I stopped ndo2db and restarted it, then restarted nagios [root at nagios nagios]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 11550 12431 0 16:01 pts/1 00:00:00 grep ndo2db [root at nagios nagios]# kill 601 [root at nagios nagios]# ps -ef | grep ndo2db root 13403 12431 0 16:07 pts/1 00:00:00 grep ndo2db [root at nagios nagios]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# sudo service nagios restart Running configuration check...done Stopping nagios: .done. Starting nagios: done. [root at nagios sbin]# tail /var/log/nagios/nagios.log [1245960534] Caught SIGTERM, shutting down... [1245960534] Successfully shutdown... (PID=3070) [1245960534] ndomod: Shutdown complete. [1245960534] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245960535] Nagios 2.11 starting... (PID=14253) [1245960535] LOG VERSION: 2.0 [1245960535] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245960535] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245960535] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245960535] Finished daemonizing... (New PID=14254) -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 02:18 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Your database table scheme is with prefix "ndo_" so you have to set that in your ndo2db.cfg too and make sure you start ndo2db first and then nagios. Natalie Aloi wrote: woohoo! Thanks Michael! [root at nagios src]# cp ndomod-2x.o /usr/sbin/ndomod.o cp: overwrite `/usr/sbin/ndomod.o'? y [root at nagios src]# cp ndo2db-2x /usr/sbin/ndo2db [root at nagios src]# cd /usr/sbin [root at nagios sbin]# ndo2db -c /etc/nagios/ndo2db.cfg [root at nagios sbin]# ps -ef | grep ndo2db root 601 1 0 13:04 ? 00:00:00 ndo2db -c /etc/nagios/ndo2db.cfg root 617 12431 0 13:04 pts/1 00:00:00 grep ndo2db [root at nagios sbin]# Except!...shoot!...I am getting that dumb error but I have those lines verified - ndo2db.cfg and ndomod.cfg files included [root at nagios nagios]# tail /var/log/nagios/nagios.log [1245950692] Caught SIGTERM, shutting down... [1245950692] Successfully shutdown... (PID=739) [1245950692] ndomod: Shutdown complete. [1245950692] Event broker module '/usr/sbin/ndomod.o' deinitialized successfully. [1245950693] Nagios 2.11 starting... (PID=1813) [1245950693] LOG VERSION: 2.0 [1245950693] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1245950693] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1245950693] Event broker module '/usr/sbin/ndomod.o' initialized successfully. [1245950693] Finished daemonizing... (New PID=1814) [root at nagios nagios]# more ndomod.cfg ##################################################################### # NDOMOD CONFIG FILE # # Last Modified: 01-10-2006 ##################################################################### # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default # OUTPUT TYPE # This option determines what type of output sink the NDO NEB module # should use for data output. Valid options include: # file = standard text file # tcpsocket = TCP socket # unixsocket = UNIX domain socket (default) #output_type=file #output_type=tcpsocket output_type=unixsocket # OUTPUT # This option determines the name and path of the file or UNIX domain # socket to which output will be sent if the output type option specified # above is "file" or "unixsocket", respectively. If the output type # option is "tcpsocket", this option is used to specify the IP address # of fully qualified domain name of the host that the module should # connect to for sending output. #output=/usr/local/nagios/var/ndo.dat #output=127.0.0.1 output=/var/run/nagios/ndo.sock [root at nagios nagios]# more ndo2db.cfg ##################################################################### # NDO2DB DAEMON CONFIG FILE # # Last Modified: 02-12-2006 ##################################################################### # SOCKET TYPE # This option determines what type of socket the daemon will create # an accept connections from. # Value: # unix = Unix domain socket (default) # tcp = TCP socket socket_type=unix #socket_type=tcp # SOCKET NAME # This option determines the name and path of the UNIX domain # socket that the daemon will create and accept connections from. # This option is only valid if the socket type specified above # is "unix". #socket_name=/usr/local/nagios/var/ndo.sock socket_name=/var/run/nagios/ndo.sock # TCP PORT # This option determines what port the daemon will listen for # connections on. This option is only vlaid if the socket type # specified above is "tcp". tcp_port=5668 # DATABASE SERVER TYPE # This option determines what type of DB server the daemon should # connect to. # Values: # mysql = MySQL # pgsql = PostgreSQL db_servertype=mysql # DATABASE HOST # This option specifies what host the DB server is running on. db_host=localhost # DATABASE PORT # This option specifies the port that the DB server is running on. # Values: # 3306 = Default MySQL port # 5432 = Default PostgreSQL port db_port=3306 # DATABASE NAME # This option specifies the name of the database that should be used. db_name=nagios # DATABASE TABLE PREFIX # Determines the prefix (if any) that should be prepended to table names. db_prefix= #db_prefix=ndo_ # DATABASE USERNAME/PASSWORD # This is the username/password that will be used to authenticate to the DB. # The user needs at least SELECT, INSERT, UPDATE, and DELETE privileges on # the database. #db_user=ndouser #db_pass=ndopassword db_user=nagios db_pass=nagios ## TABLE TRIMMING OPTIONS # Several database tables containing Nagios event data can become quite large # over time. Most admins will want to trim these tables and keep only a # certain amount of data in them. The options below are used to specify the # age (in MINUTES) that data should be allowd to remain in various tables # before it is deleted. Using a value of zero (0) for any value means that # that particular table should NOT be automatically trimmed. # Keep timed events for 24 hours max_timedevents_age=1440 # Keep system commands for 1 week max_systemcommands_age=10080 # Keep service checks for 1 week max_servicechecks_age=10080 # Keep host checks for 1 week max_hostchecks_age=10080 # Keep event handlers for 31 days max_eventhandlers_age=44640 [root at nagios nagios]# -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Thursday, June 25, 2009 12:39 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed uhm... you should copy the new compiled binary to your nagios/bin directory, but i don't think that will resolv the error anyways. give us a plot of your ndo2db.cfg please. Natalie Aloi wrote: I guess I'm a timid user..(not running make earlier) So ran make - I didn't get any errors but it still says support for database servers not found does that mean I need to re-run for postgresql? [root at nagios ndoutils-1.3.1]# make cd ./src/; make ; cd .. make[1]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c gcc -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl gcc -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl make ndo2db-2x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndo2db-3x make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c gcc -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql -lnsl -lmysqlclient make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-2x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' make ndomod-3x.o make[2]: Entering directory `/tmp/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -lnsl make[2]: Leaving directory `/tmp/ndoutils-1.3.1/src' gcc -g -O2 -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -lm -lnsl make[1]: Leaving directory `/tmp/ndoutils-1.3.1/src' [root at nagios /]# cd /tmp/ndoutils-1.3.1 [root at nagios ndoutils-1.3.1]# ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:41 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Ok...making progress...after rerunning the config the sql libraries were found but now I get about postgresql support....Do I need this? Or Can I just run make? MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h *** ndoutils 1.3.1 02-15-2006 *** Type 'make' to compile the NDO utilities. [root at nagios ndoutils-1.3.1]# -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Thursday, June 25, 2009 09:29 AM To: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed So this is what's in ld.so.conf.d....do I just do steps 2-4 now since there is already a file that points to it - or do I need to rename mysql-i386.conf to mysql.conf? [root at nagios ld.so.conf.d]# ls -lat total 32 drwxr-xr-x 144 root root 12288 2009-06-23 04:06 .. drwxr-xr-x 2 root root 4096 2009-04-28 16:01 . -rw-r--r-- 1 root root 23 2009-04-27 08:31 xulrunner-32.conf -rw-r--r-- 1 root root 15 2009-03-07 18:39 mysql-i386.conf -rw-r--r-- 1 root root 16 2008-10-21 05:02 tix-i386.conf -rw-r--r-- 1 root root 20 2008-07-07 15:49 qt-i386.conf [root at nagios ld.so.conf.d]# more mysql-i386.conf /usr/lib/mysql [root at nagios ld.so.conf.d]# -----Original Message----- From: Guy Waugh [mailto:guidosh at gmail.com] Sent: Thursday, June 25, 2009 09:07 AM To: 'Natalie Aloi' Subject: Re: [Nagios-users] NDOUtils and Mysql libraries assistance needed Hello, On Thu, Jun 25, 2009 at 1:57 PM, Natalie Aloi wrote: Hi I am having trouble getting ndoutils to work during my install I found this information logged: *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql I have a question about step 1. When I more the file all it has in it is this information: [root at nagios etc]# more ld.so.conf include ld.so.conf.d/*.conf My question is what is the syntax of the libraries I have no idea what to add into this file. Do I just add "/usr/lib/mysql" ? The best thing to do would be to create a file in '/etc/ld.so.conf.d' called 'mysql.conf' that contains, as you suggest, one line thus: '/usr/lib/mysql' (without the quotes). Then, proceed with steps 2, 3 and 4 above. Cheers, Guy. I am running Fedora 9 mysql has been installed (see below:) [root at nagios etc]# rpm -qa | grep mysql qt-mysql-4.5.0-14.fc9.i386 mysql-administrator-5.0r12-8.fc9.i386 mysql-server-5.0.77-1.fc9.i386 mysql-devel-5.0.77-1.fc9.i386 mysql-connector-odbc-3.51.24r1071-1.fc9.i386 mysql-connector-java-3.1.12-5.fc9.i386 php-mysql-5.2.6-2.fc9.i386 mysql-5.0.77-1.fc9.i386 libdbi-dbd-mysql-0.8.3-2.fc9.i386 mysql-libs-5.0.77-1.fc9.i386 nagios-plugins-mysql-1.4.13-9.fc9.i386 mysql-gui-common-5.0r12-8.fc9.i386 below is infor from mysql for nagios db for ndoutils.... mysql> use nagios Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +-------------------------------------+ | Tables_in_nagios | +-------------------------------------+ | ndo_acknowledgements | | ndo_commands | | ndo_commenthistory | | ndo_comments | | ndo_configfiles | | ndo_configfilevariables | | ndo_conninfo | | ndo_contact_addresses | | ndo_contact_notificationcommands | | ndo_contactgroup_members | | ndo_contactgroups | | ndo_contactnotificationmethods | | ndo_contactnotifications | | ndo_contacts | | ndo_customobjectvariables | | ndo_downtimehistory | | ndo_eventhandlers | | ndo_externalcommands | | ndo_flappinghistory | | ndo_host_contactgroups | | ndo_host_parenthosts | | ndo_hostchecks | | ndo_hostdependencies | | ndo_hostescalation_contactgroups | | ndo_hostescalations | | ndo_hostextinfo | | ndo_hostgroup_members | | ndo_hostgroups | | ndo_hosts | | ndo_hoststatus | | ndo_instances | | ndo_logentries | | ndo_notifications | | ndo_objects | | ndo_processevents | | ndo_programstatus | | ndo_runtimevariables | | ndo_scheduleddowntime | | ndo_service_contactgroups | | ndo_servicechecks | | ndo_servicedependencies | | ndo_serviceescalation_contactgroups | | ndo_serviceescalations | | ndo_serviceextinfo | | ndo_servicegroup_members | | ndo_servicegroups | | ndo_services | | ndo_servicestatus | | ndo_statehistory | | ndo_systemcommands | | ndo_timedeventqueue | | ndo_timedevents | | ndo_timeperiod_timeranges | | ndo_timeperiods | +-------------------------------------+ 54 rows in set (0.00 sec) mysql> Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 mailto:e-mail%3Analoi at experisdatacenters.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 ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 Friedrichmichael.friedrich at univie.ac.atTel: +43 1 4277 14359Vienna University Computer CenterUniversitaetsstrasse 7 A-1010 Vienna, Austria ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 Friedrichmichael.friedrich at univie.ac.atTel: +43 1 4277 14359Vienna University Computer CenterUniversitaetsstrasse 7 A-1010 Vienna, Austria -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 16:55:26 2009 From: lmw94002 at hotmail.com (Mathew Walker) Date: Mon, 29 Jun 2009 10:55:26 -0400 Subject: How to monitor Windows Scheduled Tasks? In-Reply-To: <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> Message-ID: Hrm, I bet you could even do a few things with a batch script. I haven't flexed those muscles in awhile, but you would be surpised what can be done. Would you care to share the script? I would love to try it out in my test environment. -- Mat W. - http://www.techadre.com > Date: Mon, 29 Jun 2009 12:12:01 +0200 > From: natxo.asenjo at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How to monitor Windows Scheduled Tasks? > > hi, > > at work I have written a very simple perl script that parses the > output of the windows command schtasks /query. I let it execute thru > nrpe in the windows servers (win2k3 std) that have scheduled jobs. > > It is a very simple script and it works for us. It requires a perl > installation in the windows servers, but if one can install .Net, why > not perl ? :-) > > -- > Groeten, > J.Asenjo > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 18:43:59 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 29 Jun 2009 09:43:59 -0700 Subject: weirdness in the scheduling of host checks Message-ID: <872CB0AEB377C240A112DD7C10B2592904B216C1@wtps0171.amers.ibechtel.com> Greetings All, Is anyone else seeing weird things in the scheduling of checks? I don't have a good sense of what is wrong but, it's definitely not the way it was under Nagios 1.0 (or the way it should be). I've been watching the scheduling queue on our Nagios 3 box for a week or so, here's a list of what I've seen: Under Nagios 3.0.6: - host checks staying at the top of the queue for a long time (over an hour sometimes) even when they have a timeout set at 30 seconds Under Nagios 3.1.6 - host check showing up unexpectedly in the scheduling queue, this morning when I looked at the queue the top event was about 15 minutes behind the current time but things were moving along okay, when I last checked there was a host check at the top of the queue with a next check time from 4 days ago. - We had a host go down yesterday (Sunday) but we did not get alerted. When I looked at it in Nagios I noticed the host check was in an OKAY state and the 'last check' value for it was from 12 days ago (6/17/2009)! - Host checks don't seem to be getting stuck in the queue like they were under 3.0.6, at least not for as long I'm going to submit a ticket to tracker.nagios.org but would like to have more empirical evidence of the problem first, all I have so far are symptoms, no good data points (logs, errors, etc.). Is anyone else seeing this type of behavior? Nagios 3.1.2 (also had trouble with 3.0.6) RHEL 5 64 bit Regards, -greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anoonan at gmail.com Mon Jun 29 19:19:14 2009 From: anoonan at gmail.com (Andrew Noonan) Date: Mon, 29 Jun 2009 12:19:14 -0500 Subject: check_period help? Message-ID: <7c6fe39f0906291019p38ccab64n256d7f8cf3535dc8@mail.gmail.com> Hi all, I've got a service that I'm trying to monitor with different thresholds at different times of day. To do this, I created two timeperiods, covering 1:00am to 7:00am, and 7:00am to 1:00am (I think), two service templates that each use these periods, and two services that do the same check with differing thresholds, each inheriting the different service template. But when I look at the scheduling for these two services, it's almost opposite what I think it should be. The 'late' service is next scheduled at 00:00 and the 'normal' service is scheduled at 1:00am. I'm running 3.0.6. The other templates used do not change the check_period, except for the generic-service template. Here are the definitions: ################ Time periods ################# define timeperiod { timeperiod_name 7a-1a_every_day alias from 7:00am to 1:00am tuesday 00:00-00:59,7:00-24:00 wednesday 00:00-00:59,7:00-24:00 sunday 00:00-00:59,7:00-24:00 thursday 00:00-00:59,7:00-24:00 saturday 00:00-00:59,7:00-24:00 monday 00:00-00:59,7:00-24:00 friday 00:00-00:59,7:00-24:00 } define timeperiod { timeperiod_name 1a-7a_every_day alias 1:00am to 7:00am tuesday 01:00-06:59 thursday 01:00-06:59 sunday 01:00-06:59 saturday 01:00-06:59 monday 01:00-06:59 friday 01:00-06:59 wednesday 01:00-06:59 } ####################### Service Templates ###################### define service { name Time-1a_to_7a check_period 7a-1a_every_day register 0 } define service { name Time-7a_to_1a check_period 1a-7a_every_day register 0 } ################### Services ##################### define service { host_name US service_description index use Freq-15-min-check,graphing_service_pnp,Time-7a_to_1a,generic-service check_command register 1 } define service { host_name US service_description lateindex use Freq-15-min-check,graphing_service_pnp,Time-1a_to_7a,generic-service check_command register 1 } Thanks, Andrew ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at davidkrider.com Mon Jun 29 20:08:26 2009 From: david at davidkrider.com (David Krider) Date: Mon, 29 Jun 2009 14:08:26 -0400 Subject: Getting Nagios to "go active" Message-ID: <1246298906.19409.14.camel@workstation.aei-tech.com> I've gotten a second Nagios server setup to work as a failover for a primary server. I think I've been thorough. The secondary server is successfully receiving and processing both passive host and passive service checks. Notifications and both kinds of active checks are turned off. When I stop the Nagios process on the primary server, the secondary fails the freshness check of the primary instance check. However, nothing happens after this, and it seems that I have 2 problems. 1) Even though I have max_check_attempts set to 1 on the master server's "check_nagios" check, it just continues to force active checks when the freshness times out. I expect it to fail hard, and stop checking the freshness. Maybe I'm wrong, though. Maybe the expected behavior here is to get the active host check going, and then the freshness will stop complaining. 2) All of my scripts seem to be lined up. The event handler fires, and I see proper things in the nagios.cmd file. [1246294798] ENABLE_NOTIFICATIONS [1246294798] START_EXECUTING_SVC_CHECKS [1246294820] START_EXECUTING_HOST_CHECKS I know the command file is being processed because I can get the secondary server to force checks from the cgi's. However, none of these things commands ever work, whether I force them from the command line, or from the cgi's. What could be keeping these from taking effect? I've been all over this thing for a couple days now, and I think my eyes are starting to glaze over. The only thing I can think of would be to enable all of these things in the master config file, but then immediately force them "off" when I start up the process. Then maybe it will work to turn them back on later? That can't be right... Desperately, dk ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 20:30:47 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Mon, 29 Jun 2009 11:30:47 -0700 Subject: weirdness in the scheduling of host checks In-Reply-To: <872CB0AEB377C240A112DD7C10B2592904B216C1@wtps0171.amers.ibechtel.com> References: <872CB0AEB377C240A112DD7C10B2592904B216C1@wtps0171.amers.ibechtel.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592904B216C3@wtps0171.amers.ibechtel.com> I figured out my problem, I had two instances of Nagios running. That would explain a lot of the scheduling weirdness, maybe all of it. :-) > Is anyone else seeing weird things in the scheduling of checks? I don't have a good sense of what is wrong but, it's definitely not the way it was under Nagios 1.0 (or the way it should be). I've been watching the scheduling queue on our Nagios 3 box for a week or so, here's a list of what I've seen: > Under Nagios 3.0.6: > - host checks staying at the top of the queue for a long time (over an hour sometimes) even when they have a timeout set at 30 seconds > Under Nagios 3.1.6 > - host check showing up unexpectedly in the scheduling queue, this morning when I looked at the queue the top event was about 15 minutes behind the current time but things were moving along okay, when I last checked there was a host check at the top of the queue with a next check time from 4 days ago. > - We had a host go down yesterday (Sunday) but we did not get alerted. When I looked at it in Nagios I noticed the host check was in an OKAY state and the 'last check' value for it was from 12 days ago (6/17/2009)! > - Host checks don't seem to be getting stuck in the queue like they were under 3.0.6, at least not for as long > I'm going to submit a ticket to tracker.nagios.org but would like to have more empirical evidence of the problem first, all I have so far are symptoms, no good data points (logs, errors, etc.). Is anyone else seeing this type of behavior? > Nagios 3.1.2 (also had trouble with 3.0.6) > RHEL 5 64 bit -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 20:38:14 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Mon, 29 Jun 2009 18:38:14 +0000 Subject: RPM for Nagios 3.1.2 Fedora 9? Message-ID: Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 20:55:01 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 29 Jun 2009 20:55:01 +0200 Subject: RPM for Nagios 3.1.2 Fedora 9? In-Reply-To: References: Message-ID: <4A490E05.7010803@univie.ac.at> download the tar.gz and configure, make all, make fullinstall (read the quickstart guide!) without configure options, nagios will be installed into /usr/local/nagios/ Natalie Aloi wrote: > Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I > located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the > latest rpm > > thanks! > Natalie > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 21:08:53 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 29 Jun 2009 12:08:53 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> <909570.53767.qm@web111204.mail.gq1.yahoo.com> <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> Message-ID: <1787.32301.qm@web111208.mail.gq1.yahoo.com> I actually tried check_command check_dhcp Without !/check_dh....! but still error. Having an ip address didnt make a difference. Also chmod (u+s) on the plugin but that didnt help either. Dont you think it had something to do with the fact that this particular server is a slave dhcp? ________________________________ From: Edgar Matzinger To: Dei Bertine Cc: "nagios-users at lists.sourceforge.net" Sent: Friday, June 26, 2009 3:47:06 AM Subject: RE: [Nagios-users] check_dhcp issue LS, Dei scribbled on 2009-06-26: > Ok, here's my definition in services: > > define service{ > use local-service > host_name serveip1.dev.net > service_description check_dhcp > check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$ > } the command_line should be: check_command check_dhcp Without !/check_dh....! > > Here's my command.cfg: > define command{ > command_name check_dhcp > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ > } In your examples from a few posts ago, you specify a *hostname*. In your service description, an *IP address*. Does that make any difference? HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Mon Jun 29 21:11:52 2009 From: mgius at createspace.com (Mark Gius) Date: Mon, 29 Jun 2009 12:11:52 -0700 Subject: RPM for Nagios 3.1.2 Fedora 9? In-Reply-To: References: Message-ID: <4A4911F8.2000409@createspace.com> The tarball of nagios 3.1.0 that i have contains "nagios.spec", which I've used to create RPMs for Red Hat. Untar the archive and rpmbuild it, it shouldn't take very long. -Gius Natalie Aloi wrote: > Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I > located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the > latest rpm > > thanks! > Natalie > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 21:20:53 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 14:20:53 -0500 Subject: check_dhcp issue In-Reply-To: <1787.32301.qm@web111208.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> <909570.53767.qm@web111204.mail.gq1.yahoo.com> <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> <1787.32301.qm@web111208.mail.gq1.yahoo.com> Message-ID: <697AAA86-B799-4F37-AE22-BD1B75058AD5@ena.com> On Jun 29, 2009, at 2:08 PM, Dei Bertine wrote: > I actually tried check_command check_dhcp Without !/ > check_dh....! but still error. > Having an ip address didnt make a difference. > Also chmod (u+s) on the plugin but that didnt help either. > Dont you think it had something to do with the fact that this > particular server is a slave dhcp? Maybe? As Andreas indicated, there is some difference between your command line test and how you've configured nagios to check. You didn't tell us exactly how you tested from the command line so we're left to simply speculate (not good for you). Based on this error you reported- "CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 86400 sec.", I'd guess that you are getting a DHCP response but it's not from the server at $HOSTADDRESS$, which you've required the response to come from (-s), whatever that is in the matching host{} definition. Is the slave server that you're wanting to check on the same broadcast network as your nagios server? Is it's IP the same IP as the 'address' parameter in that check's host defintion? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 21:23:05 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 29 Jun 2009 12:23:05 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <1787.32301.qm@web111208.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> <909570.53767.qm@web111204.mail.gq1.yahoo.com> <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> <1787.32301.qm@web111208.mail.gq1.yahoo.com> Message-ID: <719051.8920.qm@web111202.mail.gq1.yahoo.com> Here's the error now I'm getting in Nagios page: CRITICAL: Received 1 DHCPOFFER(s), 0 of 1 requested servers responded, max lease time = 86400 sec. Launching it manually using nagiosid is ok: ~/libexec$ ./check_dhcp -s serveip1.dev.net OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec. ________________________________ From: Dei Bertine To: Edgar Matzinger Cc: "nagios-users at lists.sourceforge.net" Sent: Monday, June 29, 2009 12:08:53 PM Subject: Re: [Nagios-users] check_dhcp issue I actually tried check_command check_dhcp Without !/check_dh....! but still error. Having an ip address didnt make a difference. Also chmod (u+s) on the plugin but that didnt help either. Dont you think it had something to do with the fact that this particular server is a slave dhcp? ________________________________ From: Edgar Matzinger To: Dei Bertine Cc: "nagios-users at lists.sourceforge.net" Sent: Friday, June 26, 2009 3:47:06 AM Subject: RE: [Nagios-users] check_dhcp issue LS, Dei scribbled on 2009-06-26: > Ok, here's my definition in services: > > define service{ > use local-service > host_name serveip1.dev.net > service_description check_dhcp > check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$ > } the command_line should be: check_command check_dhcp Without !/check_dh....! > > Here's my command.cfg: > define command{ > command_name check_dhcp > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ > } In your examples from a few posts ago, you specify a *hostname*. In your service description, an *IP address*. Does that make any difference? HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 21:02:17 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 29 Jun 2009 12:02:17 -0700 (PDT) Subject: RPM for Nagios 3.1.2 Fedora 9? In-Reply-To: References: Message-ID: <989391.57237.qm@web111215.mail.gq1.yahoo.com> Have you seen this one? http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html ________________________________ From: Natalie Aloi To: Nagios Users Mail-list Sent: Monday, June 29, 2009 11:38:14 AM Subject: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9? Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Mon Jun 29 21:46:53 2009 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Mon, 29 Jun 2009 15:46:53 -0400 Subject: change service check timeout in Nagios Message-ID: <20090629194653.GA37590@bewilderbeast.blackhelicopters.org> Hi, It appears that numerous people have had this issue, but most of them have it because they're doing something else wrong or have other issues. I have a check that legitimately takes longer than 10 seconds to complete, and none of the documentation or archives appear relevant. I run check_vrrp against hardware on the other side of the world. (I've suggested that I install a monitor closer to the remote equipment, but that's just not feasible right now.) Running check_vrrp by hand gets me an answer in 14-17 seconds. # /usr/bin/time -h /usr/local/libexec/nagios/check_snmp_vrrp.pl -H hostname -C community -s backup -t 20 8 vrid backup :OK 14.58s real 0.43s user 0.17s sys # When I use this plugin in Nagios, however, it errors out with: CRITICAL - Plugin timed out after 10 seconds Yes, I know it times out in 10 seconds. The plugin takes 14-17 seconds to run. The timeout appears to be within Nagios itself, as the script doesn't time itself out. Surely there's a built-in way to tell Nagios that either a particular check can take longer, or increase the 10-second timeout within Nagios itself? The service_check_timeout value kills runaway processes, which this isn't. I know increasing the timeout would impact my performance for my other apps, but I have a separate Nagios instance for these devices. If I can't change the timeout I'll write an external script that runs the program and forwards the results to Nagios as a passive check, but that seems unnecessarily cumbersome. Any suggestions? Am I missing something in the documentation? Any help appreciated, ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.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 naloi at experisdatacenters.com Mon Jun 29 21:53:20 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Mon, 29 Jun 2009 19:53:20 +0000 Subject: RPM for Nagios 3.1.2 Fedora 9? Message-ID: well my preference is to use the rpm since it can detect dependancies... as you can see I attempted to install 3.0.6 since that was the highest version of nagios I could find with an rpm file...it requires libgd.so.1.8 I did a search on that and found gd-1.8.4-11.i386.rpm but it won't install that since gd2.0 is newer :-( I don't understand why this version of nagios is requesting a library that is older than what I currently have installed - should I uninstall gd2.0...or should I use --force option of rpm? thanks! [root at nagios Download]# rpm -Uvh nagios-3.0.6-1.rh9.rf.i386.rpm warning: nagios-3.0.6-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: libgd.so.1.8 is needed by nagios-3.0.6-1.rh9.rf.i386 libttf.so.2 is needed by nagios-3.0.6-1.rh9.rf.i386 [root at nagios Download]# [root at nagios Download]# rpm -ivh gd-1.8.4-11.i386.rpm warning: gd-1.8.4-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e error: failed to stat /root/.gvfs: Transport endpoint is not connected Preparing... ########################################### [100%] package gd-2.0.35-5.fc9.i386 (which is newer than gd-1.8.4-11.i386) is already installed [root at nagios Download]# rpm -ivh freetype1-1.4-0.5.pre.fc9.i386.rpm error: failed to stat /root/.gvfs: Transport endpoint is not connected Preparing... ########################################### [100%] 1:freetype1 ########################################### [100%] -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, June 29, 2009 02:55 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9? download the tar.gz and configure, make all, make fullinstall (read the quickstart guide!) without configure options, nagios will be installed into /usr/local/nagios/ Natalie Aloi wrote: Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.com ------------------------------------------------------------ ------------------------------------------------------------------------------ ------------------------------------------------------------ _______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 22:06:57 2009 From: deibertine at yahoo.com (Dei Bertine) Date: Mon, 29 Jun 2009 13:06:57 -0700 (PDT) Subject: check_dhcp issue In-Reply-To: <1787.32301.qm@web111208.mail.gq1.yahoo.com> References: <247144.53161.qm@web111216.mail.gq1.yahoo.com> <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> <909570.53767.qm@web111204.mail.gq1.yahoo.com> <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> <1787.32301.qm@web111208.mail.gq1.yahoo.com> Message-ID: <588840.85261.qm@web111211.mail.gq1.yahoo.com> I got it working! I had to create a separate check command definition and specified $USER1$/check_dhcp "IP Address" Now Nagios is happy! OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec. Thanks. ________________________________ From: Dei Bertine To: Edgar Matzinger Cc: "nagios-users at lists.sourceforge.net" Sent: Monday, June 29, 2009 12:08:53 PM Subject: Re: [Nagios-users] check_dhcp issue I actually tried check_command check_dhcp Without !/check_dh....! but still error. Having an ip address didnt make a difference. Also chmod (u+s) on the plugin but that didnt help either. Dont you think it had something to do with the fact that this particular server is a slave dhcp? ________________________________ From: Edgar Matzinger To: Dei Bertine Cc: "nagios-users at lists.sourceforge.net" Sent: Friday, June 26, 2009 3:47:06 AM Subject: RE: [Nagios-users] check_dhcp issue LS, Dei scribbled on 2009-06-26: > Ok, here's my definition in services: > > define service{ > use local-service > host_name serveip1.dev.net > service_description check_dhcp > check_command check_dhcp!/check_dhcp -s $HOSTADDRESS$ > } the command_line should be: check_command check_dhcp Without !/check_dh....! > > Here's my command.cfg: > define command{ > command_name check_dhcp > command_line $USER1$/check_dhcp -s $HOSTADDRESS$ > } In your examples from a few posts ago, you specify a *hostname*. In your service description, an *IP address*. Does that make any difference? HTH, cu l8r, Edgar. -- |\ /| : : Addr: Valid Eindhoven B.V. / | \/ | : Edgar R. Matzinger : t.a.v. E.R. Matzinger / | | : : Flight Forum 565 \ /| /\| : : 5657DR Eindhoven \/ / \ : Valid Eindhoven BV : \ /\ / : : \/ |\/ : : | : : Disclaimer: Any comments, opinions made are mine, etc ... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jun 29 22:19:03 2009 From: naloi at experisdatacenters.com (Natalie Aloi) Date: Mon, 29 Jun 2009 20:19:03 +0000 Subject: RPM for Nagios 3.1.2 Fedora 9? Message-ID: yea...I tried that...it didn't work :-( I guess I just need to uninstall libgd.so.2.0.0 I'm always reluctant to go backwards in versions.... [root at nagios lib]# ln libgd.so.2 libgd.so.1.8 [root at nagios lib]# ls -il libgd.so.2 756492 lrwxrwxrwx 2 root root 14 2008-05-15 10:53 libgd.so.2 -> libgd.so.2.0.0 [root at nagios lib]# ls -il libgd.so.1.8 756492 lrwxrwxrwx 2 root root 14 2008-05-15 10:53 libgd.so.1.8 -> libgd.so.2.0.0 [root at nagios lib]# cd /home/naloi/Download [root at nagios Download]# sudo service nagios stop Stopping nagios: .done. [root at nagios Download]# rpm -Uvh nagios-3.0.6-1.rh9.rf.i386.rpm warning: nagios-3.0.6-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: libgd.so.1.8 is needed by nagios-3.0.6-1.rh9.rf.i386 [root at nagios Download]# sudo service nagios start Starting nagios: done. [root at nagios Download]# -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Monday, June 29, 2009 04:04 PM To: 'Natalie Aloi' Subject: RE: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9? Hi - You can also try to fool RPM by making symlinks from the libgd.so.1.8 to the latest libgd.so.2.x.x files. Not sure it will work, but worth a shot... it's complaining because fc 9 must not know about libgd-2.x.x , and the nagios package asks for <= libgd-1.8.x ... (This is one reason I gave up on keeping up with Fedora's release cycle(s) long ago, and have since moved nagios to CentOS, since it is almost perfectly in line with RHEL 5.X now!... :) Cheers, Hth, jamie -----Original Message----- From: Natalie Aloi [mailto:naloi at experisdatacenters.com] Sent: Monday, June 29, 2009 3:53 PM To: Nagios Users Mail-list Subject: Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9? well my preference is to use the rpm since it can detect dependancies... as you can see I attempted to install 3.0.6 since that was the highest version of nagios I could find with an rpm file...it requires libgd.so.1.8 I did a search on that and found gd-1.8.4-11.i386.rpm but it won't install that since gd2.0 is newer :-( I don't understand why this version of nagios is requesting a library that is older than what I currently have installed - should I uninstall gd2.0...or should I use --force option of rpm? thanks! [root at nagios Download]# rpm -Uvh nagios-3.0.6-1.rh9.rf.i386.rpm warning: nagios-3.0.6-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: libgd.so.1.8 is needed by nagios-3.0.6-1.rh9.rf.i386 libttf.so.2 is needed by nagios-3.0.6-1.rh9.rf.i386 [root at nagios Download]# [root at nagios Download]# rpm -ivh gd-1.8.4-11.i386.rpm warning: gd-1.8.4-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e error: failed to stat /root/.gvfs: Transport endpoint is not connected Preparing... ########################################### [100%] package gd-2.0.35-5.fc9.i386 (which is newer than gd-1.8.4-11.i386) is already installed [root at nagios Download]# rpm -ivh freetype1-1.4-0.5.pre.fc9.i386.rpm error: failed to stat /root/.gvfs: Transport endpoint is not connected Preparing... ########################################### [100%] 1:freetype1 ########################################### [100%] -----Original Message----- From: Michael Friedrich [mailto:michael.friedrich at univie.ac.at] Sent: Monday, June 29, 2009 02:55 PM To: 'Natalie Aloi' Cc: 'Nagios Users Mail-list' Subject: Re: [Nagios-users] RPM for Nagios 3.1.2 Fedora 9? download the tar.gz and configure, make all, make fullinstall (read the quickstart guide!) without configure options, nagios will be installed into /usr/local/nagios/ Natalie Aloi wrote: Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest rpm thanks! Natalie Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:naloi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.saldivar at advocatecreditrepair.com Mon Jun 29 22:01:15 2009 From: mike.saldivar at advocatecreditrepair.com (Mike Saldivar) Date: Mon, 29 Jun 2009 14:01:15 -0600 Subject: check_dhcp issue In-Reply-To: <1787.32301.qm@web111208.mail.gq1.yahoo.com> References: <892576.11391.qm@web111209.mail.gq1.yahoo.com> <4A445FF1.3010308@op5.se> <650472.81267.qm@web111208.mail.gq1.yahoo.com> <4A446376.4000508@op5.se> <140961.98886.qm@web111209.mail.gq1.yahoo.com> <4A4484CE.5030804@op5.se> <909570.53767.qm@web111204.mail.gq1.yahoo.com> <2FBC78030439A7499BAA99B46CCC1C6D0237045F5C@vld1-ex01> <1787.32301.qm@web111208.mail.gq1.yahoo.com> Message-ID: <61ab46280906291301taa1f807y13a790d3d3358f2f@mail.gmail.com> On Mon, Jun 29, 2009 at 1:08 PM, Dei Bertine wrote: > I actually tried check_command check_dhcp Without !/check_dh....! > but still error. > Having an ip address didnt make a difference. > Also chmod (u+s) on the plugin but that didnt help either. > Dont you think it had something to do with the fact that this particular > server is a slave dhcp? > For comparison, here's my DHCP service definition: define service{ use generic-service host_name qcserver3 service_description DHCP check_command check_dhcp!qcserver3 } Try changing your service definition to this and see if it works: define service{ use local-service host_name serveip1.dev.net service_description check_dhcp check_command check_dhcp!serveip1.dev.net } -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 22:44:40 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 29 Jun 2009 13:44:40 -0700 Subject: "can't shift that many" error Message-ID: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> While attempting to restart the nagios daemon i get the following error. Any thoughts? $ sudo /etc/init.d/nagios2 restart * Restarting nagios2 monitoring daemon nagios2 shift: 225: can't shift that many shift: 1: can't shift that many Thanks, JJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 22:44:01 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 15:44:01 -0500 Subject: change service check timeout in Nagios In-Reply-To: <20090629194653.GA37590@bewilderbeast.blackhelicopters.org> References: <20090629194653.GA37590@bewilderbeast.blackhelicopters.org> Message-ID: On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote: > Surely there's a built-in way to tell Nagios that either a particular > check can take longer, or increase the 10-second timeout within Nagios > itself? The service_check_timeout value kills runaway processes, > which this isn't. But that's what you need to change. Think of it as the maximum amount of time a plugin is allowed to run if the plugin doesn't terminate itself within a reasonable amount of time. Misbehaving plugins are just the most common reason to hit this timeout. It should be set higher than the longest expected running time for any of your plugins. > I know increasing the timeout would impact my > performance for my other apps, but I have a separate Nagios instance > for these devices. Not necessarily. Only if your other plugins are badly behaved and don't terminate themselves in a timely manner. Mine is typically set to 60 seconds as I have some long running checks as well. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:09:40 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 16:09:40 -0500 Subject: "can't shift that many" error In-Reply-To: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> References: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> Message-ID: <583E0A11-E2AB-4574-BD78-0448E6C16D7D@ena.com> On Jun 29, 2009, at 3:44 PM, Jeremiah Jester wrote: > While attempting to restart the nagios daemon i get the following > error. Any thoughts? > > $ sudo /etc/init.d/nagios2 restart > * Restarting nagios2 monitoring daemon > nagios2 > > shift: 225: can't shift that many > shift: 1: can't shift that many shift doesn't appear to be used in the init script in the tarball. Are you using some OS or package version of nagios? If so, which? Have you modified the init script from it's default? Is nagios running? Does a stop and then start work correctly? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:21:59 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 29 Jun 2009 14:21:59 -0700 Subject: "can't shift that many" error In-Reply-To: <583E0A11-E2AB-4574-BD78-0448E6C16D7D@ena.com> References: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> <583E0A11-E2AB-4574-BD78-0448E6C16D7D@ena.com> Message-ID: <2d4ba7ab0906291421t57943280y1e0d19ef72988cb7@mail.gmail.com> Marc, Thanks for your reply. I am using that nagios 2 package apart of Ubuntu. It appears to still work but the errors are worrisome. $:/etc/nagios2/scripts$ sudo /etc/init.d/nagios2 stop * Stopping nagios2 monitoring daemon nagios2 shift: 225: can't shift that many [ OK ] $:/etc/nagios2/scripts$ sudo /etc/init.d/nagios2 start * Starting nagios2 monitoring daemon nagios2 shift: 1: can't shift that many I have not modified the init script. Thanks, JJ On Mon, Jun 29, 2009 at 2:09 PM, Marc Powell wrote: > > On Jun 29, 2009, at 3:44 PM, Jeremiah Jester wrote: > > > While attempting to restart the nagios daemon i get the following > > error. Any thoughts? > > > > $ sudo /etc/init.d/nagios2 restart > > * Restarting nagios2 monitoring daemon > > nagios2 > > > > shift: 225: can't shift that many > > shift: 1: can't shift that many > > shift doesn't appear to be used in the init script in the tarball. Are > you using some OS or package version of nagios? If so, which? Have you > modified the init script from it's default? > > Is nagios running? Does a stop and then start work correctly? > > -- > Marc > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.Kustner at RetirementPartner.com Mon Jun 29 23:20:09 2009 From: Tom.Kustner at RetirementPartner.com (Kustner, Tom) Date: Mon, 29 Jun 2009 15:20:09 -0600 Subject: How often does Nagios need restarting? (Quis custodiet ipsos custodes?) In-Reply-To: <8147CCE3C4A8764DA9980125EE70E823DD9C23@nuexchg.norwich.edu> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> <8147CCE3C4A8764DA9980125EE70E823DD9C23@nuexchg.norwich.edu> Message-ID: <2CA6F80551BEBC4EB515701F3509FC6C05C1EDC0@ITS-EXMBX3.its.corp.gwl.com> Jamie, Sorry for the very tardy response - it's been busy. Two responses to all your good comments: 1. The problems with Nagios "slacking on the job" were confirmed by the Nagios administrator. Permanently, he is looking to move the setup to a box with more memory (it is currently a Red Hat box). Temporarily, he talked about using cron to restart it every night. Since it's been more responsive lately, I have a feeling he has done just that. I did ask if he thought whether upgrading the NSClient would help, since we are currently using NSClient++ 0.3.1 and NSClient++ 0.3.6 was just released, but while encouraging me to try out 0.3.6, he feels memory constraints on the current box is the cause of the problem and nothing else. I didn't post any configs files because I am not the Nagios administrator and don't have access to the configs or the box itself except for what I am allowed to see for our hosts via http. Thanks for letting me know 2.9 is relatively stable and that it, in all likelihood, is not the cause of the problem. 2. Thanks for pointing out that host checks are not always performed unless a service has been detected has failing. I value the service checking, but I assumed it was also pinging the host on a regular basis and that is apparently not the case. I come from the background of using products such as Insight Manager and OpenManage which are vendor-specific solutions that have their limitations but which automatically perform pinging on a regular basis. I'll look at the documentation for information on getting that set for us. It explains my frustration as to why a server can reboot and Nagios not detect it. Thanks again for taking time. Tom Kustner MCSE, CNE Inside: 68728 Outside: 414-906-8728 Mobile: 414-559-0889 -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Friday, June 19, 2009 8:23 PM To: Kustner, Tom Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] How often does Nagios need restarting? (Quiscustodiet ipsos custodes?) Hi Tom, I've tried to answer your questions to the best of my own personal knowledge -I have replaced any of your original "*" symbols with my own on all my comments/thoughts below, since my MS outlook client apparently just sucks, so this appears more readable. Regards, jamie -----Original Message----- From: Kustner, Tom [mailto:Tom.Kustner at RetirementPartner.com] Sent: Friday, June 19, 2009 5:35 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How often does Nagios need restarting? (Quiscustodiet ipsos custodes?) I am a Nagios user, not the administrator. We are running Nagios 2.9 on RHEL 4 or 5. Overall, 200+ hosts with 3000 services being monitored. I have access for monitoring a smaller number of hosts. * ok, understood... In another posting, I alluded to an issue where a host had gone down but no alert was sent out. The issue surfaced again today and as was done the other time, Nagios was restarted to "fix" the problem. I am naturally concerned about the unreliability. * did you get any on-list or off-list replies at all? You have not mentioned if you had it resolved or not, but it sound like the answer is no to possibly both(?) Any thoughts on this problem? Specifically: What are best practices for making sure Nagios does not fall down on the job? Is there something not set right? * Understanding your setup and the way nagios works is how you ensure it stands up... a mis-config sounds likely, but who knows... Are other Nagios administrators restarting Nagios on a weekly or nightly basis to keep it on the job? * Heck no! That's why we run it on Linux or Solaris! :) Is this an issue specific to Nagios 2.9? Was 2.9 a spotty version? *Not to my knowledge - all stable releases have worked very reliably here, especially 2.9 now that I look back... For a given host, why would "active checks" be enabled, yet "N/A" appears in the "Next Active Check" field? * RTM - host checks are not always performed unless service checks fail, and since I've been a manual-slacker myself, that may not even be the true correct answer (Marc? :) Thanks for any help. -Tom Kustner- * Not to sound negative/condescending or anything like that, but your install will truly only work as well as you have maintained it/understand it. You should really look at your current config files and read the manual on 2.9, or upgrade to 3.x and again rtm... Also, you have not sent anything specific related to your problematic config(s) for anyone on this list to even guess either way whether or not something is mis-configured. If you are concerned about posting your configs/setup, change stuff properly to hide what you need to on-list. (I apologize if I have missed your earlier posting. Many here try our best to help people here when possible, but sometimes we are all busy at the same time, who knows!?). Cheers, Jamie The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information. This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:29:37 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 16:29:37 -0500 Subject: "can't shift that many" error In-Reply-To: <2d4ba7ab0906291421t57943280y1e0d19ef72988cb7@mail.gmail.com> References: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> <583E0A11-E2AB-4574-BD78-0448E6C16D7D@ena.com> <2d4ba7ab0906291421t57943280y1e0d19ef72988cb7@mail.gmail.com> Message-ID: On Jun 29, 2009, at 4:21 PM, Jeremiah Jester wrote: > Marc, > > Thanks for your reply. > > I am using that nagios 2 package apart of Ubuntu. It appears to > still work but the errors are worrisome. Since you're using a non-standard version of the init script (modified by Ubuntu), hopefully someone on the list with access/knowledge of that script can help. Alternately you can try the Ubuntu forums, or probably more appropriately, file a bug report with 'ubuntu-bug -p nagios2'. -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:33:10 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 29 Jun 2009 14:33:10 -0700 Subject: Fwd: "can't shift that many" error In-Reply-To: <200906292053.n5TKrUOd024131@pop.uai.com.br> References: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> <200906292053.n5TKrUOd024131@pop.uai.com.br> Message-ID: <2d4ba7ab0906291433j49785c3ep62415b8f07fea46@mail.gmail.com> I keep getting these error messages when i post to the list.. any ideas why? ---------- Forwarded message ---------- From: <> Date: 2009/6/29 Subject: [Nagios-users] "can't shift that many" error To: jeremiahjester at gmail.com Erro ao enviar o email para nagios-users at lists.sourceforge.net 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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:44:35 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 16:44:35 -0500 Subject: How often does Nagios need restarting? (Quis custodiet ipsos custodes?) In-Reply-To: <2CA6F80551BEBC4EB515701F3509FC6C05C1EDC0@ITS-EXMBX3.its.corp.gwl.com> References: <2CA6F80551BEBC4EB515701F3509FC6C0596BB63@ITS-EXMBX3.its.corp.gwl.com> <8147CCE3C4A8764DA9980125EE70E823DD9C23@nuexchg.norwich.edu> <2CA6F80551BEBC4EB515701F3509FC6C05C1EDC0@ITS-EXMBX3.its.corp.gwl.com> Message-ID: On Jun 29, 2009, at 4:20 PM, Kustner, Tom wrote: > 2. Thanks for pointing out that host checks are not always performed > unless a service has been detected has failing. I value the service > checking, but I assumed it was also pinging the host on a regular > basis > and that is apparently not the case. I come from the background of > using products such as Insight Manager and OpenManage which are > vendor-specific solutions that have their limitations but which > automatically perform pinging on a regular basis. I'll look at the > documentation for information on getting that set for us. It explains > my frustration as to why a server can reboot and Nagios not detect it. Word of warning - you *do not* want to enable regularly scheduled host checks under nagios-2.x. The current logic of only checking a host when a service is not OK is more than sufficient under normal circumstances. Enabling regularly scheduled checks under 2.x will only hurt your performance. While service checks can be done in parallel, host checks are done serially in that version. While a host is being checked, nagios stops *all other activity* until the host check completes; other checks, logging, notifications, everything. To illustrate, if you have 200 hosts, sending 5 pings (~5 seconds to complete), it will take 200(hosts) x 5(seconds) = 1000 seconds just to check your host status. That's over 16 minutes that nagios is only checking those hosts and none of the services on those hosts, or sending notifications, or anything else. Nagios-3.x implements parallel host checks, just like service checks, but even then regularly scheduled host checks aren't really needed or encouraged and are just a waste of resources that could be used for service checks, IMHO. Even then, unless you're checking _very_ frequently, a modern server can easily reboot in the time between checks. I'd recommend using check_snmp as a service check to look at the snmp reported uptime and alert if it's less than a reasonable interval of your normal check interval (say 5-10 minutes typically). -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:46:19 2009 From: marc at ena.com (Marc Powell) Date: Mon, 29 Jun 2009 16:46:19 -0500 Subject: Fwd: "can't shift that many" error In-Reply-To: <2d4ba7ab0906291433j49785c3ep62415b8f07fea46@mail.gmail.com> References: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> <200906292053.n5TKrUOd024131@pop.uai.com.br> <2d4ba7ab0906291433j49785c3ep62415b8f07fea46@mail.gmail.com> Message-ID: On Jun 29, 2009, at 4:33 PM, Jeremiah Jester wrote: > I keep getting these error messages when i post to the list.. any > ideas why? Looks like some subscriber to the list has a full mailbox and it's set to notify senders. Welcome to the world of community listservs... -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 23:57:19 2009 From: jeremiahjester at gmail.com (Jeremiah Jester) Date: Mon, 29 Jun 2009 14:57:19 -0700 Subject: How to surpess notifications if ping fails. Message-ID: <2d4ba7ab0906291457p285229f5nb513160f5f7cfee4@mail.gmail.com> Hello, I have a working nagios2 installation under Ubuntu. I would like to configure nagios so that when a host cannot be ping'd by nagios all other services related to this server/s are stopped so I don't get a slew of notifications for that host. I'm thinking i want servicedepency directive in my dependecies.cfg file? Does this sound about right? define servicedependency{ hostgroup_name servers service_description ping dependent_hostgroup_name servers dependent_service_description * execution_failure_criteria w,c notification_failure_criteria w,u,c } Thanks, JJ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 30 00:14:46 2009 From: teckadmin at gmail.com (Kevin Mitnikc) Date: Mon, 29 Jun 2009 15:14:46 -0700 Subject: Creating custom service checks Message-ID: I am looking for some assistance in setting up custom service monitors. I am looking to monitor the Microsoft Exchange services, along with a couple other services. How do I go about setting this up in Nagios. I have browsed over some direction, but I seem to only be finding sections of setting this up. Can somebody please give me some direction and instruction on creating these custom service monitors. Cheers, Kevin M. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 30 00:38:23 2009 From: allanc at chickenandporn.com (Allan Clark) Date: Mon, 29 Jun 2009 23:38:23 +0100 Subject: Creating custom service checks In-Reply-To: References: Message-ID: <37c712e0906291538q17c8b33cu4a764fc5fcdb7b80@mail.gmail.com> Hi Kevin; On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc wrote: > I am looking for some assistance in setting up custom service monitors. I > am looking to monitor the Microsoft Exchange services, along with a couple > other services. How do I go about setting this up in Nagios. > > I have browsed over some direction, but I seem to only be finding sections > of setting this up. > > Can somebody please give me some direction and instruction on creating > these custom service monitors. > Can you go into more detail? Nagios is configured by editing the config files, and running a "nagios -v" to check them; if you have examples of what you're trying, including the "couple other services", we might be able to offer concrete suggestions. ...even if it means you give us a rundown of a part of your network, with IP address replaced to 192.168.x.y IPs and host FQDNs replaced to names such as exch01.example.com. It might help to get such an initial example setup to get you going. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 30 01:00:53 2009 From: teckadmin at gmail.com (Kevin Mitnikc) Date: Mon, 29 Jun 2009 16:00:53 -0700 Subject: Creating custom service checks In-Reply-To: <37c712e0906291538q17c8b33cu4a764fc5fcdb7b80@mail.gmail.com> References: <37c712e0906291538q17c8b33cu4a764fc5fcdb7b80@mail.gmail.com> Message-ID: I am looking to monitor the Microsoft Exchange Server services such as: Microsoft Exchange Management "C:\Program Files\Exchsrvr\bin\exmgmt.exe" These services will be monitored on the exchsrv01 server. How do I go about creating this service to be monitored? All the services I'm currently monitoring have already been predefined for me. Thanks, Kevin M. 2009/6/29 Allan Clark > Hi Kevin; > On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc wrote: > >> I am looking for some assistance in setting up custom service monitors. I >> am looking to monitor the Microsoft Exchange services, along with a couple >> other services. How do I go about setting this up in Nagios. >> >> I have browsed over some direction, but I seem to only be finding sections >> of setting this up. >> >> Can somebody please give me some direction and instruction on creating >> these custom service monitors. >> > > Can you go into more detail? Nagios is configured by editing the config > files, and running a "nagios -v" to check them; if you have examples of what > you're trying, including the "couple other services", we might be able to > offer concrete suggestions. ...even if it means you give us a rundown of a > part of your network, with IP address replaced to 192.168.x.y IPs and host > FQDNs replaced to names such as exch01.example.com. > > It might help to get such an initial example setup to get you going. > > Allan > -- > allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish > please, no proprietary attachments (http://tinyurl.com/cbgq) > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mccarrms at gmail.com Tue Jun 30 01:12:06 2009 From: mccarrms at gmail.com (Mathew S. McCarrell) Date: Mon, 29 Jun 2009 19:12:06 -0400 Subject: RPM for Nagios 3.1.2 Fedora 9? In-Reply-To: References: Message-ID: There is a newer rpm available from dag but you won't be able to pull it until you add the repository to your system. Feel free to browse http://mirror.clarkson.edu/dag/ as well to find it if you don't want add the repository. You may find this useful as well. http://docs.cslabs.clarkson.edu/wiki/Install_Nagios_on_CentOS_5 Hope that helps. Matt -- Mathew S. McCarrell Clarkson University '10 mccarrms at gmail.com mccarrms at clarkson.edu On Mon, Jun 29, 2009 at 2:38 PM, Natalie Aloi wrote: > Does anyone know of a location for rpm for Nagios 3.1.2 on fedora 9? I > located http://dag.wieers.com/rpm/packages/nagios/ but 2.11 is the latest > rpm > > thanks! > Natalie > > Network Operations Center Manager > Experis Data Center LLC > 8209 Valley Pike > PO Box 535 > Middletown,VA 22645 > phone:540-869-8702 > cell:240-988-3267 > fax:540-869-8710 > e-mail:naloi at experisdatacenters.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 -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From computer11111 at sohu.com Tue Jun 30 03:16:08 2009 From: computer11111 at sohu.com (gmm) Date: Tue, 30 Jun 2009 09:16:08 +0800 Subject: need help Message-ID: <20090630011528.B60FA966525@smtp.sohu.com> hi,list? > >On Jun 28, 2009, at 9:23 PM, gmm wrote: > >> hello,all! >> >> I have a strange problem.I have installed nagios with nagios-3.1.2 >> and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK! >> But i found there is a strange problem with my web monitor page.In >> my host groups some hosts status are UP,and some status are >> PENDING all the time,but all of these hosts services are all ok! I >> try to change my configuration files some way but can't find out the >> reason. > >Are you certain that hosts in a PENDING state have services associated >with them and those are in an OK state? Post full configurations for a >sample host and service. > Yes, i can. There is a host in a PENDING state named potevio_db1 with the next configuration: ####################### potevio_db1 ########################################## define host{ use generic-host ; Inherit default values from a template host_name potevio_db1 alias potevio_db1 address 10.1.1.120 max_check_attempts 2 contact_groups admins } define service{ use generic-service ; Name of service template to use host_name potevio_db1 service_description PING check_command check-host-alive } define service{ use generic-service ; Name of service template to use host_name potevio_db1 service_description telnet check_command check_telnet } By the way, i have a host named potevio_app1 which configuration almost same like potevio_db1 is in OK state. Differents with potevio_app1 and potevio_db1 are host_name and address only. There is another strange phenomena.I have several hostgroups, each hostgroup have several hosts. But there is only three hosts in these hostgroups can get the right state(OK),all others are PENDING. > > >------------------------------------------------------------------------------ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null = = = = = = = = = = = = = = = = = = = = ????????? ?? ????????gmm ????????computer11111 at sohu.com ??????????2009-06-30 ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 30 03:50:21 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 29 Jun 2009 18:50:21 -0700 Subject: Fwd: "can't shift that many" error In-Reply-To: <2d4ba7ab0906291433j49785c3ep62415b8f07fea46@mail.gmail.com> References: <2d4ba7ab0906291344m74a52620idcbaf3447252ecb4@mail.gmail.com> <200906292053.n5TKrUOd024131@pop.uai.com.br> <2d4ba7ab0906291433j49785c3ep62415b8f07fea46@mail.gmail.com> Message-ID: <20090630015021.GW2587@bakgwai.americas.hpqcorp.net> On Mon, 29 Jun 2009, Jeremiah Jester wrote: > I keep getting these error messages when i post to the list.. any ideas why? > > ---------- Forwarded message ---------- > From: <> > Date: 2009/6/29 > Subject: [Nagios-users] "can't shift that many" error > To: jeremiahjester at gmail.com > > > Erro ao enviar o email para nagios-users at lists.sourceforge.net > A caixa postal do destinatario esta cheia. O email foi recusado > The mailbox is full. The email was rejected. Someone on the list apparently has a full mailbox. My guess is that it's someone in Brazil or Portugal, if you feel like tracking him down. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From computer11111 at sohu.com Tue Jun 30 04:54:51 2009 From: computer11111 at sohu.com (gmm) Date: Tue, 30 Jun 2009 10:54:51 +0800 Subject: need help Message-ID: <20090630025411.8FC3A6FF826@smtp.sohu.com> hi,list? > >On Jun 28, 2009, at 9:23 PM, gmm wrote: > >> hello,all! >> >> I have a strange problem.I have installed nagios with nagios-3.1.2 >> and nagios-plugins-1.4.13 on RHEL5.2 and it looks like OK! >> But i found there is a strange problem with my web monitor page.In >> my host groups some hosts status are UP,and some status are >> PENDING all the time,but all of these hosts services are all ok! I >> try to change my configuration files some way but can't find out the >> reason. > >Are you certain that hosts in a PENDING state have services associated >with them and those are in an OK state? Post full configurations for a >sample host and service. > Yes, i can. There is a host in a PENDING state named potevio_db1 with the next configuration: ####################### potevio_db1 ########################################## define host{ use generic-host ; Inherit default values from a template host_name potevio_db1 alias potevio_db1 address 10.1.1.120 max_check_attempts 2 contact_groups admins } define service{ use generic-service ; Name of service template to use host_name potevio_db1 service_description PING check_command check-host-alive } define service{ use generic-service ; Name of service template to use host_name potevio_db1 service_description telnet check_command check_telnet } By the way, i have a host named potevio_app1 which configuration almost same like potevio_db1 is in OK state. Differents with potevio_app1 and potevio_db1 are host_name and address only. There is another strange phenomena.I have several hostgroups, each hostgroup have several hosts. But there is only three hosts in these hostgroups can get the right state(OK),all others are PENDING. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 02:35:53 2009 From: subscription at kkeane.com (Kevin Keane) Date: Mon, 29 Jun 2009 17:35:53 -0700 Subject: Creating custom service checks In-Reply-To: References: <37c712e0906291538q17c8b33cu4a764fc5fcdb7b80@mail.gmail.com> Message-ID: <4A495DE9.5070402@kkeane.com> What do you want to monitor about these services? I am monitoring Exchange in two separate ways. First, I am using the check_services_stopped plugin from the NagiosPluginsNT collection. It monitors whatever services are configured with Automatic startup, so it normally would include the Exchange services. The second thing I am doing is use the check_nt_win.exe plugin to get the values of Exchange-related performance counters (this requires NSClient++ to be installed and running). check_nt_win.exe is my own plugin, but it really is simply a Windows port of the check_nt plugin that comes with NSClient++. Kevin Mitnikc wrote: > I am looking to monitor the Microsoft Exchange Server services such as: > > Microsoft Exchange Management > "C:\Program Files\Exchsrvr\bin\exmgmt.exe" > > These services will be monitored on the exchsrv01 server. How do I go > about creating this service to be monitored? All the services I'm > currently monitoring have already been predefined for me. > > > Thanks, > > Kevin M. > > 2009/6/29 Allan Clark > > > Hi Kevin; > > On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc > wrote: > > I am looking for some assistance in setting up custom service > monitors. I am looking to monitor the Microsoft Exchange > services, along with a couple other services. How do I go > about setting this up in Nagios. > > I have browsed over some direction, but I seem to only be > finding sections of setting this up. > > Can somebody please give me some direction and instruction on > creating these custom service monitors. > > > Can you go into more detail? Nagios is configured by editing the > config files, and running a "nagios -v" to check them; if you have > examples of what you're trying, including the "couple other > services", we might be able to offer concrete suggestions. > ...even if it means you give us a rundown of a part of your > network, with IP address replaced to 192.168.x.y IPs and host > FQDNs replaced to names such as exch01.example.com > . > > It might help to get such an initial example setup to get you going. > > Allan > -- > allanc at chickenandporn.com "? > ?" http://linkedin.com/in/goldfish > please, no proprietary attachments (http://tinyurl.com/cbgq) > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 30 05:51:20 2009 From: hamid at pcsourcenet.com (Hamid Majidy) Date: Mon, 29 Jun 2009 20:51:20 -0700 Subject: Creating custom service checks In-Reply-To: References: <37c712e0906291538q17c8b33cu4a764fc5fcdb7b80@mail.gmail.com> Message-ID: <0ad901c9f936$07b39690$171ac3b0$@com> Kevin, you can either monitor user services (POP3, SMTP, MAPI, IMAP, LDAP, etc) by monitoring the ports or monitor for existence in memory of processes through an SNMP agent. Windows SNMP agent, written for Windows NT 4, are broken and do not report data accurately. A good alternative is SNMP Informant, which at least used to have a free version. I hear Net-snmp now has a Windows version as well which might work. Path of least resistance is to monitor (service) ports which do not require an agent to be installed, which is likely what you want anyway. From: Kevin Mitnikc [mailto:teckadmin at gmail.com] Sent: Monday, June 29, 2009 4:01 PM To: Allan Clark Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Creating custom service checks I am looking to monitor the Microsoft Exchange Server services such as: Microsoft Exchange Management "C:\Program Files\Exchsrvr\bin\exmgmt.exe" These services will be monitored on the exchsrv01 server. How do I go about creating this service to be monitored? All the services I'm currently monitoring have already been predefined for me. Thanks, Kevin M. 2009/6/29 Allan Clark Hi Kevin; On Mon, Jun 29, 2009 at 23:14, Kevin Mitnikc wrote: I am looking for some assistance in setting up custom service monitors. I am looking to monitor the Microsoft Exchange services, along with a couple other services. How do I go about setting this up in Nagios. I have browsed over some direction, but I seem to only be finding sections of setting this up. Can somebody please give me some direction and instruction on creating these custom service monitors. Can you go into more detail? Nagios is configured by editing the config files, and running a "nagios -v" to check them; if you have examples of what you're trying, including the "couple other services", we might be able to offer concrete suggestions. ...even if it means you give us a rundown of a part of your network, with IP address replaced to 192.168.x.y IPs and host FQDNs replaced to names such as exch01.example.com . It might help to get such an initial example setup to get you going. Allan -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 09:00:09 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Jun 2009 09:00:09 +0200 Subject: Getting Nagios to "go active" In-Reply-To: <1246298906.19409.14.camel@workstation.aei-tech.com> References: <1246298906.19409.14.camel@workstation.aei-tech.com> Message-ID: <4A49B7F9.9040905@op5.se> David Krider wrote: > I've gotten a second Nagios server setup to work as a failover for a > primary server. I think I've been thorough. The secondary server is > successfully receiving and processing both passive host and passive > service checks. Notifications and both kinds of active checks are turned > off. When I stop the Nagios process on the primary server, the secondary > fails the freshness check of the primary instance check. However, > nothing happens after this, and it seems that I have 2 problems. > > 1) Even though I have max_check_attempts set to 1 on the master server's > "check_nagios" check, it just continues to force active checks when the > freshness times out. I expect it to fail hard, and stop checking the > freshness. Maybe I'm wrong, though. Maybe the expected behavior here is > to get the active host check going, and then the freshness will stop > complaining. > > 2) All of my scripts seem to be lined up. The event handler fires, and I > see proper things in the nagios.cmd file. > > [1246294798] ENABLE_NOTIFICATIONS > [1246294798] START_EXECUTING_SVC_CHECKS > [1246294820] START_EXECUTING_HOST_CHECKS > > I know the command file is being processed because I can get the > secondary server to force checks from the cgi's. However, none of these > things commands ever work, whether I force them from the command line, > or from the cgi's. What could be keeping these from taking effect? I've > been all over this thing for a couple days now, and I think my eyes are > starting to glaze over. > > The only thing I can think of would be to enable all of these things in > the master config file, but then immediately force them "off" when I > start up the process. Then maybe it will work to turn them back on > later? That can't be right... > > Desperately, Use merlin. It was designed for setting up redundant/loadbalanced systems and will transfer your check-results between your two nagios instances seemlessly. Check takeover happens automagically too, since both servers will try to schedule the check and whichever instance happens to execute it first will keep on executing the check until its latency reaches 15 seconds, where the server that didn't execute the check originally will automatically take it over because it'll be in its scheduling queue at the right moment and time. You can find merlin at http://git.op5.org/git/nagios/merlin.git. The project page is at http://www.op5.org/community/projects/merlin HTH -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treibholz at sozial-inkompetent.de Tue Jun 30 08:47:33 2009 From: treibholz at sozial-inkompetent.de (Klaus Umbach) Date: Tue, 30 Jun 2009 08:47:33 +0200 Subject: View all unhandled services and all unhandled hosts In-Reply-To: <200906241330.46613.ck@iphh.net> References: <200906241330.46613.ck@iphh.net> Message-ID: <20090630064733.GA14397@umbach-racing.de> On 24/06/09 13:30, Christoph Kluenter wrote: > Hi, > > I want to see all unhandled service problems and all unhandled host problems > on one page. > I thought, this URL would do it: > status.cgi?host=all&servicestatustypes=28&serviceprops=42&hoststatustypes=12&hostprops=42 I use status.cgi?host=all&type=detail&hoststatustypes=6&hostprops=10&serviceprops=42&servicestatustypes=60 It doesn't show Hosts without defined services, so all my hosts have the service PING defined., too. > But it doesn't. It shows nothing instead of the down hosts and services I > have. > > Any ideas ? > > Kind regards, > Christoph > -- BOFH excuse #3: electromagnetic radiation from satellite debris ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastien.lelievre at aznetwork.fr Tue Jun 30 10:23:47 2009 From: sebastien.lelievre at aznetwork.fr (=?ISO-8859-1?Q?=22M=2E_S=E9bastien_LELIEVRE=22?=) Date: Tue, 30 Jun 2009 10:23:47 +0200 Subject: How to monitor Windows Scheduled Tasks? In-Reply-To: <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> Message-ID: <4A49CB93.9000909@aznetwork.fr> Natxo Asenjo a ?crit : > hi, > > at work I have written a very simple perl script that parses the > output of the windows command schtasks /query. I let it execute thru > nrpe in the windows servers (win2k3 std) that have scheduled jobs. > > It is a very simple script and it works for us. It requires a perl > installation in the windows servers, but if one can install .Net, why > not perl ? :-) > I am also interested in that script :-) Thank you very much for your Feedback! Regards, -- M. S?bastien LELI?VRE Ing?nieur Syst?me & Base de Donn?es AZ Network 40, rue Amp?re 61000 ALEN?ON (ORNE) FRANCE ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig at hooters-uk.com Tue Jun 30 11:25:10 2009 From: craig at hooters-uk.com (craig at hooters-uk.com) Date: Tue, 30 Jun 2009 10:25:10 +0100 Subject: Monitoring Web Sites Message-ID: <976441b13ad44eb59191dd35b85d157a.craig@hooters-uk.com> I feel this may be a stupid question but I feel I need to ask because I can not find the answer.. I'm looking to monitor a web site that is hosted on a server that has multiple sites, how would I go about monitoring multiple sites on one server? Sorry if this is a dumb question. Craig ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvc_dvl557 at hotmail.com Tue Jun 30 13:08:26 2009 From: jvc_dvl557 at hotmail.com (jvc_dvl557 at hotmail.com) Date: Tue, 30 Jun 2009 13:08:26 +0200 Subject: Checking URL on windows-client using NSClient++ Message-ID: Hi, I would like to check if a certain website is available on some of my windows xp clients. These clients are public self-service computers to make bookings for a railway organisation. Every now and then, some of these self-service computers show a blank screen without the default start-page. I would like to check if the page is shown up and if it's not, it notifies Nagios which notifies me by email. I've tried to run an external script (vbs) which checks the availability of the site and that goes well if you use it manually but i dont want any popups saying: "OK". It should run in the background. So i've edited the vbs file and now it does check it and doesnt give any output anymore. Has anyone else tried something like this before? I use NSClient++ and Nagios v3.0.6. Kind Regards, Dennis de Vries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvc_dvl557 at hotmail.com Tue Jun 30 13:36:33 2009 From: jvc_dvl557 at hotmail.com (jvc_dvl557 at hotmail.com) Date: Tue, 30 Jun 2009 13:36:33 +0200 Subject: Checking URL on windows-client using NSClient++ Message-ID: Hi, I would like to check if a certain website is available on some of my windows xp clients. These clients are public self-service computers to make bookings for a railway organisation. Every now and then, some of these self-service computers show a blank screen without the default start-page. I would like to check if the page is shown up and if it's not, it notifies Nagios which notifies me by email. I've tried to run an external script (vbs) which checks the availability of the site and that goes well if you use it manually but i dont want any popups saying: "OK". It should run in the background. So i've edited the vbs file and now it does check it and doesnt give any output anymore. Has anyone else tried something like this before? I use NSClient++ and Nagios v3.0.6. Kind Regards, Dennis de Vries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 13:04:38 2009 From: assaf.flatto at ssp-intl.com (Assaf Flatto) Date: Tue, 30 Jun 2009 11:04:38 +0000 Subject: Monitoring Web Sites In-Reply-To: <976441b13ad44eb59191dd35b85d157a.craig@hooters-uk.com> References: <976441b13ad44eb59191dd35b85d157a.craig@hooters-uk.com> Message-ID: <200906301104.38401.assaf.flatto@ssp-intl.com> check_http -H www.website.com is a good way to start and those parameters may help more -s, --string=STRING String to expect in the content -u, --url=PATH URL to GET or POST (default: /) for more option read the check_http --help Assaf On Tuesday 30 June 2009 09:25:10 craig at hooters-uk.com wrote: > I feel this may be a stupid question but I feel I > need to ask because I can not find the answer.. > > I'm looking to monitor a web site that is hosted on a > server that has multiple sites, how would I go about > monitoring multiple sites on one server? > > Sorry if this is a dumb question. > > Craig > > > --------------------------------------------------------------------------- >--- _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Tue Jun 30 15:03:29 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 30 Jun 2009 15:03:29 +0200 Subject: Checking URL on windows-client using NSClient++ In-Reply-To: References: Message-ID: <90f6e8270906300603j6261f438h2e7f42ec0824b4d4@mail.gmail.com> hi, if you use internet explorer you could check if that process is running. You can do it in a number of ways, either with check_nt or with nrpe with a custom batch file with commands like tasklist, for instance. -- Groeten, J.Asenjo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anoonan at gmail.com Tue Jun 30 15:02:27 2009 From: anoonan at gmail.com (Andrew Noonan) Date: Tue, 30 Jun 2009 08:02:27 -0500 Subject: check_period help? In-Reply-To: <7c6fe39f0906291019p38ccab64n256d7f8cf3535dc8@mail.gmail.com> References: <7c6fe39f0906291019p38ccab64n256d7f8cf3535dc8@mail.gmail.com> Message-ID: <7c6fe39f0906300602r4af155c0i1c371a7123ccf9d8@mail.gmail.com> No one has any ideas on this, or am I just not posting the right info? On Mon, Jun 29, 2009 at 12:19 PM, Andrew Noonan wrote: > Hi all, > > I've got a service that I'm trying to monitor with different > thresholds at different times of day. ?To do this, I created two > timeperiods, covering 1:00am to 7:00am, and 7:00am to 1:00am (I > think), two service templates that each use these periods, and two > services that do the same check with differing thresholds, each > inheriting the different service template. ?But when I look at the > scheduling for these two services, it's almost opposite what I think > it should be. ?The 'late' service is next scheduled at 00:00 and the > 'normal' service is scheduled at 1:00am. ?I'm running 3.0.6. ?The > other templates used do not change the check_period, except for the > generic-service template. ?Here are the definitions: > > ################ Time periods ################# > define timeperiod { > ? ? ? ?timeperiod_name ? ? ? ? ? ? ? ? ? ? ? ? 7a-1a_every_day > ? ? ? ?alias ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? from 7:00am to 1:00am > ? ? ? ?tuesday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00:00-00:59,7:00-24:00 > ? ? ? ?wednesday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 00:00-00:59,7:00-24:00 > ? ? ? ?sunday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00:00-00:59,7:00-24:00 > ? ? ? ?thursday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00:00-00:59,7:00-24:00 > ? ? ? ?saturday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00:00-00:59,7:00-24:00 > ? ? ? ?monday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00:00-00:59,7:00-24:00 > ? ? ? ?friday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?00:00-00:59,7:00-24:00 > ? ? ? ?} > > define timeperiod { > ? ? ? ?timeperiod_name ? ? ? ? ? ? ? ? ? ? ? ? 1a-7a_every_day > ? ? ? ?alias ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:00am to 7:00am > ? ? ? ?tuesday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 01:00-06:59 > ? ? ? ?thursday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?01:00-06:59 > ? ? ? ?sunday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?01:00-06:59 > ? ? ? ?saturday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?01:00-06:59 > ? ? ? ?monday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?01:00-06:59 > ? ? ? ?friday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?01:00-06:59 > ? ? ? ?wednesday ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 01:00-06:59 > ? ? ? ?} > > > ####################### Service Templates ###################### > define service { > ? ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Time-1a_to_7a > ? ? ? check_period ? ? ? ? ? ? ? ? ? ? ? ? ? ? 7a-1a_every_day > ? ? ? register ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 > > } > > define service { > ? ? ? name ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Time-7a_to_1a > ? ? ? check_period ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1a-7a_every_day > ? ? ? register ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 > > } > > ################### Services ##################### > > define service { > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? US > ? ? ? ?service_description ? ? ? ? ? ? index > ? ? ? ?use > Freq-15-min-check,graphing_service_pnp,Time-7a_to_1a,generic-service > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?1 > ? ? ? ?} > > define service { > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? US > ? ? ? ?service_description ? ? ? ? ? ? lateindex > ? ? ? ?use > Freq-15-min-check,graphing_service_pnp,Time-1a_to_7a,generic-service > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?1 > ? ? ? ?} > > Thanks, > Andrew > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 14:38:49 2009 From: zarrelli at linux.it (Giorgio Zarrelli) Date: Tue, 30 Jun 2009 14:38:49 +0200 (CEST) Subject: Monitoring Web Sites In-Reply-To: <200906301104.38401.assaf.flatto@ssp-intl.com> References: <976441b13ad44eb59191dd35b85d157a.craig@hooters-uk.com> <200906301104.38401.assaf.flatto@ssp-intl.com> Message-ID: <31706.213.255.109.107.1246365529.squirrel@picard.linux.it> Hi, always check for a string at the end of the web page. Time by time the wweb server answers whith a 200 error code even if it dowsn't serve a valid page. Giorgio > check_http -H www.website.com > is a good way to start > > and those parameters may help more > > -s, --string=STRING > String to expect in the content > -u, --url=PATH > URL to GET or POST (default: /) > > for more option read the > check_http --help > > Assaf > > > On Tuesday 30 June 2009 09:25:10 craig at hooters-uk.com wrote: >> I feel this may be a stupid question but I feel I >> need to ask because I can not find the answer.. >> >> I'm looking to monitor a web site that is hosted on a >> server that has multiple sites, how would I go about >> monitoring multiple sites on one server? >> >> Sorry if this is a dumb question. >> >> Craig >> >> >> --------------------------------------------------------------------------- >>--- _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: 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 > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 15:18:00 2009 From: ae at op5.se (Andreas Ericsson) Date: Tue, 30 Jun 2009 15:18:00 +0200 Subject: check_period help? In-Reply-To: <7c6fe39f0906300602r4af155c0i1c371a7123ccf9d8@mail.gmail.com> References: <7c6fe39f0906291019p38ccab64n256d7f8cf3535dc8@mail.gmail.com> <7c6fe39f0906300602r4af155c0i1c371a7123ccf9d8@mail.gmail.com> Message-ID: <4A4A1088.8050407@op5.se> Andrew Noonan wrote: > No one has any ideas on this, or am I just not posting the right info? > > On Mon, Jun 29, 2009 at 12:19 PM, Andrew Noonan wrote: >> Hi all, >> >> I've got a service that I'm trying to monitor with different >> thresholds at different times of day. To do this, I created two >> timeperiods, covering 1:00am to 7:00am, and 7:00am to 1:00am (I >> think), two service templates that each use these periods, and two >> services that do the same check with differing thresholds, each >> inheriting the different service template. But when I look at the >> scheduling for these two services, it's almost opposite what I think >> it should be. The 'late' service is next scheduled at 00:00 and the >> 'normal' service is scheduled at 1:00am. I'm running 3.0.6. The >> other templates used do not change the check_period, except for the >> generic-service template. Here are the definitions: >> >> ################ Time periods ################# >> define timeperiod { >> timeperiod_name 7a-1a_every_day >> alias from 7:00am to 1:00am >> tuesday 00:00-00:59,7:00-24:00 >> wednesday 00:00-00:59,7:00-24:00 >> sunday 00:00-00:59,7:00-24:00 >> thursday 00:00-00:59,7:00-24:00 >> saturday 00:00-00:59,7:00-24:00 >> monday 00:00-00:59,7:00-24:00 >> friday 00:00-00:59,7:00-24:00 >> } >> >> define timeperiod { >> timeperiod_name 1a-7a_every_day >> alias 1:00am to 7:00am >> tuesday 01:00-06:59 >> thursday 01:00-06:59 >> sunday 01:00-06:59 >> saturday 01:00-06:59 >> monday 01:00-06:59 >> friday 01:00-06:59 >> wednesday 01:00-06:59 >> } >> >> >> ####################### Service Templates ###################### >> define service { >> name Time-1a_to_7a >> check_period 7a-1a_every_day >> register 0 >> >> } >> >> define service { >> name Time-7a_to_1a >> check_period 1a-7a_every_day >> register 0 >> >> } >> This looks decidedly odd. "Time-7a_to_1a" uses the check_period "1a-7a_every_day". Either you were very confused when you named the timeperiods or you were very confused when you created these templates. Or you just want to confuse everyone else ;-) I'm guessing they should be reversed, 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. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Tue Jun 30 14:49:31 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Tue, 30 Jun 2009 14:49:31 +0200 Subject: How to monitor Windows Scheduled Tasks? In-Reply-To: <4A49CB93.9000909@aznetwork.fr> References: <4A488C9F.9060900@aznetwork.fr> <90f6e8270906290312r501fe303u398dbd53265e89bc@mail.gmail.com> <4A49CB93.9000909@aznetwork.fr> Message-ID: <90f6e8270906300549k18261051hddd867183d46f3eb@mail.gmail.com> hi, ok, but I do not have any time to support the script, it is supplied 'as is' without license or obligations on my part. I will not answer any questions about why it is not working for you (in case it does not work for you). #!perl use strict; use warnings; use diagnostics; # first run schtasks /query /fo /list /v and dump everything to a file open (JOBS, "schtasks /query /fo list /v |") or die "couldn't exec schtasks: $!\n"; # Counters my $count = 0; my @count = (); # parse file, if string Last Result is not 0 (success), croak while () { if (/^Last Result:\s+(.*)$/) { # count how many jobs there are, we'll use this later $count++; # By type $count[$1]++; } } close JOBS; if ($count[1]) { warn "WARNING: problem with $count[1] scheduled jobs\n"; exit 1; } if ($count[0] == $count) { warn "OK: all scheduled tasks have run fine\n"; exit 0; } else { # if there is something wrong, give unkonw and errolevel 3 warn "UNKONWN: something else went wrong\n"; exit 3; } __END__ -- Groeten, J.Asenjo ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Tue Jun 30 16:16:07 2009 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 30 Jun 2009 10:16:07 -0400 Subject: change service check timeout in Nagios In-Reply-To: <20090630141040.GA42752@bewilderbeast.blackhelicopters.org> References: <20090629194653.GA37590@bewilderbeast.blackhelicopters.org> <20090630141040.GA42752@bewilderbeast.blackhelicopters.org> Message-ID: <20090630141607.GA42852@bewilderbeast.blackhelicopters.org> On Tue, Jun 30, 2009 at 10:10:40AM -0400, Michael W. Lucas wrote: > On Mon, Jun 29, 2009 at 03:44:01PM -0500, Marc Powell wrote: > > > > On Jun 29, 2009, at 2:46 PM, Michael W. Lucas wrote: > > > > > Surely there's a built-in way to tell Nagios that either a particular > > > check can take longer, or increase the 10-second timeout within Nagios > > > itself? The service_check_timeout value kills runaway processes, > > > which this isn't. > > > > But that's what you need to change. Think of it as the maximum amount > > of time a plugin is allowed to run if the plugin doesn't terminate > > itself within a reasonable amount of time. Misbehaving plugins are > > just the most common reason to hit this timeout. It should be set > > higher than the longest expected running time for any of your plugins. > > Thanks for your response. The following settings have been my nagios > config for months now: > > service_check_timeout=180 > host_check_timeout=60 > > I would expect that a service check plugin would be allowed to run for > 3 minutes. But the Web interface and log still show: > > CRITICAL - Plugin timed out after 10 seconds > > Obviously, I'm missing something somewhere? Do any other config > settings interact with this somehow? > > This is with 3.0.6 on FreeBSD 7.2 i386, BTW. Posted so that an answer appears in the archives. I'm using "negate -u" CRITICAL in front of my check. negate has its own timeout value that must be set to extend the life of a check! Not a Nagios issue at all. ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.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 cbeattie at geninfo.com Tue Jun 30 15:44:52 2009 From: cbeattie at geninfo.com (Chris Beattie) Date: Tue, 30 Jun 2009 09:44:52 -0400 Subject: Compliance: Re: Monitoring Web Sites In-Reply-To: <976441b13ad44eb59191dd35b85d157a.craig@hooters-uk.com> References: <976441b13ad44eb59191dd35b85d157a.craig@hooters-uk.com> Message-ID: <1246369492.23231.18.camel@DevNagios.geninfo.com> On Tue, 2009-06-30 at 10:25 +0100, craig at hooters-uk.com wrote: > I'm looking to monitor a web site that is hosted on a > server that has multiple sites, how would I go about > monitoring multiple sites on one server? The check_http command supports arguments for the host name, the host address, and a URI. The standard command definition includes $HOSTNAME$ and $HOSTADDRESS$, but that doesn't mean you can't roll your own. I have a load balancer that a number of web sites need to be available through, that itself does not have any services that need to be checked. I set up a custom check command like this: define command { command_name check_lb_http command_line check_http -H $ARG1$ -I $ARG2$ -u $ARG3$ } In the load balancer's configuration, I have a dozen or so service checks defined like this: define service { use standard_service host_name prodapploadbalancer service_description website1 check_command check_lb_http!virtualhostname!ipaddress!/somepage.html } -- -Chris ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jjleleux at sunlandconstruction.com Tue Jun 30 16:56:13 2009 From: jjleleux at sunlandconstruction.com (Leleux, Jeremy J) Date: Tue, 30 Jun 2009 09:56:13 -0500 Subject: Problems w/ Nagios Web Interface Message-ID: <232A174A689B4242936B4D08C19447D103497700@owa.sunlandconstruction.com> Hi all, I have a fresh install of nagios 3.1.2 and I'm able to login into the web interface, but once I'm authenticated I get the following error: 403 Forbidden - You don't have permission to access /nagios/ on this server. Here is the output from my Apache error_log: [Tue Jun 30 09:47:17 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /usr/local/nagios/share/ [Tue Jun 30 09:47:57 2009] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico [Tue Jun 30 09:48:00 2009] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico I'm using the newly installed, unedited nagios.conf and have also created the htpasswd.users as instructed by the quick start guide. I can provide any configs as needed, just let me know. Here are my computer/nagios specifics: CentOS 5.2 kernel 2.6.18-128.1.6.el5 / Apache 2.2.3 release 22.el5.centos Nagios 3.1.2 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 06-23-2009 License: GPL Nagios-Plugins v1.4.13 Respectfully, Jeremy Leleux IT Administrator Sunland Construction, Inc. Corporate Division Office: 337.550.2142 Fax: 337.546.0245 Mobile: 337.580.6062 Email: jjleleux at sunlandconstruction.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Tue Jun 30 14:57:30 2009 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Tue, 30 Jun 2009 14:57:30 +0200 Subject: Scheduled downtime and comments Message-ID: <1246366650.3664.13.camel@MADness> Hi all, I've noticed that when a scheduled downtime is set up, we are forced to enter some comments but those seem not to be processed and saved by Nagios since the comment shown by Nagios are always like "This service has been scheduled for fixed downtime from 05-29-2009 10:46:55 to 03-29-2010 12:46:55. Notifications for the service will not be sent out during that time period." for example. Is there a way to force Nagios to store the comment for a scheduled downtime instead of having it replaced by some impersonal ones? Marc-Andr? ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keller.Mark at con-way.com Tue Jun 30 19:22:24 2009 From: Keller.Mark at con-way.com (Keller, Mark D) Date: Tue, 30 Jun 2009 10:22:24 -0700 Subject: External commands and nagios.log Message-ID: Hello, We have a distributed Nagios environment that is working fine. On the frontend I am getting about 400MB of logs a day. That makes any web cgi's that need to read the logs horribly slow. I have noticed that about half of the log messages are for external commands. Is there any reason to keep the external commands in the log files? Does some of the history or reports rely on them? Then the second question is, how do I get them to stop logging to the file? I see there is a log_external_commands option in the nagios.cfg, but setting that to 0 doesn't seem to actually stop the log entry from going to the nagios.log. I am using Nagios 3.0.6. Any help would be appreciated, Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jun 30 19:22:21 2009 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Tue, 30 Jun 2009 10:22:21 -0700 Subject: Checking URL on windows-client using NSClient++ In-Reply-To: References: Message-ID: <872CB0AEB377C240A112DD7C10B2592904B216D4@wtps0171.amers.ibechtel.com> Dennis, Your almost there, you need to set your vbs script to output an exit code of 0-4 according to the nagios plug in documentation (http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT) . Then setup the nsclient to run your script as a plug in check. To do that you will need to follow these basic steps. 1. add the configuration to the nsc.ini file on each xp workstation you want to run this check on. It should look something like this: [NRPE Handlers] webpage_check=c:\windows\system32\cscript.exe //nologo "c:\program files\nsclient++\scripts\web_page_check.vbs" 2. Setup check in Nagios In your commands definition file: define command { command_name webpage_check command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c webpage_check } In your services definition file: define service { host_name XPhost01, XPhost02 service_description check web page on XP host display_name webpage check check_command webpage_check use service-template ..... } That should do it, and it uses your existing script (i.e. no rework). Good luck, hope that helps, -greg ________________________________ From: jvc_dvl557 at hotmail.com [mailto:jvc_dvl557 at hotmail.com] Sent: Tuesday, June 30, 2009 4:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking URL on windows-client using NSClient++ Hi, I would like to check if a certain website is available on some of my windows xp clients. These clients are public self-service computers to make bookings for a railway organisation. Every now and then, some of these self-service computers show a blank screen without the default start-page. I would like to check if the page is shown up and if it's not, it notifies Nagios which notifies me by email. I've tried to run an external script (vbs) which checks the availability of the site and that goes well if you use it manually but i dont want any popups saying: "OK". It should run in the background. So i've edited the vbs file and now it does check it and doesnt give any output anymore. Has anyone else tried something like this before? I use NSClient++ and Nagios v3.0.6. Kind Regards, Dennis de Vries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 21:43:57 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 30 Jun 2009 15:43:57 -0400 Subject: monitoring external internet connectivity Message-ID: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> All, What is the best way to check if our network has connection to commodity internet or not. What I am trying to achieve is to ensure internal network has connection to Internet. One thing is to ping google check. Is this a good idea or can someone suggest a better way to do this. Please advise on this. Thanks -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Tue Jun 30 22:15:42 2009 From: jbroughton at truecos.com (Jayson Broughton) Date: Tue, 30 Jun 2009 14:15:42 -0600 Subject: monitoring external internet connectivity In-Reply-To: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> Message-ID: <01a501c9f9bf$8b01cab0$a1056010$@com> Shadhin, I had our nagios ping google.com for awhile, but if something happens to the DNS server internally then it gave a false reading saying the internet was down when it was a DNS issue. Eventually I figured I could ping my ISP's IP address instead of hostname, and that seemed to work well. Im sure a place like google has more than 1 ip address associated with it, so I would pick an external IP address of a known site/company and plug it in. I also have SMS enabled/setup on my nagios machine so that when the internal network is down, an SMS message is generated and sent to the techie phones. (can't get email if the network is down, eh?) Hope this helps, Jayson Broughton From: shadih rahman [mailto:shadhin71 at gmail.com] Sent: Tuesday, June 30, 2009 1:44 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring external internet connectivity All, What is the best way to check if our network has connection to commodity internet or not. What I am trying to achieve is to ensure internal network has connection to Internet. One thing is to ping google check. Is this a good idea or can someone suggest a better way to do this. Please advise on this. Thanks -- Cordially, Shadhin Rahman The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keller.Mark at con-way.com Tue Jun 30 22:17:59 2009 From: Keller.Mark at con-way.com (Keller, Mark D) Date: Tue, 30 Jun 2009 13:17:59 -0700 Subject: External commands and nagios.log In-Reply-To: References: Message-ID: Just looking at yesterdays logs, I have 1,491,321 lines for external commands and about the same for passive checks. We have do about 5300 service checks every five minutes which comes out to around 1,500,000. So they seem to match. Unless I am missing something. Service checks by far dominant the log. We have a distributed server send all service checks passively to the front end. Then NSCA sends them through an external command. So for each service entry I get a log like the following: [1246345229] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;myserver;Load;0;OK - [1246345230] PASSIVE SERVICE CHECK: myserver;Load;0;OK - load average: 0.19, 0.09, 0.08 At this point I would just be happy to not log any of the external command entries. Still the log may be big, but much smaller. I can't seem to get any of the following options in nagios.cfg to make a difference. They all log no matter what they are set to: log_notifications log_service_retries log_host_retries log_event_handlers log_initial_states log_external_commands log_passive_checks Thanks, Mark -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, June 30, 2009 11:12 AM To: Nagios Users Mail-list Subject: Re: [Nagios-users] External commands and nagios.log On Jun 30, 2009, at 12:22 PM, Keller, Mark D wrote: > Hello, > > We have a distributed Nagios environment that is working fine. > > On the frontend I am getting about 400MB of logs a day. That's very very large... > That makes any web cgi's that need to read the logs horribly slow. I > have noticed that about half of the log messages are for external > commands. That is still very very large. 8603 passive services here on a somewhat volatile network (89 down currently) -- 1.8M nagios-06-27-2009-00.log 1.9M nagios-06-28-2009-00.log 2.2M nagios-06-29-2009-00.log 2.2M nagios-06-30-2009-00.log > Is there any reason to keep the external commands in the log files? No. Not unless you have some custom script that does something with them. > Does some of the history or reports rely on them? Not at all. > Then the second question is, how do I get them to stop logging to > the file? I see there is a log_external_commands option in the > nagios.cfg, but setting that to 0 doesn't seem to actually stop the > log entry from going to the nagios.log. Are you confusing external commands with passive checks perhaps (log_passive_checks)? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Tue Jun 30 22:15:25 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Tue, 30 Jun 2009 16:15:25 -0400 Subject: check_ldap ... Ignore the SSL cert ? Message-ID: <4A4A725D.3000005@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a number of internal LDAP servers that I need to monitor via Nagios. They all use self-signed certs, though, and check_ldap seems to be complaining about this. How do I go about telling check_ldap to just accept the cert and move on ? Here's what I get : [user at server] ./check_ldap -H ldap.example.com -S -3 -b ou=myorg,o=example -v ldap_bind: Can't contact LDAP server (-1) additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Could not bind to the ldap-server - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkpKcl0ACgkQO80o6DJ8UvnBfACePNY4BFudDGDKGCHZHOP0PWaI Yc8An0DuFrK/zru4/4SzsIm2p+xhVddv =NnYo -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at davidkrider.com Tue Jun 30 22:48:38 2009 From: david at davidkrider.com (David Krider) Date: Tue, 30 Jun 2009 16:48:38 -0400 Subject: Getting Nagios to "go active" In-Reply-To: <4A49B7F9.9040905@op5.se> References: <1246298906.19409.14.camel@workstation.aei-tech.com> <4A49B7F9.9040905@op5.se> Message-ID: <1246394918.29924.17.camel@workstation.aei-tech.com> On Tue, 2009-06-30 at 09:00 +0200, Andreas Ericsson wrote: > Use merlin. It was designed for setting up redundant/loadbalanced systems > and will transfer your check-results between your two nagios instances > seemlessly. I had not heard of Merlin; that's very interesting, and thanks for the link. Since I had already come so far with the "native" solution that the online documentation describes, I wanted to take one more shot at it. Since I'm on Gentoo, I checked, and found that there was a newer version in the portage tree (3.1.2). I upgraded, and everything started working. Apparently, my problems with ENABLE_NOTIFICATIONS was just a bug. It's all working like I expect now. dk ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 23:00:40 2009 From: marc at ena.com (Marc Powell) Date: Tue, 30 Jun 2009 16:00:40 -0500 Subject: External commands and nagios.log In-Reply-To: References: Message-ID: <948F8526-789D-482B-A233-BB7677DA6FA8@ena.com> On Jun 30, 2009, at 3:17 PM, Keller, Mark D wrote: > Just looking at yesterdays logs, I have 1,491,321 lines for external > commands and about the same for passive checks. We have do about > 5300 service checks every five minutes which comes out to around > 1,500,000. So they seem to match. Unless I am missing something. > > Service checks by far dominant the log. We have a distributed server > send all service checks passively to the front end. Then NSCA sends > them through an external command. So for each service entry I get a > log like the following: > > [1246345229] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;myserver;Load;0;OK - > [1246345230] PASSIVE SERVICE CHECK: myserver;Load;0;OK - load > average: 0.19, 0.09, 0.08 These are the previously mentions passive service checks, not external commands. Logging treats them differently even though the mechanism to get both to nagios is the same. > At this point I would just be happy to not log any of the external > command entries. Still the log may be big, but much smaller. > > I can't seem to get any of the following options in nagios.cfg to > make a difference. They all log no matter what they are set to: > log_passive_checks This is the one you want set to 0. Make sure that nagios is restarted and that you only have one nagios daemon running. These are the settings I use -- log_file=/usr/local/nagios/var/nagios.log log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=0 -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbroughton at truecos.com Tue Jun 30 23:20:35 2009 From: jbroughton at truecos.com (Jayson Broughton) Date: Tue, 30 Jun 2009 15:20:35 -0600 Subject: monitoring external internet connectivity In-Reply-To: <7511B02D-CCEF-4A79-B8FB-4A3C0FE5558A@ena.com> References: <6db4a4200906301243v5e0025e4g37813c9364bbae66@mail.gmail.com> <7511B02D-CCEF-4A79-B8FB-4A3C0FE5558A@ena.com> Message-ID: <01c101c9f9c8$9bd3bc50$d37b34f0$@com> I gotta 2nd Marc on that. We did get permission from our ISP to ping their network, as we are usually the first to know when one of our 28+ networks go down in the country :-) I too would get permission. Because if they don't know who you are, some attentive little admin at xxxxx site might see your possibly mis-configured nagios server as a DOS attack against their network and block you. Thus leaving you with a false response that your network is down :-) Or even if it's not mis-configured, having your server pinging their server at regular intervals might seem abit off to someone that's monitoring logs. Jayson -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, June 30, 2009 2:05 PM To: Nagios Users Mail-list Subject: Re: [Nagios-users] monitoring external internet connectivity On Jun 30, 2009, at 2:43 PM, shadih rahman wrote: > All, > What is the best way to check if our network has connection to > commodity internet or not. What I am trying to achieve is to ensure > internal network has connection to Internet. One thing is to ping > google check. Is this a good idea or can someone suggest a better > way to do this. It is never a good idea to steal the resources of some third party for your own purposes, no matter how infinite you think those resources to be. If you and hundreds, thousands or millions of other people all think it's just fine to ping Google all the time, Google takes the brunt of that resource hit. I would recommend that you poll your router's snmp tables to get interface status (ifStatus, ifOperStatus). Alternately, place a test device or purchase a small colo server somewhere outside your network that you can use as the target for your tests; or work with someone with similar needs to arrange permission to ping devices on each other's network. -- Marc ---------------------------------------------------------------------------- -- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keller.Mark at con-way.com Tue Jun 30 23:51:19 2009 From: Keller.Mark at con-way.com (Keller, Mark D) Date: Tue, 30 Jun 2009 14:51:19 -0700 Subject: External commands and nagios.log In-Reply-To: <948F8526-789D-482B-A233-BB7677DA6FA8@ena.com> References: <948F8526-789D-482B-A233-BB7677DA6FA8@ena.com> Message-ID: Ah, thank you for that point. I guess I was misinterpreting the meaning of those options. I did what you said and now the logs are looking to be way smaller. I also trimmed out the passive and external command check lines from my previous logs. The history reporting is working way faster now and is actually usable. Thanks for the help! Mark -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, June 30, 2009 2:01 PM To: Nagios Users Mail-list Subject: Re: [Nagios-users] External commands and nagios.log On Jun 30, 2009, at 3:17 PM, Keller, Mark D wrote: > Just looking at yesterdays logs, I have 1,491,321 lines for external > commands and about the same for passive checks. We have do about > 5300 service checks every five minutes which comes out to around > 1,500,000. So they seem to match. Unless I am missing something. > > Service checks by far dominant the log. We have a distributed server > send all service checks passively to the front end. Then NSCA sends > them through an external command. So for each service entry I get a > log like the following: > > [1246345229] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;myserver;Load;0;OK - > [1246345230] PASSIVE SERVICE CHECK: myserver;Load;0;OK - load > average: 0.19, 0.09, 0.08 These are the previously mentions passive service checks, not external commands. Logging treats them differently even though the mechanism to get both to nagios is the same. > At this point I would just be happy to not log any of the external > command entries. Still the log may be big, but much smaller. > > I can't seem to get any of the following options in nagios.cfg to > make a difference. They all log no matter what they are set to: > log_passive_checks This is the one you want set to 0. Make sure that nagios is restarted and that you only have one nagios daemon running. These are the settings I use -- log_file=/usr/local/nagios/var/nagios.log log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=0 -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null