Checking Clients Online before other checks
Macleod, Chris
CMacleod at edrington.co.uk
Wed Nov 17 16:04:21 CET 2010
Hello,
You need to configure service dependencies like below.
}
define servicedependency {
dependent_host_name server1
dependent_service_description CPU Usage,DNS
Server,Drive C: Disk Usage,Drive D: Disk Usage,IIS Web Server,Logon
Errors,Memory Usage,Page File Usage,Server Work Queues,SQL Server,Uptime
host_name TAISQL1
service_description Ping
inherits_parent 1
execution_failure_criteria w,u,c
notification_failure_criteria w,u,c
dependency_period 24x7
}
I create one for each host this way if ping fails the other services
will be checked but no alerts will be generated.
Thanks
Chris
-----Original Message-----
From: Daniel Laird [mailto:danieljlaird at hotmail.com]
Sent: 17 November 2010 14:49
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Checking Clients Online before other checks
All,
I am new to nagios and am trying something I suspect has been done
before - but I am struggling and was wondering if you can help?
I have a server that is online 24x7
I haev a group of machines (upto 50) that are on and offline (desktop
machines)
I want to have the server check if a client is online (ping will do for
now) If the ping is successful I want to run a number of checks (apt,
disks, load etc) If the ping is unsuccessful I don't want any errors at
all - as this is perfectly possible.
I have created a HostGroup with all my desktop machines I have also
created a service group of the checks I want to run once a host is
determined as being there.
I know I can make the service group dependent on the ping test.
Can anyone give me any hints as to what I have to do next and how I make
sure that if a ping fails I dont get an error at all?
Cheers
Dan
------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
________________________________________________________________________
This e-mail has been scanned for all viruses by MessageLabs. TEG-IN
________________________________________________________________________
This e-mail has been scanned for all viruses by Message Labs.
Please enjoy our brands responsibly. www.drinkaware.co.uk
The Edrington Group is a private limited company registered in Scotland (Registered Number SC 36374) with its Registered Office at 2500 Great Western Road, Glasgow, G15 6RW.
________________________________________________________________________
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list