Re: [Nagios-users] newbie question...
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 m...@ena.com 05/31/2009 03:53 PM To Nick Hasser nick.has...@gmail.com cc nagios-user Mailinglist nagios-users@lists.sourceforge.net 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.-- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to send notification to non-admin group ?
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Only hard status on tactical display?
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 divan.sant...@gmail.com 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] New perl module: Nagios::Plugin::WWW::Mechanize
-Original Message- From: Onotsky, Steve x55328 [mailto:steve.onot...@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.v...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Installing Nagios on virtual hosted env on RHEL
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Plugin to check squid
Hi, Are there any plugin to check the performance of squid? Cheers Eduardo Barreto -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] check_http oddness
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=XXXapswd=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 ?xml version=1.0 encoding=utf-8? result .levelstatus/level .codeNetConnection.Call.Success/code .timestampMon 01 Jun 2009 10:15:30 AM PDT/timestamp /result 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=XXXapaswd=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 ?xml version=1.0 encoding=utf-8? result .levelerror/level .codeNetConnection.Connect.Rejected/code .descriptionAdministrator login failed for user untrust./description .timestampMon 01 Jun 2009 10:15:35 AM PDT/timestamp /result 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 * jsulli...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Installing Nagios on virtual hosted env on RHEL
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/ -- Virtualhost *:80 ServerName my.nagios.foo Serveradmin ad...@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 Directory /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Satisfy All /Directory Directory /usr/local/nagios/share AllowOverride AuthConfig order allow,deny allow from all /Directory /VirtualHost -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Host dependencies not being picked up...
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 { nameNetwork-Switches register0 hostgroups network-switches check_command check-host-alive icon_image cisco.jpg icon_image_alt Cisco Device max_check_attempts 3 check_period24x7 contact_groups networkadmins notification_interval 120 notification_period 24x7 notification_optionsd, 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 { nameLinux-Servers register0 hostgroups linux-servers check_command check-host-alive icon_image tux.png icon_image_alt Linux Server max_check_attempts 3 check_period24x7 contact_groups unixadmins notification_interval 120 notification_period 24x7 notification_optionsd, 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: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin to check squid
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] newbie question...
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 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Announcement: Brooklyn for Nagios now available for iPhone and iPod Touch!
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: ncc...@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=317040435mt=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 dan...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http oddness
Hi, - Janet Sullivan jsulli...@mndigital.com 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
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_nameHost A dependent_host_nameHost C notification_failure_criteriad } define hostdependency{ host_nameHost B dependent_host_nameHost C notification_failure_criteriad,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: ncc...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
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_nameHost A dependent_host_nameHost C notification_failure_criteriad } define hostdependency{ host_nameHost B dependent_host_nameHost C notification_failure_criteriad,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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
On Mon, Jun 1, 2009 at 3:43 PM, Max Hetrick maxhetr...@verizon.net 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
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_nameHost A dependent_host_nameHost C notification_failure_criteriad } 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 G -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] duplicate services definition
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 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] duplicate services definition
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Run nagios at the root of my domain
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] duplicate services definition
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Run nagios at the root of my domain
On Mon, Jun 1, 2009 at 3:47 PM, Justin Wesbrooks wesbroo...@amerch.com 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Fwd: error while configuring nagios plugins 1.4.9
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 srianir...@gmail.com Date: Fri, May 29, 2009 at 1:44 PM Subject: error while configuring nagios plugins 1.4.9 To: nagios-users@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 /dev/null 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 /dev/null 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 /dev/null 5 gcc32: argument to `-V' is missing configure:2448: $? = 1 configure:2471: checking for C compiler default output file name configure:2474: gccconftest.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 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Run nagios at the root of my domain
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host dependencies not being picked up...
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 G 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] duplicate services definition
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 m...@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Trouble with check_nrpe+check_hpasm
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. [r...@locsys ~]# /usr/local/nagios/libexec/check_hpasm OK - System: 'proliant dl360 g3', S/N: 'xx', ROM: 'P31 09/15/2004', hardware working fine, da: 1 logical drives, 2 physical drives On NAGIOS server I get this: [r...@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: [r...@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. -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] duplicate services definition
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Trouble with check_nrpe+check_hpasm
On Jun 1, 2009, at 4:45 PM, csi...@lightspeedresearch.com csi...@lightspeedresearch.com 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. [r...@locsys ~]# /usr/local/nagios/libexec/check_hpasm OK - System: 'proliant dl360 g3', S/N: 'xx', 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null