How to use the simplemonitor.get_all_values function in simplemonitor

To help you get started, we’ve selected a few simplemonitor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gleicon / restmq / contrib / system-monitor / View on Github external
def post_data(host, port, queuename):
		params = urllib.urlencode({"queue":queuename, "value":json.dumps(simplemonitor.get_all_values())})

		request = urllib2.Request("http://%s:%s" % (host, str(port)), params)
		f = urllib2.urlopen(request)

		response =

	except urllib2.URLError, err:
		print err
		print "MQ Response: %s" % response


A simple network and host monitor

Latest version published 4 months ago

Package Health Score

72 / 100
Full package analysis

Similar packages