Changing the Logo and header of OpenNMS

web-ui
branding

#1

Some people like to change the logo of OpenNMS.

General Behaviour

By default the svg version of the logo is loaded.
Only if that is not available, a fallback image is used.
If you do not have a svg version of your logo, simply delete the svg version.

Version <= 23.x.y

The logo files are located here:

  • ${OPENNMS_HOME}/jetty-webapps/opennms/images/horizon_logo.svg
  • ${OPENNMS_HOME}/jetty-webapps/opennms/images/horizon_logo_small.png

Version >= 24.a.b

The logo files are located here:

  • ${OPENNMS_HOME}/jetty-webapps/opennms/images/o-green-trans.svg
  • ${OPENNMS_HOME}/jetty-webapps/opennms/images/o-green-trans.png

More customisations

The header and with that the logo is defined in file navbar.ftl (source 23.x.y, source 24.a.b), which is located in ${OPENNMS_HOME}/jetty-webapps/opennms/WEB-INF/templates/navbar.ftl.
If you want to modify the header some more, simply modify this file.
Should work without restarting OpenNMS.

Please note, that this only works for OpenNMS versions >= 23.x.y.


Change Logo and Color Scheme
#2

Why change the logo?


#3

There is a need in some setups where ${boss} wants to “brand” the web app with their company logo where the Horizon logo is.

For example here: Change Logo and Color Scheme

I personally would nobody recommend to do it. It doesn’t make anything better. Theming a website is something different than an whole application with quite complex workflows and meanings especially in opennms with colors. The probability you make it worse for your users is high. Just IMHO


#4

I see but that still doesn’t answer the question, “Why change it?” :slight_smile:


#5

Maybe he has a cooler one?