Comments (3)
2 thoughts, did you configure encryption for your collectd? See doc here
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-custom-metrics-collectd.html
2nd thing you can try is enable debugging for the agent to see if there are more helpful info:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/troubleshooting-CloudWatch-Agent.html#CloudWatch-Agent-troubleshooting-loginfo
from amazon-cloudwatch-agent.
2 thoughts, did you configure encryption for your collectd? See doc here
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-custom-metrics-collectd.html2nd thing you can try is enable debugging for the agent to see if there are more helpful info:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/troubleshooting-CloudWatch-Agent.html#CloudWatch-Agent-troubleshooting-loginfo
It was mismatched encryption setting, thank you @haojhcwa, and I am going co close this issue.
from amazon-cloudwatch-agent.
@mong0520 Please, can you share how did you solved this? I'm trying this configuration but without success.
collectd.conf
FQDNLookup true
Interval 60
Timeout 5
LoadPlugin logfile
LoadPlugin syslog
<Plugin logfile>
LogLevel "info"
File "/var/log/collectd.log"
Timestamp true
PrintSeverity false
</Plugin>
<Plugin syslog>
LogLevel info
</Plugin>
LoadPlugin curl
LoadPlugin network
<Plugin curl>
<Page "healthz">
URL "http://localhost/healthz";
MeasureResponseCode true
</Page>
</Plugin>
<Plugin network>
<Server "127.0.0.1" "25826">
SecurityLevel "None"
</Server>
</Plugin>
config.json
{
"agent": {
"region": "us-east-2",
"run_as_user": "root",
"debug": true
},
"metrics":{
"namespace": "collectd-test",
"metrics_collected":{
"collectd":{
"metrics_aggregation_interval": 60,
"collectd_security_level": "none"
}
}
},
"force_flush_interval": 5
}
from amazon-cloudwatch-agent.
Related Issues (20)
- amazon-cloudwatch-observability fails with open /root/.aws/credentials ignoring the IRSA credentials HOT 12
- Log agent not running as root sometimes fails to tail log files HOT 3
- Example for append_dimensions using a value that depends on Amazon EC2 metadata HOT 2
- Container is stopped. On-premise setup. HOT 3
- X-Ray: how to set index_all_attributes (or provide a list of attributes to index)? HOT 2
- [k8s / EKS] Support for Filtering Metrics by Namespace/Pod Name in CloudWatch Agent HOT 3
- https://github.com/aws/amazon-cloudwatch-agent/releases shows v1.300034.0 but that is not current HOT 1
- CloudWatch metrics collected from prometheus , contains undesired dimensions HOT 2
- Undesired metrics added HOT 2
- [K8E mode] CloudWatch Agent shutting down when configured to collect container insights metric on EC2 K8s setup HOT 1
- I wish fetch-config would not delete the .json config file HOT 5
- Publish a JSON schema of the config HOT 7
- Add KMS Key to Cloudwatch Log Group HOT 2
- Support Credentials from IAM Roles Anywhere HOT 3
- Agent fails to detect EKS cluster created in Access Entries only authentication mode HOT 4
- Append dimensions ssm managed instance id support
- Static append_dimensions value on prem results in no metrics being published HOT 3
- GPG Verification Failure for CloudWatch Agent on RHEL 8 HOT 2
- Cloudwatch Agent metrics endpoint unavailable HOT 1
- Parameterize `start-amazon-cloudwatch-agent` for portability. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-cloudwatch-agent.