Skip to content
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

Curl Plugin not available to blocked_metrics #54

Open
obenziane21 opened this issue Sep 16, 2017 · 6 comments
Open

Curl Plugin not available to blocked_metrics #54

obenziane21 opened this issue Sep 16, 2017 · 6 comments

Comments

@obenziane21
Copy link

obenziane21 commented Sep 16, 2017

I have setup a curl plugin and was not be able to capture it from the /opt/collectd-plugins/cloudwatch/config/blocked_metrics, Does anyone know if there are any additional steps to take ?

LoadPlugin curl

<Plugin curl> <Page "google_main_site"> URL "http://google.com"; Digest false VerifyPeer false VerifyHost false MeasureResponseTime true MeasureResponseCode true <Match> Regex "<strong>google</strong>" DSType "GaugeAverage" Instance "google_site" </Match> </Page> </Plugin>

@yimuniao
Copy link
Contributor

Is there any error in /var/log/collectd.log?

@obenziane21
Copy link
Author

I'm pulling my hair out why this is happening, it works on one machine and not this one

[2017-11-30 19:46:36] [AmazonCloudWatchPlugin][cloudwatch.modules.configuration.confighelper] Fetched asg name as NONE [2017-11-30 19:46:36] [AmazonCloudWatchPlugin][cloudwatch.modules.collectd_integration.dataset] collectd.get_dataset() not found, using static dataset configuration, some multivalue metrics might have incorrect names. [2017-11-30 19:46:36] [AmazonCloudWatchPlugin][cloudwatch.modules.client.putclient] No proxy server is in use [2017-11-30 19:46:36] [AmazonCloudWatchPlugin][cloudwatch_writer] Initialization finished successfully. [2017-11-30 19:46:36] Initialization complete, entering read-loop. [2017-11-30 19:46:36] rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds.

@yimuniao
Copy link
Contributor

yimuniao commented Dec 1, 2017

From the log, there is no error.
Have both machines same OS version and Collectd version?

@obenziane21
Copy link
Author

Both running on Ubuntu 14.04.5 LTS and collected 5.4.0-3ubuntu2.2

The working one is on us-west-2 and the non working on eu-west-2

@yimuniao
Copy link
Contributor

yimuniao commented Dec 1, 2017

Could you paste full of the collectd.log? And I remember the is a "debug" flag, could you enable it?
and restart collectd?

@obenziane21
Copy link
Author

I've go the metrics going on the second node. thanks

Sorry for asking this question. Is there a way to create an general alarm regardless what the host is from cloudwatch ? it seems like collected does have a way to filter by tag or group host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants