Need assistance on install cloudwatch plugin
Posted: Thu Jul 14, 2016 2:32 pm
I'm installing a plugin using https://exchange.nagios.org/directory/P ... cs/details
I have managed to install the plugin and command.
Nagios XI version : 5.2.9
I have installed the ruby and gem as required
# ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
root@nagmonusdev1:(07-14 13:24): /usr/local/nagios/libexec
# gem -v
1.3.7
# gem list
*** LOCAL GEMS ***
amazon-ec2 (0.9.17)
CloudyScripts (2.14.64)
net-scp (1.2.1)
net-sftp (2.1.2)
net-ssh (2.9.2)
xml-simple (1.1.5)
zip (2.0.2)
Getting below error
# ./check_cloudwatch_status-2.5.07.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- fog (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./check_cloudwatch_status-2.5.07.rb:12
from ./check_cloudwatch_status-2.5.07.rb:12:in `each'
from ./check_cloudwatch_status-2.5.07.rb:12
Can someone assist me resolving this error. Not sure, if it requires any additional gem to be installed or the environment path variable.
I have managed to install the plugin and command.
Nagios XI version : 5.2.9
I have installed the ruby and gem as required
# ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
root@nagmonusdev1:(07-14 13:24): /usr/local/nagios/libexec
# gem -v
1.3.7
# gem list
*** LOCAL GEMS ***
amazon-ec2 (0.9.17)
CloudyScripts (2.14.64)
net-scp (1.2.1)
net-sftp (2.1.2)
net-ssh (2.9.2)
xml-simple (1.1.5)
zip (2.0.2)
Getting below error
# ./check_cloudwatch_status-2.5.07.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- fog (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./check_cloudwatch_status-2.5.07.rb:12
from ./check_cloudwatch_status-2.5.07.rb:12:in `each'
from ./check_cloudwatch_status-2.5.07.rb:12
Can someone assist me resolving this error. Not sure, if it requires any additional gem to be installed or the environment path variable.