mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
add rawtype and rawstate
This commit is contained in:
parent
2aa01bf9ad
commit
9ae188e0b5
@ -82,6 +82,8 @@ sub custom_status_output {
|
||||
sub custom_status_calc {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
$self->{result_values}->{rawtype} = $options{new_datas}->{$self->{instance} . '_type'};
|
||||
$self->{result_values}->{rawstate} = $options{new_datas}->{$self->{instance} . '_state'};
|
||||
$self->{result_values}->{type} = $type_map_chronyc{$options{new_datas}->{$self->{instance} . '_type'}};
|
||||
$self->{result_values}->{reach} = $options{new_datas}->{$self->{instance} . '_reach'};
|
||||
$self->{result_values}->{state} = $state_map_chronyc{$options{new_datas}->{$self->{instance} . '_state'}};
|
||||
|
Loading…
x
Reference in New Issue
Block a user