I'm trying to figure out how to use Data queries to gather all temperature data from Cisco 6500. I've found that it would be similar to interface traffic data query. So i did the folowing:
Code: Select all
<temperature>
<name>Get Cisco6500 temperatures</name>
<description>Asks for temperatures</description>
<oid_index>.1.3.6.1.4.1.9.9.13.1.3.1.2</oid_index>
<fields>
<ciscoTempDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9.9.13.1.3.1.2</oid>
</ciscoTempDescr>
<ciscoTempValue>
<name>Value</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.9.9.13.1.3.1.3</oid>
</ciscoTempValue>
</fields>
</temperature>
I'm really confused, because I don't know how to put together all that stuff... what to do next? I'm not new on cacti 0.8.x, but this gave me a real headache.
Thanks in advance for all help,
Greets
Tomek