omni-lchen / zabbix-cloudwatch

71 stars 61 forks source link

Request for clarity of execution #54

Open preston3271 opened 4 years ago

preston3271 commented 4 years ago

Hello,

I am new to the zabbix monitoring platform, and I am working to configure your module to integrate the AWS Cloudwatch module with Zabbix and my AWS Environment. I have few question regarding the setup of the module.

Under the "Installation" section of the README.md, I have the following questions,

Starting with step 3, I did apply the credential for connection to the AWS account, within "awscred" file of the "/opt/zabbix/cloudwatch/"conf directory.

[redsomething-sandbox] aws_access_key_id=*** aws_secret_access_key=****

Next, in step 4, after reviewing the "conf/aws_services_metrics.conf," I noticed the setting for Lambda metrics I want, so I just copied and renamed the original file to "aws_services_metrics.conf.orig," and stripped the working file to only include,

Updated File: "aws_service_metrics.conf" { "Lambda": [ { "metric":"Invocations", "statistics":"Sum" }, { "metric":"Errors", "statistics":"Sum" }, { "metric":"Duration", "statistics":"Average" }, { "metric":"Throttles", "statistics":"Sum" } ] }

So assuming that will work, onto the next step, step 5,

Now, in regards to the template, I copied the Template_AWS_Lambda.xml to Template_AWS_Lambda_RR.xml and left everything in place.

Now it is step 6, that it beings to become unclear, partly because I am new to Zabbix platform. The following is what performed based on best guess.

a. Host Name: RR-Application-Server #Now this is a name I made up for there is no server or static ip address associated with the application.

b. Visible Name: RR-App-Server

And everything else is defaulted with the Groups and the localhost of 127.0.0.1. This is where it becomes a little unclear. I went onto import the Template_AWS_Lambda.xml template I believe and linked to the host as it is listed under the template column as "Template AWS Lambda".

Steps 7, 8 I created the wrapper cron.RR-Lambda.sh and corresponding cron job as directed.

Now, I not sure how to confirm the configuration as up, nor how to properly execute this task to confirm the operation of this monitoring task. Can someone provide some additional directions regarding this matter, please?