Hi everyone,
When i was mounting SNMP checks for a CentOS 7 server, i recieved a really strange result as follows for its RAM usage :
Status information
CRITICAL: Ram Total: 1.80 GB Used (-buffers/cache): -130.51 MB (-7.10%) Free: 1.92 GB (107.10%)
As you can see the i have USED < 0 and Free > Total… And i’ve verified by lauching a “free” command on the server, the correct RAM usage has nothing to do with that (not just +130.51MB for USED).
Here is my command :
/usr/lib/centreon/plugins//centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=memory --hostname=xxx --snmp-version='2c' --snmp-community='xxx' --warning-usage='80' --critical-usage='90' --snmp-timeout='5'
Which is quite normal i believe, and other checks SNMP works well for the same server (CPU, Disk...), only check RAM fails. In fact, the version of Net-SNMP installed is 5.7.2 and i can’t upgrade it to 5.8 since the server is in a “closed” VLAN. So before asking my network admin to exceptionally allow the server to get updates outside, i wonder if anyone recognize the error and could provide a solution ?
Thank you !
Zequan