From 535ea41ead0e8a98114999a00d156c8c2f4b3f7c Mon Sep 17 00:00:00 2001 From: UrBnW <40244829+UrBnW@users.noreply.github.com> Date: Tue, 9 Jun 2020 14:56:13 +0200 Subject: [PATCH 1/2] enh(synology) Add standard modes --- storage/synology/snmp/plugin.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/synology/snmp/plugin.pm b/storage/synology/snmp/plugin.pm index f1ce05244..cc17303cd 100644 --- a/storage/synology/snmp/plugin.pm +++ b/storage/synology/snmp/plugin.pm @@ -39,7 +39,9 @@ sub new { 'load' => 'snmp_standard::mode::loadaverage', 'storage' => 'snmp_standard::mode::storage', 'temperature' => 'storage::synology::snmp::mode::temperature', + 'time' => 'snmp_standard::mode::ntp', 'ups' => 'storage::synology::snmp::mode::ups' + 'uptime' => 'snmp_standard::mode::uptime', ); return $self; From ed867b4e3c726f513a44c45840d71fed362fde39 Mon Sep 17 00:00:00 2001 From: UrBnW <40244829+UrBnW@users.noreply.github.com> Date: Tue, 9 Jun 2020 15:50:54 +0200 Subject: [PATCH 2/2] enh(synology) Add standard modes --- storage/synology/snmp/plugin.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/synology/snmp/plugin.pm b/storage/synology/snmp/plugin.pm index cc17303cd..ad28b3f16 100644 --- a/storage/synology/snmp/plugin.pm +++ b/storage/synology/snmp/plugin.pm @@ -38,6 +38,7 @@ sub new { 'memory' => 'snmp_standard::mode::memory', 'load' => 'snmp_standard::mode::loadaverage', 'storage' => 'snmp_standard::mode::storage', + 'swap' => 'snmp_standard::mode::swap', 'temperature' => 'storage::synology::snmp::mode::temperature', 'time' => 'snmp_standard::mode::ntp', 'ups' => 'storage::synology::snmp::mode::ups'