Adding URL links for host/services

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kadaw978
Posts: 27
Joined: Mon Feb 29, 2016 1:58 pm

Adding URL links for host/services

Post 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,
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Adding URL links for host/services

Post 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/).
Be sure to check out the Knowledgebase for helpful articles and solutions!
kadaw978
Posts: 27
Joined: Mon Feb 29, 2016 1:58 pm

Re: Adding URL links for host/services

Post by kadaw978 »

Yes, thank you for that link. I couldn't find the article and wasn't sure if it was possible in core.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Adding URL links for host/services

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
kadaw978
Posts: 27
Joined: Mon Feb 29, 2016 1:58 pm

Re: Adding URL links for host/services

Post 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.
Locked