# Execute Command Alarm Callback

**URL:** https://community.graylog.org/t/execute-command-alarm-callback/2148
**Category:** Graylog Add-ons
**Created:** [August 18, 2017, 11:05am UTC](https://community.graylog.org/t/execute-command-alarm-callback/2148 "2017-08-18T11:05:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![schurd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/schurd/32/1068_2.png) [@schurd](https://community.graylog.org/u/schurd)
#### Post date: [August 18, 2017, 11:05am UTC](https://community.graylog.org/t/execute-command-alarm-callback/2148/1 "2017-08-18T11:05:09Z")

</div>

Hello Community,

I want to use the plugin “graylog2-plugin.exec” to execute a script as notification. The script will send a message to the ZIS System from Leutek.  
Does somebody have an example, or some experience whit that?

How should the script look like?  
How do I pass variables to the script?

Thanks in advance,

Regards,

Dietmar Schurr

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [September 1, 2017, 11:05am UTC](https://community.graylog.org/t/execute-command-alarm-callback/2148/2 "2017-09-01T11:05:19Z")

</div>

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