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 .184.108.40.206.4.1.246220.127.116.11.0
Thank you in advance.
@Staz I’m not sure that you can have numerical value to graph with string-value mode.
What was missing in the QNAP NAS plugin?