Action - Execute command via remote agent
-
Hello!
I am trying to run an external program (cmd.exe) whenever a threshold is reached.
I added an Actions Configuration called notepad of type 'Execute command on remote node via agent',
and in the agent's configfile (etc/nxagentd.conf) i add 'ActionShellExec = notepad:cmd.exe /C pause'.But, it does not work.
Can anyone give me a hint?
THX!

-
-
Agent by default is running as windows service and can't interact with the GUI. In older version os windows (before 7) you can enabled "Interact with GUI" option in service manger, but for newer ones – you'll have to run agent as application, not as service.
You can add it to autorun, and if you want to hide console window – start it with "-H" command line option.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login