Hi,
When I import a new device with add_graphs.php, graphs are created that I'm not interested (certain VLAN interfaces, Bluetooth interfaces etc.). Is it possible to have these filtered out when the device is added? I feel like the automation graph rules are what I'm looking for, but somehow these aren't respected when a new device is added. The rule I've created looks as follows:
"Matching Objects" shows a lot of matches from SNMP Interfaces Statistics, so the regex is fine. What am I missing here?
I've used the automation rules to place a device from a certain location at the correct place on a tree by filtering for a string in the hostname which worked as expected.
Filtering out interfaces
Moderators: Developers, Moderators
Re: Filtering out interfaces
FYI: this is using Cacti version 1.2.16
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Filtering out interfaces
Sure, well add more conditions to remove those additional interfaces. It's SQL which includes the ability to use regular expressions and the word "NOT" (aka NOT REGEXP "(blah|blah|blah)")
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Filtering out interfaces
The issue turned out to be a separate shell script which added extra monitored interfaces to the device. When I do it correctly it's not wrong anymore
Who is online
Users browsing this forum: No registered users and 1 guest