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
Autom8 scheduled refresh
Moderators: Developers, Moderators
Re: Autom8 scheduled refresh
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.
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
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Autom8 scheduled refresh
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
Tks in advance,
Andres
Re: Autom8 scheduled refresh
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.
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
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Who is online
Users browsing this forum: No registered users and 4 guests