Cannot Execute Script Plugin

(louiseng) #1


I have installed “Execute Script Plugin” from

I have a script on /root/, after installed this plugin, I created notification and set the bash command as
sh /root/
55 PM

but it is not working. Does anyone have an example/ have a suggest ?


(Jochen) #2

Are there any error messages in the logs of your Graylog node(s)?

My SWAG is that the system user running Graylog doesn’t have sufficient permissions to run the script in /root (which only root has, naturally).
Try copying the script to another location (e. g. /usr/local/bin/) and set proper file permissions (e. g. 0755, which translates to everyone is allowed to read and execute the file).

(louiseng) #3

It works!!
Many thanks.

(system) closed #4

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