Some notifications are not being sent
Posted: Wed Jun 10, 2026 4:53 am
Hi,
We are running a XI 2026R1.4 on a RHEL9
I noticed that some notifications alert are not being sent
I can see the log notifications in /usr/local/nagios/var/nagios.log
but no trace of the missing notificatons in /usr/local/nagiosxi/var/eventman.log
In the /var/log/httpd/ssl_error_log non-stop of log like:
[Wed Jun 10 11:25:04.492071 2026] [proxy_fcgi:error] [pid 1805:tid 1907] [client 192.168.113.47:52579] AH01071: Got error 'PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:983]\n#2 get_internal_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1026]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url(1) called at [/usr/local/nagiosxi/html/includes/utils-components.inc.php:53]\n#6 get_component_url_base() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:30]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(external_url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:973]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url(1) called at [/usr/local/nagiosxi/html/includes/utils-components.inc.php:53]\n#6 get_component_url_base() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:30]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlem...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:975]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url(1) called at [/usr/local/nagiosxi/html/includes/utils-components.inc.php:53]\n#6 get_component_url_base() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:30]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:983]\n#2 get_internal_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1026]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url() called at [/usr/local/nagiosxi/html/includes/utils-dashlets.inc.php:0]\n#6 get_dashlet_url_base(googlemapdashlet) called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:33]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/google...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(external_url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:973]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url() called at [/usr/local/nagiosxi/html/includes/utils-dashlets.inc.php:0]\n#6 get_dashlet_url_base(googlemapdashlet) called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:33]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashl...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:975]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url() called at [/usr/local/nagiosxi/html/includes/utils-dashlets.inc.php:0]\n#6 get_dashlet_url_base(googlemapdashlet) called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:33]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/google...', referer: https://nagios/nagiosxi/
Could you help? thanks
We are running a XI 2026R1.4 on a RHEL9
I noticed that some notifications alert are not being sent
I can see the log notifications in /usr/local/nagios/var/nagios.log
but no trace of the missing notificatons in /usr/local/nagiosxi/var/eventman.log
In the /var/log/httpd/ssl_error_log non-stop of log like:
[Wed Jun 10 11:25:04.492071 2026] [proxy_fcgi:error] [pid 1805:tid 1907] [client 192.168.113.47:52579] AH01071: Got error 'PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:983]\n#2 get_internal_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1026]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url(1) called at [/usr/local/nagiosxi/html/includes/utils-components.inc.php:53]\n#6 get_component_url_base() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:30]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(external_url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:973]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url(1) called at [/usr/local/nagiosxi/html/includes/utils-components.inc.php:53]\n#6 get_component_url_base() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:30]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlem...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:975]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url(1) called at [/usr/local/nagiosxi/html/includes/utils-components.inc.php:53]\n#6 get_component_url_base() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:30]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:983]\n#2 get_internal_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1026]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url() called at [/usr/local/nagiosxi/html/includes/utils-dashlets.inc.php:0]\n#6 get_dashlet_url_base(googlemapdashlet) called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:33]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/google...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(external_url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:973]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url() called at [/usr/local/nagiosxi/html/includes/utils-dashlets.inc.php:0]\n#6 get_dashlet_url_base(googlemapdashlet) called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:33]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashl...PHP message: PHP Notice: DB is not connected in /usr/local/nagiosxi/html/includes/db.inc.php on line 530PHP message: PHP Notice: Call made to exec_sql_query() when DB handler does not exist\n#0 exec_sql_query(nagiosxi, SELECT * FROM xi_options WHERE name='', ) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1293]\n#1 get_option(url) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:975]\n#2 get_external_url() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1033]\n#3 get_safe_url_host() called at [/usr/local/nagiosxi/html/includes/utils.inc.php:1115]\n#4 get_base_uri(1) called at [/usr/local/nagiosxi/html/includes/utils.inc.php:966]\n#5 get_base_url() called at [/usr/local/nagiosxi/html/includes/utils-dashlets.inc.php:0]\n#6 get_dashlet_url_base(googlemapdashlet) called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:33]\n#7 googlemap_dashlet_init() called at [/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/googlemapdashlet.inc.php:9]\n#8 include_once(/usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet/google...', referer: https://nagios/nagiosxi/
Could you help? thanks