NCPA - Register services
Posted: Tue Sep 25, 2018 8:40 am
I would like to add more services to hosts-
The ansible task shows this:
"host_name={{ ansible_hostname }}&service_description=Disk&check_command=check_xi_ncpa\\!-t '{{ ncpa_token }}' -P 5693 -M 'disk/logical/|/used_percent' -w 70 -c 90&check_interval=5&retry_interval=1&max_check_attempts=2&check_period=24x7&contacts=nagiosadmin¬ification_interval=5¬ification_period=24x7"
Where do I find the syntax for check command - check_xi_ncpa ? And the services like " -M memory/swap -u -w 50 -c 80" ?
Thanks!
The ansible task shows this:
"host_name={{ ansible_hostname }}&service_description=Disk&check_command=check_xi_ncpa\\!-t '{{ ncpa_token }}' -P 5693 -M 'disk/logical/|/used_percent' -w 70 -c 90&check_interval=5&retry_interval=1&max_check_attempts=2&check_period=24x7&contacts=nagiosadmin¬ification_interval=5¬ification_period=24x7"
Where do I find the syntax for check command - check_xi_ncpa ? And the services like " -M memory/swap -u -w 50 -c 80" ?
Thanks!