Cacti Device Data Query Debug Issue

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

Moderators: Developers, Moderators

Post Reply
Soumik123
Posts: 6
Joined: Fri Nov 18, 2022 5:35 am

Cacti Device Data Query Debug Issue

Post by Soumik123 »

Hi,

We are currently running Cacti Version - 1.2.18

We are having some issue for most of devices, when we add graphs for devices graphs not plotting.
we are getting error in Data query tab showing "No Items Found",
Capture 10.PNG
Capture 10.PNG (72.45 KiB) Viewed 380 times
after that if we go for Data query Debug then it is showing below snapshot "No SNMP data Returned" and also showing this error "missing in XML file, 'Index Count Changed' emulated by counting oid_index entries",
Capture 11.PNG
Capture 11.PNG (33.41 KiB) Viewed 380 times
Capture 13.PNG
Capture 13.PNG (32.3 KiB) Viewed 380 times
but we did not change anything in XML File.

After that we did some Data source Troubleshooting for same device getting some Error like "Debug not completed after 5 pollings Failed fields: last_result, valid_data, rra_timestamp2 RRDfile".
Capture 12.PNG
Capture 12.PNG (37.06 KiB) Viewed 380 times
Same happening for most of devices in cacti.
Any suggested solution?
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Device Data Query Debug Issue

Post by Osiris »

You someone might have changed the devices ACL's to the default. With net-snmp anyway on a Linux box, the default allows you to see things likuptime, but nothing else.
Before history, there was a paradise, now dust.
Soumik123
Posts: 6
Joined: Fri Nov 18, 2022 5:35 am

Re: Cacti Device Data Query Debug Issue

Post by Soumik123 »

Hi,

Do We need to check this ACL at Device/Router Side?

OR

This Devices ACL's to Default : Is there any Setting in Cacti Application OR in Router/Switch Linux Box OR in Network Setting?

Please Suggest.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Device Data Query Debug Issue

Post by Osiris »

You should start off with running snmpwalk from the command line. Then either going uphill or downhill from there.
Before history, there was a paradise, now dust.
Soumik123
Posts: 6
Joined: Fri Nov 18, 2022 5:35 am

Re: Cacti Device Data Query Debug Issue

Post by Soumik123 »

Hi,

When we tried with SNMPWALK Command line, We have got Correct Output.
But Cacti is not able to get the details from Data Query !


Please Suggest
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti Device Data Query Debug Issue

Post by TheWitness »

You might want to try to edit the bulk walk size when you edit the device, you should see a column as shown below.
Attachments
BulkWalkSettings.png
BulkWalkSettings.png (6.5 KiB) Viewed 295 times
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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti Device Data Query Debug Issue

Post by TheWitness »

Instead of using the "auto-detect" set it to say 20. Also, increase your snmp timeout.
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 0 guests