Autom8 scheduled refresh

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
anchavesb
Posts: 5
Joined: Thu Oct 07, 2010 3:46 pm

Autom8 scheduled refresh

Post by anchavesb »

Hi,
Is there any good practice or advice..or what should be the proper procedure in order to make an scheduled "apply autom8 rules" to all the devices in a daily basis?

Thanks in advance,

Andres
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Autom8 scheduled refresh

Post by Linegod »

Personally, I create a cronjob bash script that executes:

poller_reindex_hosts.php

followed by

poller_graphs_reapply_names.php

If autom8 is correctly installed, these should trigger any changes in the devices.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
anchavesb
Posts: 5
Joined: Thu Oct 07, 2010 3:46 pm

Re: Autom8 scheduled refresh

Post by anchavesb »

Tks for the answer Linegod....I read in the manual that no reindex should be called while the poller is running, how do you manage to disable de poller on the crontab and check is not running?

Tks in advance,

Andres
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Autom8 scheduled refresh

Post by Linegod »

I have my poller.php in the same bash script. At the tail end it just does a date/time check, and then runs the cli scripts if required.

Or you could just do a check for the poller.php process, and execute if it not running, else sleep and check again.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest