I am trying to use Cacti instead of cricket (what i am using already) to monitor our network. I have been able to get routers grphing correctly, but I am having difficutly getting our wireless equipment graphing. I am trying to get [color=white]Karlnet[/color] radios graphing, which the traffic seems to graph fine, but I can't get the wireless/noise graphing...I have followed these two posts:
http://forums.cacti.net/about4149.html& ... ess+levels
and
http://forums.cacti.net/viewtopic.php?t ... ht=karlnet
I was able to get the signal/noise graphing as a solid line at the bottom of the graph, after adjusting the values int the graph template for the singal, it is not showing any graph...Below I included rrd info, cacti log, and my setup, would love to get this working!!!
[b]rrdtool info karlnetradio_1005.rrd[/b]
filename = "karlnetradio_1005.rrd"
rrd_version = "0001"
step = 300
last_update = 1138742154
ds[wrls_signal].type = "GAUGE"
ds[wrls_signal].minimal_heartbeat = 600
ds[wrls_signal].min = 0.0000000000e+00
ds[wrls_signal].max = 6.8024100000e+06
ds[wrls_signal].last_ds = "UNKN"
ds[wrls_signal].value = 0.0000000000e+00
ds[wrls_signal].unknown_sec = 54
rra[0].cf = "AVERAGE"
rra[0].rows = 1755
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 3
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 15
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 255
rra[4].cf = "MAX"
rra[4].rows = 1755
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MAX"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 3
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 15
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 255
rra[8].cf = "LAST"
rra[8].rows = 1755
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "LAST"
rra[9].rows = 700
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 3
rra[10].cf = "LAST"
rra[10].rows = 775
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 15
rra[11].cf = "LAST"
rra[11].rows = 797
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 255
[b] Round Robin Database Dump[/b]
- <rrd>
<version>0001</version>
<step>300</step>
- <!-- Seconds
<lastupdate>1138744502</lastupdate>
- <!-- 2006-01-31 13:55:02 PST
- <ds>
<name>wrls_signal</name>
<type>GAUGE</type>
<minimal_heartbeat>600</minimal_heartbeat>
<min>0.0000000000e+00</min>
<max>6.8024100000e+06</max>
- <!-- PDP Status
<last_ds>UNKN</last_ds>
<value>0.0000000000e+00</value>
<unknown_sec>2</unknown_sec>
</ds>
- <!-- Round Robin Archives
- <rra>
<cf>AVERAGE</cf>
<pdp_per_row>1</pdp_per_row>
- <!-- 300 seconds
<xff>5.0000000000e-01</xff>
- <cdp_prep>
- <ds>
<value>NaN</value>
<unknown_datapoints>0</unknown_datapoints>
</ds>
</cdp_prep>
- <database>
- <!-- 2006-01-25 11:45:00 PST / 1138218300
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 11:50:00 PST / 1138218600
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 11:55:00 PST / 1138218900
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 12:00:00 PST / 1138219200
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 12:05:00 PST / 1138219500
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 12:10:00 PST / 1138219800
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 12:15:00 PST / 1138220100
- <row>
<v>NaN</v>
</row>
- <!-- 2006-01-25 12:20:00 PST / 1138220400
- <row>
<v>NaN</v>
</row>
AND SO ON....
[b]Here is what happens when I click the "wrench" icon next to the broken graph:[/b]
/var/www/bin/rrdtool graph - \
--imgformat=PNG \
--start=1138658711 \
--end=1138745111 \
--title="karlnetradio - Wireless Levels karlnetap" \
--rigid \
--base=0 \
--height=120 \
--width=500 \
--upper-limit=1999999 \
--lower-limit=1000 \
COMMENT:"From 2006/01/30 14:05:11 To 2006/01/31 14:05:11\c" \
COMMENT:" \n" \
--vertical-label="percent" \
DEF:a="/usr/home/htdocs/cacti/rra/karlnetradio.rrd":wrls_signal:AVERAGE \
DEF:b="/usr/home/htdocs/cacti/rra/karlnetradio.rrd":wrls_noise:AVERAGE \
CDEF:cdefa=a,2,/,-95,+ \
CDEF:cdefe=b,2,/,-95,+ \
AREA:cdefa#F51D30:"Signal Level" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE3:cdefe#4444FF:"Noise Level" \
GPRINT:cdefe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
[b]
Here is a bit of what the cacti.log shows:[/b]
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[234] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.3, output: 4120649
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (234,'wrls_signal','2006-0
1-31 11:55:02','4120649')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[235] SNMP: v1: 10.220.11.100, dsname: wrls_noise, oid: .1.3.6.1.4.1.762.2.5.2.1.4.4, output: 4622516
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (235,'wrls_noise','2006-01
-31 11:55:02','4622516')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[236] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.4, output: 4622516
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (236,'wrls_signal','2006-0
1-31 11:55:02','4622516')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[237] SNMP: v1: 10.220.11.100, dsname: wrls_noise, oid: .1.3.6.1.4.1.762.2.5.2.1.4.5, output: 1277551
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (237,'wrls_noise','2006-01
-31 11:55:02','1277551')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[238] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.5, output: 1277551
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (238,'wrls_signal','2006-0
1-31 11:55:02','1277551')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[239] SNMP: v1: 10.220.11.100, dsname: wrls_noise, oid: .1.3.6.1.4.1.762.2.5.2.1.4.6, output: 18692214
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (239,'wrls_noise','2006-01
-31 11:55:02','18692214')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[240] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.6, output: 18692214
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (240,'wrls_signal','2006-0
1-31 11:55:02','18692214')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[241] SNMP: v1: 10.220.11.100, dsname: wrls_noise, oid: .1.3.6.1.4.1.762.2.5.2.1.4.7, output: 2711315
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (241,'wrls_noise','2006-01
-31 11:55:02','2711315')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[242] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.7, output: 2711315
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (242,'wrls_signal','2006-0
1-31 11:55:02','2711315')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[243] SNMP: v1: 10.220.11.100, dsname: wrls_noise, oid: .1.3.6.1.4.1.762.2.5.2.1.4.8, output: 1048320
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (243,'wrls_noise','2006-01
-31 11:55:02','1048320')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[244] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.8, output: 1048320
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (244,'wrls_signal','2006-0
1-31 11:55:02','1048320')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[245] SNMP: v1: 10.220.11.100, dsname: wrls_noise, oid: .1.3.6.1.4.1.762.2.5.2.1.4.9, output: 122298
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (245,'wrls_noise','2006-01
-31 11:55:02','122298')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] Host[14] DS[246] SNMP: v1: 10.220.11.100, dsname: wrls_signal, oid: .1.3.6.1.4.1.762.2.5.2.1.4.9, output: 122298
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (246,'wrls_signal','2006-0
1-31 11:55:02','122298')"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.r
rd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poll
er_output.rrd_name=poller_item.rrd_name)"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='244' and rrd_name='wrls_signal' and time='2006-01
-31 11:55:02'"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='243' and rrd_name='wrls_noise' and time='2006-01-
31 11:55:02'"
01/31/2006 11:55:10 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='242' and rrd_name='wrls_signal' and time='2006-01
-31 11:55:02'"
Need Help Graphing Karlnet Signal/Noise
Moderators: Developers, Moderators
-
- Posts: 16
- Joined: Tue Jan 17, 2006 7:22 pm
Who is online
Users browsing this forum: No registered users and 1 guest