Shedulined reports part 2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Shedulined reports part 2

Post by benhank »

howdi,
I created this post

Code: Select all

https://support.nagios.com/forum/viewtopic.php?f=16&t=39040
and was able to get the type of report I needed.
however when i looked into to email which contained a pdf and jpeg of the report here is what I got:
pdf.PNG
and also:
jpeg.PNG
im running N5 latest version.
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Shedulined reports part 2

Post by lmiltchev »

Can you upload the "damaged" PDF file, so that we can take a look at it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Shedulined reports part 2

Post by benhank »

there you go!
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Shedulined reports part 2

Post by lmiltchev »

I can confirm that generating reports (when you are scheduling a page) is broken in 5.2.9. The issue as been fixed in our DEV revision, meaning this should work in Nagios XI 5.3, which should be out before the Nagios conference.
Be sure to check out our Knowledgebase for helpful articles and solutions!
nietonoshana
Posts: 26
Joined: Thu Jul 04, 2013 1:05 pm

Re: Shedulined reports part 2

Post by nietonoshana »

Hello this is a bug
NEW TASK ID 8874 created - Nagios XI Bug Report: Scheduling a page (not a report page) as PDF doesn't send proper PDF

First take an XI backup,
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Then unzip the attached file and replace these files and try it again:

/usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php
/usr/local/nagiosxi/html/includes/components/scheduledreporting/schedulereport.php
/usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Shedulined reports part 2

Post by lmiltchev »

Thanks for sharing, nietonoshana!
@benhank You can try this fix - it was provided by Sean, and I am pretty sure that's what is used in XI 5.3... or you can wait for the latest release. It's up to you. In any case, let us know when/if the issue has been resolved. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Shedulined reports part 2

Post by benhank »

Thanks! That works!
My I humbly request that you guys add an aoption to make the pdf landscape( for readability) and a csv option?
Or can you should me how to mod the component if possible to make the pfd landscape instead of portrate?

Other than that I'm good thanks!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Shedulined reports part 2

Post by mcapra »

benhank wrote:a csv option?
You should already be able to do this for reports with that sort of data. Here's the "Availability" option on 5.2.9:

Image
benhank wrote:Or can you should me how to mod the component if possible to make the pfd landscape instead of portrate?
I put in an internal feature request for this functionality (ID 9095). There's ways to do this within Acrobat, but I think it would be a good addition to reporting.

Is it alright if I lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: Shedulined reports part 2

Post by benhank »

yep you can
and in case I wasnt clear , big thanks to nietonoshana for the help!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked