[solved] data source are not polled

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
exeral
Posts: 7
Joined: Sat May 02, 2009 5:43 am

[solved] data source are not polled

Post by exeral »

Hi

I have created custom SNMP data queries

Image

sample of one of them
Image

corresponding xml

Code: Select all

<interface>
	<name>Get Serverless status Europe</name>
	<index_order_type>numeric</index_order_type>
	<oid_index>.1.3.6.1.4.1.99.1.0.0</oid_index>

	<fields>
		<slStatusIndex>
			<name>Index</name>
			<method>walk</method>
			<source>value</source>
			<direction>input</direction>
			<oid>.1.3.6.1.4.1.99.1.0.0</oid>
		</slStatusIndex>
		<slStatusDescr>
			<name>Description</name>
			<method>walk</method>
			<source>value</source>
			<direction>input</direction>
			<oid>.1.3.6.1.4.1.99.1.0.2</oid>
		</slStatusDescr>
		<slStatusCount>
			<name>Count</name>
			<method>walk</method>
			<source>value</source>
			<direction>output</direction>
			<oid>.1.3.6.1.4.1.99.1.0.3</oid>
		</slStatusCount>
	</fields>
</interface>

corresponding data template
Image

it works well, I can add the data queries to a host, as you can see in verbose query I have the results
Image

so graph are created
Image

and also data sources
Image


However
the host's data sources in poller cache is not updated with the new data sources freshly created
Image

poleer_item table is also not populated with new data sources

Code: Select all

mysql> SELECT local_data_id, poller_id, host_id, rrd_name, arg1 from poller_item where host_id = 167;
+---------------+-----------+---------+-------------+----------------------------+
| local_data_id | poller_id | host_id | rrd_name    | arg1                       |
+---------------+-----------+---------+-------------+----------------------------+
|          1415 |         0 |     167 | cpu_nice    | .1.3.6.1.4.1.2021.11.51.0  |
|          1416 |         0 |     167 | cpu_system  | .1.3.6.1.4.1.2021.11.52.0  |
|          1417 |         0 |     167 | cpu_user    | .1.3.6.1.4.1.2021.11.50.0  |
|          1418 |         0 |     167 | load_1min   | .1.3.6.1.4.1.2021.10.1.3.1 |
|          1419 |         0 |     167 | load_15min  | .1.3.6.1.4.1.2021.10.1.3.3 |
|          1420 |         0 |     167 | load_5min   | .1.3.6.1.4.1.2021.10.1.3.2 |
|          1421 |         0 |     167 | mem_buffers | .1.3.6.1.4.1.2021.4.14.0   |
|          1422 |         0 |     167 | mem_cache   | .1.3.6.1.4.1.2021.4.15.0   |
|          1423 |         0 |     167 | mem_free    | .1.3.6.1.4.1.2021.4.6.0    |
|          6992 |         0 |     167 | traffic_in  | .1.3.6.1.2.1.31.1.1.1.6.2  |
|          6992 |         0 |     167 | traffic_out | .1.3.6.1.2.1.31.1.1.1.10.2 |
+---------------+-----------+---------+-------------+----------------------------+
11 rows in set (0.00 sec)

Why the new data sources are not polled ?!
thanks

feel free to ask any additional information
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: data source are not polled

Post by BSOD2600 »

All looks correctly done on the surface.

rebuilt the poller cache?
Cacti version?
exeral
Posts: 7
Joined: Sat May 02, 2009 5:43 am

Re: data source are not polled

Post by exeral »

yea, poller cache rebuild like 20 times since datasources were created
Date Mon, 29 Sep 2014 08:14:32 +0000
Cacti Version 0.8.8a
Cacti OS unix
SNMP Version NET-SNMP version: 5.4.3
RRDTool Version RRDTool 1.4.x
Hosts 254
Graphs 1047
Data Sources Script/Command: 5
SNMP: 2313
SNMP Query: 268
Total: 2586
Poller Information
Interval 300
Type SPINE 0.8.8a Copyright 2002-2012 by The Cacti Group
Items Action[0]: 2718
Action[1]: 5
Total: 2723
Concurrent Processes 1
Max Threads 2
PHP Servers 2
Script Timeout 25
Max OID 10
Last Run Statistics Time:72.2324 Method:spine Processes:1 Threads:2 Hosts:247 HostsPerProcess:247 DataSources:2723 RRDsProcessed:1828
PHP Information
PHP Version 5.4.4-14+deb7u9
PHP OS Linux
PHP uname Linux poller 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64
PHP SNMP Installed
max_execution_time 30
memory_limit 128M
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: data source are not polled

Post by BSOD2600 »

in your Associated Data Queries screenshot, you didnt check the box (far right)... which means no data source is configured.
It would also be worthwhile to upgrade to 0.8.8b for the security patches.
exeral
Posts: 7
Joined: Sat May 02, 2009 5:43 am

Re: data source are not polled

Post by exeral »

damn ! that's so dumb..

you are right. it works now

thanks a lot ! :wink:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: data source are not polled

Post by BSOD2600 »

Common mistake ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest