Among other things, this fixes sysconfig/salt#16.
check_command check_ssh
}
+define service {
+ use adehnert-service
+ hostgroup_name adehnert-minions
+ service_description SERVICES-ALL
+ check_command check_byssh_generic!check_services_all
+}
+
define service {
use adehnert-service
hostgroup_name adehnert-minions
service_description SALT
check_command check_byssh_service!salt-minion
}
+
+define service {
+ use adehnert-service
+ hostgroup_name adehnert-minions
+ #host_name bots
+ service_description SIGN-SSH
+ check_command check_byssh_service_failed!sign-ssh-keys
+}
command_name check_byssh_service
command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios-ssh -H '$HOSTADDRESS$' -C 'check_service $ARG1$'
}
+
+define command{
+ command_name check_byssh_service_failed
+ command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios-ssh -H '$HOSTADDRESS$' -C 'check_service_failed $ARG1$'
+}
+
+define command{
+ command_name check_byssh_generic
+ command_line /usr/lib/nagios/plugins/check_by_ssh -l nagios-ssh -H '$HOSTADDRESS$' -C '$ARG1$'
+}