autom8 multiple Tree Items

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
drenny
Posts: 15
Joined: Thu Dec 01, 2011 5:09 am

autom8 multiple Tree Items

Post by drenny »

i tried to create multiple tree items with autom8. but something gets wrong:

the interface graphs are named with the ifIndex at the end (f.e. host-p2p ethernet interface-ifIndex). now i would like to create a folder in the graphs view that is based on the ifIndex (so host-p2p-1234 gets host-1/1/1/1 , host-p2p-5678 gets host-1/2/3/1 and so on). for this i created multiple Rule Items in the Tree Section of autom8 with the following replacement rules:

^(.*)\s-\s(Traffic - P2P Ethernet interface)\s-\s1234 --> ${1} - 1/1/1/1
^(.*)\s-\s(Traffic - P2P Ethernet interface)\s-\s5678 --> ${1} - 1/2/3/1

but the resulting graph is somehow "mixed" up:

RES008010 - 1/1/1/1
RES008010 - Traffic - P2P Ethernet interface - 1234
RES008010 - Traffic - P2P Ethernet interface - 5678
RES008010 - 1/2/3/1
RES008010 - Traffic - P2P Ethernet interface - 5678

can anyone tell me, what is wrong?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: autom8 multiple Tree Items

Post by gandalf »

Please switch debug logging on (See "Settings -> Autom8). Follow the AUTOM8 log entries, then.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest