Better re-ordering for Nectar plugin

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
davecore82
Posts: 5
Joined: Wed Apr 02, 2014 1:22 pm

Better re-ordering for Nectar plugin

Post by davecore82 »

Hi,

I have a Nectar report with 67 items so far. They are ordered by host and I only need some graphs for each host.

So I create my report manually by adding the graphs one by one and I put them together grouped by host. I even add a text line with the hostname to make it clearer.

The problem is that sometimes I want to add new graphs to my reports. Like right now I want to add 8 graphs for each host. So I add the graphs but they appear at the bottom and I need to click the blue arrows hundreds of times to get them in the right place.

Is there a better way to do this? Thanks!
davecore82
Posts: 5
Joined: Wed Apr 02, 2014 1:22 pm

Re: Better re-ordering for Nectar plugin

Post by davecore82 »

So I think I found my answer. I thin the best way to do this is to use trees and regular expressions. I'm still trying to write the regexp I need to get all the info I want. Will update once I get it right.
davecore82
Posts: 5
Joined: Wed Apr 02, 2014 1:22 pm

Re: Better re-ordering for Nectar plugin

Post by davecore82 »

Ok so I got what I needed.

I ended up creating a new Nectar report with just 1 item. The item is a new tree I made in graph tree management that contains only the hosts that I want.

And in the regexp field of the item in my Nectar report, I use this:

Disk - IOs|CPU Usage|Memory$|Memory Usage|CPU _Total Usage|Stingray Current Connections|^((Paging))|Ironport|Disk C.*I.*O.*

And it gives me what I need.

I'm not sure I have the best regexp, but it works. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests