Page 1 of 1
Adding URL links for host/services
Posted: Thu Aug 18, 2016 12:08 pm
by kadaw978
Hello,
We are using Nagios Core 3.0.1 and was wondering if it is possible to add a URL link to the host or service checks.
Thanks,
Re: Adding URL links for host/services
Posted: Thu Aug 18, 2016 2:08 pm
by bwallace
Are you talking about a 'notes url' or 'action url' as mentioned in the doc below? If so, that doc will show you how to do it.
https://assets.nagios.com/downloads/nag ... tions.html
notes_url: This variable is used to define an optional URL that can be used to provide more information about the host. If you specify an URL, you will see a red folder icon in the CGIs (when you are viewing host information) that links to the URL you specify here. Any valid URL can be used. If you plan on using relative paths, the base path will the the same as what is used to access the CGIs (i.e. /cgi-bin/nagios/). This can be very useful if you want to make detailed information on the host, emergency contact methods, etc. available to other support staff.
action_url: This directive is used to define an optional URL that can be used to provide more actions to be performed on the host. If you specify an URL, you will see a red "splat" icon in the CGIs (when you are viewing host information) that links to the URL you specify here. Any valid URL can be used. If you plan on using relative paths, the base path will the the same as what is used to access the CGIs (i.e. /cgi-bin/nagios/).
Re: Adding URL links for host/services
Posted: Thu Aug 18, 2016 2:15 pm
by kadaw978
Yes, thank you for that link. I couldn't find the article and wasn't sure if it was possible in core.
Re: Adding URL links for host/services
Posted: Thu Aug 18, 2016 2:21 pm
by bwallace
You're welcome! Were there any other questions or may we lock this thread?
BTW - you should really consider upgrading from Core 3.0.
Re: Adding URL links for host/services
Posted: Thu Aug 18, 2016 2:41 pm
by kadaw978
bwallace wrote:You're welcome! Were there any other questions or may we lock this thread?
BTW - you should really consider upgrading from Core 3.0.
You can lock this thread.
We currently have both Core & XI running atm. We will eventually upgrade all the instances to XI. Thanks again for you help.