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
Converting PostgreSQL to MySQL for Nagios XI
Viewed 1641 times since Tue, Dec 6, 2016
Nagios XI - Schedulded Backups No Longer Working
Viewed 1058 times since Fri, Jun 3, 2016
Nagios XI - How To Use CA Certificates With check_ldaps Plugin
Viewed 1203 times since Tue, Jul 26, 2016
Nagios Core - Failed to register iobroker
Viewed 687 times since Wed, Sep 20, 2017
Nagios XI - Problems with $ Signs in the Check Command
Viewed 1081 times since Tue, Jan 26, 2016
Nagios XI - Event Data Is Stale
Viewed 728 times since Wed, Jan 27, 2016
Nagios XI - Performance Graph Problems
Viewed 2754 times since Fri, Dec 19, 2014
Nagios XI - MRTG Reports SNMP_Session Errors
Viewed 685 times since Wed, Jul 27, 2016
Nagios XI - mysql_error out of range value for column
Viewed 703 times since Tue, Aug 14, 2018
Nagios XI - MSSQL Wizards - Adaptive Server connection failed
Viewed 1611 times since Thu, Aug 3, 2017