Not all disks (volumes) appear in SNMP monitoring

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Not all disks (volumes) appear in SNMP monitoring

      I have two RAID volumes on my OMV box, but neither of them appear in Observium which I use to monitor OMV and other servers using SNMP.

      I can only see SNMP info about the OS disk. The snmpd.conf on my OMV box is empty aside from owner information - do I need to add anything here?

      These are the volumes I can see info for:

      /
      /etc/machine-id
      /tmp

      How can I get my RAID volumes to show up? Thanks for any help!
    • Try snmpwalk -v2c -c public 10.0.83.1 change public to your comunity name and ip to your omv name or ip. Should stream a lot of text. Look for other disks.

      Can't remember if I had to install any other packages.
      dpkg -l |grep snmp

      ii libsnmp-base 5.7.3+dfsg-1.7+deb9u1 all SNMP configuration script, MIBs and documentation

      ii libsnmp30:amd64 5.7.3+dfsg-1.7+deb9u1 amd64 SNMP (Simple Network Management Protocol) library

      ii openmediavault-snmp 4.0.4-1 all OpenMediaVault SNMP (Simple Network Management Protocol) plugin

      ii snmpd 5.7.3+dfsg-1.7+deb9u1 amd64 SNMP (Simple Network Management Protocol) agents

      I used to use observium but switched to a fork called librenms. Here is what I see.

      Source Code

      1. Storage
      2. / 42%
      3. /dev/shm 0%
      4. /run 10%
      5. /run/lock 0%
      6. /sharedfolders/15x146 12%
      7. /sharedfolders/share 28%
      8. /sharedfolders/ssd 0%
      9. /srv/dev-disk-by-label-15x146 12%
      10. /srv/dev-disk-by-label-Sgare 28%
      11. /srv/dev-disk-by-label-ssd 0%
      12. /sys/fs/cgroup 0%
      13. /tmp 0%
      Display All
      Display Spoiler

      cat /etc/snmp/snmpd.conf
      com2sec readonly default public
      group MyROGroup v1 readonly
      group MyROGroup v2c readonly
      group MyROGroup usm readonly
      view all included .1 80
      access MyROGroup "" any noauth exact all none none
      syslocation <LOCATION>
      syscontact <CONTACT>
      #This line allows Observium to detect the host OS if the distro script is installed
      extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro
      # This line allows Observium to collect an accurate uptime
      extend uptime /bin/cat /proc/uptime
      # This line enables Observium's ifAlias description injection
      pass_persist .1.3.6.1.2.1.31.1.1.1.18 /opt/observium/scripts/ifAlias_persist



      view all included .1 80
      access MyROGroup "" any noauth exact all none none
      sysName OMV4


      ###############################################################################
      #
      # SYSTEM INFORMATION
      #


      # Note that setting these values here, results in the corresponding MIB objects being 'read-only'
      # See snmpd.conf(5) for more details
      sysLocation Sitting on the Dock of the Bay
      sysContact Me <me@example.org>
      # Application + End-to-End layers
      sysServices 72


      #
      # Process Monitoring
      #
      # At least one 'mountd' process
      proc mountd
      # No more than 4 'ntalkd' processes - 0 is OK
      proc ntalkd 4
      # At least one 'sendmail' process, but no more than 10
      proc sendmail 10 1


      # Walk the UCD-SNMP-MIB::prTable to see the resulting output
      # Note that this table will be empty if there are no "proc" entries in the snmpd.conf file


      #
      # Disk Monitoring
      #
      # 10MBs required on root disk, 5% free on /var, 10% free on all other disks
      disk / 10000
      disk /var 5%
      includeAllDisks 10%


      # Walk the UCD-SNMP-MIB::dskTable to see the resulting output
      # Note that this table will be empty if there are no "disk" entries in the snmpd.conf file


      #
      # System Load
      #
      # Unacceptable 1-, 5-, and 15-minute load averages
      load 12 10 5


      # Walk the UCD-SNMP-MIB::laTable to see the resulting output
      # Note that this table *will* be populated, even without a "load" entry in the snmpd.conf file
      Here is what is in my snmpd.conf.
      If you make it idiot proof, somebody will build a better idiot.

      The post was edited 1 time, last by donh ().