2009-08-05 16:23:52 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* rmc_event_define.php
|
|
|
|
* to define the events for RMC
|
2009-08-18 03:11:36 +00:00
|
|
|
* the url is: monitor/rmc_event_define.php
|
2009-08-05 16:23:52 +00:00
|
|
|
*/
|
2009-09-01 20:25:18 +00:00
|
|
|
if(!isset($TOPDIR)) { $TOPDIR="..";}
|
2009-08-05 16:23:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
|
|
|
|
|
2009-11-05 06:50:40 +00:00
|
|
|
displayMapper(array('home'=>'main.php', 'monitor' =>'monitor/monlist.php', 'RMC Event Setup' => ''));
|
2009-08-05 16:23:52 +00:00
|
|
|
|
|
|
|
displayTips(array(
|
|
|
|
"All the conditions and the responses are here;",
|
|
|
|
"Use \"mkcondition\" and \"mkresponse\" to create new conditions and new responses",
|
2009-08-18 03:11:36 +00:00
|
|
|
"Select the condition, and response to create condition/response association"
|
|
|
|
));
|
2009-11-26 07:31:17 +00:00
|
|
|
echo "<div>";
|
|
|
|
//TODO:one "text input" widget should be put here, to allow the user to input noderange
|
2009-08-05 16:23:52 +00:00
|
|
|
displayOSITree();
|
2009-08-13 06:45:39 +00:00
|
|
|
displayCondResp();
|
2009-11-26 07:31:17 +00:00
|
|
|
echo "</div>";
|
2009-08-05 16:23:52 +00:00
|
|
|
?>
|