Page 1 of 1

CGI username macro

Posted: Tue Apr 24, 2018 3:31 pm
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.

Re: CGI username macro

Posted: Tue Apr 24, 2018 3:44 pm
by scottwilkerson
Sorry, this feature doesn't exist

Re: CGI username macro

Posted: Tue Apr 24, 2018 4:02 pm
by roddie
Okay, thanks for the quick response anyway.