define command{ command_name check_ubnt_link command_line /usr/local/lib/nagios/plugins/UBNT-M.py -H '$HOSTADDRESS$' -U '$ARG1$' -I '$ARG2$' -K '$ARG3$' -w '$ARG4$' -c '$ARG5$' } define service { hostgroup_name ubiquiti-m5-ptp use generic-service,service-pnp service_description LINK contact_groups admins, net-admins check_command check_ubnt_link!ubnt!/etc/nagios3/ssh/id_ubnt-key!/etc/nagios3/ssh/known_hosts!$_HOSTWARN_VALUES$!$_HOSTCRIT_VALUES$ } define hostgroup { hostgroup_name ubiquiti-m5-ptp alias Ubiquiti M5 PtP } define host{ host_name nrp-to-house-ptp hostgroups ubiquiti-m5-ptp alias NRP to House Radio address 10.255.101.12 parents nrp-router check_command check-host-alive max_check_attempts 5 check_period 24x7 contact_groups admins, net-admins, tech-support notification_interval 30 notification_period 24x7 notification_options d,u,r _warn_values -60:-53,,,~:-91,95:~,90:~,89:~,117:~,117:~ _crit_values -68:-50,,,~:-89,89:~,85:~,85:~,104:~,104:~ }