-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configuration issue with RDS #15
Comments
Please import RDS and DynamoDB templates into zabbix, RDS doesn't use discovery rule, but DynamoDB uses discovery rule, which discovers DynamoDB tables by using a condition rule. As the metric uses zabbix trapper, it doesn't require zabbix agent, so the port is not required, the host is a dummy host (127.0.0.1) anyway. |
thank you Omni-Ichen for your support, well, my question about port number was because of my AWS/RDS EndPoint is behind a firewall and only TCP/1521 is open...
|
@Milozavic Did you made a crontab entry for each RDS you want to monitor ? |
yes and this, added this: */1 * * * * /opt/zabbix/cloudwatch/cron.d/cron.RDS.sh "pjhokan-db" "pjhokan-db.amazonaws.com" "localhost" "myAWSaccount" "myregion" &>/dev/null |
Please check all parameters are set up correctly, also the aws credentials, I don't recommend to run cron job every minute, it causes high CPU utilisation, you can run every 5 minutes, but collect 1-min data instead by changing the bash wrapper PERIOD="60", also disable this function sendLatestCloudWatchData(zabbix_server, zabbix_host, cw_data), enable the following functions in zabbix-python.py. |
i've made the changes as u requested ... and i got this when running the script: AS if the input account is not valide |
It looks like your aws account specified in the parameters of cron.RDS.sh doesn't match the one in conf/awscred.conf, please check "[account]" in the conf file. |
This is what i have in my awscred.conf |
forget to montion when accessing the cloudwatch portal i've to input my account id, login and password |
aws_access_key_id and aws_secret_access_key are not your login id and password, you should go to IAM in AWS console to generate your access keys. Use access keys to make secure REST or HTTP Query protocol requests to AWS service APIs. |
omni-Ichen thank you soo much for you help and sorry for not giving you feedback in time cuz i've been very busy those days...
|
Please check cron service has started up, and you can see the cron job in cron log, /var/log/cron or /var/log/syslog |
Oooh thank you Long Chen, thank for your support, it worked already and it was a problem of internet connection, i just run: export https_proxy="my proxy's IP address"thank you Long.. really u've done a great job |
Hi
well i'am stack at the step 5 when configuring zabbix trapper; what do you mean by discovery_item_value?
the in step 6 when i try to add the new host, how can i find connection port (default value:10050)?
Could you please enlighten me on this :)
The text was updated successfully, but these errors were encountered: