ruby problem // env: ruby: No such file or directory

Hi all,

I have here a script with Ruby. On the console this script works without any problem, but not with a call from Zabbix.

The first line in this script starts with:
Code:
#!/usr/bin/env ruby

But why can Zabbix not find Ruby?

Any help here?
thx
Thanks,
Stefan
 
Hi @SirDice,

A Zabbix standard installation has this user:
Code:
zabbix:*:122:122:Zabbix NMS:/nonexistent:/usr/sbin/nologin
How to assign the path?
 
Last edited by a moderator:
Back
Top