Accessing Cacti MySQL DB

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ongkosari
Posts: 1
Joined: Sun May 01, 2005 10:46 am

Accessing Cacti MySQL DB

Post by ongkosari »

Hi

I'm developing a web application that automate the creation of users in Cacti.
Is there a way, or is it possible, to add new users by adding them to Cacti database directly, instead of manually log into Cacti app and add them?

Thank you.
Ongkosari
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

You can directly insert the info into the ' user_auth', ' user_auth_perms' and 'user_auth_realm' tables. Just remember to encypt the password when generating the info and make sure you are using the proper user_id when inserting into ' user_auth_perms' and 'user_auth_realm'
--
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 6 guests