Open kikyoar opened 7 years ago
12/15/2016 05:30:43 PM G2ZProxy:_getMonitored():[{'host': u'192.168.3.119', 'metric': u'sitespeed_io.default.summary.www_gszwfw_gov_cn.chrome.native.browsertime.firstPaint.median'}] 12/15/2016 05:30:43 PM G2ZProxy:_getGraphiteData(): url:http://192.168.3.119:8080/render?from=-5minutes&rawData=true&target=192.168.3.119.sitespeed_io.default.summary.www_gszwfw_gov_cn.chrome.native.browsertime.firstPaint.median&format=json 12/15/2016 05:30:43 PM HTTP Error 401: Unauthorized http://192.168.3.119:8080/render?from=-5minutes&rawData=true&target=192.168.3.119.sitespeed_io.default.summary.www_gszwfw_gov_cn.chrome.native.browsertime.firstPaint.median&format=json 0ms 12/15/2016 05:30:43 PM Used config: /etc/zabbix/zabbix_agentd.conf 12/15/2016 05:30:43 PM Loaded params: [('192.168.3.112', 10051)]
can u help me
@kikyoar Looks like you have auth enabled on graphite box. This script currently doesn't support auth. Feel free to add auth support.
@blacked ,Thanks
12/15/2016 05:30:43 PM G2ZProxy:_getMonitored():[{'host': u'192.168.3.119', 'metric': u'sitespeed_io.default.summary.www_gszwfw_gov_cn.chrome.native.browsertime.firstPaint.median'}] 12/15/2016 05:30:43 PM G2ZProxy:_getGraphiteData(): url:http://192.168.3.119:8080/render?from=-5minutes&rawData=true&target=192.168.3.119.sitespeed_io.default.summary.www_gszwfw_gov_cn.chrome.native.browsertime.firstPaint.median&format=json 12/15/2016 05:30:43 PM HTTP Error 401: Unauthorized http://192.168.3.119:8080/render?from=-5minutes&rawData=true&target=192.168.3.119.sitespeed_io.default.summary.www_gszwfw_gov_cn.chrome.native.browsertime.firstPaint.median&format=json 0ms 12/15/2016 05:30:43 PM Used config: /etc/zabbix/zabbix_agentd.conf 12/15/2016 05:30:43 PM Loaded params: [('192.168.3.112', 10051)]
can u help me