More user-friendly names for the SNMP checks
This commit is contained in:
parent
dc1cfab052
commit
b88753cc14
|
@ -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=""
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue