Autom8 Tree rule (New Device) Round Robin Archive question

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Hemulll
Posts: 6
Joined: Wed Oct 24, 2012 6:19 am

Autom8 Tree rule (New Device) Round Robin Archive question

Post by Hemulll »

Hello!
I use cacti 0.8.8a with Autom8 0.35v installed.
I use Tree rule (New Device) with my own patterns, it works fine, but when it put's graph to the tree the Round Robin Archive everytime be (1 Minute ) and my graphs is (5 Minute)
Explain me plz, where it possible to change the default Round Robin Archive value for Host items?

P.s
From the "automate_manual-v0.35.pd" doc i understand that this parameter valid only for Graph Items.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by gandalf »

Please post a screenshot of the failure
R.
Hemulll
Posts: 6
Joined: Wed Oct 24, 2012 6:19 am

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by Hemulll »

Hi
Screens is below.
Still not solve this problem. By default Autom8 put Host into Tree with RRA (1 minute) when all my graphs is 5 Min
Attachments
Properties of Tree Itim (1 minute RRA)
Properties of Tree Itim (1 minute RRA)
Pic3.png (58.84 KiB) Viewed 2401 times
Autom8 Node Rule
Autom8 Node Rule
Pic2.png (37.01 KiB) Viewed 2401 times
No data in Tree items
No data in Tree items
Pic1.png (28.52 KiB) Viewed 2401 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by gandalf »

Well, I'm now able to reproduce; working on a fix
R.
Hemulll
Posts: 6
Joined: Wed Oct 24, 2012 6:19 am

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by Hemulll »

gandalf wrote:Well, I'm now able to reproduce; working on a fix
R.
A lot of thanks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by gandalf »

Please edit plugins/autom8/autom8_tree_rules.php to read

Code: Select all

#			document.getElementById('rra_id').value = '';
#			document.getElementById('rra_id').disabled='disabled';
at line 642. This will allow to set the wanted RRA value for your tree rules. You will have to delete the tree entries and recreate them to apply this change to the tree entries.
Please respond, whether this fixes the issue. I will publish the fix, then.
R.
Hemulll
Posts: 6
Joined: Wed Oct 24, 2012 6:19 am

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by Hemulll »

gandalf wrote:Please edit plugins/autom8/autom8_tree_rules.php to read

Code: Select all

#			document.getElementById('rra_id').value = '';
#			document.getElementById('rra_id').disabled='disabled';
at line 642. This will allow to set the wanted RRA value for your tree rules. You will have to delete the tree entries and recreate them to apply this change to the tree entries.
Please respond, whether this fixes the issue. I will publish the fix, then.
R.
Hi,
I change the value to 1 (Is Daily 5 min index from rra table), then delete all current graphs, re create them but have no luck

Code: Select all

document.getElementById('rra_id').value = '1';
// document.getElementById('rra_id').disabled='disabled';
Hemulll
Posts: 6
Joined: Wed Oct 24, 2012 6:19 am

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by Hemulll »

Hi gandalf, any news?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by gandalf »

What is shwn with your patch, when a new entry is made? It may be necessary to define the value as "1" instead of 1
R.
Hemulll
Posts: 6
Joined: Wed Oct 24, 2012 6:19 am

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by Hemulll »

gandalf wrote:What is shwn with your patch, when a new entry is made? It may be necessary to define the value as "1" instead of 1
R.
Hi, thanks, now is working.
I didt what yoy sad.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 Tree rule (New Device) Round Robin Archive questi

Post by gandalf »

Hemulll wrote:
gandalf wrote:What is shwn with your patch, when a new entry is made? It may be necessary to define the value as "1" instead of 1
R.
Hi, thanks, now is working.
I didt what yoy sad.
Yay, I stumbled upon such thing every now and then ...
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests