[root@srvnag ~]# echo "select * from xi_users;" | psql nagiosxi nagiosxi
psql: n'a pas pu se connecter au serveur : Aucun fichier ou dossier de ce type
Le serveur est-il actif localement et accepte-t-il les connexions sur la
socket Unix « /var/run/postgresql/.s.PGSQL.5432 » ?
[root@srvnag ~]#
PHP Notice: unserialize(): Error at offset 839 of 922 bytes in /usr/local/nagiosxi/cron/eventman.php on line 145
Basically, your windows disk checks include \ in the drive paths C:\. This character is not handled very gracefully when the data gets serialized as an event and plugged into the database. This will be fixed in 5.3.2.