Hi I have been searching through the forums and howtos for this, and have come up empty. I am curious how to get something like vfs.fs.size [c:,used] to work, and vm.memory.size [used]. i know there is a total and free, so if there is a way to have an item as a calculation (total - free) that would be fine, but looking at my graphs it seems counter intuitive to show free space and not used. i would basically like to graph on used space, memory, is there a way?
Ad Widget
Collapse
Disk / Memory USED
Collapse
X
-
Tags: None
-
According to page 101 Zabbix manual, there is no vm.memory.size[used].
vfs.fs.size [c:,used] works fine for me.
Type: zabbix agent
Key: vfs.fs.size[c:,used]
Type of info: Numeric (unsigned)
Units: B
Graphs for disk space, I use Total disk space & Used disk space. You can clearly see how much space is free.
HTHDisclaimer: All of the above is pure speculation. -
thanks, disk space used is working. has anyone done anything to get memory used somehow? this is on a windows server.Comment
-
anyone graphing on memory used somehow? seems like it would be a common way to visualize.. any help is appreciated!Comment
-
thanks, i guess its just a little counter-intuitive to see available/free vs used. from a monitoring/alert standpoint it doesnt really matter but from a graphing perspective i think 'used' would make more sense at a glance.Comment
-
That's very interesting. Thanks for that.
I couldn't find it in my manual V1.6 Release 014, so I just downloaded the latest version, Release 017, and guess what? it's not there either.
Then I came across ZBX-390 where Alexei, on 8 July, is quoted as saying, "Fixed for 1.6.x manual. The old manual for 1.4.x won't be amended."
MrKenDisclaimer: All of the above is pure speculation.Comment
-
I discovered it while browsing the zabbix_agent code for a unrelated problem.I couldn't find it in my manual V1.6 Release 014, so I just downloaded the latest version, Release 017, and guess what? it's not there either.
Then I came across ZBX-390 where Alexei, on 8 July, is quoted as saying, "Fixed for 1.6.x manual. The old manual for 1.4.x won't be amended."
And as we now have 'available' and 'total' I wish there were a 'used' parameter (total - available). Probably not a big change.
So far we use a UserParameter (free | grep ...) to get that value. But well... the less userparameters the better.Comment
-
-
I,
Perhaps with one script. Something as this:
#!/bin/bash
MTOTAL=`cat /proc/meminfo | grep "MemTotal" | sed 's/MemTotal: //g' | sed 's/ kB//g'`
MFREE=`cat /proc/meminfo | grep "MemFree" | sed 's/MemFree: //g' | sed 's/ kB//g'`
Kb=1024
echo $(((MTOTAL-MFREE)*Kb))
exitComment
Comment