Multiple hosts/services in services.cfg?
Patrick Webster
pwebster at ausgeo.com.au
Thu Dec 4 00:11:57 CET 2003
Hi Guys,
Quick question: Is it possible to check multiple hosts, for multiple
services, with one entry in the services.cfg file?
Example:
let 'nt-servers' = srv1,srv2,srv3,srv4 etc....
Can I use;
# Service definition
define service{
use generic-service ; Name
of service template to use
host_name nt-servers
service_description NT Specific Data
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups nagios-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check-nt-cpuload
check_command check-nt-memuse
check_command check-nt-disk
check_command check-nt-uptime
}
.. or something along those lines? Thanks guys! I've read various doco
but not 100% sure.
Regards,
-Patrick
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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