CGI username macro

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
User avatar
roddie
Posts: 10
Joined: Tue Apr 24, 2018 3:23 pm
Location: Services (Unhandled)

CGI username macro

Post by roddie »

Is there any way to use a macro in a service notes URL value which parses the username of the user logged in to the webfront? On an SSH availability check, I'd like to use a notes URL like ssh://$USERNAME$@$HOSTNAME$ as my users will be logged in to Nagios with the same username as the Unix account they will have on the monitored hosts.

I've had a look around but can't see any way to do this - any help greatly appreciated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CGI username macro

Post by scottwilkerson »

Sorry, this feature doesn't exist
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
roddie
Posts: 10
Joined: Tue Apr 24, 2018 3:23 pm
Location: Services (Unhandled)

Re: CGI username macro

Post by roddie »

Okay, thanks for the quick response anyway.
Locked