Page 1 of 2
AWS RDS monitoring
Posted: Mon Jan 28, 2019 10:31 am
by ivp2015
Hi Team,
Please let us know how we can monitor AWS RDS servers.
Re: AWS RDS monitoring
Posted: Mon Jan 28, 2019 4:10 pm
by cdienger
Re: AWS RDS monitoring
Posted: Mon Feb 04, 2019 7:05 am
by ivp2015
I check the given link but there is no opt to download the rds pluging "pmp-check-aws-rds.py"
Re: AWS RDS monitoring
Posted: Mon Feb 04, 2019 10:37 am
by scottwilkerson
Re: AWS RDS monitoring
Posted: Tue Feb 05, 2019 5:29 am
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
Re: AWS RDS monitoring
Posted: Tue Feb 05, 2019 7:43 am
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
Re: AWS RDS monitoring
Posted: Tue Feb 05, 2019 8:25 am
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]#
Re: AWS RDS monitoring
Posted: Tue Feb 05, 2019 8:43 am
by scottwilkerson
It look like this plugin required boto python package
Re: AWS RDS monitoring
Posted: Tue Feb 05, 2019 10:02 am
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
Re: AWS RDS monitoring
Posted: Tue Feb 05, 2019 11:35 am
by scottwilkerson
looks like you have a a different version of python than is in the repositories...
You could try this instead