Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Problem getting data into Cacti from my Smart-UPS 1500 XML

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
brijniersce



Joined: 05 Aug 2008
Posts: 1

PostPosted: Tue Aug 05, 2008 2:18 pm    Post subject: Problem getting data into Cacti from my Smart-UPS 1500 XML Reply with quote

Hello,

I'm trying to graph the temperature measured by my APC Smart-UPS 1500 and have some trouble getting the data read.

I used the Powernet MIB provide by APC to figure out that .1.3.6.1.4.1.318.1.1.1.2.2.2.0 is PowerNet-MIB::upsAdvBatteryTemperature.0 = Gauge32: 35

I created a data query XML (documentation is quite confusing, so my guess is that the problem is here) that looks like:

<interface>
<name>APC SmartUPS</name>
<index_order_type>numeric</index_order_type>
<oid_index>.1.3.6.1.4.1.318.1.1.1.1.1.1.0</oid_index>

<fields>
<apcCapacity>
<name>Capacity</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.318.1.1.1.2.2.1.0</oid>
</apcCapacity>
<apcBatTemp>
<name>Battery Temperature</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.318.1.1.1.2.2.2.0</oid>
</apcBatTemp>
</fields>
</interface>

When I go to "Devices" in Cacti, I have the correct (?) data query and after switching to SNMP v1 the top of the page shows the correct location, so it's getting data from the device. But the "Verbose query" link show:

+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/apc.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.318.1.1.1.1.1.1.0'
+ No SNMP data returned
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/apc.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/apc.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/apc.xml'

So it's not seeing the data?

Where am I going wrong?

Tx
Bas
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group