Giter Club home page Giter Club logo

Comments (3)

haojhcwa avatar haojhcwa commented on September 22, 2024

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.

mong0520 avatar mong0520 commented on September 22, 2024

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

It was mismatched encryption setting, thank you @haojhcwa, and I am going co close this issue.

from amazon-cloudwatch-agent.

amandahla avatar amandahla commented on September 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.