Re: [Nagios-users] ESXi/vCenter Monitoring

2013-08-12 Thread Chris Beattie
On 8/12/2013 4:04 PM, Daniel Ceola wrote: I did that, but it made the map a complete mess of lines that I couldn't make out. Try check_cluster. Check_cluster aggregates the status of individual ESX hosts. The clusters here have three or four ESX hosts each. If one ESX host in the cluster

Re: [Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-10 Thread Chris Beattie
On 6/7/2013 9:28 AM, C. Bensend wrote: Not real sure why Nagios doesn't think that's a valid config - I want a contact that will receive only UNKNOWN alerts for services. Have you tried giving that contact the extra options Nagios wants, and then defining a service escalation for that

Re: [Nagios-users] Escalation issues

2013-05-06 Thread Chris Beattie
On 5/5/2013 11:29 PM, Alex wrote: I have also interval_length=60 in nagios.cfg. I don't understand why admins-escal isn't consulted after three consecutive attempts at communicating with the service. What am I doing wrong? This is a silly question, but are there contacts who are members of the

Re: [Nagios-users] Nagios and SELinx

2013-03-13 Thread Chris Beattie
On 3/13/2013 9:51 AM, Jonathan Gazeley wrote: The end result is a fairly permissive SELinux policy *for Nagios* but still far better than not having SELinux at all. That's exactly what I did, too. If it helps you get jump started, I ended up with a .te file that looks like this. I don't run

Re: [Nagios-users] service escalations

2013-01-14 Thread Chris Beattie
On 1/14/2013 9:41 AM, julian_grunn...@tdwh.co.uk wrote: If the TCP check continues to fail the service escalation contact starts to get alerts but the actual contact for the defined service doesn't. Try changing contacts me_at_home to contacts +me_at_home. -- -Chris Nothing in this message

Re: [Nagios-users] Notifications

2013-01-07 Thread Chris Beattie
On 1/3/2013 6:31 AM, Keith Edmunds wrote: In case it isn't clear: imagine three servers, alpha, bravo and charlie. Alpha and bravo are in the AB hostgroup; all three servers run Apache. If Nagios detects a problem with Apache on any of the servers, it should notify the apache-contact-group. If

[Nagios-users] Are macros allowed inside custom variables?

2012-08-29 Thread Chris Beattie
Are macros allowed to be used inside custom variables? I'm using Nagios 3.2.3. I was experimenting with using custom variables in host definitions for clusters. I couldn't figure out if there was a way to make this work. It didn't seem to matter how I escaped the $s or not, whether I used

[Nagios-users] Strategies for coping with self-DOS?

2012-08-23 Thread Chris Beattie
Where I work, the server engineers want Nagios to notify them fairly quickly when a problem develops. During the day, the settings are fine. Recently, however, the nightly backups and scheduled antivirus scans began causing enough load that monitored hosts to become briefly unavailable, but

Re: [Nagios-users] Monitoring Distributed Resource

2012-08-09 Thread Chris Beattie
On 8/8/2012 5:57 PM, Andreas M. Iwanowski wrote: So as I understand, if I define a parent-child relationship between the VPN services (or core gateways) on the parent side and the remote gateway on the other side, the remote gateway will be checked (and we notified) as long as one core gateway

Re: [Nagios-users] Monitoring Distributed Resource

2012-08-08 Thread Chris Beattie
On 8/7/2012 8:33 AM, Andreas M. Iwanowski wrote: I.e. if the primary gateway goes down and the standby takes over, I would still like to be notified about host troubles behind the VPN. Only if both were to be down nagios should stop sending messages. Would setting parent/child relationships,

Re: [Nagios-users] Derive service settings from hosts definition

2012-08-01 Thread Chris Beattie
On 7/31/2012 11:24 AM, David Fulton wrote: Also keep in mind you can use user defined host based macros that can be defined in the templates to make parameters to the service checks inherited from the host as well. I've been using Nagios since it was Netsaint and never figured out what I

Re: [Nagios-users] Derive service settings from hosts definition

2012-07-31 Thread Chris Beattie
On 7/30/2012 2:31 PM, Vladislav Staroselskiy wrote: Is there any way to derive certain service options from the host definition? Is there any default inheritance behavior for it? ... I really wish, service notification/contact options could be derived from hosts definitions to avoid this

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Chris Beattie
On 7/30/2012 5:20 AM, Ruslan Valiyev wrote: Does it mean I have to create two different service templates and specify my emails there? No, you can have just one template for service check if you like. You determine what kinds of notifications a contact can receive with the

Re: [Nagios-users] Nagios implied and additive inheritance

2012-03-26 Thread Chris Beattie
On 3/26/2012 2:04 PM, Jim Winkle wrote: I'd like to set up Nagios so that: 1) In general, contact_groups for a host are notified about problems with the host and any service on the host. 2) Occasionally, we'd like other contact_groups to be notified about problems with certain services on

Re: [Nagios-users] one shot check at specific time of day

2012-03-21 Thread Chris Beattie
On 3/21/2012 6:13 AM, Marki wrote: Hi people, I have problems defining a check so that it only runs once each day (at a specified time). If setting the check_period doesn't work out and you can tolerate the check being run more often, you can set the notification_period to a smaller time

Re: [Nagios-users] Parent/Child relationship for HV/VM

2012-01-04 Thread Chris Beattie
On 1/4/2012 5:11 AM, Jim Avery wrote: Another advantage is if you add or remove host servers to the cluster you only need to change the one host definition. You could use check_cluster as the host check for your fake host, then its status would be meaningful too. I'll have a go at doing that

Re: [Nagios-users] Nagios on CentOS

2011-12-27 Thread Chris Beattie
On 12/27/2011 9:31 AM, Jatin wrote: Fedora. I wanted to know if i can follow the same steps for installing Nagios on CentOS assuming that i have a default CentOS installation. Yes. I used the Fedora instructions to install Nagios on CentOS myself. It has been a while since I did it, though.

Re: [Nagios-users] 'unreachable' question

2011-12-09 Thread Chris Beattie
On 12/9/2011 8:52 AM, Boyer, Timothy A. wrote: We’re trying to filter out some flaky services giving us too-frequent ‘No data was received from host’. Will removing ‘u’ from notification_options eliminate this, or are they two different things? Have you got flap detection enabled? Nagios can

Re: [Nagios-users] Nagios Web Interface does not notify when nagios service is killed!

2011-10-31 Thread Chris Beattie
On 10/28/2011 6:25 PM, Jim Avery wrote: running and emails or SMSs you if it isn't. The check_snmp_process plugin could be useful for that task. http://nagios.manubulon.com/snmp_process.html I'm echoing everything Jim said. I cannot remember if Nagios has ever crashed on me. I do restart

Re: [Nagios-users] Unable to verify config - no line number given for error

2011-08-23 Thread Chris Beattie
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

Re: [Nagios-users] Override service notification time

2011-08-08 Thread Chris Beattie
David Wilkinson wrote: Will I have to duplicate service config so I can change the notification period or can I have it set on a per host basis and have that override what is set in the service template? You can set it on a per-host basis. If you do not define a notification timeperiod in

Re: [Nagios-users] Service escalations without contacts or groups defined on the services themselves

2011-07-06 Thread Chris Beattie
Kevin Kenny wrote: I find this a convenient configuration because it means I don't have to explicitly define contacts or contact groups at either the service template or service check itself and makes management somewhat simpler. Well, that's one way to do it, but... Despite the warnings,

Re: [Nagios-users] recurring downtime

2011-05-13 Thread Chris Beattie
Julie S. Lin wrote: I'm trying to set up recurring downtimes for automatic reboots Below Have you considered scheduling host downtime instead? There's one fewer parameter to pass to the script. I think the service name is the tripping point. I was able to copypaste your command into a

Re: [Nagios-users] how to check scheduler task in windows

2011-04-27 Thread Chris Beattie
ali abatourab wrote: please i need help for checking my scheduler task in windows with nagios , like task start ,task error You can check Windows scheduled tasks if you use the NSClient++ agent. http://www.nsclient.org/nscp/wiki/CheckTaskSched/CheckTaskSched In the monitored host's

[Nagios-users] Persistent WAP Acknowledgements

2011-03-25 Thread Chris Beattie
I noticed that acknowledgements submitted through Nagios' WAP interface are set as persistent. However, they're not set that way by default if you use the regular web interface. The command description box reads like the option is not selected by default. I'm not a C programmer, but I dug

Re: [Nagios-users] define service with multiple contactgroups

2011-03-21 Thread Chris Beattie
Check out the documentation's section on implied inheritance. It might let you do what you want: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html Services can inherit their contact_groups from their associated host definition. You do this by *not* assigning a contact_group in

Re: [Nagios-users] Nagios Alert Format?

2011-02-17 Thread Chris Beattie
$/$SERVICEDESC$ $CONTACTPAGER$ } And here is a page, sent to a regular e-mail client: From: nagios@domain [mailto:nagios@domain] Sent: Thursday, February 17, 2011 2:46 PM To: Chris Beattie Subject: PROBLEM: servername/Disk: F servername/Disk: F is WARNING F:\ - total: 399.99 Gb - used: 342.71 Gb (86

Re: [Nagios-users] Missing notifications?

2011-01-03 Thread Chris Beattie
Mister IT Guru wrote: I guess the bottom line is, why are acknowledgment emails being sent, but not warnings, and criticals? What are host_notification_options and service_notification_options set to in your contact definition? -- -Chris -- Nothing in this message is intended to

Re: [Nagios-users] Has anyone written plugin to monitor IIS App WorkerProcess Size ?

2010-12-30 Thread Chris Beattie
James Whittington wrote: I’m running NSClient++ on some of my web servers and I was looking for ideas on how you might monitor IIS worker process size. Could you use check_nt -v COUNTER and check on the Process(w3wp)\Virtual Bytes and \Process(w3wp)\Working Set performance counters? I don't

Re: [Nagios-users] Scheduling Queue stucked a few minutes afterrestart

2010-12-30 Thread Chris Beattie
Maurizio Pinotti wrote: hi Chris, thanks for your reply.. I just upgraded to nagios 3.2.1-2~bpo50+1, but nothing has changed :'( Bummer. I wonder if the package's nagios.cfg file is different from the stock one. I was using an old nagios.cfg file for a while. It turned out there were new

Re: [Nagios-users] Scheduling Queue stucked a few minutes after restart

2010-12-28 Thread Chris Beattie
Maurizio Pinotti wrote: I have a really odd issue running Nagios: a few minutes after starting the scheduling queue seems to freeze and no more active checks are performed. The queue remains stucked for hours until I have to manually restart Nagios. I'm running Nagios 3.0.6 (deb package) on

Re: [Nagios-users] monitoring windows event viewer.

2010-12-28 Thread Chris Beattie
Toonz IT wrote: Is it possible to monitor specific event ids like disk error, fro windows event viewer logs?? Yes, but you may have to use the NSClient++ agent on your Windows boxes and create custom commands to do it. http://nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog Unfortunately,

Re: [Nagios-users] check_smtp doesn't support TLS?

2010-12-27 Thread Chris Beattie
tal...@gmail.com wrote: I'm trying to setup the check_smtp plugin for a remote mail server. I downloaded the latest version of nagios-plugins, built and installed it. This is what I get when I invoke check_smtp from the command line (actual data removed) - received 530 5.7.0 Must issue a

Re: [Nagios-users] re-enable all notifications on hosts services

2010-12-27 Thread Chris Beattie
Mark A. Lappin wrote: interface for hosts and all services on hosts. Dozens it seems. Is there an easy way to turn all notifications back on for all services and all hosts in one fell swoop? We had a lot of htem turned off while we You can use Nagios' external commands to do that.

Re: [Nagios-users] Set notification periods for services from hostentry?

2010-12-09 Thread Chris Beattie
On Wed, 2010-12-08 at 15:41 -0500, chris burgess wrote: Is there a way to override the service notification period by setting it in the hosts entries? (this is what I expected to do, but it seems the service takes precedence) You're on the right track, but facing backwards. If you set a

Re: [Nagios-users] Nagios Core 3.2.3 host check retry interval

2010-12-01 Thread Chris Beattie
On Fri, 2010-11-19 at 11:20 -0500, Chris Beattie wrote: This time I'm trying a nearly-stock nagios.cfg file. The one I've been using predates Nagios 3.0. Though it's been updated some, it doesn't contain all the more-recent settings. I was out of town for a bit. This is still happening

Re: [Nagios-users] Nagios Core 3.2.3 host check retry interval

2010-11-18 Thread Chris Beattie
On Tue, 2010-11-16 at 22:52 +0100, Andreas Ericsson wrote: That one was in 3.2.2 too though. Could you try un-commenting the lines mentioned there and see if that helps? It looks like something weird is still happening after making that change. I checked some more hosts and the retry_interval

Re: [Nagios-users] Nagios Core 3.2.3 host check retry interval

2010-11-17 Thread Chris Beattie
On Tue, 2010-11-16 at 22:52 +0100, Andreas Ericsson wrote: http://git.op5.org/git/?p=nagios.git;a=commitdiff;h=1149d275011d7c4d8631b44dbba30ebdb4d7e83f That one was in 3.2.2 too though. Could you try un-commenting the lines mentioned there and see if that helps? I won't revert that patch,

[Nagios-users] Nagios Core 3.2.3 host check retry interval

2010-11-16 Thread Chris Beattie
I noticed something curious. It looks like Nagios 3.2.3 is making on-demand host checks faster than the retry_interval should allow. The interval_length is set to 60 and the retry_interval is set to 1. Nagios and the plugins were compiled from source on CentOS 5.5 x64. I'm not sure if this

Re: [Nagios-users] Best Practice: Forgotten Acknowledgements

2010-11-01 Thread Chris Beattie
Acknowledgements add comments to hosts and services, so you could just set yourself a reminder to occasionally check the comments link in the side bar and look for anything that's getting stale. -Original Message- From: Andre Timmermann [mailto:an...@nine.ch] Sent: Monday, November 01,

Re: [Nagios-users] Using two nagios servers...

2010-08-16 Thread Chris Beattie
Your servers will probably be fine servicing the extra Nagios polling, unless they are overloaded already. Since I run Nagios on virtual machines, however, I tried to keep the load on my failover Nagios server minimized. My failover Nagios server runs a cron job that uses the check_nagios

Re: [Nagios-users] Generate and export reports in CSV, PDF format?

2009-07-01 Thread Chris Beattie
On Wed, 2009-07-01 at 14:51 +0530, N Patil wrote: Is there any way that I can generate/convert reports into CSV, PDF, DOC or such formats ? I don't know if this will help you at all, but I've always used MRTG or Cacti for history and graphing rather than Nagios add-ons. Newer versions of

[Nagios-users] Compliance: Re: Monitoring Web Sites

2009-06-30 Thread Chris Beattie
On Tue, 2009-06-30 at 10:25 +0100, cr...@hooters-uk.com wrote: I'm looking to monitor a web site that is hosted on a server that has multiple sites, how would I go about monitoring multiple sites on one server? The check_http command supports arguments for the host name, the host address, and

[Nagios-users] Compliance: Re: check_snmp memory leak

2009-04-13 Thread Chris Beattie
' dependencies, however. That does make life much easier than the RPM Hell days! -- Chris Beattie -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial

Re: [Nagios-users] Service Template Inheritance

2009-03-23 Thread Chris Beattie
the notification period from the host. You'll have half the service templates to manage if you can do that. Look for implied inheritance on this page: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -- Chris Beattie Nothing in this message is intended to make or accept and offer

Re: [Nagios-users] service dependency and escalations

2009-03-18 Thread Chris Beattie
* contact_groups +nogmgr first_notification 3 last_notification 0 } define hostescalation { host_name * contact_groups +nogmgr first_notification 3 last_notification 0 } -- Chris Beattie

Re: [Nagios-users] Problem after upgrade to 3.x: Recipient $

2009-03-11 Thread Chris Beattie
users's dead.letter file. Thanks from me, too, for the explanation: I don't need that cron job anymore! -- Chris Beattie Nothing in this message is intended to make or accept and offer or to form a contract, except that an attachment that is an image of a contract bearing the signature

Re: [Nagios-users] Sub-groups of hostgroups

2009-03-10 Thread Chris Beattie
service_description Service: Web check_command check_nt_service!W3SVC } You don't have to assign services to a hostgroup, but it's convenient for me to do so. -- Chris Beattie Nothing in this message is intended to make or accept and offer or to form a contract

[Nagios-users] Understanding check_cluster

2009-02-24 Thread Chris Beattie
I need some help understanding the check_cluster plugin, please. I'm using version 1.4.13 of the plugins on Nagios 3.10, all compiled from source on 64-bit CentOS 5.2. We use VMWare ESX clusters, and I'd like the hosts in Nagios that happen to be virtual machines to have one parent instead of a

Re: [Nagios-users] New to Nagios - Need help with nagios.cfg

2009-02-19 Thread Chris Beattie
since it's looking only for *.cfg, but they do visually pollute the directory listing and I tell rsync to exclude them when I copy the config files from dev to production. -- Chris Beattie Nothing in this message is intended to make or accept and offer or to form a contract, except

Re: [Nagios-users] Using SLES10 and Nagios 3.x under VMWare

2009-02-19 Thread Chris Beattie
PC can render Nagios' web pages. -- Chris Beattie Nothing in this message is intended to make or accept and 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

Re: [Nagios-users] Nagios SELinux

2009-02-02 Thread Chris Beattie
I compiled Nagios 3 from source on CentOS 5.2 with SELinux set to Enforcing. I installed Nagios following the Fedora Quickstart guide. SELinux will prevent just about everything in Nagios' web page from running. It was an iterative process to get everything allowed, since I kept finding

Re: [Nagios-users] Disable inherited checks? [OT: outlook settings]

2009-02-02 Thread Chris Beattie
Marc Powell wrote: On Feb 2, 2009, at 10:38 AM, Chris Beattie wrote: Sorry for the top-posting: I'm stuck with Outlook. heh. That's an excuse? ;) Here's what I do to make it more 'standard' when I have to use it -- I started with BBSes in the early eighties, so to this day combining

Re: [Nagios-users] Kerberos include files... could not find

2009-02-02 Thread Chris Beattie
for things the program I'm compiling depends on. For example, if I got that message, I would verify that I had, say, the krb5 package installed, and then following that, also install krb5-devel, and try the configure step again. -- Chris Beattie Nothing in this message is intended to make or accept

Re: [Nagios-users] Disable inherited checks?

2009-02-02 Thread Chris Beattie
You can disable inherited service checks for a host by putting an exclamation mark in front of the host name in the service definition. Look for Excluding Hosts in http://nagios.sourceforge.net/docs/3_0/objecttricks.html. From: Keith Edmunds

Re: [Nagios-users] Disable inherited checks?

2009-02-02 Thread Chris Beattie
Sorry for the top-posting: I'm stuck with Outlook. Have you tried templates? We have ~550 hosts and ~4500 services, and it'd be a real pain to not use templates. I have a host template definition for Windows servers, which adds anything assigned that template to a windows_servers host group. I

Re: [Nagios-users] Browser reload problem

2009-01-29 Thread Chris Beattie
I didn't notice this until you pointed it out. I almost always open things in new tabs, though. Reloading status.cgi works if it's in its own tab, at least. -Original Message- From: Nicole Hähnel [mailto:m...@nicole-haehnel.de] Sent: Tuesday, January 27, 2009 11:15 AM To: Nagios Users

Re: [Nagios-users] Acknowledged by user + Service action url

2009-01-15 Thread Chris Beattie
From: Palle L Jensen [mailto:pall...@gmail.com] Sent: Thursday, January 15, 2009 9:28 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Acknowledged by user + Service action url 1. In Nagios Web-interface and when someone acknowledges a problem, the Author (your name) it is

[Nagios-users] Nagios caught SIGSEGV but doesn't seem to shut down all the way

2008-12-26 Thread Chris Beattie
Hello all, I'm running Nagios 3.0.6 compiled from unmodified source on CentOS 5.2 x86_64. I noticed that notifications stopped early this morning, and the logs said Nagios caught SIGSEGV, and it was shutting down. Nagios doesn't appear to go all the way down, though. All the CGIs still work,

Re: [Nagios-users] Nagios caught SIGSEGV but doesn't seem to shut downall the way

2008-12-26 Thread Chris Beattie
From: Chris Beattie [mailto:cbeat...@geninfo.com] I'm running Nagios 3.0.6 compiled from unmodified source on CentOS 5.2 x86_64. I noticed that notifications stopped early this morning, and the logs said Nagios caught SIGSEGV, and it was shutting down. Nagios doesn't appear to go all the way

Re: [Nagios-users] Nagios and SELinux issue

2008-12-10 Thread Chris Beattie
-Original Message- Kenneth Holter wrote: We're running Nagios 3.0.3 on RHEL 5, and are having an issue with SELinux. A symptom I have noticed it that acknowledging a problem results in the following error: /Error: Could not stat() command file

Re: [Nagios-users] Failover Monitoring.

2008-12-08 Thread Chris Beattie
-Original Message- From: Eddie [mailto:[EMAIL PROTECTED] To keep services status information up-to-date on the slave the master sends all service check results to the slave. I got this set up between my master and slave servers, and then noticed that comments and other stuff like

[Nagios-users] Failover monitoring and acknowlegements

2008-12-03 Thread Chris Beattie
I'm setting Nagios up in a failover configuration like is described in the documentation, with the primary server feeding check results to the failover server via NSCA. That part's working fine, but is there a good way to also keep host and service comments, acknowledgements, and scheduled

Re: [Nagios-users] Failover monitoring and acknowlegements

2008-12-03 Thread Chris Beattie
Er, both servers are Nagios 3.0.5 running on CentOS 5.2, sorry. From: Chris Beattie [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 9:53 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Failover monitoring and acknowlegements I'm setting Nagios up in a failover

Re: [Nagios-users] Failover monitoring and acknowlegements

2008-12-03 Thread Chris Beattie
keep Nagios itself, updated on the failover server without me having to do it manually. From: Paul Weaver [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 11:09 AM To: Chris Beattie; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Failover monitoring