AWS RDS monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

AWS RDS monitoring

Post by ivp2015 »

Hi Team,

Please let us know how we can monitor AWS RDS servers.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: AWS RDS monitoring

Post by cdienger »

Check out https://www.percona.com/doc/percona-mon ... ds.py.html and see if that does what you need it to.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

Re: AWS RDS monitoring

Post by ivp2015 »

I check the given link but there is no opt to download the rds pluging "pmp-check-aws-rds.py"
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: AWS RDS monitoring

Post by scottwilkerson »

Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

Re: AWS RDS monitoring

Post by ivp2015 »

HI Team,
We have download pmp-check-aws-rds.py from https://github.com/percona/percona-moni ... aws-rds.py site. After download we done done process

1- chmod +x pmp-check-aws-rds.py
2- ./pmp-check-aws-rds.py --help
Getting errors- .

[root@ivpnagiosprod libexec]# ./pmp-check-aws-rds.py --help
./pmp-check-aws-rds.py: line 1: syntax error near unexpected token `newline'
./pmp-check-aws-rds.py: line 1: `<!DOCTYPE html>'

vim pmp-check-aws-rds.py
Please find out the attachment
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: AWS RDS monitoring

Post by scottwilkerson »

You didn't download the plugin, you downloaded the github page...

use this URL to download instead

Code: Select all

https://raw.githubusercontent.com/percona/percona-monitoring-plugins/master/nagios/bin/pmp-check-aws-rds.py
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

Re: AWS RDS monitoring

Post by ivp2015 »

After download from given link.
wget https://raw.githubusercontent.com/perco ... aws-rds.py --no-check-certificate

[root@ivpnagiosprod libexec]# chmod +x pmp-check-aws-rds.py
[root@ivpnagiosprod libexec]# ./pmp-check-aws-rds.py --help
Traceback (most recent call last):
File "./pmp-check-aws-rds.py", line 16, in <module>
import boto
ImportError: No module named boto
[root@ivpnagiosprod libexec]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: AWS RDS monitoring

Post by scottwilkerson »

It look like this plugin required boto python package

Code: Select all

yum install python-boto -y
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ivp2015
Posts: 142
Joined: Fri Feb 20, 2015 12:32 am

Re: AWS RDS monitoring

Post by ivp2015 »

as check this command already done and we are getting conflicts error.

Transaction Check Error:
file /usr/lib/python2.6/ctypes/__init__.py from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/logging/__init__.py from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/bsddb/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/compiler/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/ctypes/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/ctypes/macholib/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/curses/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/distutils/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/distutils/command/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/email/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/email/mime/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/encodings/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/hotshot/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/idlelib/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/json/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/lib2to3/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
file /usr/lib/python2.6/lib2to3/fixes/__init__.pyc from install of python-libs-2.6.6-66.el6_8.i686 conflicts with file from package python-2.6.6-29.el6_2.2.i686
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: AWS RDS monitoring

Post by scottwilkerson »

looks like you have a a different version of python than is in the repositories...

You could try this instead

Code: Select all

pip install boto
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked