Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Giving back to the community

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Tybio
Cacti User


Joined: 16 Feb 2006
Posts: 79

PostPosted: Tue Nov 20, 2007 9:21 am    Post subject: Giving back to the community Reply with quote

As Howie knows, I've been a quiet user of Weathermap for a number of years to map a major international ISP. In doing so, I've written a number of scripts to automate tasks...I'm going to try to clean them up and post some of them (The non-proprietary ones) here for other people to use as reference.

I'm going to reserve two posts in this thread for the two I know I'm going to release right now. I will edit them with information on the scripts when I clean them up enough for public consumption.

I do not pretend to be an SQL god, I learned it enough to get these jobs done. If you see a way to clean up the SQL I'd love to give it a try .
Back to top
Tybio
Cacti User


Joined: 16 Feb 2006
Posts: 79

PostPosted: Tue Nov 20, 2007 9:21 am    Post subject: Reply with quote

make_site.pl

This script was created to map MPLS LSP information, it uses the MPLS LSP name on Juniper routers to build the associations and then gives the proper RRD for input and output when both are available. When only one is functional it uses that for both (best I could come up with!).

This script will NOT work for you, this is not provided to accomplish anything other then show people how weathermaps can be generated dynamically from the Cacti Database. Please do not expect this to drop into your install and do anything at all other then error out massively.

If you use this script, or have other ways to accomplish the tasks with more ease..please share!



make_site-output.png
 Description:
 Filesize:  53.98 KB
 Viewed:  908 Time(s)

make_site-output.png



make_site-example.txt
 Description:

Download
 Filename:  make_site-example.txt
 Filesize:  7.97 KB
 Downloaded:  97 Time(s)



Last edited by Tybio on Tue Nov 20, 2007 9:40 am; edited 1 time in total
Back to top
Tybio
Cacti User


Joined: 16 Feb 2006
Posts: 79

PostPosted: Tue Nov 20, 2007 9:22 am    Post subject: Reply with quote

Reserved, Script 2
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Tue Nov 20, 2007 9:51 am    Post subject: Reply with quote

(OK - figured out who you are now )

Cool! I've got a couple of similar scripts to post soon too. I've been working on extra-high-density weathermaps for networks of switches in the DC.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group