Changes

From Amahi Wiki
Jump to: navigation, search
11 bytes removed ,  16:09, 17 July 2018
==== New Interface ====
First make backup copies of the configuration files you need to modify.
{{Code|<pre>
cd /usr/local/icinga-web/app/modules/Cronks/data/xml/grid/
cp icinga-host-template.xml icinga-host-template.bak
cp icinga-service-template.xml icinga-service-template.bak}}</pre>
Now edit ''icinga-host-template.xml'' and right before the line ''<field name="host_info">'' add the following following field definition.
{{Text|Text=
<pre><nowiki><field name="pnp4nagios_host_link">
<!-- datasource maps a data field from api call -->
<parameter name="enabled">false</parameter>
</order>
</field></nowiki></pre>}}
You now have to clear the Icinga Web cache to finalize applying the settings you changed.
{{Code|<pre>/usr/local/icinga-web/bin/clearcache.sh}}</pre>
12,424

edits