The authenticaction is local.
In the crontab of "Cacti server" I want run:
wget http://server-host/cacti/host.php?actio ... ost_id=260
I need run this script for reindex the datasources "running proccess" for the host "260".
... but Cacti don´t run the script because needs authentication.
What can I do without remove the authentication in Cacti? I want remove the authentication for host.php
Can I make a session php for this script? how?
Thanks
Run a web of Cacti without authentication
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
look in the cli folder. there is already a script for this.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
thanks
Thanks,Howie wrote:look in the cli folder. there is already a script for this.
I have execute
/usr/local/php/bin/php -q poller_reindex_hosts.php -id=All
and the execution time is:
real 34m54.489s
user 1m59.100s
sys 2m3.890s
There´s 10000 datasources.
If I remove the authentication and execute the similar script:
for (x = all host)
wget http://server-host/cacti/host.php?actio ... &host_id=x
the execution time is better.
Who is online
Users browsing this forum: No registered users and 7 guests