Search found 49 matches

by valmberg
Thu Dec 29, 2016 11:37 am
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

Thanks for all your help. I think we can lock this thread now.
by valmberg
Wed Dec 28, 2016 4:11 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

Returned a 0 this time (with the new file). Here is the output of the command: [root@nagios ~]# /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php Before Call int(2) int(2) handle_event meta array(0) { } execute_sql string(5) "pgsql" string(9) "localhost"...
by valmberg
Wed Dec 28, 2016 12:41 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

File is attached.
by valmberg
Tue Dec 27, 2016 3:12 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

Attached is the PHP error log file. Here are the settings in the /etc/php.ini file: ; This directive controls whether or not and where PHP will output errors, ; notices and warnings too. Error output is very useful during development, but ; it could be very dangerous in production environments. Depe...
by valmberg
Tue Dec 27, 2016 11:40 am
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

The ls.txt file is attached. Here is the output: [27-Dec-2016 08:34:02] PHP Notice: Undefined index: nagiosxi in /usr/local/nagiosxi/html/includes/db.inc.php on line 488 [27-Dec-2016 08:34:02] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagios...
by valmberg
Thu Dec 22, 2016 6:23 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

I assume you want the old 'handle_nagioscore_notification.php" file? You sent me one earlier. I've included the new one I uploaded with 'new' in front of the title

[root@nagios tools]# which php
/usr/bin/php
by valmberg
Thu Dec 22, 2016 3:50 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

[root@nagios tools]# /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php
[root@nagios tools]# php -v
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
by valmberg
Thu Dec 22, 2016 2:26 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

[root@nagios tools]# /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php
[root@nagios tools]# php -v
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
by valmberg
Wed Dec 21, 2016 5:44 pm
Forum: Nagios XI
Topic: Runtime Error for host and service notification
Replies: 42
Views: 2897

Re: Runtime Error for host and service notification

[root@nagios tools]# /usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_notification.php
[root@nagios tools]# echo $?
255