My SNMP query definition is:
Code: Select all
<interface>
<name>Get Netopia System Stats</name>
<description>foo</description>
<oid_index>.1.3.6.1.4.1.304.1.3.1.3</oid_index>
<index_order>ntpaProcessorUtilization</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>CPU#|chosen_order_field|</index_title_format>
<fields>
<ntpaProcessorIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.304.1.3.1.3</oid>
</ntpaProcessorIndex>
<ntpaProcessorUtilization>
<name>Utilization</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.304.1.3.1.3.1</oid>
</ntpaProcessorUtilization>
</fields>
</interface>
Then: devices --> my device --> Associated Data Queries --> select Netopia CPU utilization --> Add
After clicking Add:
Code: Select all
Notice: Undefined index: arg_index in /var/www/localhost/htdocs/cacti/lib/data_query.php on line 96
Notice: Undefined index: script_path in /var/www/localhost/htdocs/cacti/lib/data_query.php on line 96
Notice: Undefined index: arg_query in /var/www/localhost/htdocs/cacti/lib/data_query.php on line 107
Notice: Undefined index: query_name in /var/www/localhost/htdocs/cacti/lib/data_query.php on line 107
Notice: Undefined index: script_path in /var/www/localhost/htdocs/cacti/lib/data_query.php on line 107
Warning: Cannot modify header information - headers already sent by (output started at /var/www/localhost/htdocs/cacti/lib/data_query.php:96) in /var/www/localhost/htdocs/cacti/host.php on line 129