How to run application on the computer via NetXMS agent?
-
Good day,
Via the server management console, you can reboot (shut down, etc., the node with the installed agent): TOOLS -> Restart System. How to run an OS application installed on a computer with a working NetXMS agent? For example (in the case of Windows) a batch file? -
Hi,
you can add
Action = name:command
to nxagentd.conf and then execute this action either via server action from event processing policy or as object tool.
Best regards,
Victor -
Thanks. I read here: https://www.netxms.org/forum/configuration/action-execute-command-via-remote-agent/ that Agent by default is running as windows service and can't interact with the GUI. How should I install agent to interact with the Node GUI? I need to run applications on Node, visible to users.
-
There are no standard way for doing that. If there is only one user session you can uninstall agent service and add nxagentd.exe to autorun so it will start within user session. Or you can use combined approach - leave agent as a service, run external subagent via autorun and define actions in this subagent.
Best regards,
Victor
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