Help with data query

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

Moderators: Developers, Moderators

Post Reply
snuz
Posts: 9
Joined: Mon Oct 12, 2020 8:36 am

Help with data query

Post by snuz »

Hi guys,

I have a problem because I have an OID that if I execute snmpwalk works like this:

Code: Select all

nicolas@nicolas-HP-ProBook-450-G7:~$ snmpwalk -v2c -c public x.x.x.x 1.3.6.1.4.1.2011.6.128.1.1.2.43.1.9
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194304000.0 = STRING: "blabla"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194304000.1 = STRING: "blabla"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194304000.2 = STRING: "dwhw"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194304000.3 = STRING: "efrwgher"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194304256.0 = STRING: "htrdhdr"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194304768.0 = STRING: "hehehb"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194305536.0 = STRING: "hehhw"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194305536.1 = STRING: "fgdgr"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194305536.2 = STRING: "erfgdfh"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194305536.3 = STRING: "gerutrbgf"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194305536.4 = STRING: "gfdh"
iso.3.6.1.4.1.2011.6.128.1.1.2.43.1.9.4194306304.0 = STRING: "hdrte"

If I do the Data query, it returns only the values with index 0....Someone could help me? I have just done lots of tests but I don't know how to do this.

I attach the xml
huawei.xml
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Help with data query

Post by TheWitness »

Here is what I can say:

1) You did not attach the XML file
2) You did not properly articulate your problem
3) So, you won't get much more help until you get 1) & 2) right.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
snuz
Posts: 9
Joined: Mon Oct 12, 2020 8:36 am

Re: Help with data query

Post by snuz »

I'm so sorry I modified the post and the xml and I haven't attached the xml yet, I try to explain better the problem.

If i run the snmpwalk of the oid, it returns the values that I write above. If I run the data query, it doesn't returns all values and it doesn't graph anything despite the values are returned.

XML:
huawei.xml
(1.05 KiB) Downloaded 34 times
snuz
Posts: 9
Joined: Mon Oct 12, 2020 8:36 am

Re: Help with data query

Post by snuz »

i found an old topic and I solved, thanks a lot anyway
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Help with data query

Post by TheWitness »

Okay, perfect. You should link to it here.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest