2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-11 12:06:24 +00:00
Files
xcat-core/xCAT-rmc/resources/mn/IBM.Condition/CheckDHCPonSN.pm
T
Vinícius Ferrão 6f3d9bb9d1 Add Kea DHCP backend
2026-04-23 02:01:33 -03:00

15 lines
874 B
Perl

#!/usr/bin/perl
$RES::Condition{'CheckDHCPonSN'} = {
Name => q(CheckDHCPonSN),
ResourceClass => q(IBM.Program),
EventExpression => q(Processes.CurPidCount == 0),
EventDescription => q(An event will be generated when the DHCP server is down on the service node. There may be other nodes in this management domain such as HMCs. To exclude them, just change the SelectionString to: "(ProgramName=='dhcpd' || ProgramName=='kea-dhcp4') && NodeNameList >< {'hmc1','hmc2}" where hmc1 and hmc2 are the names for the nodes that you want to exclude.),
RearmExpression => q(Processes.CurPidCount != 0),
RearmDescription => q(A rearm event will be generated when the DHCP server is up on the service node.),
SelectionString => q(ProgramName=='dhcpd' || ProgramName=='kea-dhcp4'),
ManagementScope => q(4),
Severity => q(1),
};
1;