6.28 PNPDeviceChange

Use this Knowledge Script to monitor the plug-and-play device list for any device that has been added or removed since the script was last run. This script raises an event if plug-and-play devices (for example, an external modem) are added or removed.

6.28.1 Resource Objects

Windows 2003 Server or later

6.28.2 Default Schedule

The default interval for this script is Every 24 hours.

6.28.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if plug and play devices added or removed?

Set to y to raise an event when a plug-and-play device is added to or removed from the device list. The default is y.

Collect data for devices added or removed?

Set to y to collect data for charts and reports. If enabled, data collection returns the contents of the device list. The default is n.

Event severity when devices added or removed

Set the event severity level, from 1 to 40, to indicate the importance of an event in which a plug-and-play device is added or removed from the device list. The default is 5 (red event indicator).