Directory - Mount not found


(Monitor Junkie) #1

Hello

For monitoring (Icinga) of file systems we use 2 plugins.
check_snmp_storage.pl and check_storages.pl.

Linux system has been updated to OES version 2018.

Thereafter, both plugins file system /media/nss/DATA no longer find.
Even with snmpget I find nothing.

Does anyone know the solution?

Thx.


(Philipp Näther) #2

OES2018 still supports the host resources MIB with all the storage information still available.
Run a snmpwalk -v2c -c public localhost | grep hrStorage on your OES server. It should show some info.


(Monitor Junkie) #3

Hi,
unfortunately only this locate:

HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /dev/shm
HOST-RESOURCES-MIB::hrStorageDescr.37 = STRING: /run
HOST-RESOURCES-MIB::hrStorageDescr.38 = STRING: /sys/fs/cgroup
HOST-RESOURCES-MIB::hrStorageDescr.51 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.56 = STRING: /var/run
HOST-RESOURCES-MIB::hrStorageDescr.57 = STRING: /var/lock
HOST-RESOURCES-MIB::hrStorageDescr.62 = STRING: /run/user/0
HOST-RESOURCES-MIB::hrStorageDescr.63 = STRING: /var/run/user/0

No trace for mount “/media/nss/DATA”

Thx


(Philipp Näther) #4

Which version of net-snmp is installed?

zypper info net-snmp


(Monitor Junkie) #5

Hi
Which system do you mean?
Icinga or Target system?

thx


(Philipp Näther) #6

The OES 2018 server.


(Monitor Junkie) #7

Hi,
I’Sorry. I just arrived.

image

I believe that the latest version is

Thx


(Philipp Näther) #8

Yeah that is the latest. Since I am out of ideas now, I would suggest you to open an SR in your customer center and explain the issue to a MF technician. Make sure to include information about the upgrade process you performed.


(Monitor Junkie) #9

Hi,
Another question.
maybe there is a special permission for SNMP?


(Philipp Näther) #10

What do you mean? Like the community? Usually the storage OIDs of the HostResources MIB should be publicly readable, especially if your are checking it on localhost.
You can check your community strings in /etc/snmp/snmpd.conf.