Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Dec 12, 2018 11:00 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Trying to add graphs using automation to a tree
PostPosted: Mon Feb 12, 2018 6:47 pm 
Offline
Cacti User

Joined: Thu May 04, 2017 8:49 am
Posts: 59
I have a tree that looks like this:

DatacenterX
****RegionA
******Overview
*********????How to add the MPLS graphs here from the detail below???
******Detail
*********regaxxxrtr1
*************Interface MPLS bits/sec
*********regaxxxrtr2
*************Interface MPLS bits/sec
****RegionB
******Overview
*********????How to add the MPLS graphs here from the detail below???
******Detail
*********regbxxxrtr1
*************Interface MPLS bits/sec
*********regbxxxrtr2
*************Interface MPLS bits/sec

I want to add the MPLS interface graphs only to the Overview section of the respective region automatically. There are tons of regions - so need to automate this. Using regular expression, I can get to the regaxxxrtr1's MPLS interface traffic graph. How do I then plant it in the "Overview" subheader of its own region? The selection of the graph is simple. Then planting it in the right sub-area is what I am struggling with. It seems possible with two items and a logical operator (first one finds the Region header and second one finds the Overview section). Any thoughts are much appreciated.


Top
 Profile  
 
 Post subject: Re: Trying to add graphs using automation to a tree
PostPosted: Thu Feb 15, 2018 5:34 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1812
I'm not expert in the automation area but I think you can only use the fields that appear under the automation rules field list. Therefore, you will need to either manually do this or somehow include the region in one of the 'known' fields and use a regex to move based on that.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

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