Skip to content

Releases: kubedzero/unraid-snmp

2024.11.01

01 Nov 12:54
b673fbb
Compare
Choose a tag to compare

2024.11.01

  • Updated minimum OS version from 6.11.0 to 7.0.0-beta.1 to address SSL library update causing error libssl.so.1.1: cannot open shared object file: No such file or directory
  • Updated package versions
    • net-snmp-5.9-1 to net-snmp-5.9.4-5
    • perl-5.36.0-3 to perl-5.40.0-2

2023.04.20

20 Apr 02:20
Compare
Choose a tag to compare

2023.04.20

  • Fixed a regression in unraid-snmp that prevented the /etc/rc.d/rc.snmpd file from being updated correctly.
  • This regression caused extra logs in /var/log/snmpd.log
  • This regression is caused by the update from net-snmp-5.9 to net-snmp-5.9.3
  • NOTE: ps -ef | grep snmp can be used to confirm the flags were set correctly. They should be /usr/sbin/snmpd -A -p /var/run/snmpd -LF 0-5 /var/log/snmpd.log -c /etc/snmp/snmpd.conf
  • Thanks @irishjd and @uncore for the help!

2023.02.19

20 Feb 02:20
Compare
Choose a tag to compare

2023.02.19

  • Adjusted CPU MHz script to more succinctly retrieve data
  • Adjusted plugin PLG install script to read the rocommunity string from the /etc/snmp/snmpd.conf SNMP daemon config file when testing install success/failure. Thanks @cjhammel for the suggestion!

2023.02.18

20 Feb 02:19
Compare
Choose a tag to compare

2023.02.18

  • Adjusted CPU MHz script to source from /proc/cpuinfo instead of lscpu to improve compatibility. Thanks @Mattie112 @mvlp @irishjd for the help!

2023.02.12

12 Feb 14:23
Compare
Choose a tag to compare

2023.02.12

  • Adjusted README wording
  • Updated package versions
    • libnl-1.1.4-3 to libnl-1.1.4-5
    • net-snmp-5.9-1 to net-snmp-5.9.3-1
    • perl-5.32.0-1 to perl-5.36.0-3
  • Updated minimum OS version from 6.7.0 to 6.11.0. Packages net-snmp and perl now require libc-2.34 or newer, which is only satisfied starting with Unraid 6.11.0's use of libc-2.36. Unraid 6.10.3 uses libc-2.33 which will yield errors such as /lib64/libc.so.6: version 'GLIBC_2.34' not found (required by /usr/lib64/perl5/CORE/libperl.so)

2021.05.21

18 Jun 04:20
Compare
Choose a tag to compare

2021.05.21

  • Added customizable snmpd.conf to the SNMP Settings page. Thanks @Mattie112 for the contribution!
  • Users can define a custom SNMP config at /boot/config/plugins/snmp/snmpd.conf that will automatically be picked up at boot/install time
  • Tweaked the install script to avoid an early exit if the bundled snmpd.conf was missing
  • Adjusted PLG uninstall process to properly remove /etc/rc.d/rc.snmpd*
  • SNMP HDD/CPU/RAM/etc scripts now use /bin/bash as /usr/bin/bash just symlinks to it anyway

2020.11.20

07 Dec 00:38
Compare
Choose a tag to compare

2020.11.20

2020.10.04

07 Dec 00:37
Compare
Choose a tag to compare

2020.10.04

  • Added mem_info.sh to print memory values in bytes
  • Exposed in SNMP as meminfo
  • Current memory values exported are MemTotal, MemFree, MemAvailable, Cached, Active, Inactive, Committed_AS
  • Added Settings page to disable --no-check standby when getting disk temps
  • Used in Unraid setups where disks are always reported to be in Standby
  • Used in Unraid setups where disks don't need spinning up to get temperature
  • State is stored between reboots in /boot/config/plugins/snmp/snmp.cfg
  • The script /usr/local/emhttp/plugins/snmp/disk_temps.sh reads this config to change behavior

2020.09.20

23 Sep 15:13
Compare
Choose a tag to compare

2020.09.20

  • Bugfix: SMB and NFS permission denied errors after plugin install
  • Unused scripts were present in unraid-snmp-2020.09.19-x86_64-1.txz and somehow interrupted server access
  • Resolved by rebuilding the .txz to contain only used files
  • Updated slack-desc formatting
  • PLG tweak: moved forward slash into XML variable for usbcfgdir

2020.09.19

23 Sep 15:12
Compare
Choose a tag to compare

2020.09.19

  • Migrate SNMP plugin to .txz style install
  • Optimized plugin removal for more complete cleanup
  • Updated net-snmp from 5.8-5 to 5.9
  • Updated libnl from 1.1.4 to 1.1.4-3
  • Perl 5.32.0 declared as dependency instead of separate install.
  • Plugin maintainer should keep the version in sync with Nerd Pack to avoid overwriting with an older version
  • Install logging more clearly states usage of single and double quotes in sample calls
  • Refactored share_free_space.sh for added clarity.
  • Preexisting behavior: Outputs in bytes
  • Refactored drive_temps.sh
  • Changed name to disk_temps.sh
  • Preexisting behavior: Five minute TTL cached results for rapid SNMP calls and large arrays
  • New behavior: Avoids disk spinup, preferring to report standby "temperature" of -2
  • New behavior: If an error is encountered during parsing, report a "temperature" of -1
  • New behavior: Script originally output nothing if no cached results present. Now it reports whatever results were collected in the first 1000ms
  • Added disk_free_space.sh to print free bytes in /boot, /mnt/disk*, /mnt/cache
  • Exposed in SNMP as diskfree
  • Added cpu_mhz.sh at request of forum user Max to output CPU speed in MHz
  • Exposed in SNMP as cpumhz
  • Tested with an Intel CPU virtualized under ESXi