THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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!

1.85 (13)
Article Rating (13 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 - Mass Delete Old RRD Files
Viewed 7994 times since Tue, Sep 10, 2019
SSL/TLS - Signing Certificates With A Microsoft Certificate Authority
Viewed 31956 times since Wed, Jun 14, 2017
Turning Off PHP Notices and Deprecated Messages
Viewed 6649 times since Wed, Oct 20, 2021
Nagios XI - Log Locations and Descriptions
Viewed 13181 times since Thu, Jan 28, 2016
Nagios XI - STRICT_TRANS_TABLES
Viewed 11347 times since Thu, Nov 16, 2017
Nagios XI - Installing Components
Viewed 6896 times since Wed, Jan 27, 2016
Nagios XI - SNMPTT Service generates Cannot find module errors
Viewed 8594 times since Sun, Apr 9, 2017
Nagios XI - Some BPI Checks Show "Unknown BPI Group Index" After Upgrade
Viewed 6052 times since Wed, Sep 18, 2019
Nagios XI - 10,000 Services and growing - NWC14
Viewed 10023 times since Mon, Feb 8, 2016
Nagios XI - How To Use CA Certificates With check_ldaps Plugin
Viewed 16323 times since Tue, Jul 26, 2016