Ejemplo n.º 1
0
        $resourceCfg->setUser9($_POST['resource_config']['user9']);
        $resourceCfg->setUser10($_POST['resource_config']['user10']);
        $resourceCfg->setUser11($_POST['resource_config']['user11']);
        $resourceCfg->setUser12($_POST['resource_config']['user12']);
        $resourceCfg->setUser13($_POST['resource_config']['user13']);
        $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");
?>