xcat-core/xCAT-UI/monitor/rmc_event_define.php

30 lines
902 B
PHP
Raw Normal View History

<?php
/*
* rmc_event_define.php
* to define the events for RMC
* the url is: monitor/rmc_event_define.php?
*/
if(!isset($TOPDIR)) { $TOPDIR="/opt/xcat/ui";}
require_once "$TOPDIR/lib/security.php";
require_once "$TOPDIR/lib/functions.php";
require_once "$TOPDIR/lib/display.php";
require_once "$TOPDIR/lib/monitor_display.php";
displayMapper_mon(array('home'=>'main.php', 'monitor'=>'monitor/monlist.php'));
displayTips(array(
"All the conditions and the responses are here;",
"Use \"mkcondition\" and \"mkresponse\" to create new conditions and new responses",
"Select the noderange, select the condition, and the response,",
"then, click \"Save\" to create condition/response associations."
));
displayOSITree();
displayCondResp();
insertButtons(array('label'=>'Next', id=>'next', 'onclick'=>'loadMainPage("monitor/rmc_resource_define.php")'));
?>