rrd not getting created
Moderators: Developers, Moderators
rrd not getting created
So I am trying to create a new data source and graph it. I created the graph template, data template and data query. I created something on the lines of the interface data query.
When I look to graph one of my rows in the table it discovers it looks like it works but does not create the rrd file and it does not set the data source path.
Could I get a list of reasons why my rrd would not get created? Did I miss something?
I am able to create RRDs for other metrics that are 'out of the box' cacti graphs but I dont understand why the rrd's are not created for the new data collection I created.
The poller is polling the data but not sure what it is doing with it once it collects it.
When I look to graph one of my rows in the table it discovers it looks like it works but does not create the rrd file and it does not set the data source path.
Could I get a list of reasons why my rrd would not get created? Did I miss something?
I am able to create RRDs for other metrics that are 'out of the box' cacti graphs but I dont understand why the rrd's are not created for the new data collection I created.
The poller is polling the data but not sure what it is doing with it once it collects it.
Disregard this till I do some debugging.
Thanks !
So I am trying to look at this a bit more but cannot figure out why my data source path does not get populated when I create a new graph against one of my devices.
The RRD's are not being created. permissions are ok as I can create other rrds in that directory.
I am not sure where to look to see if it is having problems creating the RRD.
Any ideas are appreciated or if you need more information please tell me.
Mike
Thanks !
So I am trying to look at this a bit more but cannot figure out why my data source path does not get populated when I create a new graph against one of my devices.
The RRD's are not being created. permissions are ok as I can create other rrds in that directory.
I am not sure where to look to see if it is having problems creating the RRD.
Any ideas are appreciated or if you need more information please tell me.
Mike
Here goes. Following the debugging instructions:
Cacti log files does not have any snmp timeouts for the device i am monitoring.
The poller is working as I am collecting data on alot of other devices. New RRDs are created for out of the box reporting. I believe the problem is my custom data query and graph.
Ownership is all cactiuser:cactiuser
I cannot check the rrd file number because the rrd's do not get created even though the graph is instantiated and it points to an RRD.
RRDTool graph statement check:
RRDTool Command:
/usr/local/rrdtool-1.3.8/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NYKLON111111 - latency" \
--base=0 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="usec" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/isg24-test_avg_174.rrd":avg:LAST \
DEF:b="/var/www/html/rra/isg24-test_avg_174.rrd":max:LAST \
DEF:c="/var/www/html/rra/isg24-test_avg_174.rrd":min:LAST \
LINE1:a#FF0000FF:"" \
AREA:b#FFF200FF:"" \
LINE1:c#FF00FFFF:""
RRDTool Says:
ERROR: the only sensible value for base apart from 1000 is 1024
-----------------------------------------------------------------------------
The rrd isg24-test_avg_174.rrd does not exist.
I attached a picture of the data query. I think the problem is with the Associated Graph Templates showing nothing in the dropdowns but not sure how to fix it.
Cacti log files does not have any snmp timeouts for the device i am monitoring.
The poller is working as I am collecting data on alot of other devices. New RRDs are created for out of the box reporting. I believe the problem is my custom data query and graph.
Ownership is all cactiuser:cactiuser
I cannot check the rrd file number because the rrd's do not get created even though the graph is instantiated and it points to an RRD.
RRDTool graph statement check:
RRDTool Command:
/usr/local/rrdtool-1.3.8/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="NYKLON111111 - latency" \
--base=0 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="usec" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/isg24-test_avg_174.rrd":avg:LAST \
DEF:b="/var/www/html/rra/isg24-test_avg_174.rrd":max:LAST \
DEF:c="/var/www/html/rra/isg24-test_avg_174.rrd":min:LAST \
LINE1:a#FF0000FF:"" \
AREA:b#FFF200FF:"" \
LINE1:c#FF00FFFF:""
RRDTool Says:
ERROR: the only sensible value for base apart from 1000 is 1024
-----------------------------------------------------------------------------
The rrd isg24-test_avg_174.rrd does not exist.
I attached a picture of the data query. I think the problem is with the Associated Graph Templates showing nothing in the dropdowns but not sure how to fix it.
- Attachments
-
- dataQuery.JPG (102.76 KiB) Viewed 5973 times
<y1731-twowayLatency>
<name>Get SNMP y1731 two way latency</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>.1.3.6.1.4.1.22420.2.7.1.1.1.1.3</oid_index>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.1.1.3</oid>
</Index>
<acdCfmResultTwoWayDelayAvgValue>
<name>avg</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.10</oid>
</acdCfmResultTwoWayDelayAvgValue>
<acdCfmResultTwoWayDelayMaxValue>
<name>max</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.9</oid>
</acdCfmResultTwoWayDelayMaxValue>
<acdCfmResultTwoWayDelayMinValue>
<name>min</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.8</oid>
</acdCfmResultTwoWayDelayMinValue>
</fields>
</y1731-twowayLatency>
<name>Get SNMP y1731 two way latency</name>
<description>Queries a host for a list of monitorable interfaces</description>
<oid_index>.1.3.6.1.4.1.22420.2.7.1.1.1.1.3</oid_index>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.1.1.3</oid>
</Index>
<acdCfmResultTwoWayDelayAvgValue>
<name>avg</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.10</oid>
</acdCfmResultTwoWayDelayAvgValue>
<acdCfmResultTwoWayDelayMaxValue>
<name>max</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.9</oid>
</acdCfmResultTwoWayDelayMaxValue>
<acdCfmResultTwoWayDelayMinValue>
<name>min</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.8</oid>
</acdCfmResultTwoWayDelayMinValue>
</fields>
</y1731-twowayLatency>
Do the names in the resource/snmp_queries/*xml need to match anywhere in the data template?
does min below need to match the name of the data template - data source?
Example:
<min>
<name>min</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.8</oid>
</min>
does min below need to match the name of the data template - data source?
Example:
<min>
<name>min</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.22420.2.7.1.1.4.1.8</oid>
</min>
Who is online
Users browsing this forum: No registered users and 3 guests