Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Oct 17, 2018 11:12 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: No graphs after 1.1.38 upgrade
PostPosted: Wed Aug 15, 2018 2:16 pm 
Offline
Cacti User

Joined: Thu Jan 07, 2010 10:33 am
Posts: 124
If there are no specific errors in the log and all my graphs are -nan what's going on? The rra dir is populated. The realtime graphs work fine.
Quote:
RRDtool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='1534186591' \
--end='1534359106' \
--pango-markup \
--title='TMH EXT ASA Secondary - 5 Minute CPU Usage' \
--vertical-label='percent' \
--slope-mode \
--base=1000 \
--height=120 \
--width=500 \
--tabwidth '30' \
--rigid \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2018/08/13 14\:56\:31 To 2018/08/15 14\:51\:46\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 --font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/var/www/localhost/htdocs/cacti/rra/2775/2471966.rrd':'asa5min_cpu':AVERAGE \
AREA:a#FF0000FF:'CPU Usage' \
GPRINT:a:LAST:'Current\:%8.0lf' \
GPRINT:a:AVERAGE:'Average\:%8.0lf' \
GPRINT:a:MAX:'Maximum\:%8.0lf\n'
RRDtool Says:
OK

Also note that this spine poller is significantly slower than 0.8.8x which polled these devices in ~45sec?
Quote:
2018/08/15 14:41:52 - SYSTEM STATS: Time:110.5381 Method:spine Processes:1 Threads:50 Hosts:1730 HostsPerProcess:1730 DataSources:83358 RRDsProcessed:0
2018/08/15 14:41:56 - SYSTEM THOLD STATS: Time:1.5852 Tholds:0 TotalDevices:1730 DownDevices:10 NewDownDevices:2
2018/08/15 14:41:56 - SYSTEM MONITOR STATS: Time:0.3 Reboots:0 DownDevices:1 Notifications:0 Purges:0
2018/08/15 14:42:34 - SYSTEM HMIB STATS: time:39.9800 processes:20 hosts:547
2018/08/15 14:42:45 - SYSTEM SYSLOG STATS:Time:46.86 Deletes:0 Incoming:252056 Removes:125404 XFers:0 Alerts:51 Alarms:0 Reports:0
2018/08/15 14:43:22 - SYSTEM BOOST STATS: Time:87.5100 RRDUpdates:496866
2018/08/15 14:46:51 - SYSTEM STATS: Time:110.1553 Method:spine Processes:1 Threads:50 Hosts:1730 HostsPerProcess:1730 DataSources:83358 RRDsProcessed:0
2018/08/15 14:46:55 - SYSTEM THOLD STATS: Time:1.3303 Tholds:0 TotalDevices:1730 DownDevices:12 NewDownDevices:5
2018/08/15 14:46:55 - SYSTEM MONITOR STATS: Time:0.21 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2018/08/15 14:47:34 - SYSTEM HMIB STATS: time:40.3500 processes:20 hosts:547
2018/08/15 14:47:50 - SYSTEM SYSLOG STATS:Time:52.21 Deletes:0 Incoming:245640 Removes:121602 XFers:0 Alerts:51 Alarms:0 Reports:0


Top
 Profile  
 
 Post subject: Re: No graphs after 1.1.38 upgrade
PostPosted: Thu Aug 16, 2018 6:35 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1503
The big clue is RRDsProcessed:0, try changing your logging level to Medium

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: No graphs after 1.1.38 upgrade
PostPosted: Thu Aug 16, 2018 8:09 am 
Offline
Cacti User

Joined: Thu Jan 07, 2010 10:33 am
Posts: 124
rrds processed is always 0 its done by boost.

2018/08/15 14:43:22 - SYSTEM BOOST STATS: Time:87.5100 RRDUpdates:496866


Top
 Profile  
 
 Post subject: Re: No graphs after 1.1.38 upgrade
PostPosted: Thu Aug 16, 2018 8:54 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1503
Fair enogh, didnt see that above.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: No graphs after 1.1.38 upgrade
PostPosted: Fri Aug 17, 2018 6:07 pm 
Offline
Cacti User

Joined: Thu Jan 07, 2010 10:33 am
Posts: 124
I finally got the poller slowness figured out, It was some old esxi templates that weren't appreciated by the new spine. After cleaning that back up I was able to move back to 1 minute polling and everything is squeaky clean. Expect a few minor cosmetic issues ive reported on GitHub. :)
Quote:
2018/08/17 18:57:30 - SYSTEM STATS: Time:28.4725 Method:spine Processes:1 Threads:50 Hosts:1730 HostsPerProcess:1730 DataSources:82881 RRDsProcessed:0
2018/08/17 18:57:07 - SYSTEM BOOST STATS: Time:35.7500 RRDUpdates:1045675
2018/08/17 18:57:03 - SYSTEM SYSLOG STATS:Time:30.15 Deletes:0 Incoming:19951 Removes:9469 XFers:0 Alerts:51 Alarms:0 Reports:0
2018/08/17 18:56:48 - SYSTEM HMIB STATS: time:16.8700 processes:20 hosts:547
2018/08/17 18:56:31 - SYSTEM MONITOR STATS: Time:0.25 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2018/08/17 18:56:31 - SYSTEM THOLD STATS: Time:0.2226 Tholds:386 TotalDevices:1730 DownDevices:4 NewDownDevices:0
2018/08/17 18:56:29 - SYSTEM STATS: Time:27.8921 Method:spine Processes:1 Threads:50 Hosts:1730 HostsPerProcess:1730 DataSources:82881 RRDsProcessed:0
2018/08/17 18:56:10 - SYSTEM SYSLOG STATS:Time:27.5 Deletes:0 Incoming:14114 Removes:6602 XFers:0 Alerts:51 Alarms:0 Reports:0
2018/08/17 18:55:58 - SYSTEM HMIB STATS: time:17.3700 processes:20 hosts:547
2018/08/17 18:55:41 - SYSTEM MONITOR STATS: Time:0.08 Reboots:0 DownDevices:0 Notifications:0 Purges:0
2018/08/17 18:55:41 - SYSTEM THOLD STATS: Time:0.1576 Tholds:386 TotalDevices:1730 DownDevices:4 NewDownDevices:0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group