2009-08-05 16:23:52 +00:00
|
|
|
<?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();
|
|
|
|
|
2009-08-13 06:45:39 +00:00
|
|
|
displayCondResp();
|
2009-08-05 16:23:52 +00:00
|
|
|
|
2009-08-13 06:45:39 +00:00
|
|
|
insertButtons(array('label'=>'Next', id=>'next', 'onclick'=>'loadMainPage("monitor/rmc_resource_define.php")'));
|
2009-08-05 16:23:52 +00:00
|
|
|
|
|
|
|
?>
|