Skip to main content
Question

Synology Hyper Backup

  • April 22, 2022
  • 3 replies
  • 645 views

Forum|alt.badge.img

Is it possible to recover the state of the backup of the Hyper Backup Package on a synology ?

3 replies

Forum|alt.badge.img+16
  • Steward **
  • 215 replies
  • April 26, 2022

Hello @MSFC ,

Only the following “things” can be monitor actually wich SNMP on Synology:

        'components'  => 'storage::synology::snmp::mode::hardware',
'cpu' => 'snmp_standard::mode::cpu',
'ha' => 'storage::synology::snmp::mode::ha',
'interfaces' => 'snmp_standard::mode::interfaces',
'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',
'upgrade' => 'storage::synology::snmp::mode::upgrade',
'ups' => 'storage::synology::snmp::mode::ups',
'uptime' => 'snmp_standard::mode::uptime'

https://github.com/centreon/centreon-plugins/blob/master/storage/synology/snmp/plugin.pm

Feel free to post a IDEA with the most details that you could give us (API, MIB SNMP, or a way to do it using SSH for example).


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 277 replies
  • April 26, 2022

Hi @MSFC,

I assume that by “recover” you meant “obtain”?

This ability can be added to the plugin (and later to the pack) only if the information is available via SNMP. I would not bet on this, but it’s worth trying.

To check that, once you have configured your Hyper Backup, run this command:

snmpwalk -v 2c -c <your_community> <ip_of_your_synology> .1.3.6.1.4.1

To understand all the returned output, you may have to place the Synology MIB file in `/usr/share/snmp/mibs/`. Then, once you have found stuff about your backup, run this second command to get the raw OIDs and submit both results as an issue to our github repository:

snmpwalk -ObentU -v 2c -c <your_community> <ip_of_your_synology> .1.3.6.1.4.1

 


Forum|alt.badge.img+2
  • Steward *
  • 7 replies
  • May 4, 2022

Hello , this script seems to work for hyperbackup results return : https://github.com/leirn/check_hyperbackup