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:
Grégory Marigot 2022-10-19 15:36:38 +02:00 committed by GitHub
parent 4ddef95a52
commit 2a23d1dcba
1 changed files with 1 additions and 1 deletions

View File

@ -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' } ],
output_template => 'AdminStatus Up : %s', output_error_template => 'AdminStatus Up : %s',
output_use => 'global_admin_up', threshold_use => 'global_admin_up',