Page 1 of 1
Notes URL for hosts and services
Posted: Wed Jan 13, 2016 6:57 pm
by drug
In XI 5, after adding a Notes or Action URL for a Host or Service under Misc Settings, the URL does not appear within XI (only in Nagios Core). I've seen a few posts about this but I've only seen suggestions to use the Action URL component. Although that is something we can look at using in the future it doesn't work for us at this time.
At least according to the screenshot from 2013 in
this post it looks like these used to be available within the XI interface. Is this no longer the case? If not, are there plans to re-add support for these?
Thanks.
Re: Notes URL for hosts and services
Posted: Wed Jan 13, 2016 8:40 pm
by Box293
OK I worked it out, the "Actions URL" component has been replaced by the Actions component.
The documentation is here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
It was a bit confusing at the documentation does not list "notesurl", "actionurl" and "notes" as variables that can be used.
Admin > System Extensions > Manage Components
Click the Settings icon for Actions
For the third item "Any"
Check the checkbox
Action Type:
URL
URL/Command:
%actionurl%
Target:
_blank
Action Text:
Action URL
In the code box:
/**/
Click Apply Settings
You'll see that has been added as an item
You can repeat for the notes URL as well.
This will now add an Actions URL to all host and service objects as per the screenshot in the other forum post you linked to.
Let us know how this goes for you.
Re: Notes URL for hosts and services
Posted: Thu Jan 14, 2016 10:58 am
by drug
Thank you for the clarification, this works perfectly!
Re: Notes URL for hosts and services
Posted: Thu Jan 14, 2016 12:54 pm
by bwallace
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.