Trigger script from Event Juggler

Hi,

based on this GitHub repo I have created a small script to get a ssl certificate. I would like to call my script from the Event Juggler. Trigger is Connected Mobile Data.

Unfortunately nothing happens once Mobile Data is connected.

In general the trigger seems to be working. I changed the action to send an SMS as soon as mobile data is connected. So I assume that the issue is located in my script.

Where can I check the logs of the Event Juggler or the execution of my script?

Thanks

Michael

Hello,

Apologies for a delayed response. This github script by the idea, should be executed upon system startup. I’ve tested Event Juggler’s script execution during mobile data events, and everything appears to be working as intended.

Could you please provide the full script code? It should include #!/bin/ash at the beginning. Additionally, please try the following steps:

  1. Create the script on the router, for example, in the /etc/ directory, with following command:
vi /etc/ssl.sh
  1. Make the script executable using the command
chmod +x /etc/ssl.sh
  1. In Event Juggler action data settings, select Script file typePath the action type.
  2. Provide the script path, e.g., /etc/ssl.sh, and test if it executes during connectivity changes correctly.

If this does not resolve the issue, there might be an error in the script itself.

Best regards,

Hello Martynas,

many thanks for your reply. In my script I have used

#!/bin/sh

instead of

#!/bin/ash

Now ist working. Thanks

Instead of placing my script in /etc directory I have used the upload functionality in Event juggler:

Best regards

Michael

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.