Nagios Exchange
  • Home
  • Directory
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Nagios Log Server Documentation Nagios Log Server – Managing Users
0.0 (0)
5.8K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Bora AKAYDIN
BA

Bora AKAYDIN

@akaydinb

User Stats

Favorites0

Views

Projects0

No Projects Found
Check_AWS_CloudWatch_metrics

Fog error

Hello, I am using Opsview4.5 built on Nagios Core 4.0.20130912. My ruby version is 2.2. I have added some AWS hosts using default check_cloudwatch_status (first applied these: http://docs.opsview.com/doku.php?id=opsview4.5:opspacks:templates:amazoncloudwatch) script provided in Opsview and got following error: /usr/local/nagios/libexec/check_cloudwatch_status:330:in `+': no implicit conversion of NameError into String (TypeError) from /usr/local/nagios/libexec/check_cloudwatch_status:330:in `rescue in ' from /usr/local/nagios/libexec/check_cloudwatch_status:321:in `' Then I decided to upgrade to the latest version. The error message changed but Opsview still cannot run the check. It quits with following error: /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- fog (LoadError) from /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/local/nagios/libexec/check_cloudwatch_status:12:in `block in ' from /usr/local/nagios/libexec/check_cloudwatch_status:12:in `each' from /usr/local/nagios/libexec/check_cloudwatch_status:12:in `' I have previously installed fog using "gem install fog" command, however current ruby executable cannot "see" fog package (sorry, I am not familiar with ruby). Here is a sample check command which returns errors above: sudo -u nagios /usr/local/nagios/libexec/check_cloudwatch_status -a dpesmas01q.n11.local -i "i-XXXXaab1" -C CPUUtilization -f /usr/local/nagios/etc/aws_credentials.cfg Can you please help?

Reviewed 10 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks