Thruks look & feel can be easily changed with themes. There are a few themes already included. Themes normally reside in the themes/themes-available directory. Activate a theme by creating a symlink in the themes/themes-enabled directory. If you use the packaged Thruk version, the themes folder is directly in your Thruk folder. If you are using OMD, the themes folder is in $OMD_ROOT/etc/thruk/themes.
Example of a themes:
theme/ ├── images │ └── logos -> ../../Classic/images/logos ├── stylesheets └── templates
Installation
Installation of a theme is easy:
-
Unpack the plugin in themes-available directory.
-
Create a symlink in themes-enabled which points to the theme.
-
Restart Thruk (if you use mod_fastcgi) or your webserver (if you use mod_fcgid)
-
Remove the symlink from themes-enabled
-
Restart Thruk (if you use mod_fastcgi) or your webserver (if you use mod_fcgid)
-
Remove themes from themes-available
Builtin Themes
Thruk
Author: Sven Nierlein Download: This plugin is builtin and shipped with Thruk
Classic
Author: Nagios Download: This plugin is builtin and shipped with Thruk
Exfoliation
Author: Matt Wall Download: This plugin is builtin and shipped with Thruk
Neat
Author: Unknown Download: This plugin is builtin and shipped with Thruk
Nuvola
Author: Unknown Download: This plugin is builtin and shipped with Thruk
Vautour
Author: Unknown Download: This plugin is builtin and shipped with Thruk
Wakizashi
Author: Jean Gabes Download: This plugin is builtin and shipped with Thruk
Write your own themes
The directory structure of a theme contains just a few folders and you don’t need all of them for every theme.
|
Let me know if you want to get your theme listed here. |
theme/ ├── images │ └── logos -> ../../Classic/images/logos ├── stylesheets └── templates
-
images containts all images needed by this theme. Make sure you have at least the basic images.
-
logos contains all logos, should be a symlink to your logos folder unless you have special logos in this theme.
-
stylesheets contain your css files.
-
templates contains all template files. You can override normal templates in your theme and therefor completly rewrite the html output.
|
Easiest way would be to copy an existing theme and change it to your needs. |



