Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !!!!!!!!!!!!!!!!fresh install after unraid was running, array not started
- plugin: installing: https://raw.githubusercontent.com/kubedzero/unraid-snmp/main/snmp.plg
- plugin: downloading https://raw.githubusercontent.com/kubedzero/unraid-snmp/main/snmp.plg
- plugin: downloading: https://raw.githubusercontent.com/kubedzero/unraid-snmp/main/snmp.plg ... done
- +==============================================================================
- | Installing new package /boot/config/plugins/snmp/perl-5.32.0-x86_64-1.txz
- +==============================================================================
- Verifying package perl-5.32.0-x86_64-1.txz.
- Installing package perl-5.32.0-x86_64-1.txz:
- PACKAGE DESCRIPTION:
- # perl (Practical Extraction and Report Language)
- #
- # Larry Wall's "Practical Extraction and Report Language". Perl is a
- # language optimized for scanning arbitrary text files, extracting
- # information from those text files, and printing reports based on that
- # information. It's also a good language for many system management
- # tasks. The language is intended to be practical (easy to use,
- # efficient, complete) rather than beautiful (tiny, elegant, minimal).
- #
- # Homepage: http://www.perl.org
- #
- Executing install script for perl-5.32.0-x86_64-1.txz.
- Package perl-5.32.0-x86_64-1.txz installed.
- +==============================================================================
- | Installing new package /boot/config/plugins/snmp/libnl-1.1.4-x86_64-3.txz
- +==============================================================================
- Verifying package libnl-1.1.4-x86_64-3.txz.
- Installing package libnl-1.1.4-x86_64-3.txz:
- PACKAGE DESCRIPTION:
- # libnl (netlink socket library)
- #
- # libnl is a library for applications dealing with netlink sockets.
- # The library provides an interface for raw netlink messaging and
- # various netlink family specific interfaces.
- #
- # Homepage: http://people.suug.ch/~tgr/libnl/
- #
- #
- Executing install script for libnl-1.1.4-x86_64-3.txz.
- Package libnl-1.1.4-x86_64-3.txz installed.
- +==============================================================================
- | Installing new package /boot/config/plugins/snmp/net-snmp-5.9-x86_64-1.txz
- +==============================================================================
- Verifying package net-snmp-5.9-x86_64-1.txz.
- Installing package net-snmp-5.9-x86_64-1.txz:
- PACKAGE DESCRIPTION:
- # net-snmp (Simple Network Management Protocol tools)
- #
- # Various tools relating to the Simple Network Management Protocol:
- #
- # An extensible agent
- # An SNMP library
- # Tools to request or set information from SNMP agents
- # Tools to generate and handle SNMP traps
- # A version of the UNIX 'netstat' command using SNMP
- # A graphical Perl/Tk/SNMP based mib browser
- #
- Executing install script for net-snmp-5.9-x86_64-1.txz.
- Package net-snmp-5.9-x86_64-1.txz installed.
- +==============================================================================
- | Installing new package /boot/config/plugins/snmp/unraid-snmp-2021.05.21-x86_64-1.txz
- +==============================================================================
- Verifying package unraid-snmp-2021.05.21-x86_64-1.txz.
- Installing package unraid-snmp-2021.05.21-x86_64-1.txz:
- PACKAGE DESCRIPTION:
- # unraid-snmp
- #
- # unraid-snmp assists with installing a custom extension of net-snmp
- # and configuring it for use on Unraid.
- #
- # nano /etc/snmp/snmpd.conf # edit config
- # bash /etc/rc.d/rc.snmpd restart # stop and start daemon
- # tail -f /var/log/snmpd.log # tail logs
- #
- # https://github.com/kubedzero/unraid-snmp
- #
- Executing install script for unraid-snmp-2021.05.21-x86_64-1.txz.
- Set permissions and move into dir /usr/local/emhttp/plugins/snmp
- Set shell script executable permissions
- Set read only permissions for other files
- Checking if /etc/rc.d/rc.snmpd exists before editing
- Stop SNMP daemon if it is currently running
- Shutting down snmpd: DONE
- Using the Unraid default config /usr/local/emhttp/plugins/snmp/snmpd.conf, backing up the original
- Editing SNMP startup options in rc.snmpd to be [-LF 0-5 /var/log/snmpd.log -A -p /var/run/snmpd -a]
- Restart SNMP daemon now that we've adjusted how rc.snmpd starts it
- Starting snmpd: /usr/sbin/snmpd -LF 0-5 /var/log/snmpd.log -A -p /var/run/snmpd -a -c /etc/snmp/snmpd.conf
- PID of started SNMP daemon is 7067
- Package unraid-snmp-2021.05.21-x86_64-1.txz installed.
- +==============================================================================
- | Testing SNMP by listing mounts, /boot should be present
- +==============================================================================
- snmpwalk -v 2c localhost -c public hrFSMountPoint
- SNMP appears to be working. Output:
- HOST-RESOURCES-MIB::hrFSMountPoint.33 = STRING: "/run"
- HOST-RESOURCES-MIB::hrFSMountPoint.34 = STRING: "/boot"
- HOST-RESOURCES-MIB::hrFSMountPoint.40 = STRING: "/dev/shm"
- HOST-RESOURCES-MIB::hrFSMountPoint.42 = STRING: "/sys/fs/cgroup"
- HOST-RESOURCES-MIB::hrFSMountPoint.55 = STRING: "/var/log"
- +==============================================================================
- | Other SNMP Examples
- +==============================================================================
- Here are how sharefree lines look:
- snmpwalk -v 2c -c public localhost 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree"'
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree".1 = STRING:
- Here are how all custom extensions look:
- snmpwalk -v 2c -c public localhost nsExtendOutLine
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpumhz".1 = STRING:
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".1 = STRING: MemTotal: 8352735232
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".2 = STRING: MemFree: 7011094528
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".3 = STRING: MemAvailable: 7128174592
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".4 = STRING: Cached: 1111367680
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".5 = STRING: Active: 754626560
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".6 = STRING: Inactive: 447873024
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".7 = STRING: Committed_AS: 1105530880
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".8 = STRING: Dirty: 0
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."diskfree".1 = STRING: boot: 7342501888
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp".1 = STRING:
- NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree".1 = STRING:
- +==============================================================================
- | snmp version 2021.05.21 has been installed.
- +==============================================================================
- plugin: snmp.plg installed
- !!!!!!!!!!!!!!!!unraid shut down and booted back up, array not started, but SNMP shows up in installed plugins.
- NerdPack install:
- Feb 13 06:47:17 Test root: +==============================================================================
- Feb 13 06:47:17 Test root: | Installing new package /boot/config/plugins/NerdPack/NerdPack-2021.01.08-x86_64-1.txz
- Feb 13 06:47:17 Test root: +==============================================================================
- Feb 13 06:47:17 Test root:
- Feb 13 06:47:17 Test root: Verifying package NerdPack-2021.01.08-x86_64-1.txz.
- Feb 13 06:47:17 Test root: Installing package NerdPack-2021.01.08-x86_64-1.txz:
- Feb 13 06:47:17 Test root: PACKAGE DESCRIPTION:
- Feb 13 06:47:17 Test root: # Nerd Tools unRAID Plugin
- Feb 13 06:47:17 Test root: #
- Feb 13 06:47:17 Test root: # unRAID plugin wrapper for extra packages, mostly CLI, for advanced
- Feb 13 06:47:17 Test root: # users. Use at your own risk. Not officially supported by LimeTech.
- Feb 13 06:47:17 Test root: #
- Feb 13 06:47:17 Test root: # Supports: apr, apt-util, bwm-ng, cpio, git, iftop, inotify, iotop,
- Feb 13 06:47:17 Test root: # iperf, kbd, lftp, lshw, neon, p7zip, perl, python, readline, screen,
- Feb 13 06:47:17 Test root: # sshfs-fuse, strace, subversion, unrar, utempter, vim
- Feb 13 06:47:17 Test root: #
- Feb 13 06:47:17 Test root: # https://github.com/dmacias72/unRAID-plugins
- Feb 13 06:47:17 Test root: #
- Feb 13 06:47:17 Test root: Executing install script for NerdPack-2021.01.08-x86_64-1.txz.
- Feb 13 06:47:17 Test root: Package NerdPack-2021.01.08-x86_64-1.txz installed.
- Feb 13 06:47:17 Test nerdpack: Processing Packages...
- Feb 13 06:47:17 Test root:
- Feb 13 06:47:17 Test root: Processing Packages...
- Feb 13 06:47:17 Test nerdpack: perl-5.32.0 used by plugin: snmp
- Feb 13 06:47:17 Test root:
- Feb 13 06:47:17 Test root: perl-5.32.0 used by plugin: snmp
- Feb 13 06:47:18 Test nerdpack: Installing perl-5.32.0 package...
- Feb 13 06:47:18 Test root:
- Feb 13 06:47:18 Test root: Installing perl-5.32.0 package...
- !!!!!!!!!!!!!!!!Then installing SNMP:
- Feb 13 06:47:27 Test root: plugin: installing: /boot/config/plugins/snmp.plg
- Feb 13 06:47:27 Test root: plugin: skipping: /boot/config/plugins/snmp/perl-5.32.0-x86_64-1.txz already exists
- Feb 13 06:47:27 Test root: plugin: running: /boot/config/plugins/snmp/perl-5.32.0-x86_64-1.txz
- Feb 13 06:47:27 Test root:
- Feb 13 06:47:27 Test root: +==============================================================================
- Feb 13 06:47:27 Test root: | Installing new package /boot/config/plugins/snmp/perl-5.32.0-x86_64-1.txz
- Feb 13 06:47:27 Test root: +==============================================================================
- Feb 13 06:47:27 Test root:
- Feb 13 06:47:27 Test root: Verifying package perl-5.32.0-x86_64-1.txz.
- Feb 13 06:47:31 Test root: Installing package perl-5.32.0-x86_64-1.txz:
- Feb 13 06:47:31 Test root: PACKAGE DESCRIPTION:
- Feb 13 06:47:31 Test root: # perl (Practical Extraction and Report Language)
- Feb 13 06:47:31 Test root: #
- Feb 13 06:47:31 Test root: # Larry Wall's "Practical Extraction and Report Language". Perl is a
- Feb 13 06:47:31 Test root: # language optimized for scanning arbitrary text files, extracting
- Feb 13 06:47:31 Test root: # information from those text files, and printing reports based on that
- Feb 13 06:47:31 Test root: # information. It's also a good language for many system management
- Feb 13 06:47:31 Test root: # tasks. The language is intended to be practical (easy to use,
- Feb 13 06:47:31 Test root: # efficient, complete) rather than beautiful (tiny, elegant, minimal).
- Feb 13 06:47:31 Test root: #
- Feb 13 06:47:31 Test root: # Homepage: http://www.perl.org
- Feb 13 06:47:31 Test root: #
- Feb 13 06:47:33 Test root: Executing install script for perl-5.32.0-x86_64-1.txz.
- Feb 13 06:47:33 Test root: Package perl-5.32.0-x86_64-1.txz installed.
- Feb 13 06:47:33 Test root: plugin: skipping: /boot/config/plugins/snmp/libnl-1.1.4-x86_64-3.txz already exists
- Feb 13 06:47:33 Test root: plugin: running: /boot/config/plugins/snmp/libnl-1.1.4-x86_64-3.txz
- Feb 13 06:47:33 Test root:
- Feb 13 06:47:33 Test root: +==============================================================================
- Feb 13 06:47:33 Test root: | Installing new package /boot/config/plugins/snmp/libnl-1.1.4-x86_64-3.txz
- Feb 13 06:47:33 Test root: +==============================================================================
- Feb 13 06:47:33 Test root:
- Feb 13 06:47:33 Test root: Verifying package libnl-1.1.4-x86_64-3.txz.
- Feb 13 06:47:33 Test root: Installing package libnl-1.1.4-x86_64-3.txz:
- Feb 13 06:47:33 Test root: PACKAGE DESCRIPTION:
- Feb 13 06:47:33 Test root: # libnl (netlink socket library)
- Feb 13 06:47:33 Test root: #
- Feb 13 06:47:33 Test root: # libnl is a library for applications dealing with netlink sockets.
- Feb 13 06:47:33 Test root: # The library provides an interface for raw netlink messaging and
- Feb 13 06:47:33 Test root: # various netlink family specific interfaces.
- Feb 13 06:47:33 Test root: #
- Feb 13 06:47:33 Test root: # Homepage: http://people.suug.ch/~tgr/libnl/
- Feb 13 06:47:33 Test root: #
- Feb 13 06:47:33 Test root: #
- Feb 13 06:47:33 Test root: Executing install script for libnl-1.1.4-x86_64-3.txz.
- Feb 13 06:47:33 Test root: Package libnl-1.1.4-x86_64-3.txz installed.
- Feb 13 06:47:33 Test root: plugin: skipping: /boot/config/plugins/snmp/net-snmp-5.9-x86_64-1.txz already exists
- Feb 13 06:47:33 Test root: plugin: running: /boot/config/plugins/snmp/net-snmp-5.9-x86_64-1.txz
- Feb 13 06:47:33 Test root:
- Feb 13 06:47:33 Test root: +==============================================================================
- Feb 13 06:47:33 Test root: | Installing new package /boot/config/plugins/snmp/net-snmp-5.9-x86_64-1.txz
- Feb 13 06:47:33 Test root: +==============================================================================
- Feb 13 06:47:33 Test root:
- Feb 13 06:47:33 Test root: Verifying package net-snmp-5.9-x86_64-1.txz.
- Feb 13 06:47:34 Test root: Installing package net-snmp-5.9-x86_64-1.txz:
- Feb 13 06:47:34 Test root: PACKAGE DESCRIPTION:
- Feb 13 06:47:34 Test root: # net-snmp (Simple Network Management Protocol tools)
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: # Various tools relating to the Simple Network Management Protocol:
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: # An extensible agent
- Feb 13 06:47:34 Test root: # An SNMP library
- Feb 13 06:47:34 Test root: # Tools to request or set information from SNMP agents
- Feb 13 06:47:34 Test root: # Tools to generate and handle SNMP traps
- Feb 13 06:47:34 Test root: # A version of the UNIX 'netstat' command using SNMP
- Feb 13 06:47:34 Test root: # A graphical Perl/Tk/SNMP based mib browser
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: Executing install script for net-snmp-5.9-x86_64-1.txz.
- Feb 13 06:47:34 Test root: Package net-snmp-5.9-x86_64-1.txz installed.
- Feb 13 06:47:34 Test root: plugin: skipping: /boot/config/plugins/snmp/unraid-snmp-2021.05.21-x86_64-1.txz already exists
- Feb 13 06:47:34 Test root: plugin: running: /boot/config/plugins/snmp/unraid-snmp-2021.05.21-x86_64-1.txz
- Feb 13 06:47:34 Test root:
- Feb 13 06:47:34 Test root: +==============================================================================
- Feb 13 06:47:34 Test root: | Installing new package /boot/config/plugins/snmp/unraid-snmp-2021.05.21-x86_64-1.txz
- Feb 13 06:47:34 Test root: +==============================================================================
- Feb 13 06:47:34 Test root:
- Feb 13 06:47:34 Test root: Verifying package unraid-snmp-2021.05.21-x86_64-1.txz.
- Feb 13 06:47:34 Test root: Installing package unraid-snmp-2021.05.21-x86_64-1.txz:
- Feb 13 06:47:34 Test root: PACKAGE DESCRIPTION:
- Feb 13 06:47:34 Test root: # unraid-snmp
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: # unraid-snmp assists with installing a custom extension of net-snmp
- Feb 13 06:47:34 Test root: # and configuring it for use on Unraid.
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: # nano /etc/snmp/snmpd.conf # edit config
- Feb 13 06:47:34 Test root: # bash /etc/rc.d/rc.snmpd restart # stop and start daemon
- Feb 13 06:47:34 Test root: # tail -f /var/log/snmpd.log # tail logs
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: # https://github.com/kubedzero/unraid-snmp
- Feb 13 06:47:34 Test root: #
- Feb 13 06:47:34 Test root: Executing install script for unraid-snmp-2021.05.21-x86_64-1.txz.
- Feb 13 06:47:34 Test root: Set permissions and move into dir /usr/local/emhttp/plugins/snmp
- Feb 13 06:47:34 Test root: Set shell script executable permissions
- Feb 13 06:47:34 Test root: Set read only permissions for other files
- Feb 13 06:47:34 Test root: Checking if /etc/rc.d/rc.snmpd exists before editing
- Feb 13 06:47:34 Test root: Stop SNMP daemon if it is currently running
- Feb 13 06:47:34 Test root: Shutting down snmpd: DONE
- Feb 13 06:47:34 Test root: Using the Unraid default config /usr/local/emhttp/plugins/snmp/snmpd.conf, backing up the original
- Feb 13 06:47:34 Test root: Editing SNMP startup options in rc.snmpd to be [-LF 0-5 /var/log/snmpd.log -A -p /var/run/snmpd -a]
- Feb 13 06:47:34 Test root: Restart SNMP daemon now that we've adjusted how rc.snmpd starts it
- Feb 13 06:47:34 Test root: Starting snmpd: /usr/sbin/snmpd -LF 0-5 /var/log/snmpd.log -A -p /var/run/snmpd -a -c /etc/snmp/snmpd.conf
- Feb 13 06:47:36 Test root: PID of started SNMP daemon is 6098
- Feb 13 06:47:36 Test root: Package unraid-snmp-2021.05.21-x86_64-1.txz installed.
- Feb 13 06:47:36 Test root: plugin: running: anonymous
- Feb 13 06:47:36 Test root:
- Feb 13 06:47:36 Test root: +==============================================================================
- Feb 13 06:47:36 Test root: | Testing SNMP by listing mounts, /boot should be present
- Feb 13 06:47:36 Test root: +==============================================================================
- Feb 13 06:47:36 Test root:
- Feb 13 06:47:36 Test root: snmpwalk -v 2c localhost -c public hrFSMountPoint
- Feb 13 06:47:36 Test root: SNMP appears to be working. Output:
- Feb 13 06:47:36 Test root: HOST-RESOURCES-MIB::hrFSMountPoint.33 = STRING: "/run"
- Feb 13 06:47:36 Test root: HOST-RESOURCES-MIB::hrFSMountPoint.34 = STRING: "/boot"
- Feb 13 06:47:36 Test root: HOST-RESOURCES-MIB::hrFSMountPoint.40 = STRING: "/dev/shm"
- Feb 13 06:47:36 Test root: HOST-RESOURCES-MIB::hrFSMountPoint.42 = STRING: "/sys/fs/cgroup"
- Feb 13 06:47:36 Test root: HOST-RESOURCES-MIB::hrFSMountPoint.55 = STRING: "/var/log"
- Feb 13 06:47:36 Test root:
- Feb 13 06:47:36 Test root: +==============================================================================
- Feb 13 06:47:36 Test root: | Other SNMP Examples
- Feb 13 06:47:36 Test root: +==============================================================================
- Feb 13 06:47:36 Test root:
- Feb 13 06:47:36 Test root: Here are how sharefree lines look:
- Feb 13 06:47:36 Test root: snmpwalk -v 2c -c public localhost 'NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree"'
- Feb 13 06:47:36 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree".1 = STRING:
- Feb 13 06:47:36 Test root:
- Feb 13 06:47:36 Test root: Here are how all custom extensions look:
- Feb 13 06:47:36 Test root: snmpwalk -v 2c -c public localhost nsExtendOutLine
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."cpumhz".1 = STRING:
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".1 = STRING: MemTotal: 8352735232
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".2 = STRING: MemFree: 7055245312
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".3 = STRING: MemAvailable: 7172091904
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".4 = STRING: Cached: 1110274048
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".5 = STRING: Active: 752910336
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".6 = STRING: Inactive: 411955200
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".7 = STRING: Committed_AS: 869822464
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."meminfo".8 = STRING: Dirty: 0
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."diskfree".1 = STRING: boot: 7342489600
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."disktemp".1 = STRING:
- Feb 13 06:47:37 Test root: NET-SNMP-EXTEND-MIB::nsExtendOutLine."sharefree".1 = STRING:
- Feb 13 06:47:37 Test root:
- Feb 13 06:47:37 Test root: +==============================================================================
- Feb 13 06:47:37 Test root: | snmp version 2021.05.21 has been installed.
- Feb 13 06:47:37 Test root: +==============================================================================
- Feb 13 06:47:37 Test root:
- Feb 13 06:47:37 Test root: plugin: snmp.plg installed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement