DHCP metrics check.
lua
noit.module.dhcp
optional
67
\d+
Specifies the port to send DHCP request packets to
required
00:00:00:00:00:00
.+
The hardware address of the host computer
optional
0.0.0.0
.+
The IP address of the host computer
optional
1
^(?:1|8)
The type of DHCP request message to send
Example 5.14. Checking DHCP connection.
This example checks DHCP connection
<noit> <modules> <loader image="lua" name="lua"> <config><directory>/opt/reconnoiter/libexec/modules-lua/?.lua</directory></config> </loader> <module loader="lua" name="dhcp" object="noit.module.dhcp" /> </modules> <checks> <check uuid="79ba881e-ad2e-11de-9fb0-a322e3288ca7" name="dhcp"> <config> <hardware_addr>00:00:00:00:00:00</hardware_addr> <host_ip>10.80.1.2</host_ip> </config> </check> </checks> </noit>