[SOLVED]Cacti 1.2.X Where Did Verbose Query Go?

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

Moderators: Developers, Moderators

Post Reply
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

[SOLVED]Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

Hello,
Verbose query was a very handy debugging tool when writing data queries, yet in 1.2.X it seems to have went away. Am I blind and it was just moved, or was it removed because there's an equivalent way of getting the same information I just can't find? I've been working on a simple new snmp query and it's not finding the index, but I'm having problems seeing the debug info I need to find out why.

Thanks!
Last edited by eriks on Mon May 25, 2020 7:37 pm, edited 1 time in total.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by cigamit »

Its still there. 2nd Icon.
Screenshot_7.jpg
Screenshot_7.jpg (57.75 KiB) Viewed 3481 times
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

Hi Cigmit,
I do not have that icon, only the delete icon - the other two are missing. My user is an administrator and has permission for everything though. Any thoughts before I start digging into the code?

Image
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by cigamit »

Check your browsers dev console to make sure they aren't being blocked. Also try changing your theme and see if its just a theme issue.
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

I tried both the dark and classic themes in addition to modern - no change, the buttons are not there.

I tried both chrome and microsoft edge in addition to firefox - no change, the buttons are not there.

The network tab of the tools show that nothing has been blocked and nothing has failed to load. Everything is either HTTP/200 - OK or HTTP/304 - Not Modified.

You can see that the table is indeed there, but there is nothing in the cells.

Image
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

Found the cause - this is likely a problem with the packages I am using for cacti.

It looks like fontawesome.css does not define fa-sync which is why those do not appear. The version of fontawesome I seem to be getting from the package is 4.7.0 but the cacti sources include version 5.x.

I'm manually updating fontawesome and that should resolve the issue
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

Ubuntu 18.04 LTS and a number of other distros have not yet moved to fontawesome 5.X The dependency on it breaks the package which installs a symlink to the system-installed version of fontawesome (4.7.0). This causes the missing icons. Might be a little early to be breaking compatibility with fontawesome 4.7.0...

As a fix for now I removed the symlink to the system version and dumped in the version of fontawesme distributed with cacti 1.2.10. The icons now appear.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by cigamit »

This would be on the package maintainer then. If they can't provide a version of fontawesome that meets our requirements, then they shouldn't remove the version we ship. You should submit a bug against their package IMO.
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

I sent a message to the package maintainer with respect to this issue.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by TheWitness »

I have a sneaking suspicion it's Debian.
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?
eriks
Posts: 30
Joined: Wed Aug 25, 2010 4:57 pm

Re: Cacti 1.2.X Where Did Verbose Query Go?

Post by eriks »

You suspect correctly. Ubuntu 18.04 LTS to be precise. I actually recently updated to 20.04 LTS and pointed things back at the system version of fork-awesome and it seems to be OK with that.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests