Fix option name in snmp interfaces plugin (#4003)
Options --warning-total-admin-up and --critical-total-admin-up are unknown (bad name between global/total)
This commit is contained in:
parent
4ddef95a52
commit
2a23d1dcba
|
@ -405,7 +405,7 @@ sub set_counters_global {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ label => 'global-admin-up', filter => 'add_global', nlabel => 'total.interfaces.admin.up.count', set => {
|
{ label => 'total-admin-up', filter => 'add_global', nlabel => 'total.interfaces.admin.up.count', set => {
|
||||||
key_values => [ { name => 'global_admin_up' }, { name => 'total_port' } ],
|
key_values => [ { name => 'global_admin_up' }, { name => 'total_port' } ],
|
||||||
output_template => 'AdminStatus Up : %s', output_error_template => 'AdminStatus Up : %s',
|
output_template => 'AdminStatus Up : %s', output_error_template => 'AdminStatus Up : %s',
|
||||||
output_use => 'global_admin_up', threshold_use => 'global_admin_up',
|
output_use => 'global_admin_up', threshold_use => 'global_admin_up',
|
||||||
|
|
Loading…
Reference in New Issue