Closed Dubouchj closed 1 year ago
Could you provide the output without your filter ? (to see if net-snmp provide that mountpoint)
@garnier-quentin here is the result :
mysql@nodexxxxx# /usr/lib/centreon/plugins//centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=storage --hostname=10.102.x.x --snmp-version='2c' --snmp-community='communityxxx'
OK: All storages are ok | 'count'=7;;;0; 'used_/'=808333312B;;;0;51055448064 'used_/sys/fs/cgroup'=0B;;;0;402653184 'used_/dev/shm'=0B;;;0;402653184 'used_/run'=172032B;;;0;402653184 'used_/var/ftp/conf'=808333312B;;;0;51055448064 '
used_/var/ftp/logs'=808333312B;;;0;51055448064 'used_/var/ftp/keys'=808333312B;;;0;51055448064
So, the mountpoint is not present.
Try to use following option: ```--='^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS|hrStorageNetworkDisk)$'````
I tried with that parameters :
--filter-perfdata='^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS|hrStorageNetworkDisk)$'
And still get no value :/
@garnier-quentin Do you know if there is another way to monitor that mount point ?
You can test with the following option: --filter-storage-type='^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS|hrStorageNetworkDisk)$'
It works !
Thanks @garnier-quentin
Hello,
I am trying to check if a mount point ( /var/lib/jelastic/backup/backup ) is available or not on my server :
I am using the method "/usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=storage" but it doesn't work, and I get the error below :
Do you know if I did something wrong?
Thanks in advance. Jean-Luc