Skip to main content

I need to create a check command that launches a script but passing it the user who is logged in that session.

 

I've been looking in the macros but I can't find any that give me this possibility.

Can you help me?

 

Regards,

Hi @carnabil you can’t execute a plugin with the name of the user connected to Centreon UI.

If you need the name of user connected in a term (session) you need to use Linux command such as “who” or “whoami”.

Regards


Reply