Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Aug 17, 2018 12:17 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: cacti does not write graphs
PostPosted: Tue May 08, 2018 2:42 am 
Offline
Cacti User

Joined: Fri Feb 10, 2017 12:41 pm
Posts: 90
Hey, I have 1.1.38 installed on Ubuntu 18.04.

I had a working graph until yesterday 12.00am. Then it immediately stops writing data into the graph.

There wasn't a change.

In the cacti log, it says: 2018/05/08 09:31:07 - POLLER: Poller[1] CACTI2RRD: /usr/bin/rrdtool update /usr/share/cacti/site/rra/.......

So cacti updates the rrd file, but apparently not.

I don't understand why cacti immediately stops wirting data into the graph.

Can someone give me some workarounds? I don't know what to do.

Thank you.

PS: all devices are reachable via snmp, it's not a problem of a firewall etc. I checked that.


Top
 Profile  
 
 Post subject: Re: cacti does not write graphs
PostPosted: Tue May 08, 2018 9:29 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1326
Have you recently updated your PHP version? If so, there's a possibility that there's a compatibility issue occurring. PHP 7.2 introduced a number of breaking changes.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: cacti does not write graphs
PostPosted: Tue May 08, 2018 9:53 am 
Offline
Cacti User

Joined: Fri Feb 10, 2017 12:41 pm
Posts: 90
Yeah I did, respectively I'm using Ubuntu 18.04 that comes with PHP 7.2

Now, all graphs started to write data again.

That's weird!

Will the next cacti version be fully compatible with php 7.2?


Top
 Profile  
 
 Post subject: Re: cacti does not write graphs
PostPosted: Tue May 08, 2018 6:07 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1326
We've already identified a couple of things that are not 7.2 compatible and corrected those in the develop branches of Cacti (core) and one of the plugins. The 7.2 full check will most likely happen when the code is pretty settled ready for release. Otherwise, there's a possibility of other changes creeping some incompatibility back in.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: cacti does not write graphs
PostPosted: Tue May 08, 2018 6:13 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1326
I changed my mind, and I've just asked for 7.2 to go into our compiler checks. That should hopefully flag any more likely issues.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: cacti does not write graphs
PostPosted: Fri May 11, 2018 6:55 am 
Offline
Cacti User

Joined: Fri Feb 10, 2017 12:41 pm
Posts: 90
That means the new release will be compatible with 7.2?


Top
 Profile  
 
 Post subject: Re: cacti does not write graphs
PostPosted: Fri May 11, 2018 2:38 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1326
It should be. The compiles are working, though there still could be a runtime issues.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

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: cacti does not write graphs
PostPosted: Tue May 15, 2018 8:53 am 
Offline
Cacti User

Joined: Fri Feb 10, 2017 12:41 pm
Posts: 90
Great, is it forseeable when the new release will be published?


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: Hotratz and 1 guest


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