Problem Description
You do not know the password for the nagiosadmin account and need to reset it.
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\#
For any support related questions please visit the Nagios Support Forums at:
http://support.nagios.com/forum/
Article ID: 146
Created On: Mon, Jan 25, 2016 at 7:10 PM
Last Updated On: Thu, Feb 18, 2016 at 1:18 AM
Authored by: tlea
Online URL: https://support.nagios.com/kb/article/nagios-xi-resetting-the-nagiosadmin-password-146.html