influxdata / influxdata/kapacitor
exec error in Tick script
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
I get exec plugin error as below :
`E! exec command failed: Output: : fork/exec /usr/local/bin: permission denied`
when i try to run a shell script from Tick script.
Please find the alert node as below :
```
alert
.log('/tmp/disk_alert_log.txt')
.slack()
.channel('#devops')
.exec('/usr/local/bin','recoverDisk')
```
Thanks,
Sunil
Contributor guide
Research direction
The report points to Kapacitor’s exec plugin and the alert node’s .exec('/usr/local/bin','recoverDisk') call; start by tracing that command-execution entry point and reproducing the permission-denied error with the shown Tick script. Confirm the expected executable and path behavior, then verify that the alert can run the shell script without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, shell
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100