helP:auto login cacti script

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
firstlove
Posts: 16
Joined: Thu Apr 21, 2022 2:23 am

helP:auto login cacti script

Post by firstlove »

i want to auto login cacti web sites with python script ,what can i do?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: helP:auto login cacti script

Post by TheWitness »

Got into the Cacti GitHub repo's test/tools directory. There you will find a script check_all_pages.sh. There is an example of using wget to login to Cacti, maintain session data and then browse the site.

https://github.com/Cacti/cacti/blob/dev ... l_pages.sh
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: helP:auto login cacti script

Post by netniV »

If you want to auth from one site to another, I have a plug-in that allows that
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests