HELP on broken graphs -nan inpit and output

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

Moderators: Developers, Moderators

Post Reply
gfalconx
Posts: 2
Joined: Tue Dec 27, 2022 6:54 pm

HELP on broken graphs -nan inpit and output

Post by gfalconx »

Hi Cacti Masters,

I'm kinda new cacti and I am currently having issues with our ASR 920s. Our setup is that we have a cacti dedicated for DC infra and cacti dedicated for Branch locations that are both patched and now running version 1.2.21.
I have noticed that after the upgrade, our ASR 920s graphs are no longer working as both input and output are shown as -nan.

I have done the following:

- Re index the graphs
- Deleted the related hostnames and recreated it
- Used a different template
- Rebooted cacti dc server
- Tried creating graphs on our cacti branch that are running same version 1.2.21. (working)
- Export the working template tested on cacti branch and imported it on our DC cacti (still not working)

If we try to do a Realtime graph its working! it's not showing -nan on both input and output.

None of these worked and Im kinda desperate now. Can you please help and let me know your thoughts? :roll: :(
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: HELP on broken graphs -nan inpit and output

Post by TheWitness »

Since you are new to things, just upgrade to the 1.2.x branch of cacti. Should be release very shortly, then run the poller_reindex_hosts.php. Upgrading is simple. Assuming you have git installed already, it's done like this (assuming the web root is /var/www/html).

Put this script in /var/www/html and make it executable and then run it.

Code: Select all

#!/bin/sh
rm -rf cacti-develop
git clone -b 1.2.x https://github.com/cacti/cacti.git cacti-develop
/bin/cp -rpf cacti-develop/* cacti
chown -R apache:apache cacti
rm -rf cacti-develop
Once you run it, either attempt to login to Cacti or hit the F5 button to refresh the page and follow the upgrade instructions. It's that easy.
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?
gfalconx
Posts: 2
Joined: Tue Dec 27, 2022 6:54 pm

Re: HELP on broken graphs -nan inpit and output

Post by gfalconx »

Thanks mate the upgrades are set by our server team and they do patching. What amazes me on this issue is that both cacti's we have, have the same version. It works on our cacti used for branches but it's not working on the cacti that we use for our DC gears.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests