(plugin) hardware::ups::apc::snmp - mode input-lines fix (#4607)

This commit is contained in:
omercier 2023-08-30 13:21:44 +02:00 committed by GitHub
commit 87f64ae35b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,6 @@ sub set_counters {
}, },
{ label => 'status', type => 2, set => { { label => 'status', type => 2, set => {
key_values => [ { name => 'last_cause' } ], key_values => [ { name => 'last_cause' } ],
closure_custom_calc => \&catalog_status_calc,
closure_custom_output => $self->can('custom_status_output'), closure_custom_output => $self->can('custom_status_output'),
closure_custom_perfdata => sub { return 0; }, closure_custom_perfdata => sub { return 0; },
closure_custom_threshold_check => \&catalog_status_threshold_ng closure_custom_threshold_check => \&catalog_status_threshold_ng