define hostgroup {
hostgroup_name adehnert-minions
members bots,roost-api
- members virunga,wieliczka,xidi,augsburg,chankillo
+ members virunga,wieliczka,xidi,augsburg,chankillo,evora
}
define service {
define service {
use adehnert-service
hostgroup_name adehnert-hosts
- host_name !xidi
+ host_name !xidi,!evora
service_description PING
check_command check_ping!500.0,30%!3000.0,80%
}
define service {
use adehnert-service
hostgroup_name adehnert-hosts
+ # evora is connected to using port forwarding, so the basic ssh check doesn't work
+ host_name !evora
service_description SSH
check_command check_ssh
}
--- /dev/null
+define host{
+ use adehnert-host ; Name of host template to use
+ host_name evora
+ address evora.dehnerts.com
+ # Unpingable, so check using ssh instead
+ check_command check_ssh_dd_port!35522
+}
+
+define command{
+ command_name check_ssh_dd_port
+ command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' duck-dacha.dehnerts.com
+}