schedulereport.php not found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ciaranrh
Posts: 37
Joined: Thu Jul 09, 2015 3:54 pm

schedulereport.php not found

Post by ciaranrh »

Hello,

I'm currently working on generating some scheduled reports for some colleagues from my NagiosXI server. The scheduler and email functionality itself seem to work fine but when I open the PDF attachment I get the following instead of the expected report:

Not Found
The requested URL /nagiosxi//schedulereport.php was not found on this server.
Apache/2.2.15 (CentOS) Server at nagiosxi.******.net Port 80
Test report
2016-06-08 18:32:04 Page 1 of 1

/usr/local/nagiosxi/html/includes/components/scheduledreporting/schedulereport.php exists on my Nagios server so I'm not sure why it would be indicating this in the pdf.

Any replies are appreciated,
Regards,
Ciaran
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: schedulereport.php not found

Post by Box293 »

Can you go to Admin > System Config > Manage System Config

What is in your "Program URL" and "External URL" fields?

Does you Program URL resolve to an internal IP address?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ciaranrh
Posts: 37
Joined: Thu Jul 09, 2015 3:54 pm

Re: schedulereport.php not found

Post by ciaranrh »

Hello Box293,

The fields are as follows:
Program URL: http://nagiosxi.******/nagiosxi/, this resolves to a public IP address. This is the URL my colleagues and I use to access the web GUI.
External URL: null, the field is empty.

Cheers,
Ciaran
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: schedulereport.php not found

Post by rkennedy »

Can you post your /etc/hosts file for us to look at? What happens if you populate the External URL with the same thing that's in the 'Program URL'?
Former Nagios Employee
ciaranrh
Posts: 37
Joined: Thu Jul 09, 2015 3:54 pm

Re: schedulereport.php not found

Post by ciaranrh »

Certainly,

Host file is as follows:

Code: Select all

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.32.100  mtldc02.****     mtldc02
10.78.1.30      vmw03.****   vmw03.****
209.197.134.12  nagiosxi.*****
The nagiosxi entry is the same as the 'Program URL' FQDN.

Still no luck when putting the Program URL in the External URL field.

Another thing I noticed, when selecting the option to email a report, the options to select your attachment type as listed under 'Select the types of attachment(s) you want in the report.' are not present. Am I perhaps missing some plugins? I'd presume they would be included by default in a NagiosXI build but if anyone knows the specific plugins this functionality uses I'll make sure they are installed.

Thanks,
Ciaran
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: schedulereport.php not found

Post by lmiltchev »

What is the version of Nagios XI that you are currently running? Have you upgraded your Nagios XI instance lately?

What is the output of the following commands?

Code: Select all

ls -ld /usr/local/nagiosxi/html/includes/components
ls -ld /usr/local/nagiosxi/html/includes/components/scheduledreporting
ls -l /usr/local/nagiosxi/html/includes/components/scheduledreporting
Be sure to check out our Knowledgebase for helpful articles and solutions!
ciaranrh
Posts: 37
Joined: Thu Jul 09, 2015 3:54 pm

Re: schedulereport.php not found

Post by ciaranrh »

Last update was performed April 5th as indicated by the web GUI, I'll be performing another one shortly to be sure this issue I'm having hasn't since been rectified in a patch.

The output of requested commands confirms April 5th as the last update date:

Code: Select all

drwxr-x--- 70 nagios nagios 4096 Apr 12 23:12 /usr/local/nagiosxi/html/includes/components
drwxr-x--- 2 nagios nagios 4096 Aug  5  2014 /usr/local/nagiosxi/html/includes/components/scheduledreporting
-rw-r----- 1 nagios nagios   2653 Apr  5 14:13 CHANGES.txt
-rw-r----- 1 nagios nagios    774 Apr  5 14:13 sanity.sh
-rw-r----- 1 nagios nagios  21608 Apr  5 14:13 scheduledreporting.inc.php
-rw-r----- 1 nagios nagios 256044 Apr  5 14:13 schedulereport.php
-rw-r----- 1 nagios nagios  71018 Apr  5 14:13 sendreport.php
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: schedulereport.php not found

Post by lmiltchev »

Can you upload one of the PDFs (emailed reports)? Also, run the following commands and show the output:

Code: Select all

ip addr
grep nag /etc/group
ls -lad ls -lad /usr/local/nagiosxi/tmp
which wkhtmltopdf
/usr/bin/wkhtmltopdf -V
Go to Reports->My Scheduled Reports->Send Now

then run:

Code: Select all

tail -100 /var/log/httpd/error_log
and show us the output in code wraps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ciaranrh
Posts: 37
Joined: Thu Jul 09, 2015 3:54 pm

Re: schedulereport.php not found

Post by ciaranrh »

Here's the output of the requested commands:

Code: Select all

[root@nagiosxi]# 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 00:50:56:8a:c8:94 brd ff:ff:ff:ff:ff:ff
    inet 209.197.134.12/27 brd 209.197.134.31 scope global eth0
    inet6 fe80::250:56ff:fe8a:c894/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 00:50:56:8a:a1:f9 brd ff:ff:ff:ff:ff:ff
    inet 10.78.1.15/24 brd 10.78.1.255 scope global eth1
    inet6 2610:1e8:1:35:250:56ff:fe8a:a1f9/64 scope global dynamic
       valid_lft 2591998sec preferred_lft 604798sec
    inet6 fe80::250:56ff:fe8a:a1f9/64 scope link
       valid_lft forever preferred_lft forever
[root@nagiosxi]# grep nag /etc/group
nagios:x:500:nagios,apache
nagcmd:x:501:nagios,apache
[root@nagiosxi choffner]# ls -lad ls -lad /usr/local/nagiosxi/tmp
ls: cannot access ls: No such file or directory
drwsrwsr-x 2 nagios nagios 32768 Jun  9 15:53 /usr/local/nagiosxi/tmp
[root@nagiosxi choffner]# which wkhtmltopdf
/usr/bin/wkhtmltopdf
[root@nagiosxi]# /usr/bin/wkhtmltopdf -V
wkhtmltopdf 0.12.1-c22928d (with patched qt)
httpd error log after sending the report:

Code: Select all

[root@nagiosxi choffner]#     tail -100 /var/log/httpd/error_log
[Mon Jun 13 11:20:31 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:20:41 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:20:43 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:20:51 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:21:02 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:21:12 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:21:13 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:21:22 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:21:32 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:21:42 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:21:43 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:21:52 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:22:02 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:22:12 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:22:13 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:22:22 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:22:33 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:22:43 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:22:43 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:22:53 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:23:03 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:23:13 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:23:13 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:23:23 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:23:33 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:23:43 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:23:43 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:23:53 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:24:04 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:24:13 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:24:14 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:24:24 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:24:34 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:24:44 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:24:44 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:24:54 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:25:04 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:25:14 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:25:14 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:25:25 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:25:35 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
No log handling enabled - turning on stderr logging
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
No log handling enabled - turning on stderr logging
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
No log handling enabled - turning on stderr logging
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
[Mon Jun 13 11:25:44 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:25:45 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:25:55 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:26:05 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:26:14 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:26:15 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:26:25 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:26:35 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:26:44 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:26:46 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:26:56 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:27:06 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:27:14 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:27:16 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:27:26 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:27:36 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:27:44 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:27:46 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:27:56 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:28:07 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:28:14 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:28:17 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:28:27 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:28:37 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:28:44 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:28:47 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:28:57 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:29:07 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:29:14 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
[Mon Jun 13 11:29:17 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:29:28 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:29:30 2016] [error] [client 209.197.177.4] PHP Notice:  Undefined variable: x in /usr/local/nagiosxi/html/includes/components/scheduledreporting/schedulereport.php on line 985, referer: http://nagiosxi.****.net/nagiosxi/includes/components/scheduledreporting/schedulereport.php
[Mon Jun 13 11:29:38 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
[Mon Jun 13 11:29:44 2016] [error] [client 206.80.252.4] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/router40.png, referer: http://nagiosxi.****.net/nagiosxi/includes/components/xicore/status.php?show=services&servicestatustypes=28
No log handling enabled - turning on stderr logging
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetVersion' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'InetZoneIndex' in module INET-ADDRESS-MIB (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
[Mon Jun 13 11:29:48 2016] [error] [client 206.80.252.4] user nagiosadmin: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch
The most relevant error I caught in that dump was this one:

Code: Select all

PHP Notice:  Undefined variable: x in /usr/local/nagiosxi/html/includes/components/scheduledreporting/schedulereport.php on line 985, referer: http://nagiosxi.****.net/nagiosxi/includes/components/scheduledreporting/schedulereport.php
The PDF simply contains the following:
Not Found
The requested URL /nagiosxi//schedulereport.php was not found on this server.
Apache/2.2.15 (CentOS) Server at nagiosxi.***.net Port 80
Test report
2016-06-09 09:00:01 Page 1 of 1
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: schedulereport.php not found

Post by ssax »

What version of XI are you using? You can grab it from the bottom left hand side of the web interface.

Also, please go to Admin > Manage Components
- Find the Scheduled Reporting component and tell us the version number it shows next to it.

Thank you
Locked