need an advise for an issue that i cannot figure out
created a new Data Query - Get Script Data (Indexed) with new Graph & Data Templates
it is not SNMP based template but a ssh scripts that polling and parsing the data to a file that the perl script runs from xml (just like in the cacti guides)
which is works fine when using real time polling it shows the values and graph is running well
but when it comes to historical data (on graph view) it show broken image
after quick troubleshoot noticed that rrd files in the data sources are not created in the <rra> folder at all
mentioning that all other graph/data templates work just fine as well as my other Data Queries which i'm adding to my cacti on weekly basis
the real time poll works fine: XML, perl script & verbose query attached
example of output file the perl script takes from:
Global1443:0
xml:
Code: Select all
<global>
<name>Global Subscriber Statistics</name>
<script_path>perl |path_cacti|/scripts/global_subs.pl</script_path>
<arg_prepend>|host_hostname|</arg_prepend>
<arg_index>index</arg_index>
<arg_query>query</arg_query>
<arg_get>get</arg_get>
<arg_num_indexes>num_indexes</arg_num_indexes>
<output_delimeter>:</output_delimeter>
<index_order>function</index_order>
<index_order_type>alphabetic</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<function>
<name>Function</name>
<direction>input</direction>
<query_name>function</query_name>
</function>
<ActiveSubscriber>
<name>Active Subscriber</name>
<direction>input</direction>
<query_name>ActiveSubscriber</query_name>
</ActiveSubscriber>
<IdleSubscriber>
<name>Idle Subscriber</name>
<direction>input</direction>
<query_name>IdleSubscriber</query_name>
</IdleSubscriber>
<woPdnConnectivity>
<name>Without PdnConnectivity</name>
<direction>input</direction>
<query_name>woPdnConnectivity</query_name>
</woPdnConnectivity>
<ActiveSubscribers>
<name>Active Subscriber</name>
<direction>output</direction>
<query_name>ActiveSubscriber</query_name>
</ActiveSubscribers>
<IdleSubscribers>
<name>Idle Subscriber</name>
<direction>output</direction>
<query_name>IdleSubscriber</query_name>
</IdleSubscribers>
<woPdnConnectivitys>
<name>Without PdnConnectivity</name>
<direction>output</direction>
<query_name>woPdnConnectivity</query_name>
</woPdnConnectivitys>
</fields>
</global>
would be much appreciate for any clue
cacti Version 0.8.8f runs on centos 6