Hi,
I am currently monitoring a QNAP NAS with SNMP, and i wasn’t really satisfied with the way the QNAP plugin handled the data and i had compatibility issues with some of the functions so i decided to make my own checks for the memory utilisation.
Here’s my issue :
Basically, when i ask for the amount of free memory on my NAS with a get-snmp request, i get this value :

This is exactly what i want on Centreon since i can display this on a graph.
However, when i use the generic-snmp plugin with the same parameters, i get this…

It seems that the plugin interprets the result as “ok” without giving me the actual value. Using the --verbose flag doesn’t change the result either.
How do i formulate the snmp command to get a proper value? Here’s the syntax i use right now :
perl centreon_generic_snmp.pl --plugin apps::protocols::snmp::plugin --mode string-value --hostname “IP” --snmp-version 3 --snmp-username ‘username’ --authpassphrase 'passphrase' --authprotocol MD5 --oid .1.3.6.1.4.1.24681.1.2.3.0
Thank you in advance.