Home » Categories » Multiple Categories

Nagios XI - Resetting The nagiosadmin Password

Problem Description

You do not know the password for the nagiosadmin account and need to reset it.

 

Resetting The Password

Open an SSH or direct console session to your Nagios XI host and execute the following command:

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=newpassword

Note: If you would like to use special characters in your password, you should escape them with "\". For example, if you want to set your new password to be "$new password#", then you can run:

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=\$new\ password\#

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

2.4 (5)
Article Rating (5 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Resizing The VM Disk Size For CentOS 7
Viewed 38278 times since Tue, May 8, 2018
API changes in Nagios XI 5.7
Viewed 877 times since Tue, Feb 23, 2021
Nagios XI - Best Practices - NWC15
Viewed 4622 times since Thu, Feb 4, 2016
SSL Certificate does not validate properly
Viewed 807 times since Wed, Jan 20, 2021
Nagios XI - Hosts Pending/Gray
Viewed 6599 times since Tue, Jan 6, 2015
Nagios XI - How To Use CA Certificates With check_ldaps Plugin
Viewed 5464 times since Tue, Jul 26, 2016
Nagios XI - Core Configuration Mananger Display Issues
Viewed 2252 times since Tue, Jan 26, 2016
Nagios XI - Plain Text Password Considerations
Viewed 6252 times since Mon, Jun 18, 2018
Nagios XI - License Maintenance Status Check
Viewed 6118 times since Thu, Feb 25, 2016
Nagios XI - Setup Nagios XI to Send SMS Alerts
Viewed 4660 times since Thu, Jan 28, 2016