Use this Knowledge Script to check the status of the Dynamic Host Configuration Protocol (DHCP) service and the SNMP MIB variable value for a DHCP object identifier (OID). If the DHCP service is not running or a valve cannot be retrieved for the DHCP OID, an event is raised. If the DHCP service is not running, it can be automatically restarted.
This script requires the Microsoft SNMP service to be running.
DHCP service object
The default interval for this script is Every 30 minutes.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event when DHCP service is down or MIB counter can't be retrieved? |
Set to y to raise an event when the DHCP service is down or the MIB counter cannot be retrieved. The default is y. |
Collect data? |
Set to y to collect data for charts and reports. If enabled, data collection returns:
The default is n. |
Auto-start service? |
Set to y to automatically restart the DHCP service. The default is y. |
Event severity level for service down; restart failed |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the DHCP service is down and AppManager cannot restart the service. The default is 5 (red event indicator). |
Event severity level for service down; restart successful |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the DHCP service is down and AppManager successfully restarted the service. The default is 25 (blue event indicator). |
Event severity level for service down; don’t restart |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the DHCP service is down and the Auto-start service? parameter is set to n. The default is 18 (yellow event indicator). |
Event severity level for SNMP failure |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which an SNMP failure has occurred. The default is 18 (yellow event indicator). |
OID of any DHCP MIB counter |
Provide the object identifier of any DHCP MIB counter you want checked. The default is .1.3.6.1.4.1.311.1.3.1.2.0. |
Community |
Specify the SNMP community string. The default is either the community string entered in AppManager Security Manager or public if no community string has been entered. The default is public. |