fix cluster status

This commit is contained in:
garnier-quentin 2019-10-29 10:36:47 +01:00
parent 10049c62bc
commit dc1e5faa45
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ sub set_counters {
},
];
$self->{maps_counters}->{nodes} = [
{ label => 'node', threshold => 0, set => {
{ label => 'status', threshold => 0, set => {
key_values => [ { name => 'serial' }, { name => 'hostname' }, { name => 'sync_status' }, { name => 'role' }, { name => 'checksum' } ],
closure_custom_calc => \&catalog_status_calc,
closure_custom_output => $self->can('custom_status_output'),