Postgres account on Nagos XI
Postgres account on Nagos XI
The Nagios XI 5.x or later only needs MySQL, and Postgres is no longer needed or installed. I do not think the postgres DB account "postgres" is used by Nagios XI 5.x at all. Please confirm it.
Re: Postgres account on Nagos XI
If you upgraded from a version less than XI 5, you will be using postgresql for the nagiosxi database. Which can be converted to mysql:
https://support.nagios.com/kb/article/c ... i-560.html
What is the output of this command on your system?
https://support.nagios.com/kb/article/c ... i-560.html
What is the output of this command on your system?
Code: Select all
grep pgsql /usr/local/nagiosxi/html/config.inc.phpRe: Postgres account on Nagos XI
Our Nagios XI 5.x was a fresh installation on a Linux (RHEL) server, not an upgraded from a version less than Nagios XI 5. As expected, running the command "grep pgsql /usr/local/nagiosxi/html/config.inc.php" returned no match:
$ grep pgsql /usr/local/nagiosxi/html/config.inc.php
$
Just wanted to clarify that the account "postgres" is a system (Linux/RHEL) account, not a Postgres DB account:
$ grep postgres /etc/passwd
postgres
26:26:PostgreSQL Server:/var/lib/pgsql:/bin/nologin
$ grep pgsql /usr/local/nagiosxi/html/config.inc.php
$
Just wanted to clarify that the account "postgres" is a system (Linux/RHEL) account, not a Postgres DB account:
$ grep postgres /etc/passwd
postgres
Re: Postgres account on Nagos XI
Hi,
I checked against my XI 5.8.3 on CentOS 7.9 and yes, "postgres" is the OS system account.
I checked "ps -ef | grep postgres" and do not see any running process with that user.
If your is a fresh installed of XI 5.x, then I don't think the "postgres" user account is being used.
Best Regards,
Vinh
I checked against my XI 5.8.3 on CentOS 7.9 and yes, "postgres" is the OS system account.
Code: Select all
[root@VT-NagiosXI-61 ~]# grep postgres /etc/passwd
postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
If your is a fresh installed of XI 5.x, then I don't think the "postgres" user account is being used.
Best Regards,
Vinh