Hi,
I changed hobbitgraph.cfg so it created to extra graphs: one for Access Virtual Memory and one for the free list. See http://www.docum.org/twiki/bin/view/Hobbit/AixTips Henrik, can you add these graph definitions ?
I also patched the hobbit server so it monitors the Access Virtual Memory on AIX:
diff hobbit-4.2.0/hobbitd/client/aix.c hobbit-4.2.0.ori/hobbitd/client/aix.c 73c73 < long memphystotal, memphysused, memphysfree, memactused, memswaptotal, memswappct;
long memphystotal, memphysused, memphysfree, memswaptotal,
memswappct; 80d79 < if (sscanf(freememstr, "%*d %*d %ld", &memactused) == 1) memactused /= 256; 88c87 < memphystotal, (memphystotal - memphysfree), memactused,
memphystotal, (memphystotal -
memphysfree), -1,
Henrik : The only problem is that Total for the line Actual is always the
amount of Physical Memory. But this should be Physical Memory + Swap Memory.
At least, this is for AIX, but I think this is for other os'es as well. I
think this is a bug.
The problem is that Actual can be > 100%. So, I had to change ./hobbitd/rrd/do_memory.c and remove the > 100% to get some graphs: //if ((actval >= 0) && (actval <= 100)) { if (actval >= 0 ) { sprintf(rrdfn, "memory.actual.rrd");
Stef