I have a problem with a cacti Memory usage graph.
dont have any error in log ( in cacti log, in apache log).
anyway, graphs with la(load avarage) , cpu usage, various postfix information is allright and i have the right graphs.
I dunno what is problem =(
Try to get information from FreeBSD 7.0
Cacti vers 0.8.7b
Memory graph
Moderators: Developers, Moderators
Memory graph
- Attachments
-
- Memory usage
- .png (51.83 KiB) Viewed 1568 times
i use ucd/net SNMP Host.
How i can check information about memory? =(
Code: Select all
# ps -ax | grep snm
43233 ?? S 0:30.81 /usr/local/sbin/snmpd -p /var/run/snmpd.pid
Code: Select all
snmpwalk -v 1 -c public 10.10.10.10 mem
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 3145600 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 3145600 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 4185604 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 4897072 kB
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 3063236 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 422588 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 114976 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 2455644 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
hi again! Here all debug.
Crontab id fine, chown user:group is fine too.
Remeber to you , all grahs is drawing. Problem only with memory.
plz, Help! (c)
Crontab id fine, chown user:group is fine too.
Remeber to you , all grahs is drawing. Problem only with memory.
plz, Help! (c)
Code: Select all
snmpwalk -c public -v 2c x.x.x.x mem
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 4194176 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 4194176 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 4186116 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 12350244 kB
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 8566984 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memShared.0 = INTEGER: 2576428 kB
UCD-SNMP-MIB::memBuffer.0 = INTEGER: 114976 kB
UCD-SNMP-MIB::memCached.0 = INTEGER: 152 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING:
Code: Select all
php -q cmd.php ....
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] SNMP: Host responded to SNMP
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] RECACHE: Processing 4 items in the auto reindex cache for '213.134.192.23'.
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1055] SNMP: v2: 213.134.192.23, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3271886457
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1064] SNMP: v2: 213.134.192.23, dsname: ext_Output, oid: .1.3.6.1.4.1.2021.8.1.extOutput.4, output: 356
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1045] SNMP: v2: 213.134.192.23, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, output: 0.16
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1065] SNMP: v2: 213.134.192.23, dsname: ext_Output, oid: .1.3.6.1.4.1.2021.8.1.extOutput.5, output: 33
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1057] SNMP: v2: 213.134.192.23, dsname: ext_Output, oid: .1.3.6.1.4.1.2021.8.1.extOutput.1, output: 24
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1055] SNMP: v2: 213.134.192.23, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 324024016
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1059] SNMP: v2: 213.134.192.23, dsname: ext_Output, oid: .1.3.6.1.4.1.2021.8.1.extOutput.3, output: 1635
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1067] SNMP: v2: 213.134.192.23, dsname: ext_Output, oid: .1.3.6.1.4.1.2021.8.1.extOutput.6, output: 1
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1074] SNMP: v2: 213.134.192.23, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.15.0, output: 152
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1080] SNMP: v2: 213.134.192.23, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: 12348808
08/05/2009 05:35:08 PM - CMDPHP: Poller[0] Host[42] DS[1058] SNMP: v2: 213.134.192.23, dsname: ext_Output, oid: .1.3.6.1.4.1.2021.8.1.extOutput.2, output: 0
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1249394097 \
--end=1249480497 \
--title="mx2.somesite.ru - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2009/08/04 17\:54\:57 To 2009/08/05 17\:54\:57\c" \
COMMENT:" \n" \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_mem_free_1080.rrd":mem_free:AVERAGE \
DEF:b="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_mem_free_1080.rrd":mem_free:MAX \
DEF:c="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_mem_buffers_1076.rrd":mem_buffers:AVERAGE \
DEF:d="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_mem_buffers_1076.rrd":mem_buffers:MAX \
DEF:e="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_mem_buffers_1074.rrd":mem_buffers:AVERAGE \
DEF:f="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_mem_buffers_1074.rrd":mem_buffers:MAX \
DEF:g="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_free_swap_1073.rrd":snmp_oid:AVERAGE \
DEF:h="/var/www/cacti.somesite.ru/htdocs/rra/mx2_somesite_ru_free_swap_1073.rrd":snmp_oid:MAX \
CDEF:cdefa=a,1024,* \
CDEF:cdefd=b,1024,* \
CDEF:cdefe=c,1024,* \
CDEF:cdefh=d,1024,* \
CDEF:cdefi=e,1024,* \
CDEF:cdefbb=f,1024,* \
CDEF:cdefbc=g,1024,* \
CDEF:cdefbf=h,1024,* \
LINE3:cdefa#8F005CFF:"Memory Free" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf %s\n" \
LINE3:cdefe#FF5700FF:"Memory Buffers" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefh:MAX:"Maximum\:%8.2lf %s\n" \
LINE3:cdefi#FFC73BFF:"Cache Memory" \
GPRINT:cdefi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbb:MAX:"Maximum\:%8.2lf %s\n" \
LINE3:cdefbc#000000FF:"Swap Free" \
GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefbf:MAX:"Maximum\:%8.2lf %s"
Code: Select all
Data Source Debug
/usr/bin/rrdtool create \
/var/www/cacti.somesite.ru/htdocs/rra/mx2_mem_buffers_1074.rrd \
--step 300 \
DS:mem_buffers:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:105120 \
RRA:AVERAGE:0.5:6:17520 \
RRA:AVERAGE:0.5:24:4380 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:105120 \
RRA:MAX:0.5:6:17520 \
RRA:MAX:0.5:24:4380 \
RRA:MAX:0.5:288:797 \
Who is online
Users browsing this forum: No registered users and 2 guests