diff --git a/monitoring/icinga2/conf.d/commands-new.conf b/monitoring/icinga2/conf.d/commands-new.conf index cc24662..847f2dc 100644 --- a/monitoring/icinga2/conf.d/commands-new.conf +++ b/monitoring/icinga2/conf.d/commands-new.conf @@ -43,7 +43,7 @@ object CheckCommand "check_bandwidth" { ####################################################################################### object CheckCommand "check_operstatus" { import "plugin-check-command" - command = PluginDir + "/check_snmp -H $host$ -C openfest --oid $OID$ -s $value$" + command = PluginDir + "/check_snmp -H $host$ -C openfest --oid $OID$ --miblist=IF-MIB -r $value$" vars.host="" vars.OID="" vars.value="" diff --git a/monitoring/icinga2/conf.d/services-new.conf b/monitoring/icinga2/conf.d/services-new.conf index 84f23fc..939e858 100644 --- a/monitoring/icinga2/conf.d/services-new.conf +++ b/monitoring/icinga2/conf.d/services-new.conf @@ -28,7 +28,7 @@ apply Service "network_open_ports" { apply Service for (iface => config in host.vars.ifaces) { import "generic-service" - display_name = "check_bandwidth" + display_name = "bandwidth_" + iface check_command = "check_bandwidth" @@ -39,7 +39,7 @@ apply Service for (iface => config in host.vars.ifaces) { apply Service for (iface => config in host.vars.snmp_ifaces) { import "generic-service" - display_name = "check_operstatus" + display_name = "operstatus_" + iface check_command = "check_operstatus"