Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • 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
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4394Themes and Skins11Add-ons744Documentation283Graphics 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
2012 Nagios World Conference Presentations Nagios Conference 2012 – Nicolas Brousse – Optimizing your Monitoring and Trending tools for the Cloud
0.0 (0)
48.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)Yoann LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Claudio Kuenzler (2)
See More
Newest Contributors
zsoltaire (1)RavuAlHemio (1)sowoii (1)Nitatemic (1)cjdepaul (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Bora AKAYDIN
BA

Bora AKAYDIN

@akaydinb

User Stats

Member Since: November 6, 2015

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
Home Browse Submit Profile