nagios problem monitoring AMQP / Erlang
Had a problem where the HOME variable was not set when Nagios was running a remote ruby program. Adding:
ENV['HOME'] = /home/nagios
at the top of the file fixed the problem. This allowed the ruby program to find the .erlang.cookie file and monitor AMQP.
A
