added some predefined responses for RMC monitoring

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-06-13 20:30:51 +00:00
parent dc81842370
commit a826a0a0e9
6 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
$RES::EventResponse{'BroadcastEventsAnyTime'} = {
Name => q(BroadcastEventsAnyTime),
Locked => q(0),
Actions => q({[wallEvent,{127},{0},{86400},/usr/sbin/rsct/bin/walleven,3,0,0,0,{},0]}),
};
1;

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
$RES::EventResponse{'DisplayEventsAnyTime'} = {
Name => q(DisplayEventsAnyTime),
Locked => q(0),
Actions => q({[displayEvent,{127},{0},{86400},/usr/sbin/rsct/bin/displayevent admindesktop:0,3,0,0,0,{},0]}),
};
1;

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
$RES::EventResponse{'EmailRootAnyTime'} = {
Name => q(EmailRootAnyTime),
Locked => q(0),
Actions => q({[emailRoot,{127},{0},{86400},/usr/sbin/rsct/bin/notifyevent root,3,0,0,0,{},0]}),
};
1;

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
$RES::EventResponse{'EmailRootOffShift'} = {
Name => q(EmailRootOffShift),
Locked => q(0),
Actions => q({[emilRoot,{62,62,65},{61200,0,0},{86400,28800,86400},/usr/sbin/rsct/bin/notifyevent root,3,0,-1,0,{},0]}),
};
1;

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
$RES::EventResponse{'LogOnlyToAuditLogAnyTime'} = {
Name => q(LogOnlyToAuditLogAnyTime),
Locked => q(0),
Actions => q({}),
};
1;

View File

@ -0,0 +1,8 @@
#!/usr/bin/perl
$RES::EventResponse{'MsgEventsToRootAnyTime'} = {
Name => q(MsgEventsToRootAnyTime),
Locked => q(0),
Actions => q({[msgEvent,{127},{0},{86400},/usr/sbin/rsct/bin/msgevent root,3,0,0,0,{},0]}),
};
1;