Checking a service on all hosts _except_...
Ian Marlier
ian.marlier at studentuniverse.com
Tue Oct 18 05:16:11 CEST 2005
Hey, all --
This is one of those questions that I'm sure many people have asked before,
but I haven't been able to find the answer if/when it was given...so sorry
if I'm making someone repeat him/herself....
Anyway.
I've got an environment with about 65 linux servers, and about 5 windows
servers. There's a base set of 6 or 7 services that I want to monitor on
all of them: connectivity, ssh, cron, and a couple of others.
I'm wondering whether it's possible to define a hostgroup (say,
"windows-servers") with the non-linux boxes listed, and then define a
service check for all hosts except those.
Something like:
define service {
name SSH
host_name *
except_hostgroup windows-servers
check_command check_ssh
.
.
.
}
So, anyone have any thoughts? C'mon, make my life better ;-)
Thanks!
- Ian
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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