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
XI 5.4 monitoring engine not running
Viewed 11483 times since Mon, Feb 6, 2017
Nagios XI - Resizing the VM Disk Size
Viewed 12052 times since Thu, Jan 28, 2016
NRDP - Configuring SSL/TLS
Viewed 11086 times since Mon, Jul 3, 2017
Nagios XI - Managing Components
Viewed 5200 times since Wed, Jul 19, 2017
Nagios XI - ICMP and Ping Checks Stopped Graphing
Viewed 13557 times since Mon, Jan 25, 2016
Nagios XI - Oracle Services Critical After Nagios XI Upgrade
Viewed 6329 times since Wed, Jan 27, 2016
Nagios XI - Upgrade errors - root.crontab.orig: cannot overwrite existing file
Viewed 4645 times since Tue, Jan 26, 2016
Nagios XI - Reset Upgrade Status In Web Interface
Viewed 11447 times since Tue, May 7, 2019
Backups are not being generated due to tar creation errors
Viewed 3998 times since Thu, Feb 27, 2020
Nagios XI - Should You Change RRD Retention Periods?
Viewed 6061 times since Sun, Nov 12, 2017