Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jan 19, 2019 9:44 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 230 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16
Author Message
 Post subject: Re: [INFO] Show off your Weathermaps.
PostPosted: Wed Apr 25, 2018 3:44 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1912
ds20prefecture wrote:
My ancient 3560 switches using NINK for interface status. I set the 0 0 range to black to show interfaces with zero traffic as "disconnected" - connected switches show bandwidth. Weathermap is the cleverest use of Cacti I've seen! Thanks Howie.

Now this would be useful for me so I can identify ports that should be shutdown!

_________________
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:
PostPosted: Fri Jul 20, 2018 4:29 am 
Offline

Joined: Fri Feb 09, 2018 2:26 am
Posts: 1
BorisL wrote:
Sample Datacenter weathermap.
Links between routers (actual interface names, rrd, etc) are found automaticall using simple pre-plugin.

User write
Code:
LINK nodeXXX-nodeYYY
        NODES nodeXXX nodeYYY

Everything else is done using TEMPLATES and plugin mentioned above.


how to display % on link?


Top
 Profile  
 
 Post subject: Re: Re:
PostPosted: Sun Jul 22, 2018 3:37 pm 
Offline
Cacti User
User avatar

Joined: Wed Jul 20, 2016 8:00 pm
Posts: 177
ethanzhu wrote:
BorisL wrote:
Sample Datacenter weathermap.
Links between routers (actual interface names, rrd, etc) are found automaticall using simple pre-plugin.

User write
Code:
LINK nodeXXX-nodeYYY
        NODES nodeXXX nodeYYY

Everything else is done using TEMPLATES and plugin mentioned above.


how to display % on link?


BWLABEL

_________________
Cacti - 1.1.37
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: [INFO] Show off your Weathermaps.
PostPosted: Wed Oct 03, 2018 11:59 am 
Offline

Joined: Mon May 29, 2017 4:14 pm
Posts: 34
HI,

I am still trying to figure this spiral and round graphic..
I followed instructions provide .,..
If I need to get 100 routers around the cloud..

according to what you've mentioned:
angle= (360/number-of-things) * number-of-this-thing
X = center_x + distance*cos(angle)
Y = center_y - distance*sin(angle)


360/100*number-of-this-thing (what is number of this thing)

I was able to get the idea with below code:
# TEMPLATE-only NODEs:
NODE DEFAULT
MAXVALUE 100


# TEMPLATE-only LINKs:
LINK DEFAULT
BANDWIDTH 100M


# regular NODEs:
NODE c1
LABEL c1
POSITION 337 283

NODE rrr2
LABEL rrr2
POSITION c1 385r200

NODE rrr4
LABEL Node
POSITION c1 90r200

NODE rrr1
LABEL rrrr1
POSITION c1 45r200

NODE rrr3
LABEL rrr3
POSITION c1 360r200

NODE node03836
LABEL Node
POSITION c1 180r200

NODE node03979
LABEL Node
POSITION c1 270r200


# regular LINKs:
LINK c1-rrr3
NODES c1 rrr3



# That's All Folks!


But I need to guess angle value for next router. I thought with your calculation I can just add that number to angel for next node.

Also about link you did some logic if you can please explain that would be great.

Thanks.


Attachments:
circular-wm.png
circular-wm.png [ 15.51 KiB | Viewed 293 times ]
Top
 Profile  
 
 Post subject: Re:
PostPosted: Wed Oct 03, 2018 8:53 pm 
Offline

Joined: Mon May 29, 2017 4:14 pm
Posts: 34
Hi Dionvdc
hoping you are still following this thread...or anyone you have got spiral some nice spiral/circular graph..
I got able to get graph but wonder how I get link's label shows data better... like Dionvdc got..

following in portion of my config:
Quote:
NODE rrr1
LABEL rrr1
ICON images/router_up.gif
POSITION VPLS10 90r300

NODE rrr1-1
LABEL rrr1-1
ICON images/router_up.gif
POSITION VPLS10 98r300

NODE rrr1-2
LABEL rrr1-2
ICON images/router_up.gif
POSITION VPLS10 106r300

NODE rrr1-3
LABEL rrr1-3
ICON images/router_up.gif
POSITION VPLS10 114r300

NODE rrr1-4
LABEL rrr1-4
ICON images/router_up.gif
POSITION VPLS10 122r300
LINK VPLS10-rrr1
NODES VPLS10:90r65 rrr1

LINK VPLS10-rrr1-1
NODES VPLS10:98r65 rrr1-1

LINK VPLS10-rrr1-2
NODES VPLS10:106r65 rrr1-2

LINK VPLS10-rrr1-3
NODES VPLS10:114r65 rrr1-3

LINK VPLS10-rrr1-4
NODES VPLS10:122r65 rrr1-4






dionvdc wrote:
My turn with images that represent one of our storage layout.
Setup used: cacti 0.8.7e, weather-map 0.97, monitor and thold.

Link have an infourl and overlib as do the switch endpoints, some links have an in/out infourl and overlib defined. Set link_bulge is used.
The monitor is to be used as an animated weathermap infourl/ overlib, but this is still an WIP.

The first two image configfiles are made with an xls file using previous posted file for the dashboard creation as example. The last two where created by hand.
The config (especially the radial images) files contain almost no Configuration Directives except many set hint values as almost everything is templated and defined in an include files.

The last two images use the same include file mentioned above for templates and a seperate one for the base layout. The base switches have an overlib and infourl to the radial images


Attachments:
wm-spiral.png
wm-spiral.png [ 466.59 KiB | Viewed 282 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 230 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 12 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