Search found 49 matches
- 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.
- 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"...
- 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.
- Tue Dec 27, 2016 5:08 pm
- Forum: Nagios XI
- Topic: Runtime Error for host and service notification
- Replies: 42
- Views: 2897
Re: Runtime Error for host and service notification
It's attached.
- 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...
- 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...
- 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
[root@nagios tools]# which php
/usr/bin/php
- 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
[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
- 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
[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
- 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
[root@nagios tools]# echo $?
255