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.83 (6)
Article Rating (6 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 - Changing The System Time
Viewed 7207 times since Mon, Jan 25, 2016
Nagios XI - Configuration Applies, No Changes Take Place
Viewed 7038 times since Tue, Jan 27, 2015
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 6563 times since Wed, Jun 1, 2016
Turning Off PHP Notices and Deprecated Messages
Viewed 2546 times since Wed, Oct 20, 2021
Installing Nagios Mobile
Viewed 6451 times since Wed, Jan 27, 2016
OpenSSL causes issue with check_nrpe plugin with NSClient++
Viewed 5028 times since Fri, Apr 30, 2021
Nagios XI - Reset Upgrade Status In Web Interface
Viewed 9051 times since Tue, May 7, 2019
Nagios XI - Some BPI Checks Show "Unknown BPI Group Index" After Upgrade
Viewed 3519 times since Wed, Sep 18, 2019
Nagios XI - Crashed Database Tables
Viewed 52608 times since Tue, Jan 27, 2015
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 3348 times since Tue, Feb 2, 2016