$resourceCfg->setUser14($_POST['resource_config']['user14']); $resourceCfg->setUser15($_POST['resource_config']['user15']); $resourceCfg->setUser16($_POST['resource_config']['user16']); $resourceCfg->setUser17($_POST['resource_config']['user17']); $resourceCfg->setUser18($_POST['resource_config']['user18']); $resourceCfg->setUser19($_POST['resource_config']['user19']); $resourceCfg->setUser20($_POST['resource_config']['user20']); $resourceCfg->setUser21($_POST['resource_config']['user21']); $resourceCfg->setUser22($_POST['resource_config']['user22']); $resourceCfg->setUser23($_POST['resource_config']['user23']); $resourceCfg->setUser24($_POST['resource_config']['user24']); $resourceCfg->setUser25($_POST['resource_config']['user25']); $resourceCfg->setUser26($_POST['resource_config']['user26']); $resourceCfg->setUser27($_POST['resource_config']['user27']); $resourceCfg->setUser28($_POST['resource_config']['user28']); $resourceCfg->setUser29($_POST['resource_config']['user29']); $resourceCfg->setUser30($_POST['resource_config']['user30']); $resourceCfg->setUser31($_POST['resource_config']['user31']); $resourceCfg->setUser32($_POST['resource_config']['user31']); $resourceCfg->save(); $success = "Updated Resource Configuration."; } } print_header("Environment Resources"); print_window_header("Nagios Resources", "100%", "center"); ?> Nagios resources are used as macros when defining Nagios commands. Text strings which are commonly used are good examples of resources. These include passwords, file paths and usernames. <form name="resource_config[resource_config_form" method="post" action="resources.php"> <input type="hidden" name="request" value="update" /> <table width="100%" cellspacing="10" align="center" border="0">