dynamic selection of interfaces to graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
geertn444
Posts: 44
Joined: Fri Dec 02, 2005 3:24 am

dynamic selection of interfaces to graph

Post by geertn444 »

Hello all,

Is it possible to make Cacti automatically select interfaces to start graphing ?
For example, when node is added, automatically graph "interface load" for interfaces with "TRUNK" or "ROUTER" in description (via regex maybe) ?

Second (advanced): is it possible to deploy graphs with Ansible but statefull ?
For example: i deploy device1/interface1 and device2/interface10 and device3/interface15

When i later change the deployment to device3/interface10 and redeploy, i want Ansible to remove the graphs of device3/interface15 and add the graphs for device3/interface10.
Is this possible ?

regards,
Geert
_________________
| Cacti 0.8.6i with Plugin Architecture | Plugins: Monitor, Thresholds, Wheathermap
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: dynamic selection of interfaces to graph

Post by Pucho »

Hi there,

Regarding your first question, depends on what version you are running on.

The autom8 plugin has been integrated to new Cacti 1.x so you can automate those tasks.

This is an screenshot from Cacti 1.1.21
chrome_2017-11-14_09-29-45.png
chrome_2017-11-14_09-29-45.png (81.29 KiB) Viewed 441 times
Regarding all the other question related to Ansible, no idea, but I guess you could achieve some of them with the automation rules.

So if you are running 0.8.6 I think you miss it

Prerequisites
Before you install AUTOM8, you need to have met the following pre-requisites:
Cacti 0.8.7x using Plugin Architecture V2.x. Tested using PIA 2.4
Install all patches provided with this plugin:
cli.patch
lib_api_automation_tools.php.patch
lib_api_tree.php.patch
host.php.patch
lib_api_device.php.patch
lib_data_query.php.patch
Cacti - 1.2.15
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest