fix synology ha

This commit is contained in:
garnier-quentin 2020-03-27 15:54:59 +01:00 committed by Lotfi zaouche
parent aaeb47266f
commit ca32fb0859
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ sub set_counters {
{ name => 'cluster_status' }, { name => 'heartbeat_status' },
{ name => 'active_node_name' }, { name => 'passive_node_name' }
],
closure_custom_calc => \&catalog_status_threshold,
closure_custom_calc => \&catalog_status_calc,
closure_custom_output => $self->can('custom_status_output'),
closure_custom_perfdata => sub { return 0; },
closure_custom_threshold_check => \&catalog_status_threshold