[Nagios-users] Which Is Best
I'm looking into a Nagios installation to monitor both our Data Centre hardware as well as our own internal hardware. Would it be best to have 2 separate installations of Nagios (one for each site) or have a distributed installation? Also what would be the best platform for Nagios (either RHEL or Solaris - we currently use both in our environment)? We access to our Data Centre over a VPN link. Regards, Rab. = Robert Jackson Phone: +44 (0) 141 332 7999 IT Manager Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus PlaceEmail: r...@walkermartyn.co.uk mailto:r...@walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk http://www.walkermartyn.co.uk/ = The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ 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] Nagios 3.3.1 Installation Failure
On 08/24/2011 07:31 PM, Mies, Christian wrote: Hi List, this means there will be a Nagios 4 release in the near future? We don't cut a major release for tiny install bugs. Major releases are for when we break the eventbroker API, which we try kinda hard not to do. -- Andreas Ericsson andreas.erics...@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. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] scheduled downtime allows host up notification
On 08/25/2011 01:20 AM, andrew.f...@wellsfargo.com wrote: I have a distributed system (Nagios 3.2.1) where most of the service and host checks are passively submitted to the central servers that send the notifications. I was surprised to find that when the checks are passive, host up and service recovery notifications would get sent even when the host and/or service was in scheduled downtime. Bug or feature? When you encounter something you're not sure of whether it's a bug or a feature, a sensible course of action is to test if the behaviour is still present in later releases. If it isn't, it was a bug but has been fixed. If it is, it might be a bug and then you're allowed to ask without getting snapped at. We normally ignore bugreports against older releases than the latest micro-release in its series. In this case, that means you need to test 3.2.3 to see if the problem is still present there. If it is, let us know. Otherwise, we'll just ignore this and hope it's fixed in 3.2.3 and tell you to upgrade to that (completely compatible) version. -- Andreas Ericsson andreas.erics...@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. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] Which Is Best
On 08/25/2011 09:10 AM, Robert Jackson wrote: I'm looking into a Nagios installation to monitor both our Data Centre hardware as well as our own internal hardware. Would it be best to have 2 separate installations of Nagios (one for each site) or have a distributed installation? Also what would be the best platform for Nagios (either RHEL or Solaris - we currently use both in our environment)? Nagios relies heavily on fork() being cheap, which it is on Linux but not on Solaris, so Linux is better for this. As for one or two systems, that's mainly a matter of preference. Have a look at Merlin if you want to connect two systems though. It'll be a lot easier for you in the long run than maintaining config and stuff yourself while using NSCA to run the checks. -- Andreas Ericsson andreas.erics...@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. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] Problem Executing Passive Checks
Hi I want to get information for hosts and services when user needs it using Service Command - Re-schedule the next check of this service in Nagios GUI. I write submit command in commands.cfg and in services.cfg I define passive service which is used that command as check command. I used the sample script provided by Nagios for sending commands to Nagios. Script successfully execute in terminal but when I initiate from Nagios GUI using Reschedule Service Command, it gets executed and after that it gets to OK state with (null) plugin output every time as shown in below nagios logs. I used the nagios 3.2.2, nagios pugins 1.4.15 and Fedora 12 32bit. Following is the configuration, nagios log file and sample scripts. Commands.cfg define command{ command_name passive_check command_line /$USER1$/submit_check_result $HOSTNAME$ $SERVICEDESC$ $ARG1$ } Services.cfg define service { use generic-service ; your template host_name anjum service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness0 freshness_threshold300 notification_options n ; no notifications ... check_command passive_check } Sample Script echocmd=/bin/echo CommandFile=/usr/local/nagios/var/rw/nagios.cmd # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline=[$datetime] PROCESS_SERVICE_CHECK_RESULT;$1;$2;$3;$4 # append the command to the end of the command file `$echocmd $cmdline $CommandFile` Log file [1314265019] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265018 [1314265019] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265029] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265029] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) [1314265236] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;anjum;passive_test;1314265235 [1314265236] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;anjum;passive_test;1;haseeb [1314265239] PASSIVE SERVICE CHECK: anjum;passive_test;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;WARNING;HARD;1;haseeb [1314265239] SERVICE ALERT: anjum;passive_test;OK;HARD;1;(null) As mention in above log, after executing my passive check, service alert is raised and suddenly another service alert with OK state and (null) plugin output is raised and visible in Nagios GUI. Looking forward for quick response. Thanks. Regards Muhammad Haseeb Software Engineer -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ 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] AUTO: Chan, Brian is away from the office on Business Travel (Returning 08/06/2011) (returning 08/30/2011)
I am out of the office until 08/30/2011. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--: mailto:itrequ...@shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an automated response to your message Nagios-users Digest, Vol 63, Issue 15 sent on 8/25/2011 6:58:03. This is the only notification you will receive while this person is away. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] Using contacts and contact_groups on same service definition
Hi, We have nagios 2.6 running and have our environment monitored by nagios. Recently I had a scenario where I had to add a new contact to get notified on one of the services.I added the contact to the contacts.cfg and when trying to add the contact to the service definition as below - define service{ use generic-public-service service_description HTTPS-Shard6-testEvent servicegroups Live HTTP Sites host_name check_command check_httpS!/tracking/api/core/testEvent?shardId=6!resultCode\:0, max_check_attempts 10 contacts test contact_groups sys,noc notification_interval 30 It errors out saying Error: Invalid service object directive 'contacts'. Error: Could not add object property in file '/etc/nagios/cfg/public/svc.cfg' Does having contacts and contact_groups on the same service definition not allowed? Thanks, Ramesh Ayyagari -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ 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] Using contacts and contact_groups on same service definition
On 08/25/2011 01:03 PM, ramesh chaitanya wrote: Hi, We have nagios 2.6 running and have our environment monitored by nagios. Recently I had a scenario where I had to add a new contact to get notified on one of the services.I added the contact to the contacts.cfg and when trying to add the contact to the service definition as below - define service{ use generic-public-service service_description HTTPS-Shard6-testEvent servicegroups Live HTTP Sites host_name check_command check_httpS!/tracking/api/core/testEvent?shardId=6!resultCode\:0, max_check_attempts 10 contactstest contact_groups sys,noc notification_interval 30 It errors out saying Error: Invalid service object directive 'contacts'. Error: Could not add object property in file '/etc/nagios/cfg/public/svc.cfg' Does having contacts and contact_groups on the same service definition not allowed? In 2.6 it's not allowed. Upgrade to 3.2.x or 3.3.1 if you want that feature. -- Andreas Ericsson andreas.erics...@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. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] Which Is Best
Hello, If it's just two sites... I like to have two Nagios servers. I would put one in each site. That way if the VPN link is down, you don't lose performance data from the other site during the window. Plus each Nagios server can monitor the other. Also I've used my HQ install to monitor my datacenter over the ISP link to monitor general performance of my apps. If you're going to end up with multiple sites, then maybe start with a distributed setup now to safe work down the road. I also prefer a RH/Centos install for Nagios. -- Mat W. Date: Thu, 25 Aug 2011 08:10:25 +0100 From: r...@walkermartyn.co.uk To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Which Is Best I’m looking into a Nagios installation to monitor both our Data Centre hardware as well as our own internal hardware. Would it be best to have 2 separate installations of Nagios (one for each site) or have a distributed installation? Also what would be the best platform for Nagios (either RHEL or Solaris – we currently use both in our environment)? We access to our Data Centre over a VPN link. Regards,Rab.=Robert Jackson Phone: +44 (0) 141 332 7999IT Manager Fax: +44 (0) 141 331 2820Walker Martyn Ltd1 Park Circus PlaceEmail: r...@walkermartyn.co.ukGlasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk= The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administra...@walkermartyn.co.uk. Walker Martyn Ltd, company number SC197533. Company is registered in Scotland and has its registered office at 1 Park Circus Place, Glasgow G3 6AH, UK. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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 -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ 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] email notification error
On 25.08.2011 07:26, nag ios wrote: Hi i'm totally new to nagios and i have installed nagios xi in linux machine which was loaded with CENTOS 5.0 i have configured it to send email notification when any service fails but i'm not able to recieve the mail and getting the following error as mail from mail deamon to my (root) mailbox Please help me in figuring this out http://support.nagios.com From mailer-dae...@nagiostst.example.com mailto:mailer-dae...@nagiostst.example.com Tue Aug 2 17:49:51 2011 Return-Path: mailer-dae...@nagiostst.example.com mailto:mailer-dae...@nagiostst.example.com Received: from localhost (localhost) by nagiostst.example.com http://nagiostst.example.com/ (8.13.8/8.13.8) id p72CIRCQ030104; Tue, 2 Aug 2011 17:49:51 +0530 Date: Tue, 2 Aug 2011 17:49:51 +0530 From: Mail Delivery Subsystem mailer-dae...@nagiostst.example.com mailto:mailer-dae...@nagiostst.example.com Message-Id: 201108021219.p72circq030...@nagiostst.example.com mailto:201108021219.p72circq030...@nagiostst.example.com To: r...@nagiostst.example.com mailto:r...@nagiostst.example.com MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary=p72CIRCQ030104.1312287591/nagiostst.example.com http://nagiostst.example.com/ Subject: Warning: could not send message for past 4 hours Auto-Submitted: auto-generated (warning-timeout) Status: RO This is a MIME-encapsulated message --p72CIRCQ030104.1312287591/nagiostst.example.com http://nagiostst.example.com/ ** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** The original message was received at Tue, 2 Aug 2011 13:04:27 +0530 from nagiostst.example.com http://nagiostst.example.com/ [127.0.0.1] - Transcript of session follows - krishna.nuk...@infotech-enterprises.com mailto:krishna.nuk...@infotech-enterprises.com... Deferred: Connection timed out with infotech-enterprises.com http://infotech-enterprises.com/. Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old --p72CIRCQ030104.1312287591/nagiostst.example.com http://nagiostst.example.com/ Content-Type: message/delivery-status Reporting-MTA: dns; nagiostst.example.com http://nagiostst.example.com/ Arrival-Date: Tue, 2 Aug 2011 13:04:27 +0530 Final-Recipient: RFC822; krishna.nuk...@infotech-enterprises.com mailto:krishna.nuk...@infotech-enterprises.com Action: delayed Status: 4.4.1 Remote-MTA: DNS; infotech-enterprises.com http://infotech-enterprises.com/ Last-Attempt-Date: Tue, 2 Aug 2011 17:49:51 +0530 Will-Retry-Until: Sun, 7 Aug 2011 13:04:27 +0530 --p72CIRCQ030104.1312287591/ nagiostst.example.com http://nagiostst.example.com/ Content-Type: message/rfc822 Return-Path: r...@nagiostst.example.com mailto:r...@nagiostst.example.com Received: from nagiostst.example.com http://nagiostst.example.com/ (nagiostst.example.com http://nagiostst.example.com/ [127.0.0.1]) by nagiostst.example.com http://nagiostst.example.com/ (8.13.8/8.13.8) with ESMTP id p727YRkU008636 for krishna.nuk...@infotech-enterprises.com mailto:krishna.nuk...@infotech-enterprises.com; Tue, 2 Aug 2011 13:04:27 +0530 Received: (from apache@localhost) by nagiostst.example.com http://nagiostst.example.com/ (8.13.8/8.13.8/Submit) id p727YR9x008635; Tue, 2 Aug 2011 13:04:27 +0530 X-Authentication-Warning: nagiostst.example.com http://nagiostst.example.com/: apache set sender to r...@nagiostst.example.com mailto:r...@nagiostst.example.com using -f To: krishna.nuk...@infotech-enterprises.com mailto:krishna.nuk...@infotech-enterprises.com Subject: Nagios XI Email Test Date: Tue, 2 Aug 2011 13:04:27 +0530 From: Nagios XI r...@nagiostst.example.com mailto:r...@nagiostst.example.com Reply-to: Nagios XI r...@nagiostst.example.com mailto:r...@nagiostst.example.com Message-ID: fdf00e19882825ce5df097bc448696b6@172.16.83.82 mailto:fdf00e19882825ce5df097bc448696b6@172.16.83.82 X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net http://phpmailer.sourceforge.net/) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=b1_fdf00e19882825ce5df097bc448696b6 --b1_fdf00e19882825ce5df097bc448696b6 Content-Type: text/plain; charset = iso-8859-1 Content-Transfer-Encoding: 8bit This is a test email from Nagios XI --b1_fdf00e19882825ce5df097bc448696b6 Content-Type: text/html; charset = iso-8859-1 Content-Transfer-Encoding: 8bit This is a test email from Nagios XI --b1_fdf00e19882825ce5df097bc448696b6-- --p72CIRCQ030104.1312287591/nagiostst.example.com-- From krishna.nuk...@infotech-enterprises.com mailto:krishna.nuk...@infotech-enterprises.com Tue Aug 2 14:10:19 2011 Return-Path: krishna.nuk...@infotech-enterprises.com mailto:krishna.nuk...@infotech-enterprises.com Received: from corp.infotech-enterprises.com http://corp.infotech-enterprises.com/
Re: [Nagios-users] [RESOLVED] Unable to verify config - no line number given for error
There were some syntax errors in one of the cfg files. I picked it up by diffing with a previous known working version. Strange that it didn't show any line number for the error though. -Original Message- From: Chris Beattie [mailto:cbeat...@geninfo.com] Sent: Wednesday, 24 August 2011 5:21 AM To: Nagios Users List Subject: Re: [Nagios-users] Unable to verify config - no line number given for error Samuel Kidman wrote: prl@PR-PRO-CR-NAG02:~/host-config/finished-lists$ sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios-master-test.cfg Error processing object config files! I have a hunch the problem's in nagios-master-test.cfg. Do you have a backup of that file from before the last time you modified it, or have a known-good nagios-master.cfg file you can compare it to? Or the example bone-stock nagios.cfg? You're using a newer version of Nagios than I am, too. A while back I realized I'd been migrating an ancient nagios.cfg for too long. My old file contained deprecated settings and was completely missing new settings, so that might be something else to check for. -- -Chris -- Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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 -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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] iSCSI mounts not appearing in storage table
I have several new RHEL 6 based machines that unlike RHEL 5 do not enumerate storage info for iscsi based mounts with snmp, just local storage. Anyone know what/why this has changed and a way around this? Thanks! jlc -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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