Rather than having to define multiple services for each port I want to check on a box remotely can I check them all in one command? I tried comma seperating them but that didn’t work. I’d want something like
define service{
host_name HOSTNAME
service_description PORTSCAN
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 960
notification_period 24x7
check_command check_tcp!10,20,30,40,50
}
Something like that. So I could basically portscan a box to make sure all is up…
Thanks,
Ross