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:


2.5 (2)
Article Rating (2 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 - Using The Custom Includes Component
Viewed 1361 times since Tue, Oct 18, 2016
Nagios XI - Schedulded Backups No Longer Working
Viewed 342 times since Fri, Jun 3, 2016
Nagios XI - Managing Components
Viewed 175 times since Wed, Jul 19, 2017
Nagios XI - Installing Components
Viewed 201 times since Wed, Jan 27, 2016
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 328 times since Thu, Feb 25, 2016
Nagios XI - Troubleshooting Reports
Viewed 253 times since Wed, Dec 5, 2018
Nagios XI - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 185 times since Tue, Jan 26, 2016
Nagios XI - 10,000 Services and growing - NWC14
Viewed 255 times since Mon, Feb 8, 2016
PHPMailer - Troubleshooting Using Debug Logging
Viewed 473 times since Tue, Aug 14, 2018
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 188 times since Thu, Mar 8, 2018