Autom8 cron script

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
moonglow
Posts: 3
Joined: Sun Mar 04, 2012 6:11 pm

Autom8 cron script

Post by moonglow »

Hi all!

I'm trying to run "Apply Autom8 rules to devices" for all devices from shell script but it's not so easy as it seems at first.

Graphs works perfectly.

But Autom8 Tree Rules seems not to be applied.

From web interface Tree Rules works.

Can you help me please?

Version 0.8.7i autom8-v0.35
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Autom8 cron script

Post by gandalf »

So we have:
autom8 graph: working from web, not working from cli
autom8 tree: working from web, not working from cli
correct?
You're surely running a 087i+PIA, correct?
Did you get that code via yum/apt-get or via download from our website?
R.
moonglow
Posts: 3
Joined: Sun Mar 04, 2012 6:11 pm

Re: Autom8 cron script

Post by moonglow »

gandalf wrote:autom8 graph: working from web, not working from cli
No. When I run re-index from cli, Autom8 creates graphs for devices according to the graph rules.
gandalf wrote:autom8 tree: working from web, not working from cli, correct?
yes
gandalf wrote:You're surely running a 087i+PIA, correct?
Did you get that code via yum/apt-get or via download from our website?
R.
I got Cacti 087i+PIA 3.1 from cacti.net

Most important question for me: is it works for anybody?
moonglow
Posts: 3
Joined: Sun Mar 04, 2012 6:11 pm

Re: Autom8 cron script

Post by moonglow »

Ok, the most elegant solution is logout and then login after running cli add_device script.

Thread may be closed.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest