This section details the options in the configuration schema for the DHCP service type.

Properties in the plugin descriptor set default values for:

  • port to 67.

  • hostname to 255.255.255.255 - This is the IP limited broadcast address. Packets will be broadcast to all NICs on the some network segment as the source NIC, and not forwarded by a router. You can also use the IP address of a specific DHCP server.

Table 1. DHCP Configuration Options

<option> Name

Description

Default

Optional

Type

Notes

Parent Schema

hwaddr

Hardware (MAC) Address

N/A

true

N/A

If MAC address is supplied, the plugin will issue a request for the IP address mapped to the MAC address on the DHCP Server. If the DHCP client request packet will be forwarded by a router to a DHCP server in a different subnet, the router must support static allocation.

dhcp

hostname

Hostname

localhost

false

N/A

Hostname of system that hosts the service to monitor. For example: mysite.com

sockaddr

port

Port

A default value for port is usually set for each type of network service by properties in the netservices plugin descriptor.

false

N/A

Port where service listens.

sockaddr

sotimeout

Socket Timeout (in seconds)

10

true

int

The maximum amount of time the agent will wait for a response to a request to the remote service.

sockaddr