Data queries, Cisco 6500 temperatures

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

Moderators: Developers, Moderators

Post Reply
Tomeq
Posts: 24
Joined: Thu Dec 05, 2002 2:22 pm

Data queries, Cisco 6500 temperatures

Post by Tomeq »

Hi!

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>
So, this is is working quite fine. But I don't know what to do next. How should I create Data templates ? And then, how should I associate proper graph templates with proper values? I've created data template similar to interface traffic, but it is probably wrong.

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
julien
Posts: 3
Joined: Sat May 01, 2004 9:19 am

Post by julien »

Hello !

did you find any solutions ?

I'm very interested by this monitoring...


Julien
PhilG
Posts: 7
Joined: Fri Feb 27, 2004 6:14 pm

Post by PhilG »

Check out this link regarding SNMP OIDs without an index. I have tried this and it works. I have found it useful for several OIDs.
http://www.raxnet.net/board/viewtopic.p ... ght=regexp

Note that in above proposed code you have to add another XML field to your templates <replacesnmpindex>true</replacesnmpindex>

I modified the data_query.php file as per mondaka's 3/3/2004 post.

Furthermore, I used the following doc to get the SNMP stuff from Cisco:
http://www.cisco.com/en/US/tech/tk648/t ... 4b9e.shtml

Create a data termplate
Create a graph template
Then, create a data query using your XML file
Associate a graph template/data sources in the data query
Run the query on a device

That is the summary.
Phil Greenberg
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests