Skip to content

Commit

Permalink
Merge pull request #1649 from arnoldthebat/issue-1648
Browse files Browse the repository at this point in the history
Fixed Synology System Temerature being overwritten
  • Loading branch information
f0o committed Aug 9, 2015
2 parents 15a3380 + ae6e01e commit 249e89f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.md
Expand Up @@ -35,7 +35,7 @@ Contributors to LibreNMS:
- Christian Marg <marg@rz.tu-clausthal.de> (einhirn)
- Louis Rossouw <lrossouw@gmail.com> (spinza)
- Clint Armstrong <clint@clintarmstrong.net> (clinta)
- Tony Ditchfield <tony.ditchfield@gmail.com> (arnoldthebat)
- Tony Ditchfield <tony.ditchfield@gmail.com> (arnoldthebat)
- Travis Hegner <travis.hegner@gmail.com> (travishegner)
- Will Jones <email@willjones.eu> (willjones)
- Job Snijders <job@instituut.net> (job)
Expand Down
2 changes: 1 addition & 1 deletion includes/discovery/temperatures/dsm.inc.php
Expand Up @@ -12,7 +12,7 @@
// Get DiskStation temperature
$diskstation_temperature = snmp_get($device, $diskstation_temperature_oid, '-Oqv');
// Save the DiskStation temperature
discover_sensor($valid['sensor'], 'temperature', $device, $diskstation_temperature_oid, '2', 'snmp', 'System Temperature', '1', '1', null, null, null, null, $diskstation_temperature);
discover_sensor($valid['sensor'], 'temperature', $device, $diskstation_temperature_oid, '99', 'snmp', 'System Temperature', '1', '1', null, null, null, null, $diskstation_temperature);


// Get all disks in the device
Expand Down

0 comments on commit 249e89f

Please sign in to comment.