import jingrow


def execute():
	jingrow.reload_pagetype("Jcloude Settings")
	settings = jingrow.get_single("Jcloude Settings")
	try:
		settings.get_password("jcloude_monitoring_password")
	except jingrow.AuthenticationError:
		settings.jcloude_monitoring_password = jingrow.generate_hash()
		settings.save()
