I have created custom SNMP data queries
sample of one of them
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>
it works well, I can add the data queries to a host, as you can see in verbose query I have the results
so graph are created
and also data sources
However
the host's data sources in poller cache is not updated with the new data sources freshly created
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