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/

3.33 (3)
Article Rating (3 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
Nagios XI - Modifying The Contents Of /usr/local/nagios/etc
Viewed 665 times since Tue, Jan 26, 2016
Nagios XI - Problems with $ Signs in the Check Command
Viewed 965 times since Tue, Jan 26, 2016
Nagios XI - Status Information Cut Off At 256 Characters
Viewed 877 times since Thu, Feb 25, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 507 times since Tue, Feb 2, 2016
Nagios XI - Unable To Login Using Two Factor Authentication
Viewed 526 times since Tue, Apr 10, 2018
Nagios XI - LDAP / Active Directory - Import Users Certificate Issues
Viewed 986 times since Tue, Jul 26, 2016
Nagios XI - Problems Using Nagios XI With Proxies
Viewed 2259 times since Mon, Jan 25, 2016
Nagios XI - Integrating Mod-Gearman With Nagios XI
Viewed 1150 times since Thu, Jan 28, 2016
Nagios XI - MSSQL Wizards - Adaptive Server connection failed
Viewed 1455 times since Thu, Aug 3, 2017
Nagios XI - Securing Your Nagios Server - NWC13
Viewed 544 times since Thu, Feb 4, 2016