Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Feb 23, 2019 6:20 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Fill in gaps?
PostPosted: Mon Jan 07, 2019 10:55 pm 
Offline

Joined: Mon Apr 24, 2006 7:39 am
Posts: 10
Is it possible to tell cacti to read last value if a 0 value is returned.

Usage graph from an ISP reads off a perl script but is unreliable site so always looks like this

Image


Top
 Profile  
 
 Post subject: Re: Fill in gaps?
PostPosted: Wed Jan 09, 2019 12:48 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2084
You would need to use a script to do that because the default SNMP options assume that 0 is valid. I don't thin there's an option to override that (could be a future enhancement request if opened on GitHub). Your script would basically see the 0 and return a U instead.

_________________
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: Fill in gaps?
PostPosted: Thu Jan 10, 2019 6:06 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 744
SpikeKill has a gap filling feature. I would recommend you increase the heartbeat on your template and your RRDfiles to something larger. That way the LAST good item will stay good for longer. If you wanted the graph to not gap for say like a day without getting data, set the heartbeat to 86400.

_________________
Before history, there was a paradise, now dust.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 3 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