nagios password expiration - no processing of perf data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jhalbert
Posts: 2
Joined: Fri Feb 16, 2018 12:07 pm

nagios password expiration - no processing of perf data

Post by jhalbert »

In our installation of Nagios XI, performance data has stopped processing because it appears that the nagios account password has expired. Trouble is, the web interface under account management only shows a nagiosadmin account and not a nagios account. How can I reset the password to the nagios account?
jhalbert
Posts: 2
Joined: Fri Feb 16, 2018 12:07 pm

Re: nagios password expiration - no processing of perf data

Post by jhalbert »

I have found that using the chage command as shown below re-enables a password that has expired and resolves the performance data processing issue:

chage -M 99999 nagios

I do have further questions, when does the nagios account get created? How do you determine what the password for the nagios account is? Further, if I change the password with the passwd command, will it break anything? Hopefully, a default password is not embedded in any code.

Thanks for answering this.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: nagios password expiration - no processing of perf data

Post by cdienger »

This is covered in https://support.nagios.com/kb/article/n ... ems-9.html where it is recommended to run the following to re-enable the account:

chage -I -1 -m 0 -M 99999 -E -1 nagios

The account is created during the install with the command:

useradd nagios

There shouldn't be a password set. You can make there isn't by checking/changing /etc/shadow: where you'll find a line like:

nagios:!!:17192:0:99999:7:::

Note the !! . If a password was set you would see this replaced with a long random string.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked