Page 1 of 2

Report not showing in sent reports

Posted: Mon Oct 01, 2018 8:32 am
by ddunnt
Hello,
I'm seeing problems (again) with the reporting. Now the reports run when you are in Nagios, but they do not show anything except "running circles."
Could someone help fix this ASAP. The boss looks at this report and is questioning me why this is happening!

I also added your latest fix Wednesday and this report runs every Monday morning.

Thanks,

Re: Report not showing in sent reports

Posted: Mon Oct 01, 2018 3:07 pm
by lmiltchev
What is the version of Nagios XI that you are currently using?

Go to Admin > System Config > System Settings and show a screenshot of this page.

Also, run the following commands and show the output:

Code: Select all

ip addr
hostname
cat /etc/hosts
wkhtmltopdf -V
grep 'max_input\|max_execution_time\|memory_limit' /etc/php.ini | grep -v ';'
Go to Reports > My Scheduled Reports, and lick on "Send Now" action button next to your report. Once, it's sent, check the apache error logs for errors (show the output in code wraps):

Code: Select all

tail -100 /var/log/httpd/error_log
tail -100 /var/log/httpd/ssl_error_log

Re: Report not showing in sent reports

Posted: Tue Oct 02, 2018 8:42 am
by ddunnt
hello,
We are on the following version and here is the output.

Installed Version: 5.5.4

Code: Select all

[root@cc0pdcrimon02 /]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether b4:99:ba:04:3f:68 brd ff:ff:ff:ff:ff:ff
    inet 128.231.189.116/21 brd 128.231.191.255 scope global eth0
    inet6 2607:f220:412:10a::201:12/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::b699:baff:fe04:3f68/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether b4:99:ba:04:3f:6a brd ff:ff:ff:ff:ff:ff
    inet6 fe80::b699:baff:fe04:3f6a/64 scope link 
       valid_lft forever preferred_lft forever
4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether b4:99:ba:04:3f:6c brd ff:ff:ff:ff:ff:ff
5: eth3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether b4:99:ba:04:3f:6e brd ff:ff:ff:ff:ff:ff
[root@cc0pdcrimon02 /]# hostname
cc0pdcrimon02.cc.nih.gov
[root@cc0pdcrimon02 /]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
128.231.189.116 cc0pdcrimon02.cc.nih.gov
[root@cc0pdcrimon02 /]# wkhtmltopdf -V
wkhtmltopdf 0.12.1.3 (with patched qt)
[root@cc0pdcrimon02 /]# grep 'max_input\|max_execution_time\|memory_limit' /etc/php.ini | grep -v ';'
max_execution_time = 120     
max_input_time = 60
memory_limit = 1024M
max_input_vars = 10000
[root@cc0pdcrimon02 /]# tail -100 /var/log/httpd/error_log
[Sun Sep 30 10:05:37 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/scripts
[Sun Sep 30 10:05:37 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/scripts
[Sun Sep 30 10:05:37 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/scripts
[Sun Sep 30 10:05:37 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/scripts
[Sun Sep 30 10:05:41 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/login.htm
[Sun Sep 30 10:05:41 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/login
[Sun Sep 30 10:05:41 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/login
[Sun Sep 30 10:05:41 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/login
[Sun Sep 30 10:05:41 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/hazelcast
[Sun Sep 30 10:05:41 2018] [error] [client 172.18.32.19] File does not exist: /var/www/html/HNAP1
Loading pages (1/6)
Counting pages (2/6)                                               
Resolving links (4/6)                                                       
Loading headers and footers (5/6)                                           
Printing pages (6/6)
Done                                                                      
No entry for terminal type "unknown";
using dumb terminal settings.
PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/properties
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/properties
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] script '/var/www/html/header.php' not found or unable to stat
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login.html
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/commoncgi
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/Home.do
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/MSWSMTP
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/intruvert
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/robots.txt
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/sitemap.xml
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/.cobalt
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/admin.back
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/ControlManager
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/file
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/wavemaster.internal
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/xmldata
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.html
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.cgi
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.sh
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.pl
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.inc
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.shtml
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.asp
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/html/E5zElpgAclhA.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.php3
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.cfm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.html
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.cgi
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.sh
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.pl
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.inc
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.shtml
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.asp
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/cgi-bin/E5zElpgAclhA.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.php3
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.cfm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/html/login.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/this_server
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/authenticate
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/index.html
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/start.js
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/ddem
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/tmui
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/netmri
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scgi-bin
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/admin
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/links_en.html
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/en
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/mgmt
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/dms2
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/home.htm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/sws
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/wcd
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/js
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/ptz.htm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/html/header.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/admin
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login.htm
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/hazelcast
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/HNAP1
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
Loading pages (1/6)
Counting pages (2/6)                                               
Resolving links (4/6)                                                       
Loading headers and footers (5/6)                                           
Printing pages (6/6)
Done                                                                      

...more because of "your" URLs 20 MAX ERROR"

Re: Report not showing in sent reports

Posted: Tue Oct 02, 2018 8:53 am
by ddunnt

Code: Select all

[root@cc0pdcrimon02 /]# tail -100 /var/log/httpd/ssl_error_log
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] script '/var/www/html/login.php' not found or unable to stat
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/sitemap.xml
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/this_server
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/.cobalt
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/admin.back
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/authenticate
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/file
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/start.js
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/wavemaster.internal
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/ddem
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/tmui
[Mon Oct 01 10:10:01 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/netmri
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scgi-bin
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/admin
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/en
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/mgmt
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/dms2
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/+CSCOE+
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/home.htm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/sws
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/wcd
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/js
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/ptz.htm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/html/header.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/admin
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.html
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.cgi
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.sh
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.pl
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.inc
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.shtml
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.asp
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/html/E5zElpgAclhA.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.php3
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/E5zElpgAclhA.cfm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.html
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.cgi
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.sh
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.pl
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.inc
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.shtml
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.asp
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script '/var/www/cgi-bin/E5zElpgAclhA.php' not found or unable to stat
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.php3
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] script not found or unable to stat: /var/www/cgi-bin/E5zElpgAclhA.cfm
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:02 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/scripts
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login.htm
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/HNAP1
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/hazelcast
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:10:07 2018] [error] [client 172.18.32.68] File does not exist: /var/www/html/login
[Mon Oct 01 10:23:20 2018] [error] [client 156.40.166.76] PHP Notice:  Undefined variable: url in /usr/local/nagiosxi/html/rr.php on line 63
[Mon Oct 01 10:23:30 2018] [error] [client 156.40.166.76] PHP Notice:  Undefined variable: url in /usr/local/nagiosxi/html/rr.php on line 63, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/rr.php?oid=17908&token=ca621fcc26c3f6109ac1bb22277daba00595aacc
[Mon Oct 01 10:23:33 2018] [error] [client 156.40.166.76] PHP Notice:  Undefined variable: url in /usr/local/nagiosxi/html/rr.php on line 63, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/rr.php?oid=17908&token=ca621fcc26c3f6109ac1bb22277daba00595aacc
[Mon Oct 01 10:24:45 2018] [error] [client 128.231.185.224] PHP Warning:  preg_match(): Compilation failed: range out of order in character class at offset 19 in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 531, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:45 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:45 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:48 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:48 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:48 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: tpl in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 0, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:58 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:58 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:24:58 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: tpl in /usr/local/nagiosxi/html/config/monitoringwizard.php on line 0, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:25:20 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 10:25:20 2018] [error] [client 128.231.185.224] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/config/monitoringwizard.php
[Mon Oct 01 11:34:20 2018] [error] [client 156.40.164.36] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php?redirect=/nagiosxi/index.php%3fxiwindow%3Dincludes%252Fcomponents%252Fxicore%252Fstatus.php%253Fshow%253Dservices%2526servicegroup%253DWebsite%252BCertificate%252BMonitor%2523&noauth=1

Re: Report not showing in sent reports

Posted: Tue Oct 02, 2018 8:55 am
by ddunnt

Code: Select all

[Mon Oct 01 11:34:20 2018] [error] [client 156.40.164.36] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php?redirect=/nagiosxi/index.php%3fxiwindow%3Dincludes%252Fcomponents%252Fxicore%252Fstatus.php%253Fshow%253Dservices%2526servicegroup%253DWebsite%252BCertificate%252BMonitor%2523&noauth=1
[Mon Oct 01 11:34:39 2018] [error] [client 156.40.164.36] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 11:34:39 2018] [error] [client 156.40.164.36] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 11:34:50 2018] [error] [client 156.40.164.36] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 11:34:50 2018] [error] [client 156.40.164.36] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 11:50:28 2018] [error] [client 165.112.36.253] PHP Notice:  Undefined index: submitter_id in /usr/local/nagiosxi/html/includes/utils-commands.inc.php on line 0, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=cc0ddtmdocuw.cc.nih.gov&service=DocuWare+Full-Text+Server&dest=auto
[Mon Oct 01 14:28:42 2018] [error] [client 165.112.36.253] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 14:28:42 2018] [error] [client 165.112.36.253] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 14:29:43 2018] [error] [client 165.112.36.253] PHP Notice:  Undefined index: submitter_id in /usr/local/nagiosxi/html/includes/utils-commands.inc.php on line 0, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/includes/components/xicore/status.php?show=servicedetail&host=cc0ddtmdocuw.cc.nih.gov&service=DocuWare+Full-Text+Server&dest=auto
[Mon Oct 01 16:04:33 2018] [error] [client 128.231.188.100] PHP Notice:  Undefined index: user_id in /usr/local/nagiosxi/html/rr.php on line 131
[Mon Oct 01 16:04:33 2018] [error] [client 128.231.188.100] PHP Notice:  Undefined index: user_id in /usr/local/nagiosxi/html/includes/utils-objects.inc.php on line 946
[Mon Oct 01 16:04:33 2018] [error] [client 128.231.188.100] PHP Notice:  Undefined index: user_id in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 0
[Mon Oct 01 16:04:33 2018] [error] [client 128.231.188.100] PHP Notice:  Undefined index: user_id in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 0
[Mon Oct 01 16:04:33 2018] [error] [client 128.231.188.100] PHP Notice:  Undefined index: user_id in /usr/local/nagiosxi/html/includes/dbauth.inc.php on line 0
[Mon Oct 01 16:04:45 2018] [error] [client 128.231.188.100] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1
[Mon Oct 01 16:04:45 2018] [error] [client 128.231.188.100] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php?redirect=/nagiosxi/index.php%3f&noauth=1
[Mon Oct 01 16:04:54 2018] [error] [client 128.231.188.100] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Mon Oct 01 16:04:54 2018] [error] [client 128.231.188.100] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Tue Oct 02 07:35:58 2018] [error] [client 165.112.36.253] PHP Warning:  ldap_start_tls(): Unable to start TLS: Connect error in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 641, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Tue Oct 02 07:35:58 2018] [error] [client 165.112.36.253] PHP Warning:  ldap_bind(): Unable to bind to server: Can't contact LDAP server in /usr/local/nagiosxi/html/includes/components/ldap_ad_integration/adLDAP/src/adLDAP.php on line 714, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/login.php
[Tue Oct 02 08:04:56 2018] [error] [client 165.112.36.253] PHP Notice:  Undefined index: submitter_id in /usr/local/nagiosxi/html/includes/utils-commands.inc.php on line 0, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=cc0pdtmapps9.cc.nih.gov
[Tue Oct 02 09:21:12 2018] [error] [client 165.112.36.253] PHP Notice:  Undefined index: submitter_id in /usr/local/nagiosxi/html/includes/utils-commands.inc.php on line 0, referer: https://cc0pdcrimon02.cc.nih.gov/nagiosxi/includes/components/xicore/status.php?show=hostdetail&host=cc0pdtmapps9.cc.nih.gov
[root@cc0pdcrimon02 /]#
]

Re: Report not showing in sent reports

Posted: Tue Oct 02, 2018 8:58 am
by ddunnt
see attached file.

Re: Report not showing in sent reports

Posted: Tue Oct 02, 2018 10:55 am
by lmiltchev
Can you show us a screenshot of the System Settings page (Admin > System Config > System Settings)? We need to see the Program and External URL that you are using.

Are you using a proxy? If you are, is it configured according to our recommendations, outlined here: https://support.nagios.com/kb/article/n ... s-147.html?

How long does it usually take to run this report normally (in the GUI), not as PDF? Timeouts could be the issue here, so you could try increasing the resource limits in the /etc/php.ini file:

Code: Select all

max_execution_time = 
max_input_time = 
memory_limit = 
max_input_vars = 
from what you currently have.

With what version of Nagios XI the reports were working as expected? There are some issues with the new versions of wkhtmltopdf with SSL. Our developers are looking into those as we speak.

Re: Report not showing in sent reports

Posted: Wed Oct 03, 2018 10:57 am
by ddunnt
Here is the settings.
NO. no proxy.
Nothing has changed except the install of HTML script your support gave and the update to your latest version.

“ How long does it usually take” takes a few seconds.

max_execution_time = 120
max_input_time = 60
memory_limit = 1024M
max_input_vars = 10000

changed it to:

max_execution_time = 360
max_input_time = 360
memory_limit = 2048M
max_input_vars = 10000


No change running it again!

Recreate the report. NO Changes!

I can NOT edit the report. What is going on?????????????????

Re: Report not showing in sent reports

Posted: Wed Oct 03, 2018 12:30 pm
by ddunnt
I'm seeing other reports that are broken as well.
see attachment.

What else could be broke? Is there a check-health script to run?

Re: Report not showing in sent reports

Posted: Wed Oct 03, 2018 12:54 pm
by lmiltchev
I believe we found the issue. Open the /usr/local/nagiosxi/html/config.inc.php file in a text editor, find the section below:

Code: Select all

// Old browser compatability with jQuery
// - Turn this on to set jQuery to use 1.x instead of 3.x
// - Security fixes are available in 3.x and is the default version but is not compatible with IE 8
and change this line:

Code: Select all

// $cfg['old_browser_compat'] = 1;
to this (simply uncomment the line):

Code: Select all

$cfg['old_browser_compat'] = 1;
If you don't find the line, just add it to the config, save, and exit.

Let us know if this fixes your issue. Thank you!