Help!!!, we had some people work on our box to creates ome services and they b0rked our PHP/Apache and broke our Cacti install, after a month now we have finally got it working and we can log in as guest but we need the admin account back - please help me figure out how to retrieve it.
We also are trying to figure out how to get statistics for Eth0 like MRTG, any assistence in getting this setup would be fantastic. Right now we see graphs for Apache, MySQL, CPU, users etc, but we desperatly need to know the bandwidth on Eth0.
David
lost passwords
Moderators: Developers, Moderators
The following sql code will set the admin password to blank. (CHANGE THE PASSWORD VIA THE CONSOLE AFTER YOU DO THIS!)
Also use the SNMP Interfaces screen to create interface graphs.
Code: Select all
UPDATE cacti.auth_users set password = '' WHERE username = 'admin';
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If unix, then alter as applicable:
mysql --user=root --password cacti
> UPDATE cacti.auth_users set password = '' WHERE username = 'admin';
> quit
Then you should be able to logon to Cacti without a password (I hope). Otherwise, what you need to do is install a fresh version of Cacti in another location and edit your system using MySQL Administrator or MySQL Control Center and copy and past the ID and password from the default system into the existing system. At that point, the passwords will match. The default password on a new system is "admin", "admin".
TheWitness
mysql --user=root --password cacti
> UPDATE cacti.auth_users set password = '' WHERE username = 'admin';
> quit
Then you should be able to logon to Cacti without a password (I hope). Otherwise, what you need to do is install a fresh version of Cacti in another location and edit your system using MySQL Administrator or MySQL Control Center and copy and past the ID and password from the default system into the existing system. At that point, the passwords will match. The default password on a new system is "admin", "admin".
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest