Custom icons

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Custom icons

Post by WillemDH »

Hello,

I was trying to add a custom Citrix icon to a service template, but I can't manage to make it work. Uploaded the files to /usr/local/nagios/share/images/logos

When I choose any icon that already existed it works. So maybe it's a problem with my icon format or extension. it is 40 x 40 pixels and I tried it with .png and .gif extension but didn't work for either one. I'll upload them here. I also checked the rights, but they seem ok. Also tried emptying my IE cache.

Tx fr any tips.

Willem
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Custom icons

Post by lmiltchev »

What are the permissions on the file? If it's not owned by nagios, run the following command:

Code: Select all

chown nagios.nagios /usr/local/nagios/share/images/logos/citrix.png
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Custom icons

Post by WillemDH »

Well Nagios was not the owner, but none of the icons in the logos folder has nagios as owner. They all have root as owner in fact and it works for them. I changed the owner anyway for the icon I'm trying to use, but it's still not working.
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Custom icons

Post by slansing »

I believe you will have to place the image in:

Code: Select all

/usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/
I just tested this and it works fine with your png.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Custom icons

Post by lmiltchev »

Can you go to the CCM->Service Templates-><your template>->Modify->Misc Settings and post a screenshot of this page?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Custom icons

Post by WillemDH »

Hello,

Maybe I placed the image in the wrong location, based on the documentation of CCM. See screenshot...

But even after copying the image to /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/ and changing the owner to nagios, it's still not loading.

Grtz
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Custom icons

Post by WillemDH »

Ok, now it seems to work suddenly, did some stuff, httpd restart. Or maybe it wasn't in my cache or something. Anyway, it works! Thanks!

It's a bit confusing the documentation seems wrong, but I guess the documentation belongs to Nagios Core so it's not possible to update it somehow..
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Custom icons

Post by lmiltchev »

I'm glad your issue has been resolved! Locking the post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked