Custom Logo module, logo on reports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Custom Logo module, logo on reports

Post by derekb »

Hi there,
We've had the Custom Logo module installed on XI for a while now, and I'm just noticing that the same file in 'custom logo' is used on Reports as well.

If you DISABLE the custom logo module, you can see the logo in the top left corner and the logo on reports are different -- You have white "NAGIOS" text in the top left, with black "NAGIOS" text on the report.

The problem I'm having is that when using custom logo, we made things white to show up against the black top-bar. But when the logo is displayed on any reports, it's white-on-white and looks... bad.

Is there a way to rectify this? Perhaps have a logo path that's defined strictly for reports?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Custom Logo module, logo on reports

Post by lmiltchev »

You are welcome on post a new feature request on our public tracker if you wish to use a different custom logo in reports.

I can also post an internal feature request for adding this functionality to XI if you want me to. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: Custom Logo module, logo on reports

Post by derekb »

lmiltchev wrote:You are welcome on post a new feature request on our public tracker if you wish to use a different custom logo in reports.

I can also post an internal feature request for adding this functionality to XI if you want me to. Thank you!

So.... What you're saying is that this is expected behaviour when using the Custom Logo module? I'm going to post in the tracker, but an internal feature request would be awesome as well if you're willing to post that.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Custom Logo module, logo on reports

Post by ssax »

Until it's been officially implemented by the devs, here is a solution for you:

*** Note: This will get reverted if you upgrade and will need to be reimplemented.
*** Make sure that you have known-good backups/vm snapshots before making any modifications

Download the attached component.
customlogo.zip
Go to Admin > Manage Components
- Click the Browse button and select the zip file.
- Click the Upload & Install button.

Run this command on the XI server:

Code: Select all

sed -i 's/logosettings, "logo", \$logo/logosettings, "reportlogo", \$logo/g' /usr/local/nagiosxi/html/reports/*
Then go back in and set the Report Logo Image in the Custom Logo component and click the Apply Settings button.

It should now show your alternate image in the reports.

Let me know if that works for you.
You do not have the required permissions to view the files attached to this post.
Locked