Permalink
Browse files

Merge branch 'master' of github.com:cread/ecks

  • Loading branch information...
2 parents aad72b4 + e9f15e4 commit 7a8b374e4b9e58db116ab4cede57c86e1808b00c @cread committed Aug 15, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 ecks/plugins/memory.py
View
@@ -20,7 +20,7 @@
def get_memory(parent, host, community):
""" This is a plugin to be loaded by Ecks
- return a tuple containing (total_swap, avail_swap, total_real, avail_real). Values are in kiloBytes
+ return a tuple containing (total_swap, avail_swap, total_real, avail_real, mem_buffer, mem_cached). Values are in kiloBytes
"""
memory = (1,3,6,1,4,1,2021,4) # UCD-SNMP-MIB
@@ -32,4 +32,6 @@ def get_memory(parent, host, community):
parent._extract(data, int, 4),
parent._extract(data, int, 5),
parent._extract(data, int, 6),
+ parent._extract(data, int, 14),
+ parent._extract(data, int, 15),
)[0]

0 comments on commit 7a8b374

Please sign in to comment.