Is it possible to add a URL link to the status information

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bpetershagen
Posts: 3
Joined: Mon Aug 29, 2016 2:32 pm

Is it possible to add a URL link to the status information

Post by bpetershagen »

Is it possible to add a URL link to the status information column if there is a warning or Critical status? See example below

Status Status information
Warning Login Errors since last reboot is 692
https://abc.abc.com/Error-9999


Thx Brian
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Is it possible to add a URL link to the status informati

Post by mcapra »

What shows up on the "Status Information" column is contingent mostly on the output of the plugin you are using.

If you wanted to append a URL to a specific plugin's output, there isn't really anything stopping you from doing that. That change would be made by modifying the plugin itself (most of the time), though.

What sort of URL are you trying to add to the status information column?
Former Nagios employee
https://www.mcapra.com/
bpetershagen
Posts: 3
Joined: Mon Aug 29, 2016 2:32 pm

Re: Is it possible to add a URL link to the status informati

Post by bpetershagen »

It is a link to a knowledge base document that is specific to a Service check and gives the support team steps to resolve the issue or to who the issue should be escalated.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Is it possible to add a URL link to the status informati

Post by tmcdonald »

It wouldn't be in the status output, but you might look into the notes_url setting:

https://assets.nagios.com/downloads/nag ... .html#host
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.
That's from the Core docs, but the setting is still available in XI.
Former Nagios employee
bpetershagen
Posts: 3
Joined: Mon Aug 29, 2016 2:32 pm

Re: Is it possible to add a URL link to the status informati

Post by bpetershagen »

does this require Nagios to custom edit the page to allow us to see the notes_url? I am being told by my admin that it is a change that will get reverted every time we upgrade and will have to be implemented again each time.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Is it possible to add a URL link to the status informati

Post by rkennedy »

No, as @tcmdonald mentioned this is built in to XI and you just need to modify your host / service definitions that require a notes / notes_url field.
notes: This directive is used to define an optional string of notes pertaining to the host. If you specify a note here, you will see the it in the extended information CGI (when you are viewing information about the specified host).

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.
Former Nagios Employee
Locked