One defined service for all hosts
John A. Sullivan III
jsullivan at opensourcedevel.com
Fri May 25 17:23:24 CEST 2007
On Fri, 2007-05-25 at 11:09 -0400, Morris, Patrick wrote:
> > Is it possible to define a service check for a hostgroup?
>
> Yes. I define almost all of mine that way.
<snip>
It's a huge time and maintenance saver to do it that way. Here is a
quick example:
define service{
hostgroup_name NiagaraVPNGW
service_description Niagara_SSH
check_command check_ssh
use NiagService
}
define service{
hostgroup_name NiagaraInetRouters
service_description Niagara_Inet_Ping
check_command check_ping!1000.0,60%!3000.0,100%
use NiagService
}
Hope this helps - John
--
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan at opensourcedevel.com
If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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