we have a problem with creating a new rittal cmc based data query.
we used the cmc template from the forums but that template wont work for the device we have.
the problem is that the snmp information are totally different or some values are just no exported through snmp ( like the index values ).
###this is the newly created data query###
[root@ctr91 snmp_queries]# cat rittal3_cmc.xml
<interface>
<name>Get CMC Sensors - Version 1</name>
<description>Queries a cmc unit for the number of possible sensors</description>
<fields>
<CMCSensorValue>
<name>Value</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2606.1.1.1.0</oid>
</CMCSensorValue>
<CMCSensorSetHigh>
<name>SetHigh</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2606.1.4.4.0</oid>
</CMCSensorSetHigh>
<CMCSensorSetLow>
<name>SetLow</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2606.1.4.5.0</oid>
</CMCSensorSetLow>
</fields>
</interface>
###
this wont retrive any data from the cmc host.
when adding the data query to a host and getting the debug information i get this:
###
Data Query Debug Information
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/rittal3_cmc.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ ''
+ Located input field 'CMCSensorType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2606.1.3.4.0'
+ Located input field 'CMCSensorSetHigh' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2606.1.4.4.0'
+ Located input field 'CMCSensorSetLow' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2606.1.4.5.0'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/rittal3_cmc.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/rittal3_cmc.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/rittal3_cmc.xml'
###
for the xml query do i need more fields to be filled out? eg. in the original cmc template from (http://forums.cacti.net/about6848.html).
the problem is that some information exported from MIB is missing like the index fields, the type, the status of the device..etc..
here is the MIB for the device http://www.mibdepot.com/cgi-bin/getmib3 ... =0&obj=cmc
what information are mandatory for creating a data query?
any help would be appreciated.
create new data query
Moderators: Developers, Moderators
create new data query
- Attachments
-
- cmc_not_working_other_snmp_OID.xml
- new config which does not work
- (1.47 KiB) Downloaded 116 times
-
- cmc_org_working.xml
- old config from the forums
- (3.12 KiB) Downloaded 122 times
in your how to do all i can find is that i need index fields in the MIB for the CMC to get this to work at all - right?
cause the problem is that i do not have index fields in the MIB. see the snmpwalk outout.
and here is the MIB with index fields (http://www.mibdepot.com/cgi-bin/getmib3 ... =0&obj=cmc) but our are not here - why?! i dont understand that.
cause the problem is that i do not have index fields in the MIB. see the snmpwalk outout.
and here is the MIB with index fields (http://www.mibdepot.com/cgi-bin/getmib3 ... =0&obj=cmc) but our are not here - why?! i dont understand that.
- Attachments
-
- snmpwalk_cmc31.txt
- snmwalk shows that the index fields are not shown.
- (7.71 KiB) Downloaded 127 times
Who is online
Users browsing this forum: No registered users and 4 guests