Adding and editing a PowerShell active monitor
Windows PowerShell is a scripting language and command-line shell that system administrators can use to manage Windows operating systems. For more information on PowerShell, please visit the Microsoft web site.
The PowerShell active monitor provides a platform for performing a wide variety of monitoring tasks through direct access to script component libraries, including the .NET Framework. For more information, see PowerShell active monitor script examples.
: WhatsUp Gold uses a 32-bit (i.e. x86) PowerShell engine. Therefore, only 32-bit PowerShell snap-ins are supported and 64-bit only snap-ins will not function properly. Snap-ins usable in both 32-bit and 64-bit operating systems are configured for 64-bit systems by default and must be manually configured for 32-bit PowerShell engine to function properly with WhatsUp Gold.
If you are using additional pollers with WhatsUp Gold, PowerShell must be installed and any desired snap-ins must be registered identically on all poller machines for any PowerShell performance monitors, active monitors, and actions to function properly. Associated errors resulting from failed monitors will appear in the WhatsUp Gold Status Center. Errors resulting from failed actions will appear in the WhatsUp Gold Event Viewer.
: This feature is available with WhatsUp Gold Premium, ProView, TotalView, and TotalView Plus Editions only. To update your license, visit the WhatsUp Customer Portal.
To add a new PowerShell active monitor:
- From the WhatsUp Gold web interface, go to . The Monitor Library dialog appears.
- Click the tab. The Active Monitor list appears.
- Click . The Select Active Monitor Type dialog appears.
- Select , then click . The Add PowerShell Active Monitor dialog appears.
- Enter or select the appropriate information:
- . Enter a unique name for the active monitor. This name displays in the Active Monitor Library.
- . (Optional) Enter additional information about the monitor. This description displays next to the monitor in the Active Monitor Library.
- . Enter the length of time WhatsUp Gold attempts to connect to the selected device. When the time you enter is exceeded without connecting, a timeout occurs and WhatsUp Gold stops trying to connect to the SMTP server. This is considered a failed connection.
: Although the default timeout is 60 seconds, you are discouraged from using a timeout longer than 10 seconds. Use the shortest timeout possible.
- . Select this check box to execute the script using the Windows credentials for the affected device. For additional information, see Using the Credentials Library.
- . Enter your monitor code here.
- Click to save changes.
- After configuring an active monitor in the Active Monitor Library, add the monitor to devices.
To edit an existing PowerShell active monitor:
- From the WhatsUp Gold web interface, go to . The Monitor Library dialog appears.
- Click the tab. The Active Monitor list appears.
- Select the monitor you would like to edit, then click . The Edit PowerShell Active Monitor dialog appears.
- Enter or select the appropriate information:
- . Enter a unique name for the active monitor. This name displays in the Active Monitor Library.
- . (Optional) Enter additional information about the monitor. This description displays next to the monitor in the Active Monitor Library.
- . Enter the length of time WhatsUp Gold attempts to connect to the selected device. When the time you enter is exceeded without connecting, a timeout occurs and WhatsUp Gold stops trying to connect to the SMTP server. This is considered a failed connection.
: Although the default timeout is 60 seconds, you are discouraged from using a timeout longer than 10 seconds. Use the shortest timeout possible.
- . Select this check box to execute the script using the Windows credentials for the affected device. For additional information, see Using the Credentials Library.
- . Enter your monitor code here.
- Click to save changes.