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/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

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 - Crashed Database Tables
Viewed 61543 times since Tue, Jan 27, 2015
Moving /var/log/
Viewed 17722 times since Tue, Feb 23, 2016
Nagios XI - Upgrade errors - root.crontab.orig: cannot overwrite existing file
Viewed 4645 times since Tue, Jan 26, 2016
Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’
Viewed 6477 times since Tue, Jan 26, 2016
Nagios XI - Problems with $ Signs in the Check Command
Viewed 8476 times since Tue, Jan 26, 2016
Nagios XI - Status Information Cut Off At 256 Characters
Viewed 8223 times since Thu, Feb 25, 2016
Nagios XI - Using rrdcached with Nagios XI
Viewed 5948 times since Thu, Jan 28, 2016
Nagios XI - Hosts Pending/Gray
Viewed 11850 times since Tue, Jan 6, 2015
Nagios XI - Notification Problems
Viewed 30697 times since Tue, Jan 27, 2015
API changes in Nagios XI 5.7
Viewed 3943 times since Tue, Feb 23, 2021