Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Dec 18, 2017 7:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Hide link when no data ?
PostPosted: Tue Jun 26, 2012 8:21 am 
Offline

Joined: Tue May 15, 2012 8:12 am
Posts: 4
Hello Everybody !

simple question:
Is it possible to hide a link when there is no data to display ?

I have a map whose link data are coming from a text file (Target /xxx/output.txt).
I would like to hide link when there is no valid data to display .



Thanks in advance !


Top
 Profile  
 
 Post subject: Re: Hide link when no data ?
PostPosted: Wed Oct 04, 2017 10:05 pm 
Offline

Joined: Thu Sep 21, 2017 8:58 pm
Posts: 8
me too, pls help!
Thanks!


Top
 Profile  
 
 Post subject: Re: Hide link when no data ?
PostPosted: Wed Oct 04, 2017 10:27 pm 
Offline
Cacti User
User avatar

Joined: Wed Jul 20, 2016 8:00 pm
Posts: 123
I guess the closer you can get to that is

Code:
OUTLINECOLOR 255 255 255
BWOUTLINECOLOR 255 255 255


If your background color is white and the scale defines 255 255 255 for 0 1, to say something. But it'd be a pain to edit those links hehe

No other way that I'm aware of.

I'm just curious, may I ask in what case would this be useful for you?

_________________
Cacti - 1.1.21
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Code:
SYSTEM STATS: Time:17.7383 Method:spine Processes:1 Threads:10 Hosts:279 HostsPerProcess:279 DataSources:7309 RRDsProcessed:3718

Code:
WEATHERMAP STATS: Weathermap 0.98 run complete - Thu, 16 Nov 17 08:42:56 +1300: 39 maps were run in 23.22 seconds with 0 warnings.


Top
 Profile  
 
 Post subject: Re: Hide link when no data ?
PostPosted: Wed Oct 04, 2017 11:00 pm 
Offline

Joined: Thu Sep 21, 2017 8:58 pm
Posts: 8
i config target link read data from textfile:
Code:
LINK router1-router2
   WIDTH 5

   TARGET C:/AppServ/www/2017/plugins/weathermap/data/data.txt
   
   NODES router1 router2

and data txt file:
Code:
router1-router2 33M 44M
router3-router4 66M 99M

it can't load in_ out_ bw (33m-44m) to weathermap data link.
pls help me!


Top
 Profile  
 
 Post subject: Re: Hide link when no data ?
PostPosted: Mon Oct 16, 2017 2:29 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5167
Location: United Kingdom
I just saw this... have you tried with DEBUG logging? (or even checked the cacti.log?) You should get more information about what is going on. Look for lines with ReadData in them.

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)


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 2 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