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

42 lines
959 B
PHP

<?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";
?>
<?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();
?>
<div id="condresp">
<?php
displayAssociation();
displayCond("hv8plus06");
displayResp();
?>
</div>
<?php
insertButtons(array('label'=>'Next', id=>'next', 'onclick'=>''));
?>