From ee185ccbbc910050d614e75a3c58145c34daf8b1 Mon Sep 17 00:00:00 2001 From: UrBnW <40244829+UrBnW@users.noreply.github.com> Date: Tue, 9 Jun 2020 22:11:02 +0200 Subject: [PATCH] Synology wording --- storage/synology/snmp/mode/components/system.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/synology/snmp/mode/components/system.pm b/storage/synology/snmp/mode/components/system.pm index 5cce534e7..dc013b71c 100644 --- a/storage/synology/snmp/mode/components/system.pm +++ b/storage/synology/snmp/mode/components/system.pm @@ -38,13 +38,13 @@ sub load { sub check { my ($self) = @_; - $self->{output}->output_add(long_msg => "Checking system status"); + $self->{output}->output_add(long_msg => "Checking system partition status"); $self->{components}->{system} = {name => 'system', total => 0, skip => 0}; return if ($self->check_filter(section => 'system')); $self->{components}->{system}->{total}++; my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$mapping->{synoSystemsystemStatus}->{oid}}, instance => '0'); - $self->{output}->output_add(long_msg => sprintf("system status is %s.", + $self->{output}->output_add(long_msg => sprintf("system partition status is %s.", $result->{synoSystemsystemStatus})); my $exit = $self->get_severity(label => 'default', section => 'system', value => $result->{synoSystemsystemStatus}); if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) { @@ -53,4 +53,4 @@ sub check { } } -1; \ No newline at end of file +1;