Netdata: httpcheck support for HTTP methods (e.g. GET, OPTIONS, HEAD, etc...)

Created on 7 Sep 2018  路  3Comments  路  Source: netdata/netdata

Hey

I'm currently evaluating Netstat for monitoring on our systems and have been quite impressed so far.

We're interested in the new httpcheck plugin in paticular. Is there any way to specify the http method it uses when making the call? We typically used HEAD & OPTIONS instead of GET where possible.

Cheers,
R.

areexternapython

Most helpful comment

Maybe @l2isbad is willing to extend the UrlService so it can be configured with other methods.

Sure :+1:

All 3 comments

Currently, netdata does not support changing the method, the get method is hardcoded, see here:
https://github.com/firehol/netdata/blob/master/python.d/python_modules/bases/FrameworkServices/UrlService.py#L106-L121
While other headers are possible, the method is an exception as of now.
Maybe @l2isbad is willing to extend the UrlService so it can be configured with other methods. Should be easy enough IMO.

Ah cool. No rush or anything, was more just curious.

We were specifically looking at it to do these checks and export them out to Prometheus but we'd also want to add more labels to the metrics so we're continuing to look elsewhere. Great software though!

Maybe @l2isbad is willing to extend the UrlService so it can be configured with other methods.

Sure :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BecomeBamboo picture BecomeBamboo  路  3Comments

eXcalibre picture eXcalibre  路  3Comments

jordanhubbard picture jordanhubbard  路  3Comments

dankott picture dankott  路  3Comments

genrihx2 picture genrihx2  路  3Comments