matt448 / nagios-checks

Custom Nagios checks
12 stars 15 forks source link

Boto3 #6

Open FodT opened 7 years ago

FodT commented 7 years ago

Found this super useful script but I needed it to support IAM roles defined in ~/.aws/config, which boto2 ignores.

So I ported it to boto3 and cleaned up the dependencies a little, adding the optional --profile parameter which defaults to 'default'. Hope you find it useful.

FodT commented 7 years ago

Welp I just noticed this drops the prefix work of the previous PR. I shall see about restoring that.

matt448 commented 6 years ago

@FodT Thanks for updating this to boto3. I haven't given these scripts much attention. When I get some time I'll review and merge it in.