Memory Usage not view 16GiB Of ram
Moderators: Developers, Moderators
Memory Usage not view 16GiB Of ram
Good Morning,
i have many server but the max ram installed is 4GiB and cacti work perfectly but now i have an server with 16GiB of ram and cacti not count the total free RAM it view 0 :S
I have used ucd and linux memory usage template
There is any solution for this?
i have many server but the max ram installed is 4GiB and cacti work perfectly but now i have an server with 16GiB of ram and cacti not count the total free RAM it view 0 :S
I have used ucd and linux memory usage template
There is any solution for this?
The Os is Debian eth 4.0
The version of cacti is the last avaible from stable download from site
The information of the graphic are:
The version of cacti is the last avaible from stable download from site
The information of the graphic are:
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1259968536 \
--end=1260054936 \
--title="graph1 - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/12/04 23\:15\:36 To 2009/12/05 23\:15\:36\c" \
COMMENT:" \n" \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/graph1_mem_free_339.rrd":mem_free:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/graph1_mem_buffers_337.rrd":mem_buffers:AVERAGE \
DEF:c="/usr/share/cacti/site/rra/graph1_mem_cache_338.rrd":mem_cache:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=c,1024,* \
AREA:cdefa#8F005CFF:"Memory Free" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefe#FF5700FF:"Memory Buffers":STACK \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s\n" \
AREA:cdefi#FFC73BFF:"Cache Memory":STACK \
GPRINT:cdefi:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf%s\n"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
No: http://docs.cacti.net/manual:087:4_help ... #debuggingvampire wrote:This http://forums.cacti.net/viewtopic.php?t=35380 ?
R.
Hi,
this is the result of debug
Output of free mem is output: 13953568 and it seems ok but in the graph i view 0 into mem_free value i view only mem_cache and mem_buffers
How i can resolve this?
Thanks
this is the result of debug
Code: Select all
12/08/2009 06:12:11 PM - CMDPHP: Poller[0] Host[31] DS[346] SNMP: v3: tcp:xxx.xxx.xxx.xx, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: 13953568
12/08/2009 06:12:11 PM - CMDPHP: Poller[0] Host[31] DS[345] SNMP: v3: tcp:xxx.xxx.xxx.xx, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: 2088244
12/08/2009 06:12:11 PM - CMDPHP: Poller[0] Host[31] DS[344] SNMP: v3: tcp:xxx.xxx.xxx.xx, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: 227628
How i can resolve this?
Thanks
-
- Cacti User
- Posts: 141
- Joined: Thu Apr 10, 2008 6:52 pm
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
This adjusts the max to a value of 900. Are you sure, that your values won't exceed this number?vampire wrote:Now i view this:
ds[mem_free].type = "GAUGE"
ds[mem_free].minimal_heartbeat = 600
ds[mem_free].min = 0.0000000000e+00
ds[mem_free].max = 9.0000000000e+02
ds[mem_free].last_ds = "UNKN"
ds[mem_free].value = NaN
ds[mem_free].unknown_sec = 23
but the result is the same :s
Thanks for the support
R.
Who is online
Users browsing this forum: No registered users and 3 guests