pmp-check-aws-rds.py Issues

neofireneofire EntrantInactive User Role Participant
Hey All

I am trying to configure the percona-nagios-plugins as i would like to monitor some RDS Instnaces that i have but i am running into issues

i have followed the documentation and i am getting a little frustrated as i keep getting errors or nothing gets returned

For example if i run ./pmp-check-aws-rds.py -l it returns "List of All DB Instnaces []" and if i run ./pmp-check-aws-rds.py -i "Instance-name" -p it returns No DB instance "Instance-name" found on your AWS account.

i have got the correct aws keys in the /etc/boto.cfg file and python-boto is installed, can someone help please

Comments

  • weberweber Advisor Inactive User Role Mentor
    Most likely, some permissions does not allow to access RDS.

    You can test this way:

    [[email protected] ~]# python
    Python 2.6.6 (r266:84292, Jul 10 2013, 22:48:45)
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import boto
    >>> boto.connect_rds()
    RDSConnection:rds.us-east-1.amazonaws.com
    >>> boto.connect_rds().get_all_dbinstances()
    []
    >>>

    But I really don't have any RDS under my account :)
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.