Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post general support questions here that do not specifically fall into the Linux or Windows categories.
Moderators: Developers , Moderators
un1ucky
Posts: 2 Joined: Wed Mar 04, 2009 9:04 am
Post
by un1ucky » Thu Mar 12, 2009 6:39 am
Hi, cacti users and developers:)
I creating my first cacti graph, and trying create custom xml data query for my router, cpu frequency.
This my snmpwalk output:
snmpwalk -c xx -v1 ipaddress .1.3.6.1.4.1.3942.1.1.3.6.0
SNMPv2-SMI::enterprises.3942.1.1.3.6.0 = Gauge32: 39
trying creating data query:
Code: Select all
<interface>
<name>Get RVR Processor Information</name>
<oid_index>.1.3.6.1.4.1.3942.1.1.3.6</oid_index>
<index_order>nwhrProcessorNum:nwhrProcessorIndex</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>CPU#|chosen_order_field|</index_title_format>
<fields>
<nwhrProcessorIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.3942.1.1.3.6.0</oid>
</nwhrProcessorIndex>
</fields>
</interface>
this don't work
can you help me?
TheWitness
Developer
Posts: 17064 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu Mar 12, 2009 6:45 am
Where is this in the XML file? After that, there are several setup steps that if you don't post images, etc. We can't be of more help.
nwhrProcessorNum
TheWitness
un1ucky
Posts: 2 Joined: Wed Mar 04, 2009 9:04 am
Post
by un1ucky » Thu Mar 12, 2009 7:26 am
thx for answer
TheWitness wrote: Where is this in the XML file?
this is my full single XML file. im trying creating it:)
After that, there are several setup steps that if you don't post images, etc. We can't be of more help.
nwhrProcessorNum
[/quote]
im copy default netware_cpu.xml and try edit.
Attachments
1.png (57.8 KiB) Viewed 1050 times
2.png (17.29 KiB) Viewed 1050 times
3.png (51.55 KiB) Viewed 1050 times
TheWitness
Developer
Posts: 17064 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu Mar 12, 2009 6:48 pm
Why do you have an OID in your data template. That is invalid. Past the verbose quey information.
TheWitness
TheWitness
Developer
Posts: 17064 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu Mar 12, 2009 6:49 pm
Plus the Data Input method on the Data Template is WRONG. You need to RTM!!!
TheWitness
Users browsing this forum: No registered users and 3 guests