AWS CloudWatch Plugin for Nagios XI
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
AWS CloudWatch Plugin for Nagios XI
Hello Team,
I am new to Nagios family, and currently trying to integrate Nagios XI with Amazon CloudWatch. So that I can see the AWS CloudWatch metrics log in Nagios.
Please let me know if there is plugin available to integrate Nagios XI and AWS CloudWatch. I would appreciate if you can provide implementation steps for the same.
Regards,
Swapnil
I am new to Nagios family, and currently trying to integrate Nagios XI with Amazon CloudWatch. So that I can see the AWS CloudWatch metrics log in Nagios.
Please let me know if there is plugin available to integrate Nagios XI and AWS CloudWatch. I would appreciate if you can provide implementation steps for the same.
Regards,
Swapnil
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: AWS CloudWatch Plugin for Nagios XI
Actually, there is! Check this one out:
http://exchange.nagios.org/directory/Pl ... cs/details
You can integrate it with this:
http://assets.nagios.com/downloads/nagi ... lugins.pdf
http://exchange.nagios.org/directory/Pl ... cs/details
You can integrate it with this:
http://assets.nagios.com/downloads/nagi ... lugins.pdf
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
Re: AWS CloudWatch Plugin for Nagios XI
Is there a way to configure it using Nagios XI web interface? or by just installing a plug-in with host file configuration?
Please share any relevant documentation.
Please share any relevant documentation.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS CloudWatch Plugin for Nagios XI
This plugin for sure will require CLI access. While you can create commands for this plugin through the UI, you will need to test it as suggested here
http://assets.nagios.com/downloads/nagi ... lugins.pdf
As of this time there is no wizard for this plugin.
http://assets.nagios.com/downloads/nagi ... lugins.pdf
As of this time there is no wizard for this plugin.
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
Re: AWS CloudWatch Plugin for Nagios XI
Can I view CloudWatch Metrics log in Nagios? The data which is captured by CloudWatch from AWS resources
If yes, how can I configure it?
If yes, how can I configure it?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS CloudWatch Plugin for Nagios XI
As slansing pointed out in the documentation in this post, you can add the the plugin to XI and configure it to pull CloudWatch Metricsswapnil.kadam wrote:Can I view CloudWatch Metrics log in Nagios? The data which is captured by CloudWatch from AWS resources
If yes, how can I configure it?
slansing wrote:Actually, there is! Check this one out:
http://exchange.nagios.org/directory/Pl ... cs/details
You can integrate it with this:
http://assets.nagios.com/downloads/nagi ... lugins.pdf
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
Re: AWS CloudWatch Plugin for Nagios XI
I am getting following error message:
(No output on stdout) stderr: /usr/local/nagios/libexec/check_cloudwatch_status-2.1.77.rb:12:in `require': no such file to load -- rubygems (LoadError)
Configuration details from services.cfg file for nagios:
define service {
host_name Amazon_EC2_Instance_Name
service_description AWS CPUUtilization
use generic-service
check_command check_cloudwatch_status!i-xxxxxxxx!/usr/local/nagios/libexec/ec2-api/ec2_credentials.cfg!CPUUtilization!50!80
max_check_attempts 3
}
Troubleshooting Details:
[root@ip-10-1-252-182 libexec]# ll check_cloudwatch_status.rb
-rwxrwxrwx 1 root nagios 23340 Dec 10 16:32 check_cloudwatch_status.rb
(No output on stdout) stderr: /usr/local/nagios/libexec/check_cloudwatch_status-2.1.77.rb:12:in `require': no such file to load -- rubygems (LoadError)
Configuration details from services.cfg file for nagios:
define service {
host_name Amazon_EC2_Instance_Name
service_description AWS CPUUtilization
use generic-service
check_command check_cloudwatch_status!i-xxxxxxxx!/usr/local/nagios/libexec/ec2-api/ec2_credentials.cfg!CPUUtilization!50!80
max_check_attempts 3
}
Troubleshooting Details:
[root@ip-10-1-252-182 libexec]# ll check_cloudwatch_status.rb
-rwxrwxrwx 1 root nagios 23340 Dec 10 16:32 check_cloudwatch_status.rb
Re: AWS CloudWatch Plugin for Nagios XI
Is this the same problem you are having in this post?
http://support.nagios.com/forum/viewtop ... =6&t=31104
http://support.nagios.com/forum/viewtop ... =6&t=31104
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
swapnil.kadam
- Posts: 48
- Joined: Fri Dec 05, 2014 10:38 am
Re: AWS CloudWatch Plugin for Nagios XI
No, this is a different problem with integration of CloudWatch with Nagios XI
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: AWS CloudWatch Plugin for Nagios XI
Can you please post the command definition for the check_command "check_cloudwatch_status".
CCM > Commands > Commands
Click the floppy disk icon and it will show the commands in a text file.
CCM > Commands > Commands
Click the floppy disk icon and it will show the commands in a text file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.