Page 1 of 1

DB is not connected

Posted: Wed Sep 13, 2023 4:10 pm
by gestionti
Good afternoon,

Nagios Team, I want to raise this case because the following message appears in the error log file of php I share example

[Wed Sep 13 12:37:05.272767 2023] [:error] [pid 336180] [client c.x.x.x:64320] PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 399, referer: http://x.x.x.x/nagiosxi/

Thnks for your support

Re: DB is not connected

Posted: Thu Sep 14, 2023 9:09 am
by tgriep
See this link for instructions on stopping the PHP Notices from getting logged.

viewtopic.php?p=344873#p344873