Scheduled Report Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Scheduled Report Issue

Post by vignesha »

Hello Team,

We are currently facing issue in one of our instance, scheduled CSV format reports was working fine but in the received email only blank page is there without any data present inside, so when we tried manually to download the availability report it was working fine and able to see the data inside the excel sheet.

I have checked the httpd error and found below error, could you please help me to resolve this issue.
--2020-04-03 13:11:55-- http:// xx.xxx.xx.xxx /nagiosxi//reports/availability.php?reportperiod=last24hours&startdate=&enddate=&host=&service=&hostgroup=Network_Device&servicegroup=&advanced=0&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringdowntime=yes&includesoftstates=no&assumedhoststate=3&assumedservicestate=6&timeperiod=&locale=en_US&mode=csv&csvtype=host&token=8763ff3123b2f2a037760d03452020e6dc5d84b6
Connecting to xx.xxx.xx.xxx:80... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2020-04-03 13:13:10 ERROR 503: Service Unavailable.

--2020-04-03 13:13:10-- http://xx.xxx.xx.xxx/nagiosxi//reports/ ... 0e57149427
Connecting to xx.xxx.xx.xxx:80... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2020-04-03 13:14:25 ERROR 503: Service Unavailable.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Scheduled Report Issue

Post by jbrunkow »

Can you please check if the Program URL is correct? You can find it if you navigate to the Admin section of Nagios XI ( using the bar on top ) > click System Settings under the System Config section on the left > you should then see the Program URL under General Program Settings on the System Settings page. It may also be helpful for us to know, are you using a proxy here?

We may also be able to pinpoint the problem by looking at your system profile. You can download the profile if you navigate to the Admin section > click System Profile on the left pane under System Config > and click Download Profile on that page. After you've downloaded the compressed file, send it to us in a private message and reply to this post to bring it up in our queue.

If we can't discern the issue by looking at either of those things, we might be able to by analyzing the blank report you got. Please send that to us as well.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Scheduled Report Issue

Post by vignesha »

Hello,

We are not using any proxy details on General Program Settings, also i have attached the blank reports.






Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Scheduled Report Issue

Post by ssax »

Please PM one of us this file if you have it:

Code: Select all

/usr/local/nagiosxi/var/load_url.log
Do you have a proxy enabled in Admin > Proxy Configuration?

Do you have an /etc/wgetrc file? Please attach it.

Edit:

Run this command (and leave it running):

Code: Select all

tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosxi/var/cmdsubsys.log /usr/local/nagiosxi/var/load_url.log
Then try to send the report manually, once it has finished (and it's blank) then please PM a copy of your profile as well as the FULL output from the still running tail command above.
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Scheduled Report Issue

Post by vignesha »

Hi,
As requested, I have PM all the details personally.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Scheduled Report Issue

Post by ssax »

You have a proxy set in your /etc/wgetrc.

Try commenting out the proxy lines in your /etc/wgetrc, you may need to restart apache for the changes to pick up:

Comment out these ones:

Code: Select all

https_proxy
http_proxy
ftp_proxy

Code: Select all

service httpd restart
Then try the scheduled report again
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Scheduled Report Issue

Post by vignesha »

Hi Ssax,

Apologies for late reply,

We have highlighted this issue with Security Team and they have confirmed http is suppressed from there end, so we have comment the http one enabled https and it started working.

Many thanks for your support, we are good to close this thread.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Scheduled Report Issue

Post by scottwilkerson »

vignesha wrote:Hi Ssax,

Apologies for late reply,

We have highlighted this issue with Security Team and they have confirmed http is suppressed from there end, so we have comment the http one enabled https and it started working.

Many thanks for your support, we are good to close this thread.
Great!

Closing thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked