Hi,
habe mal eine Testumgebung mit 2.2.0p20 Cloud aufgebaut um mal das AWS Monitoring zu testen.
Ich bin der Meinung ich hätte alles wie in der Doku beschrieben gemacht.
Aber es will nicht so richtig
mk -vvI --debug AWS-01
Discovering services and host labels on: AWS-01
AWS-01:
+ FETCHING DATA
Source: SourceInfo(hostname='AWS-01', ipaddress=None, ident='special_aws', fetcher_type=<FetcherType.SPECIAL_AGENT: 6>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f018b8555d0]
Read from cache: AgentFileCache(AWS-01, path_template=/omd/sites/home/tmp/check_mk/data_source_cache/special_aws/{hostname}, max_age=MaxAge(checking=0, discovery=90.0, inventory=90.0), simulation=False, use_only_cache=False, file_cache_mode=1)
[ProgramFetcher] Execute data source
Calling: /omd/sites/home/share/check_mk/agents/special/agent_aws --access-key-id xxxxxxxxxxxxxx --secret-access-key xxxxxxxxxxxxxxxxx --regions eu-central-1 eu-west-2 eu-west-3 --global-services ce --services ec2 --ec2-limits --ec2-tag-key Name --ec2-tag-values Testserver --hostname AWS-01 --piggyback-naming-convention ip_region_instance
[cpu_tracking] Stop [7f018b8555d0 - Snapshot(process=posix.times_result(user=0.010000000000000009, system=0.0, children_user=0.51, children_system=0.07, elapsed=1.5799999982118607))]
Source: SourceInfo(hostname='AWS-01', ipaddress=None, ident='special_aws_status', fetcher_type=<FetcherType.SPECIAL_AGENT: 6>, source_type=<SourceType.HOST: 1>)
[cpu_tracking] Start [7f018b856fd0]
Read from cache: AgentFileCache(AWS-01, path_template=/omd/sites/home/tmp/check_mk/data_source_cache/special_aws_status/{hostname}, max_age=MaxAge(checking=0, discovery=90.0, inventory=90.0), simulation=False, use_only_cache=False, file_cache_mode=1)
[ProgramFetcher] Execute data source
Calling: /omd/sites/home/share/check_mk/agents/special/agent_aws_status eu-central-1 eu-west-2 us-east-1 us-east-2 us-west-1 us-west-2
[cpu_tracking] Stop [7f018b856fd0 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.17999999999999994, children_system=0.03, elapsed=0.32999999821186066))]
+ PARSE FETCHER RESULTS
<<<aws_status:sep(0)>>> / Transition NOOPParser -> HostSectionParser
HostKey(hostname='AWS-01', source_type=<SourceType.HOST: 1>) -> Not adding sections: Agent exited with code 1:
HostKey(hostname='AWS-01', source_type=<SourceType.HOST: 1>) -> Add sections: ['aws_status']
Received no piggyback data
+ ANALYSE DISCOVERED HOST LABELS
Trying host label discovery with: aws_status
Trying host label discovery with:
SUCCESS - Found no new host labels
+ ANALYSE DISCOVERED SERVICES
+ EXECUTING DISCOVERY PLUGINS (1)
Trying discovery with: aws_status
SUCCESS - Found no new services
Ich habe hier im Forum & Co nichts gefunden, was mir evtl. hätte helfen können.
Habt ihr noch einen Tipp, was evtl. falsch sein könnte oder was ich noch beachten muss?
Grüße,
Oliver