Hello Team,
While configuration of check_aws_status plugin, I am getting following warning. Can you please help in the resolution.
Warning
(No output on stdout) stderr: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- nokogiri (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/nagios/libexec/check_aws_status.rb:4
Regards,
Swapnil
Configuration of check_aws_status - Warning
Configuration of check_aws_status - Warning
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Configuration of check_aws_status - Warning
Have you tested the plugin from the command line before adding it to Nagios XI? If yes, did it work?
You may need to install some gems.
The script requires these:
This guide explains how:
http://guides.rubygems.org/rubygems-basics/
You may need to install some gems.
The script requires these:
Code: Select all
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'pp'http://guides.rubygems.org/rubygems-basics/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Configuration of check_aws_status - Warning
I have a new warning message, after amending the command to /usr/bin/python $USER1$/check_aws_status_feed.py
(No output on stdout) stderr: Traceback (most recent call last):
File "/usr/local/nagios/libexec/check_aws_status_feed.py", line 18, in <module>
import feedparser
ImportError: No module named feedparser
(No output on stdout) stderr: Traceback (most recent call last):
File "/usr/local/nagios/libexec/check_aws_status_feed.py", line 18, in <module>
import feedparser
ImportError: No module named feedparser
Re: Configuration of check_aws_status - Warning
one more step further, managed to fix earlier issue by installing "sudo yum install python-pip"
now with a new UNKNOWN ERROR:
AWS UNKNOWN: Feed http://status.aws.amazon.com/rss/ec2.rss could not be parsed. Check command options.
Note: I am trying with this plugin: https://exchange.nagios.org/directory/P ... ge/details
Regards,
Swapnil
now with a new UNKNOWN ERROR:
AWS UNKNOWN: Feed http://status.aws.amazon.com/rss/ec2.rss could not be parsed. Check command options.
Note: I am trying with this plugin: https://exchange.nagios.org/directory/P ... ge/details
Regards,
Swapnil
Re: Configuration of check_aws_status - Warning
Don't worry, issue has been fixed. our DBA made some changes in the script and got it working.
All Set
Thanks,
Swapnil
All Set
Thanks,
Swapnil
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Configuration of check_aws_status - Warning
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!