From a4684336edfc510e8e5b7a7752cd5c531ab6c26f Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Thu, 10 Nov 2016 20:46:22 +0100 Subject: Push all numerical snmp-data to graphite Fixes #126 --- templating/templating.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templating/templating.py') diff --git a/templating/templating.py b/templating/templating.py index 7b91806..340c54b 100755 --- a/templating/templating.py +++ b/templating/templating.py @@ -8,7 +8,7 @@ endpoints = "read/oplog read/snmp read/switches-management public/config public/ objects = dict() def getEndpoint(endpoint): - r = requests.get("http://gondul-front:/api/%s" % endpoint, auth=('demo','demo')) + r = requests.get("http://gondul-front:/api/%s" % endpoint) if (r.status_code != 200): raise Exception("Bad status code for endpoint %s: %s" % (endpoint, r.status_code)) return r.json() -- cgit v1.2.3