As of NConf 1.2.5, host items will come with 3 predefined Action ULRs. These URLs can be used to add additional functionality to Nagios. For instance, you can add a link to an external application and pass additional parameters based on the current host or service.
You can edit these predefined URL's under: “Administration” > “Attributes” > “Show” > “host” > edit “action_url”
If you use pnp4nagios, you can configure and easily set an action_url for every host or service.
NConf 1.2.5 also brings you a dependency view. This dependency view can be accessed directly from Nagios. Just like PNP, this is done with an action_url, but for the dependency view you have to configure a few additional things:
1. PNP only
2. NConf dependency view only
replace this with your NConf URL
for example mydomain.com/nconf
replace this with your nagios URL
for example mydomain.com/nagios
Do not change the $HOSTNAME$. This will be replaced by Nagios.
3. NConf dependency view + PNP link
https://URL_TO_NCONF/dependency.php?xmode=nagiosview&hostname=$HOSTNAME$ &service_link=https://URL_TO_NAGIOS/nagios/cgi-bin/extinfo.cgi &pnp_link=https://URL_TO_NAGIOS/nagios/html/pnp4nagios/index.php
If you want to automatically set an action_url when adding a new host (pre-select it), simply copy the desired URL to pre-defined value.
If you want to force users to set an action_url, set mandatory = yes. This will remove the empty field in the drop-down menu.