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! ;)
Correction!
The Task is running, but i can't see it in the current user session...
:(
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.