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
Is it possible to add a URL link to the status information
-
bpetershagen
- Posts: 3
- Joined: Mon Aug 29, 2016 2:32 pm
Re: Is it possible to add a URL link to the status informati
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?
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/
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
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.
Re: Is it possible to add a URL link to the status informati
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
https://assets.nagios.com/downloads/nag ... .html#host
That's from the Core docs, but the setting is still available in XI.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
-
bpetershagen
- Posts: 3
- Joined: Mon Aug 29, 2016 2:32 pm
Re: Is it possible to add a URL link to the status informati
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.
Re: Is it possible to add a URL link to the status informati
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