Plugin snmp ucd_mem / report incorrect ram used

Dear Community,

i’m quite confuse about the description of snmp ucd_mem,

“Note that the check counts buffered and cached memory as free memory, as one should for Linux systems.”

Ok, that’s fine to me. But … what i observe actually, is a bit different (opposite)

plugin say : Service Metrics RAM used: 3.61 GB
Ok, let’s have a look on host ‘free’ command output:

          total        used        free      shared  buff/cache   available
 Mem:        4047384     1638900      267912       51844     2140572     2119060
 Swap:       1046524         384     1046140

or more readable ‘free -m’ ouput is

          total        used        free      shared  buff/cache   available
 Mem:           3952        1601         260          50        2091        2068
 Swap:          1021           0        1021

so obviously, buff/cache IS included on computation of RAM USED, but according to check_mk documentation, it should not because consider as free mem.

Is plugin bogus or documentation outdated ? ( or did i miss something)

I’m using check_mk raw edition 1.6.0p13.

Regards

The problem is what you get back with SNMP on these OIDs.
ucd_mem is the worst choice for memory monitoring on Linux systems. hr_mem i find better if you cannot use an agent.
For Linux and Windows i would use an agent if possible.
The current ucd_mem only take these two OIDs

# .1.3.6.1.4.1.2021.4.5.0 4003584 --> UCD-SNMP-MIB::memTotalReal.0
# .1.3.6.1.4.1.2021.4.6.0 188296  --> UCD-SNMP-MIB::memAvailReal.0

The ucd_mem with 1.7 if released will consider many more values. Then it would be usable.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.