Custom UDP remote commands

Apart from the Refresh agent command, you can specify new and custom actions to perform by the agents under the Pandora server’s orders.

If you’re interested, you need to make a slight modification in pandora_server.conf, apart from enabling UDP server, as shown below:

udp_server 1
udp_server_port 41122
udp_server_auth_address

Then you have to add a line for each custom command you want to perform, following this syntax:

process_nameofthecommand_start command

For example, if you wanted to create a custom command to start sshd service, you would have to add a line such as this:

process_sshdproc_start /etc/init.d/sshd start

Then you have to create a new alert action at Pandora Console for each remote command you made. You can copy the Remote agent control action, which is already prepared to send UDP commands. Set START PROCESS sshdproc” on Field 1. Now you only need to set a new Manual alert with the new alert action on the agent whose sshd service you wanted to start. This way, you’ll be able to send the start command just through manually forcing the alert.

You can also create custom orders to execute scripts. This allows to perform a huge variety of remote actions on a remote agent just by clicking on “Force alert”.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support