[
	{
		"pk": 4,
		"model": "skwissh.graphtype",
		"fields": {
			"date_created": "2012-05-20T10:07:47Z",
			"date_modified": "2012-09-09T09:18:29Z",
			"name": "bargraph",
			"options": "seriesColors: [ \"#7FAE00\", \"#EAA228\", \"#D5383B\", \"#4EA5B5\" ],\r\naxes: {\r\n    xaxis: {\r\n        renderer: $.jqplot.DateAxisRenderer,\r\n        tickOptions: {\r\n            formatString: \"<center>%R<br/>%d %b</center>\",\r\n        },\r\n    },\r\n    yaxis: {\r\n        min:0,\r\n        autoscale: true,\r\n        tickOptions: {\r\n            formatString: \"<center>%.2f @UNITS@</center>\",\r\n        },\r\n    },\r\n},\r\nseriesDefaults: {\r\n    renderer:$.jqplot.BarRenderer,\r\n    shadow: false,\r\n    showMarker: false,\r\n    rendererOptions: {\r\n        animation: {\r\n            speed: 1500,\r\n        },\r\n    },\r\n    markerOptions: {\r\n        show: false,\r\n        size: 0,\r\n    },\r\n},\r\nhighlighter: {\r\n    show: true, \r\n    showLabel: true, \r\n    sizeAdjust: 1,\r\n    tooltipLocation : 'n',\r\n    useAxesFormatters: true,\r\n    tooltipAxes: 'both',\r\n    tooltipSeparator: '',\r\n},\r\ngrid: {\r\n    background: '#F2F2F2',\r\n},\r\ncursor: { \r\n    zoom: true, \r\n    style: 'default',\r\n    show: true,\r\n    constrainZoomTo: 'x',\r\n    constrainOutsideZoom: true,\r\n    showTooltip: false,\r\n},\r\nstackSeries: true,"
		}
	}, {
		"pk": 6,
		"model": "skwissh.graphtype",
		"fields": {
			"date_created": "2012-09-08T20:20:58Z",
			"date_modified": "2012-09-09T09:17:09Z",
			"name": "bargraph_groups",
			"options": "seriesColors: [ \"#7FAE00\", \"#EAA228\", \"#D5383B\", \"#4EA5B5\" ],\r\naxes: {\r\n    xaxis: {\r\n        renderer: $.jqplot.DateAxisRenderer,\r\n        tickOptions: {\r\n            formatString: \"<center>%R<br/>%d %b</center>\",\r\n        },\r\n    },\r\n    yaxis: {\r\n        min:0,\r\n        autoscale: true,\r\n        tickOptions: {\r\n            formatString: \"<center>%.2f @UNITS@</center>\",\r\n        },\r\n    },\r\n},\r\nseriesDefaults: {\r\n    renderer:$.jqplot.BarRenderer,\r\n    shadow: false,\r\n    showMarker: false,\r\n    rendererOptions: {\r\n        animation: {\r\n            speed: 1500,\r\n        },\r\n    },\r\n    markerOptions: {\r\n        show: false,\r\n        size: 0,\r\n    },\r\n},\r\nhighlighter: {\r\n    show: true, \r\n    showLabel: true, \r\n    sizeAdjust: 1,\r\n    tooltipLocation : 'n',\r\n    useAxesFormatters: true,\r\n    tooltipAxes: 'both',\r\n    tooltipSeparator: '',\r\n},\r\ngrid: {\r\n    background: '#F2F2F2',\r\n},\r\ncursor: { \r\n    zoom: true, \r\n    style: 'default',\r\n    show: true,\r\n    constrainZoomTo: 'x',\r\n    constrainOutsideZoom: true,\r\n    showTooltip: false,\r\n},\r\nstackSeries: false,"
		}
	}, {
		"pk": 1,
		"model": "skwissh.graphtype",
		"fields": {
			"date_created": "2012-05-17T18:01:01Z",
			"date_modified": "2012-09-09T09:17:16Z",
			"name": "linegraph",
			"options": "seriesColors: [ \"#7FAE00\", \"#EAA228\", \"#D5383B\", \"#4EA5B5\" ],\r\naxes: {\r\n    xaxis: {\r\n        renderer: $.jqplot.DateAxisRenderer,\r\n        tickOptions: {\r\n            formatString: \"<center>%R<br/>%d %b</center>\",\r\n        },\r\n    },\r\n    yaxis: {\r\n        min:0,\r\n        autoscale: true,\r\n        tickOptions: {\r\n            formatString: \"<center>%.2f @UNITS@</center>\",\r\n        },\r\n    },\r\n},\r\nseriesDefaults: {\r\n    lineWidth:2,\r\n    shadow: false,\r\n    markerOptions: {\r\n        show: false,\r\n    },\r\n    rendererOptions: {\r\n        smooth: true,\r\n        animation: {\r\n            speed: 1500,\r\n        },\r\n    },\r\n},\r\nhighlighter: {\r\n    show: true, \r\n    showLabel: true, \r\n    sizeAdjust: 1,\r\n    tooltipLocation : 'n',\r\n    useAxesFormatters: true,\r\n    tooltipAxes: 'both',\r\n    tooltipSeparator: '',\r\n},\r\ngrid: {\r\n    background: '#F2F2F2',\r\n},\r\ncursor: { \r\n    zoom: true, \r\n    style: 'default',\r\n    show: true,\r\n    constrainZoomTo: 'x',\r\n    constrainOutsideZoom: true,\r\n    showTooltip: false,\r\n},"
		}
	}, {
		"pk": 5,
		"model": "skwissh.graphtype",
		"fields": {
			"date_created": "2012-09-08T17:49:01Z",
			"date_modified": "2012-09-09T09:17:26Z",
			"name": "linegraph_stacked",
			"options": "seriesColors: [ \"#7FAE00\", \"#EAA228\", \"#D5383B\", \"#4EA5B5\" ],\r\naxes: {\r\n    xaxis: {\r\n        renderer: $.jqplot.DateAxisRenderer,\r\n        tickOptions: {\r\n            formatString: \"<center>%R<br/>%d %b</center>\",\r\n        },\r\n    },\r\n    yaxis: {\r\n        min:0,\r\n        autoscale: true,\r\n        tickOptions: {\r\n            formatString: \"<center>%.2f @UNITS@</center>\",\r\n        },\r\n    },\r\n},\r\nseriesDefaults: {\r\n    lineWidth:2,\r\n    fill: true,\r\n    fillAndStroke: true,\r\n    shadow: false,\r\n    markerOptions: {\r\n        show: false,\r\n    },\r\n    rendererOptions: {\r\n        smooth: true,\r\n        animation: {\r\n            speed: 1500,\r\n        },\r\n    },\r\n},\r\nhighlighter: {\r\n    show: true, \r\n    showLabel: true, \r\n    sizeAdjust: 1,\r\n    tooltipLocation : 'n',\r\n    useAxesFormatters: true,\r\n    tooltipAxes: 'both',\r\n    tooltipSeparator: '',\r\n},\r\ngrid: {\r\n    background: '#F2F2F2',\r\n},\r\ncursor: { \r\n    zoom: true, \r\n    style: 'default',\r\n    show: true,\r\n    constrainZoomTo: 'x',\r\n    constrainOutsideZoom: true,\r\n    showTooltip: false,\r\n},\r\nstackSeries: true,"
		}
	}, {
		"pk": 2,
		"model": "skwissh.graphtype",
		"fields": {
			"date_created": "2012-05-17T18:06:27Z",
			"date_modified": "2012-09-09T09:17:38Z",
			"name": "pie",
			"options": "seriesColors: [ \"#7FAE00\", \"#EAA228\", \"#D5383B\", \"#4EA5B5\" ],\r\nseriesDefaults: {\r\n    renderer: jQuery.jqplot.PieRenderer, \r\n    shadow: false,\r\n    rendererOptions: {\r\n        showDataLabels: true,\r\n        sliceMargin: 3,\r\n    },\r\n},\r\nhighlighter: {\r\n    show: true, \r\n    showTooltip: false,\r\n},\r\ncursor: {\r\n    show: false,\r\n},\r\ngrid: {\r\n    background: '#F2F2F2',\r\n},"
		}
	}, {
		"pk": 3,
		"model": "skwissh.graphtype",
		"fields": {
			"date_created": "2012-05-20T10:07:47Z",
			"date_modified": "2012-08-30T11:33:24Z",
			"name": "text",
			"options": ""
		}
	}, {
		"pk": 3,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-31T12:08:16Z",
			"addon_name": "",
			"display_name": "CPU (Usage)",
			"ssh_command": "top -d0.2 -bn2 | grep \"Cpu\"",
			"probe_labels": "CPU 1;CPU 2;CPU 3;CPU 4;CPU 5;CPU 6;CPU 7;CPU 8",
			"use_sudo": false,
			"probe_unit": "%",
			"date_created": "2012-05-17T18:09:01Z",
			"graph_type": 4,
			"python_parse": "output = \";\".join([str(float(100) - float(i.split(',')[3].split(\"%\")[0])) for i in output.splitlines()[-(len(output.splitlines())/2):]])"
		}
	}, {
		"pk": 6,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-29T10:11:26Z",
			"addon_name": "",
			"display_name": "CPU (Wait IO)",
			"ssh_command": "top -d0.2 -bn2 | grep \"Cpu\"",
			"probe_labels": "CPU 1;CPU 2;CPU 3;CPU 4;CPU 5;CPU 6;CPU 7;CPU 8",
			"use_sudo": false,
			"probe_unit": "%",
			"date_created": "2012-08-13T13:31:56Z",
			"graph_type": 4,
			"python_parse": "output = \";\".join([i.split(',')[4].split(\"%\")[0].strip() for i in output.splitlines()[-(len(output.splitlines())/2):]])"
		}
	}, {
		"pk": 4,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-29T12:32:18Z",
			"addon_name": "Ubuntu 12.04",
			"display_name": "Disk Usage",
			"ssh_command": "df -h / | tail -1",
			"probe_labels": "Free space;Used space",
			"use_sudo": false,
			"probe_unit": "%",
			"date_created": "2012-05-17T18:09:45Z",
			"graph_type": 2,
			"python_parse": "used = output.strip().split()[4].strip().replace(\"%\",\"\")\r\navail = 100 - int(used)\r\noutput = \"%s;%s\" % (avail, used)"
		}
	}, {
		"pk": 2,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-29T10:08:49Z",
			"addon_name": "",
			"display_name": "Load",
			"ssh_command": "cat /proc/loadavg",
			"probe_labels": "Load 1min;Load 5min;Load 15min",
			"use_sudo": false,
			"probe_unit": "",
			"date_created": "2012-05-17T18:08:23Z",
			"graph_type": 1,
			"python_parse": "output = \";\".join(output.strip().split()[0:3])"
		}
	}, {
		"pk": 8,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-09-09T10:14:22Z",
			"addon_name": "",
			"display_name": "Memory",
			"ssh_command": "cat /proc/meminfo",
			"probe_labels": "Free memory;Buffers;Used memory;Cached",
			"use_sudo": false,
			"probe_unit": "Mo",
			"date_created": "2012-08-29T08:20:23Z",
			"graph_type": 5,
			"python_parse": "meminfos = dict([(info.split(':')[0].strip(), int(info.split()[1].strip())/1024) for info in output.splitlines()])\r\noutput = \";\".join([str(meminfos['MemFree']), str(meminfos['Buffers']), str(meminfos['MemTotal'] - meminfos['MemFree'] - meminfos['Buffers'] - meminfos['Cached']), str(meminfos['Cached'])])"
		}
	}, {
		"pk": 7,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-31T09:02:39Z",
			"addon_name": "",
			"display_name": "Memory (pie)",
			"ssh_command": "cat /proc/meminfo",
			"probe_labels": "Free memory;Buffers;Used memory;Cached",
			"use_sudo": false,
			"probe_unit": "Ko",
			"date_created": "2012-08-14T08:02:58Z",
			"graph_type": 2,
			"python_parse": "meminfos = dict([(info.split(':')[0].strip(), int(info.split()[1].strip())) for info in output.splitlines()])\r\noutput = \";\".join([str(meminfos['MemFree']), str(meminfos['Buffers']), str(meminfos['MemTotal'] - meminfos['MemFree'] - meminfos['Buffers'] - meminfos['Cached']), str(meminfos['Cached'])])"
		}
	}, {
		"pk": 9,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-30T09:17:37Z",
			"addon_name": "",
			"display_name": "Memory (Swap)",
			"ssh_command": "cat /proc/meminfo",
			"probe_labels": "Free swap;Used swap",
			"use_sudo": false,
			"probe_unit": "Mo",
			"date_created": "2012-08-29T08:42:29Z",
			"graph_type": 4,
			"python_parse": "meminfos = dict([(info.split(':')[0].strip(), int(info.split()[1].strip()) / 1024) for info in output.splitlines()])\r\noutput = \";\".join([str(meminfos['SwapFree']), str(meminfos['SwapTotal'] - meminfos['SwapFree'])])"
		}
	}, {
		"pk": 11,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-09-08T21:00:35Z",
			"addon_name": "",
			"display_name": "Network data",
			"ssh_command": "nstat | grep \"IpExt\"",
			"probe_labels": "Received;Sent",
			"use_sudo": false,
			"probe_unit": "Ko",
			"date_created": "2012-08-29T11:26:06Z",
			"graph_type": 6,
			"python_parse": "bdwth = dict([(info.split()[0].strip(), int(info.split()[1].strip()) / 1024) for info in output.splitlines()])\r\noutput = \";\".join([str(bdwth['IpExtInOctets']), str(bdwth['IpExtOutOctets'])])"
		}
	}, {
		"pk": 10,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-09-09T10:14:15Z",
			"addon_name": "",
			"display_name": "System idle time",
			"ssh_command": "cat /proc/uptime",
			"probe_labels": "Idle;Working",
			"use_sudo": false,
			"probe_unit": "",
			"date_created": "2012-08-29T09:59:16Z",
			"graph_type": 2,
			"python_parse": "uptime = output.strip().split()\r\nuptime.reverse()\r\noutput = \";\".join(uptime)"
		}
	}, {
		"pk": 5,
		"model": "skwissh.probe",
		"fields": {
			"date_modified": "2012-08-11T20:51:08Z",
			"addon_name": "",
			"display_name": "Top",
			"ssh_command": "top -bn1 | head -15",
			"probe_labels": null,
			"use_sudo": false,
			"probe_unit": "",
			"date_created": "2012-05-20T10:09:41Z",
			"graph_type": 3,
			"python_parse": "output = output"
		}
	}, {
		"pk": 1,
		"model": "skwissh.server",
		"fields": {
			"username": "",
			"is_measuring": false,
			"date_modified": "2012-09-09T10:26:04Z",
			"ip": "127.0.0.1",
			"hostname": "Skwissh Django webserver",
			"state": true,
			"date_created": "2012-08-19T18:57:21Z",
			"password": "",
			"probes": [3, 6, 4, 2, 8, 7, 9, 11, 10, 5]
		}
	}
]