Some graphs not graphing but realtime plots are working

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

Moderators: Developers, Moderators

Post Reply
ctyler2621
Posts: 6
Joined: Tue Aug 09, 2016 11:51 am

Some graphs not graphing but realtime plots are working

Post by ctyler2621 »

This is not your normal "Cacti not graphing" post. 99% of my graphs are working just fine. The only issue that I have is that Ubiquiti airMax radios are not working. Here are the specifics of the issue.

Cacti Version 1.1.10
SPINE 1.1.10

All other device types work perfectly.
SNMP queries from the Cacti server to a Ubiquiti device works.
Realtime plotting within Cactu plots the correct values so the OID and graph settings are correct.
The normal graphs are blank and the values underneath are all -nan but are created and do exist.

$ snmpget -v1 -mall -c'*********' 10.0.0.01 UBNT-AirMAX-MIB::ubntAirMaxCapacity.1
UBNT-AirMAX-MIB::ubntAirMaxCapacity.1 = INTEGER: 59

$ rrdtool last 3604.rrd
1498583402

$ rrdtool fetch 3604.rrd AVERAGE
ubnt_airMaxCapacity

1498497300: -nan
1498497600: -nan
1498497900: -nan
1498498200: -nan
1498498500: -nan
1498498800: -nan
1498499100: -nan
1498499400: -nan
(truncated, too many values to post here, but they are all the same)

What should I check next?
Last edited by ctyler2621 on Tue Jun 27, 2017 12:47 pm, edited 1 time in total.
ctyler2621
Posts: 6
Joined: Tue Aug 09, 2016 11:51 am

Re: Some graphs not graphing but realtime plots are working

Post by ctyler2621 »

Screen shot attached. Top shows the realtime graph and bottom is the same graph with realtime plotting turned off.
Attachments
graphs.png
graphs.png (61.75 KiB) Viewed 5437 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Some graphs not graphing but realtime plots are working

Post by Osiris »

More than likely file permissions. Check your Cacti log, or run the poller by hand as the crontab user. If you run by hand, you will see the permission denied messages. You can also get this by changing your cron entry to something like:

Code: Select all

*/5 * * * * apache php -q /var/www/html/cacti/poller.php >> /tmp/poller.log 2>&1
After a few poller runs, you can review for permission denied messages.
Before history, there was a paradise, now dust.
ctyler2621
Posts: 6
Joined: Tue Aug 09, 2016 11:51 am

Re: Some graphs not graphing but realtime plots are working

Post by ctyler2621 »

I may have figured it out by accident. Looks like these all defaulted to the "High collection rate" profile instead of the "System Default" profile for some reason. As I don't have a poller set up to handle the high collection rate, they were failing to update. I'll give them a couple hours and see how it progresses now.

I was getting a lot of these "Set MAX_OIDS to 1 for this host to isolate bad OID" errors in my cacti log as well. Will update this post if this clears those errors as well.

-EDIT-
This turned out to the be one of the problems. The other was caused by using name OID's rather than the numerical OID's. Once those two items were "fixed" the graphs started populating properly.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Some graphs not graphing but realtime plots are working

Post by Osiris »

Good to know.
Before history, there was a paradise, now dust.
frankvasquezf
Posts: 2
Joined: Sun Jul 17, 2016 6:13 pm

Re: Some graphs not graphing but realtime plots are working

Post by frankvasquezf »

Hello,
I have the same problem but I can't fix it. I have only one graphic of disk space that not graphing but realtime is fine. I have 50 graphs of this type but only one is not working fine. Moreover, for the same host I have 2 graphs of that and only one don't work. Even I change the poller interval to 30 seconds and rebuild the poller cache, but I still with the same issue. I attached the screenshots.

My cacti version es 0.8.8h.

Thank you for your time and help.
Attachments
00.jpg
00.jpg (71.5 KiB) Viewed 4520 times
01.jpg
01.jpg (70.7 KiB) Viewed 4520 times
02.jpg
02.jpg (110.48 KiB) Viewed 4520 times
03.jpg
03.jpg (121.52 KiB) Viewed 4520 times
adma
Posts: 4
Joined: Mon Jan 21, 2019 9:30 am

Re: Some graphs not graphing but realtime plots are working

Post by adma »

Hi frankvasquezf,

for me the issue was assert re-cache failed for data queries. After hitting "Verbose Query" for data queries under my device, everything started working again.
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: Some graphs not graphing but realtime plots are working

Post by ataha »

kindly explain with commands because i have same problem graph in real time only
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: Some graphs not graphing but realtime plots are working

Post by ataha »

in web page logs
POLLER: Poller[Main Poller] PID[170648] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 61,438.2 seconds have passed since the last poll
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Some graphs not graphing but realtime plots are working

Post by TheWitness »

You are cross posting. Please only post you topic once.
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