WhatsUp UserGuide
WhatsUp UserGuide
v.11
User Guide
Upgrading the database schema..........................................................................................................................23 Configuring the web interface to use IIS............................................................................................................26
ii
Organizing Device Groups ......................................................................................................................................80 Using Dynamic Groups.............................................................................................................................................81 Editing multiple devices with Bulk Field Change............................................................................................82 Using Acknowledgements ......................................................................................................................................84 Credentials Overview ................................................................................................................................................85 Creating Custom Context menus .........................................................................................................................86
Dependencies overview...........................................................................................................................................89
Setting Dependencies.................................................................................................................................................. 90 Viewing Dependencies ................................................................................................................................................ 91
IPX support....................................................................................................................................................................91
Testing an Action ..................................................................................................................................................... 111 Deleting an Action................................................................................................................................................... 111 Assigning an Action to a device ......................................................................................................................... 112 Assigning an Action to a monitor ...................................................................................................................... 112 Creating a Blackout Period................................................................................................................................... 114 Percent Variables ..................................................................................................................................................... 115 About Action Policies ............................................................................................................................................. 118
Creating an Action Policy ..........................................................................................................................................118 Editing Action Policies................................................................................................................................................119 Implicit Action Policy ..................................................................................................................................................119 About Acknowledgements.......................................................................................................................................119 Example: getting an E-Mail Alert when the web server fails .........................................................................120
iii
Assigning Active Monitors.................................................................................................................................... 126 Deleting Active Monitors ...................................................................................................................................... 128 Group and Device Active Monitor reports...................................................................................................... 129 Example: monitoring network printer toner levels ..................................................................................... 129 Expression Editor ..................................................................................................................................................... 130
Script Syntax..................................................................................................................................................................130 Script Syntax: Expect=Keyword ..............................................................................................................................131 Script Syntax: Flow Control Keywords ..................................................................................................................132 Script Syntax: Send=Keyword..................................................................................................................................133 Script Syntax: SimpleExpect Keyword ..................................................................................................................134 Send to disconnect examples..................................................................................................................................135 Regular Expression syntax ........................................................................................................................................136 Text string example.....................................................................................................................................................138 Using Telnet to determine "Expect on Connect" string..................................................................................138
iv
Enabling and disabling an Active Discovery task......................................................................................... 178 Testing Active Discovery tasks............................................................................................................................ 179
List of full reports ..................................................................................................................................................... 201 Printing, exporting, and saving full reports.................................................................................................... 203 Changing the report date range ........................................................................................................................ 204 Adding report to your list of favorites.............................................................................................................. 205 Using Recurring Reports ....................................................................................................................................... 205
Configuring Recurring Reports ...............................................................................................................................205 Testing Recurring Reports.........................................................................................................................................206
About the SNMP Agent or Manager ................................................................................................................. 234 About the SNMP Management Information Base (MIB) ............................................................................ 234 About SNMP Object Names and Identifiers ................................................................................................... 235 About the SNMP operations................................................................................................................................ 236 About SNMP Security ............................................................................................................................................. 236 Using the Trap Definition Import Tool ............................................................................................................. 236
vi
Import utility.............................................................................................................................................................. 240 Back up the database ............................................................................................................................................. 241 Data Source................................................................................................................................................................ 241 Maps to transfer ....................................................................................................................................................... 241 Report of Migration Results ................................................................................................................................. 242 Finished ....................................................................................................................................................................... 242
Monitoring Microsoft SQL Server....................................................................................................................... 248 Why use it? ................................................................................................................................................................. 249
How to get started using SQL Server Monitor ...................................................................................................249 Configuring an SQL Server Monitor.......................................................................................................................250 Example: SQL Server Monitor ..................................................................................................................................253
CHAPTER 21 Troubleshooting
Database Performance Tool ................................................................................................................................ 259 Troubleshooting your network........................................................................................................................... 260
Actions to take ..............................................................................................................................................................260
WhatsUp Gold engine message ......................................................................................................................... 261 Connecting to a Remote Desktop ..................................................................................................................... 261 False negative returned from WMI monitors................................................................................................. 261 Telnet Tool.................................................................................................................................................................. 262 Re-enabling the Telnet protocol handler........................................................................................................ 262
Index
vii
1995-2006 Ipswitch, Inc. All rights reserved. Ipswitch WhatUpProfessional 2007 User Guide This manual, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by such license, no part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the expressed prior written consent of Ipswitch, Inc. The content of this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Ipswitch, Inc. While every effort has been made to assure the accuracy of the information contained herein, Ipswitch, Inc. assumes no responsibility for errors or omissions. Ipswitch, Inc. also assumes no liability for damages resulting from the use of the information contained in this document. IMail, the IMail logo, WhatsUp, the WhatsUp Professional logo, WS_FTP, the WS_FTP logos, Ipswitch, and the Ipswitch logo are trademarks of Ipswitch, Inc. Other products and their brands or company names, are or may be trademarks or registered trademarks, and are the property of their respective companies.
ix
CHAPTER 1
Sending feedback................................................................................................. 6
X
Polling/Listening
WhatsUp Gold actively polls devices to determine their status. You can use pre-configured monitors, or create your own, to poll services on a device, and to passively listen for messages sent across the network. Monitors can also report on device performance by checking and reporting on device resources, such as disk, CPU , and interfaces.
Actions/Alerts
Depending on the responses received from polling, or the types of messages received, WhatsUp Gold fires actions to notify you of any change on your network. Actions speed problem resolution through options such as alerting via email or pager, or restarting a service.
Map icons no longer shift when a shared icon is deleted. You can now click-and-drag multiple map icons. Devices are added to maps in more obvious locations. Customer feature requests and defect fixes: An issue has been corrected that could cause Interface Utilization to fill up the database rapidly. Group Access Rights have been improved. The capability to back-up the database on an upgrade has been added to the WhatsUp Gold install. The capability to turn on the web interface has been added to the WhatsUp Gold install. The capability to manually set an interface speed in data collection has been added. You now can create device states that last as long as 7 days. The removal of an extra zero (0) from the Interface Speed graph. The removal of the requirement for users to acknowledge Passive Monitor State Changes. Issue was corrected that prevented users from exporting reports or playing web alarms through SSL.
User Guide. This guide describes how to use the application out-of-the-box. It is also useful if you want to read about the application before installing. To view or download the User Guide, select Help > WhatsUp Gold User Guide or go directly to the guide on the Ipswitch Web site http://www.ipswitch.com/WUG11Guide. Translation Guide. This guide describes how to use the translation features to create a localized version of the WhatsUp Gold web interface. To view or download the Translation Guide, go to the Ipswitch Web site http://www.ipswitch.com/WUG11Trans. WhatsUp Gold Forum (http://www.ipswitch.com/forums/messages.aspx?ForumID=14). Provides a resource for you to interact with other WhatsUp Gold users to share helpful information about the application. The Ipswitch Knowledge Base (http://support.ipswitch.com/kb/). Search the Ipswitch Knowledge Base of technical support and customer service information.
Sending feedback
We value your opinions on our products and welcome your feedback. To provide feedback on existing features, suggest new features or enhancements or to suggest ways to make our products easier to use, fill out the product feedback form http://www.ipswitch.com/feedback.
CHAPTER 2
Installing or upgrading..................................................................................... 10
X
Database Utilities................................................................................................ 15
X
Installation overview
Installing Ipswitch WhatsUp Gold v11 or WhatsUp Gold Premium Edition v11 is straightforward, though the Release Notes are required reading due to possible Service Pack and database issues. The path you take to a successful installation may differ, depending on the following:
First-time install
If you are installing Ipswitch WhatsUp Gold v11 or WhatsUp Gold Premium Edition v11 for the first time, the installation program does the following with no actions required of you. Installs the database server, which is Microsoft Server 2000 Desktop Engine (MSDE 2000). 7
Creates a WhatsUp database in the MSDE instance. Creates a system Data Source Name (DSN), which tells WhatsUp Gold where to find the WhatsUp database. Installs the Ipswitch WhatsUp Gold v11 or Ipswitch WhatsUp Gold v11 Premium Edition application. Read the System Requirements (on page 8 ), then follow the steps in Installing or Upgrading (on page 10 ).
X X X X
Upgrade Notes
If you are upgrading from a previous version of WhatsUp Gold or WhatsUp Professional, the installation program detects an existing WhatsUp database and configures the new version to use that database, provided the following conditions are met: MSDE 2000 is installed on the computer on which you are installing WhatsUp Gold or WhatsUp Gold Premium Edition. The WhatsUp database exists on the database server. A DSN is configured for the WhatsUp database. If these conditions are not met, the installation program will notify you and direct you to perform a manual updgrade of the database. Read the System Requirements (on page 8 ), then follow the steps in Installing or Upgrading (on page 10 ), and if necessary, configure the database manually as shown in Upgrading the Database Schema.
X X X X
If you have an alternative database setup, after completing the WhatsUp Gold installation, you'll need to upgrade the WhatsUp database, as described in Upgrading a Non-Default Database Configuration (on page 23 ).
X X
Custom Database
Though we recommend that you use the default database (MSDE 2000), if you need to either use another database, or you need to run the database on another computer, you can set it up manually after the WhatsUp Gold or WhatsUp Gold Premium Edition installation has completed. For more information, see Alternative Database Setups (on page 17 ).
X X
Windows Scripting Host is installed with the Windows operating system. To verify your version, run cscript.exe at a command prompt. If you need to update Windows Scripting Host, go to the Microsoft Scripting Site (http://www.microsoft.com/downloads/results.aspx?freetext=update&productID=478EA 476-5552-479E-A200-2C33FFD43F24&sortCriteria=date&displaylang=en).
Important: To install and activate the e-commerce version of the application, you will need an active internet connection.
Internet connectivity for activation and for running the web interface
CD-ROM drive Network Interface Card (NIC) To use pager, SMS, or beeper actions, a local modem and phone line is required (Ipswitch WhatsUp Gold v11 does not support modem pooling). Text to Speech Actions require a sound card configured to use SAPI v5.1, which comes with Windows 2003 and Windows XP operating systems. SAPI v5.1 can be downloaded from the Microsoft Speech site (http://www.microsoft.com/speech/download/sdk51/).
Installation notes
Read the Release Notes for information about potential installation issues, such as the following: Windows XP (SP2) Errors. This Service Pack enables firewall settings that can interfere with Microsoft SQL Servers ability to listen on the network. MSDE 2000, Release A issues. Security policies may interfere with the installation of MSDE and Microsoft Data Access Components (MDAC). Some services may need to be stopped before installing Release A.
Installing or upgrading
The installation program is similar whether you are installing WhatsUp Gold Standard Edition (or WhatsUp Gold Premium Edition) for the first time or upgrading a previous installation. Steps that apply only to a first-time installation, or only to an upgrade, will be identified as such. To install or upgrade WhatsUp Gold: 1 2 Log in to an Administrator account. Start the installation program: If you purchased a WhatsUp CD-ROM, insert the CD-ROM into the appropriate drive. If it does not run automatically, click Start, select Run, then enter the CD path followed by AutoRun.exe For example: D:\AutoRun.exe If you downloaded WhatsUp Gold Standard Edition or WhatsUp Gold Premium Edition from our Web site, run the downloaded installation application. 3 Read the Welcome screen. The Welcome screen recommends that you disable any running antivirus software, estimates how long it takes to install the application, and displays a button that, when clicked, displays the release notes. If you have an activation key, click Activate and follow the on-screen instructions to activate the product. If you do not have an activation key, the setup program installs a trial version of the software that expires in 30 days, if not activated. After completing the installation, each time you start the application, you will have an opportunity to purchase a key, as described in Activating the WhatsUp Application (on page 12 ) in the application Help.
X X
Click Next to continue. 4 5 Read the license agreement. Select the appropriate option, then click Next. Select the default install directories for MSDE 2000, then click Next (For first-time installation only).
10
CHAPTER 2 Installing and Configuring WhatsUp Gold Note: If you want to customize your database setup, you need to first complete the installation, then manually configure your database as described in Alternative Database Setups (on page 17 ) in the application Help.
X X
The application and data files will be installed in default directories. If you want to change the locations, click the browse buttons to find and select a different directory.
Important: Make sure that you have a large capacity drive selected for data storage. Data files can grow up to the 2 GB MSDE limit.
Select the installation directory for the WhatsUp application files. The default path is C:\Program Files\Ipswitch\WhatsUp. We recommend that you use the default path. Some users prefer to put application files on a partition separate from the operating system, which is usually installed on the C: drive, to isolate the application from an operating system crash.
Choose whether to backup your current WhatsUp Professional database. (For upgrade installation only.) 8 Choose how to handle existing Web and Report files. (For upgrade installation only.) If you have previously installed WhatsUp Gold, you may already have Web and Report files stored in your installation directory. You can choose to either delete them or back them up during the install. Backup is recommended. 9 If a sound card is installed and it has SAPI-compatible drivers, the install program asks whether you want to install Text to Speech capabilities. If you select No, you can always return and install Text to Speech at a later date. 10 Choose whether to enable the web server during install and enter a port for this installation.
Note: This dialog will not be displayed during an upgrade if you have already enabled the WhatsUp web server in an older version of WhatsUp.
11 Click Install to install the WhatsUp Gold application files. WhatsUp Gold gives you the option to go back and change options or cancel prior to completing the installation.
Important: When you use an alternative database setup, you will need to run the database upgrade scripts when installing a new release of WhatsUp Gold. The installation program will warn you if it detects a non-default database. For information on running the upgrade scripts, see Upgrading the Database Schema (on page 23 ) in the application Help.
X X
11
If you choose to launch now, the next screen asks you to activate the application. For more information, see Activating the WhatsUp Application (on page 12 ) in the application Help.
X X
After the activation screen, you are introduced to the Discover Devices (on page 29 ) wizard, which lets you set options on how to discover your network. If you choose to postpone these steps, click the Cancel.
X X
When the WhatsUp Gold polling engine is not running (the service is stopped) this icon appears:
If this is the case, you need to restart the Ipswitch WhatsUp Gold Engine (on page 261 ) service. If the polling engine is not running, then WhatsUp Gold is not connected to the database, and nothing in the application will function properly.
X X
For more information about licensing, go to the Ipswitch customer support center (http://support.ipswitch.com/).
You can also run the Ipswitch WhatsUp Gold v11 executable, then select Remove.
13
MSDE Database
The WhatsUp Gold installation program installs the MSDE 2000 database server and configures the WhatsUp database. As described on the MSDE Home page, Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) is the free, redistributable version of SQL Server thats ideal for client applications that require an embedded database, and for Web sites serving up to 25 concurrent users. For more information, see the Microsoft Web site (http://www.microsoft.com/sql/msde/). You can find a copy of the MSDE 2000 installation program on: WhatsUp Gold CD-ROM Microsoft Developer Network (http://www.msdn.microsoft.com). Search on MSD to find information on MSDE and the latest downloads.
Note: Microsoft has issued a patch to MSDE 2000. Go to the Microsoft Web site (http://www.support.microsoft.com/?kbid=815495) for more information and for instructions on how to download this patch.
14
Database Utilities
You can use the WhatsUp database utilities to back up and restore the database and to perform database maintenance and troubleshooting. To access the utilities, from the main menu in the WhatsUp Gold console, select Tools > Database Utilities.
If you want to back up the SQL database to a mapped drive, you may need to change the Logon settings for the MSSQL$Whatsup service (or your customized SQL service.) The account must have write access to the mapped drive for the backup to be successful. To do this, go to Administrative Tools > Services, double click on MSSQL$WHATSUP and select the Log On tab on the Properties dialog.
Note: This is a complete backup and restore, so any change that you make after the backup will be overwritten if a restore process is done.
To access this feature: From the main menu in the WhatsUp Gold console, select Tools > Database Utilities > Back up SQL Database or Tools > Database Utilities > Restore SQL Database.
Database tools
The database tools let you manage index fragmentation and purge expired data.
15
To access the tools: 1 From the main menu in the WhatsUp Gold console, select Tools > Database Utilities > Tools. The Database Tools dialog opens.
The "validation" phase executes the SQL Server commands "DBCC CHECKCONSTRAINT," "DBCC CHECKCATALOG," and "DBCC CHECKDB." These commands check the integrity of all constraints in the database, check for consistency in and between system tables in the database, and check the allocation and structural integrity of all the objects in the database. More information can be found in Microsoft's "Books On-Line" for SQL Server (http://www.msdn.microsoft.com/library/default.asp?url=/library/enus/startsql/getstart_4fht.asp). The "compacting" phase executes the SQL Server command "DBCC SHRINKDATABASE," which shrinks the size of the data files in the database. (Note that no compression is used; the database is simply compacted by removing empty space.) More information can be found in Microsoft's "Books On-Line" for SQL Server (http://www.msdn.microsoft.com/library/default.asp?url=/library/enus/startsql/getstart_4fht.asp).
17
Run the database on a computer separate from the one on which you will install WhatsUp Gold. This can be either of the supported databases. Either of these options requires manually configuring the database, so you need to know how to set up your particular database program.
Supported databases:
MSDE 2000 Microsoft SQL Server 2000
Caution: When you use an alternative database setup, you will need to run the database upgrade scripts when installing a new release of WhatsUp Gold. For information on running the upgrade scripts, see Upgrading the Database Schema (on page 23 ).
X X
How you complete these three steps depends on which database server you will use and whether the database server is on the same computer as WhatsUp Gold or on a separate computer. The following sections outline the steps required given different scenarios.
18
b) Restore the backup to your SQL Server. From the directory where the you saved the backup file, run: osql -E -S <sql server name> -Q restore database whatsup from disk=<the .dat file> with Move whatsup_dat to <location for the mdf file>, Move whatsup_log to <location for the ldf file> Substitute the <...> with your values: <sql server name> = machine name\instance name <the .dat file> = the backup file from the previous step (step a) <location for the mdf file> = where you would like to keep the mdf file (data file used by the database) <location for the ldf file> = where you would like to keep the ldf file (log file used by the database) For example: osql -E -S rra997\mySqlServerInstanceName -Q "restore database whatsup from disk='D:\WhatsUpcleanDB.dat' with Move 'whatsup_dat' to 'D:\Program Files\Microsoft SQL Server\MSSQL$mySqlServerInstanceName\Data', Move 'whatsup_log' to 'D:\Program Files\Microsoft SQL Server\MSSQL$mySqlServerInstanceName\Data'" 2 Remove service dependencies. You need to remove the Ipswitch WhatsUp Engine services dependence on MSSQL$WHATSUP, which is the MSDE instance created by the Ipswitch WhatsUp Gold v11 installation. To do this: a) At the DOS prompt, navigate to the directory where Ipswitch WhatsUp Gold v11 is installed, and enter: Nmservice /Service:
Note: On some operating systems, you may have to reboot the machine before continuing.
b) At the DOS prompt, enter: NmService /Service:<MS SQL Server Service Name> For example: NmService /Service:MSSQL$mySqlServerInstanceName c) Go to Control Panel > Administrative Tools > Services, then start the Ipswitch WhatsUp Engine Service. 3 Configure the Data Source Name (DSN). a) On the computer on which WhatsUp Gold was installed, click Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC). b) Click the System DSN tab. Click Configure to modify the WhatsUp DSN. In the Server box, enter: <machine name\sql server instance name> For example: computer123\mySqlServerInstanceName c) Click Finish. 19
Launch the application. Select Start > Programs > Ipswitch WhatsUp Gold v11 > WhatsUp Gold. - or Select Start > Programs > Ipswitch WhatsUp Gold v11 > WhatsUp Gold Task Tray Application.
e) In the final screen of the DSN wizard, click the Test Data Source button. Make sure the test is successful. 4 Run NMCONFIG.EXE. This program makes sure that WhatsUp Gold has the account information needed to log on to the database. The NMCONFIG dialog opens. a) Enter the DSN name created in the previous step. b) Enter a Username ("sa" is the default.) c) Enter the Password for this Username (the one you specified in Step 5). The default password is: wug_sa 5 Remove service dependencies. You need to remove the Ipswitch WhatsUp Engine services dependence on MSSQL$WHATSUP, which is the MSDE instance created by the WhatsUp Gold installation. To do this: a) At the DOS prompt, navigate to the directory where Ipswitch WhatsUp Gold v11 is installed, and enter: Nmservice /Service:
Note: On some operating systems, you may have to reboot the machine before continuing.
b) At the DOS prompt, enter (for the second time:) NmService /Service: c) Go to Control Panel > Administrative Tools > Services, then start the Ipswitch WhatsUp Engine Service. 6 Launch the application. Select Start > Programs > Ipswitch WhatsUp Gold v11 > WhatsUp Gold. - or Select Start > Programs > Ipswitch WhatsUp Gold v11 > WhatsUp Gold Task Tray Application.
From the Services Control manager, start MSSQL$WHATSUP service - (Control Panel > Administrative Tools > Services). 4 Restore the backup to your SQL Server. osql -E -S <sql server name> -Q restore database whatsup from disk=<the .dat file> with Move whatsup_dat to <location for the mdf file>, Move whatsup_log to <location for the ldf file> Substitute the <...> with your values: <sql server name> = machine name\instance name <the .dat file> = the backup file from the previous step (step 1) <location for the mdf file> = where you would like to keep the mdf file (data file used by the database) <location for the ldf file> = where you would like to keep the ldf file (log file used by the database) For example: osql -E -S rra997\mySqlServerInstanceName -Q "restore database whatsup from disk='D:\WhatsUpcleanDB.dat' with Move 'whatsup_dat' to 'D:\Program Files\Microsoft SQL Server\MSSQL$mySqlServerInstanceName\Data', Move whatsup_log' to 'D:\Program Files\Microsoft SQL Server\MSSQL$mySqlServerInstanceName\Data'" 5 Configure the Data Source Name (DSN). a) On the computer on which WhatsUp Gold was installed, click Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC). b) Click the System DSN tab. Click Configure to modify the WhatsUp DSN. In the Server box, enter: <sql server instance name> For example: whatsup c) Select SQL Server Authentication. You can specify sa (the default) as the LoginID, and its password as an alternative. You can use any LoginID and Password with rights to the WhatsUp database. d) Click Finish. 6 Run NMCONFIG.EXE. This program makes sure that WhatsUp Gold has the account information needed to log on to the database. The NMCONFIG dialog opens. a) Enter the DSN name (from Step 5). b) Enter a Username ("sa" is the default.) c) Enter the Password for this Username (the one you specified in Step 5). The default password is: wug_sa osql -E -S <sql server name>
22
Launch the application. Select Start > Programs > Ipswitch WhatsUp Gold v11 > WhatsUp Gold. - or Select Start > Programs > Ipswitch WhatsUp Gold v11 > WhatsUp Gold Task Tray Application.
Run the upgrade scripts, by running the Visual Basic (VB) script which runs each script in sequence, or by running each script individually.
Warning: The upgrade scripts should be run one-time only. If an upgrade script is interrupted or errors occur, you must restore your database before running the scripts a second time.
23
VB Script: In the command prompt window, execute the following VB script: cscript upgrade_db.vbs -E -S <sql server name> -d whatsup where the argument, sql server name, specifies the machine name\database instance name.
Caution: osql arguments are case-sensitive (-d is not the same as -D)
For example: cscript upgrade_db.vbs -E -S computer123\MySqlServerInstanceName -d whatsup The VB script executes the appropriate upgrade scripts, based on your existing WhatsUp Gold database schema file, by using information in the Transform.ini file. To manually run the upgrade scripts: The alternative to using the VB script is to manually execute the upgrade scripts on the SQL Server machine, as follows: 1 The Upgrade scripts are found in a sub-directory within the DB Scripts directory named Upgrade Scripts. Using Notepad or a similar text editor, open each file whose name starts with "upgrade_from_" and use the Edit > Replace function to replace every occurrence of the <DATAFILESPATH> placeholder with the path to the DB Scripts directory.
Note: Some of the upgrade scripts will have no placeholders; some will have more than one. No trailing slash should be used in the replacement string (For example, "upgrade_form_").
Save each updated file. 2 Run the scripts by using SQL Server Enterprise Manager (available on the SQL Server CD), or the osql command.
Determine your current WhatsUp Pro database schema version by executing the following statement in the SQL Server Query Analyzer: SELECT sValue FROM DatabaseProperty WHERE sName = 'Version' The value returned should be a six digit number. Next, in Notepad, open the Transform.ini file (it is located in the Transforms folder) and locate, in the [VERSIONS] section, the "Version" entry that corresponds to that six-digit number. (For example, 24
102203 corresponds to Version 10.) Make a note of that number, which we'll refer to as the 'starting transform number'. Next, look in the [SCRIPTS] sections, and make a note of all the "Transform" entries beginning with the one after your 'starting transform number'. In our 102203 example, that would be 10 + 1, or 11. These are the upgrade scripts that you need to run manually: in our example, that would be all the scripts starting with "Transform11" and ending with the highest number script. Transform11=upgrade_from_102202_to_103001.sql Transform12=upgrade_from_103001_to_103002.sql Transform13=upgrade_from_103002_to_103003.sql Transformnn=upgrade_from_nnnnnn_to_nnnnnn.sql (last script)
Using the SQL Server Query Analyzer, select File > Open and load each script, then press F5 to execute, in order.
Caution: Manually executing the incorrect scripts, or executing the correct scripts out of order, will cause database schema errors. Be sure you have a backup before attempting this manual execution.
Osql command: Run the scripts in the order shown above using the osql command as follows: osql -E -S <sql server name> -d whatsup -1 <script name.sql> {-o errorlog.txt} For example: osql -E -S computer123\MySqlServerInstanceName -d whatsup -1 upgrade_from_101206_to_102.sql -o errorlog.txt Following successful execution of the scripts, your WhatsUp Gold database will be upto-date and ready for use by Ipswitch WhatsUp Gold v11. All data previously collected should be present within the updated database. 3 To confirm that the database upgraded successfully, check the "Current Version" as you did in step 2, and confirm that it matches the version number in the last transform script. Select Control Panel > Administrative Tools > Services and verify that the status of Ipswitch WhatsUp Engine service is Started. If it is not, start the service. You can now launch NMConsole.exe or start the application via the program shortcuts.
25
Set authentication for the virtual directory you set up in Step 6. To do this: a) In IIS Manager, right-click the virtual directory and select Properties, then select the Directory Security tab. b) In Anonymous access and authentication control, click Edit. Enable anonymous access and set the username and password to a local administrator. Click OK.
For IIS version 6: In IIS Manager, select Web Service Extensions and allow Active Server Pages.
10 Restart IIS. 11 Set the internal web server to port 8080, or disable it. If you disable the WhatsUp web interface, ensure that the reports still load correctly. 12 Restart the services and applications you stopped in Step 1. 13 Connect to the WhatsUp web interface by opening a browser and entering the following address in the Address box: http://ip_address - or - hostname:port/NmConsole/
Important: A known issue with IIS: when adding a device through IIS, you will receive an "error scanning device" error. There are two ways to address this problem. Please refer to the KB article, WhatsUp Gold - Error scanning device XXXXX. Probable cause is it does not exist when using IIS as the Web Server http://support.ipswitch.com/kb/WP-20061130-es01.htm, http://www.."
27
28
CHAPTER 3
Device groups are created based on subnetworks found during the scan. You may notice that some group folders may be empty. This is because a subnet was found, but the devices in that subnet were not scannable or you chose not to monitor them.
Scan types
There are four options for device discovery. They are: SNMP SmartScan: SmartScan discovers devices by reading SNMP information on your network. This scan type uses an SNMP enabled router to identify both network devices and subnetworks. We recommend using SmartScan as your primary Discovery method.
29
IP Range Scan: WhatsUp Gold scans a range of IP addresses and finds the devices that respond to one or more of the chosen services. The Discover Devices wizard prompts you to enter a range of the IP addresses in your network. You should use IP Range Scan if SNMP is either unavailable or does not meet your needs. Network Neighborhood: Scanning a Network Neighborhood creates a list of devices by scanning the Windows network to which your computer is connected, and finding the other systems on the network. Use this type of scan if you only want to discover Windows devices. Hosts File Import: WhatsUp Gold imports devices from the systems Hosts file, which is a text file that lists host names and their IP addresses on a network. For small networks, the Hosts file is an alternative to DNS. The Hosts file may also be called a host table by some TCP/IP vendors. For a step-by-step example of how to Discover devices, see Example: discovering devices (on page 31 ).
X X
30
To discover devices: 1 Select File > Discover Devices. The New Device Discovery Wizard appears.
Select SNMP SmartScan as the method for scanning your network, then click Next. The SNMP SmartScan settings dialog opens.
In the SNMP enabled router box, enter the IP address of the SNMP enabled router you want to use for this scan. 4 In the SNMP read communities box, enter the proper read community string for that router. If an incorrect string is entered, WhatsUp Gold will be unable to scan the network. Additional community strings may be entered, separated by commas, if there are multiple SNMP enabled devices on your network that use different strings.
31
Optionally, select the Windows credential that you want to use during discovery. These credentials are configured in the Credentials Library, and store Windows authentication information (username and password) for those devices that require a logon for discovery or monitoring. Click the Browse (...) button next to this box to access the Credentials Library. You can select a specific credential, select All to try all credentials that are configured or select None to ignore those devices that require you to log on. The credential that is successful is associated with each device. 5 Click the Advanced button if you want to change the scans default timeouts in milliseconds, retry counts, and scan depth.
Click to select the Limit scan to IP class of root device option if you want to limit the scan to the network class (A, B, or C) defined by the IP address of the root device. If the IP address is within the network class of the root device, the scan proceeds. Otherwise, the scan skips to the next IP address. Click to select the Resolve host names option if you want to populate the list of discovered devices with host names in addition to IP addresses. Click OK to save changes and return to the SNMP SmartScan settings dialog.
32
Click Next. The Active/Performance Monitors to Scan dialog opens. Select the type of Active Monitor(s) and Performance Monitor(s) you want to use in this scan process. Lets select Ping and HTTP as our Active Monitors and Disk Utilization as our Performance Monitor to be used in the scan process.
The Ping monitor polls the device on a regular basis to establish whether it is Up or Down. By default, WhatsUp Gold sends a ping command to each viable IP address in the range configured during the first section of this wizard. If the device responds, WhatsUp Gold scans for the monitors listed on this dialog. If the device does not respond, discovery moves on to the next IP address. You can select Use comprehensive discovery to have device discovery scan each IP address for all of the selected monitors without first sending the ping command to the device. Discovery takes longer if this option is selected.
Note: If you want a Ping monitor created for the devices found in discovery, you must select Ping as an active monitor to scan even if you have cleared the Use comprehensive discovery option. Note: If a device only has one interface, WhatsUp Gold intentionally does not add the Interface Active Monitor during discovery. Doing so with the Ping Active Monitor would be redundant.
The HTTP monitor polls a web server (if one is discovered) on the device on a regular basis to establish if it is Up or Down.
Tip: To see how a monitor is configured, you can go to the Active Monitor Library (Configure > Active Monitors), select a monitor, then click Edit.
The Disk Utilization monitor monitors and reports on the available disk space for the selected device. Data collected is displayed in the Disk Utilization Report. 7 Click Next. The Device Discovery displays the estimated remaining scan time and the scans progress. You can cancel the Device Discovery by clicking Stop. 33
When the Discovery is over, the Devices to Monitor window opens, listing all of the devices just discovered. Note that if any of the devices have already been entered into the database, a shortcut to the device will be created in the device list. To add all of the devices to the database, click Next. To remove specific devices to be monitored from this list, clear the checkbox next to the device you want to remove.
Note: Additional Active Monitors and Performance Monitors that are already in the database will not be added to devices.
Click Next. The Action Policy Selection dialog opens. For more information about Action Policies, see the About Action Policies (on page 118 ) section. 10 Complete the remaining screens in the wizard.
X X
The Results summary shows the number of selected new devices, number of active and performance monitors, whether or not an Action Policy is applied, and the number of selected device shortcuts. 11 Click Finish to begin monitoring the devices. A progress bar appears while devices are added to the database, then the Device View opens. For more information about Device Views, see About the Device View (on page 43 ).
X X
Note: If some device group folders are empty, it is due to the fact that although a subnet was found, the devices in the subnet were either not scannable, or you chose not to monitor them.
34
Enter the IP address or host name for the device into the box. Optionally, click Advanced, to set any of the Active Monitor scan, Performance Monitor scan, and other options. For more information, see the Help. Optionally, select Add device immediately without scanning to add a device without scanning for the device. This immediately adds a "bare-bones" device, generically categorized as a workstation.
Note: Any monitors for which the Use comprehensive discovery option is selected will be checked when the device is added.
35
Click OK to add the device. If the device already exists in another group, you will get a message to that effect. If you want to add a short cut for the device in this new group, click Yes. The Device Properties dialog opens.
You can either accept the default Properties populated when you added the device, or modify them. If you accept them, click OK. The new device icon appears in the Map View.
For more information about the Device Properties dialog, see Learning about the Device Properties (on page 62 ).
X X
36
The remaining steps are the same as those used in steps 3-5 of the Example: manually adding a device to a device group (on page 34 ).
X X
37
38
39
CHAPTER 4
41
Console overview
The following is a breakdown of the main features found on the WhatsUp Gold console.
3 4
The WhatsUp Gold Toolbar. The icons on this toolbar change according to the view you are currently using. Additional toolbar icons can be enabled for the Map view by selecting View > Toolbars. Device Group Tree. This is a list of all device groups created through WhatsUp Gold. When you perform a discovery scan, WhatsUp Gold creates a top level folder for that scan. All discovered subnetworks are created in subgroups, but can be organized, deleted, or renamed to fit your needs. View pane. This pane displays the selected device group based on the view from the tabs below (Device View or Map View). Device Types Groups. Click the Basic or Advanced tab to view the device types contained in the group selection. These types can be dragged into the view pane to create a new device based on the selected device type. View selectors. Choose the way you want to view your device groups. Each of these views are explained in detail later in this chapter. Device View. This view provides an overview of each device and subgroup in a selected device group. Map View. This view shows a graphical representation of the devices and subgroups in a selected device group.
Polling Indicator Icons. These icons indicate the current state of the poll engine.
Polling is enabled
Polling is disabled
42
Database Size Indicator Icon. This icon shows the current size of your database. The color and shape changes according the database size thresholds: Green - 49% and below. Yellow - 50% to 74% Red - 75% and above.
Each device's icon provides information about its device state and the state of the monitors associated to that device. In addition, the Status column indicates which specific monitor is down and the duration of the interruption. When the entry in the Device list is a group folder, the Status column shows the number of devices in the group with a breakdown of how many devices are in each device state.
43
44
The map above was created after an SNMP Device Discovery Scan. It shows the relationship between the different subnetworks that are connected to each other via the network structures depicted here.
45
Try the different functions on the Arrange menu until you are satisfied with the device layout. Be aware that there is no undo option for the arrange tool.
For example: To clean up a map after completing Discovery, try the following display options: 1 2 Select a device group, then click the Map View tab. Right-click in the Map View, then select Display > Clip Device Names. This removes the domain part of the device name and shows only the host name. 3 Select all devices in the view by clicking and dragging a selection box around all devices. Then, from the Arrange menu, select Distribute > Device Icons in Rows. If you have a large set of devices or want to represent a topology specific to your network, you can also use the graphics annotations (such as lines, text, circles) and attached lines to create custom map views. You can select object(s) in the map, right-click and select Lock Position from the menu. Lock Position keeps an object from moving as you move other items around, or when adding devices to the map. If you want an object to be able to change positions on the map, remove the Lock Position selection. It is very useful to lock images you may place in the background, or text you want to protect.
Tip: See the WhatsUp Gold Help for more information about how to use specific features of the Map View, including grouping, grid lines and annotations, and other features.
To use an Annotation (Draw) tools: 1 2 In the Map View toolbar, click an Annotation (Draw) icon to make it the active tool. Drag the cursor onto a map to create a line, rectangle, circle, polygon, text, file image, or network cloud.
46
To change Annotation (Draw) tool properties, such as border width and color, select the annotation, then click Properties from the right-mouse menu.
Router 1 shows a connecting link (see "Connecting links" on page 187 ) to device RRA and this link is currently up. Also shown are eight unconnected links (on page 187 ), all of which represent interfaces on the router. One of the unconnected links is disabled.
X X X X
JMA is a workstation that shows two unconnected links that are currently up. These are Ping and FTP monitors, found under Device Properties > Active Monitors.
47
RRA is an FTP Server that is currently down and shows five unconnected links, two of which are down. By default, links can be rendered in one of three colors: Green indicates a service (such as, but not limited to, Interface) that is up. This includes services that have not yet been polled. Red indicates a service that is down. Gray indicates a service listed in the devices Active Monitors list, but not currently monitored. Orange indicates that the device is currently in maintenance mode.
b) Drag the cursor to another device and click to create a link. 2 Automatically, during device discovery when using SNMP SmartScan (Click File > Discover Devices > SNMP SmartScan)
Note: The Interface service must be included in the scan.
Automatically, when you right-click a device, then click Properties > Active Monitors > Discover.
Note: When you use one of the automatic discover options, particularly when discovering interfaces on a router or switch, you need to enter the SNMP community string in the appropriate scan dialog. This lets the scan identify all the interfaces on the device. If scanning a specific device (from the Device Properties > Active Monitors dialog), with the device selected, right-click Properties, then select Credentials. In the SNMP v1/v2/v3 credentials box, select the Public Read Community. Click Active Monitors, then click Discover. When creating links manually, you are always creating a connected link. If there was an unconnected link for the service, it will be replaced by the connected link. Both connect and disconnect skips the dialog if there is only one active monitor on the device because it assumes you meant that monitor.
48
connection between the two devices. The true connection between the two devices is done with Link lines (on page 47 ).
X X
To draw an attached line: 1 2 3 In Map View, right-click a device. The context menu opens. Click Attach > Attach to. A line displays next to the curser. Click the device icon you want to attach to. WhatsUp Gold draws an attached line between the two devices.
Note: The root device can attach to up to five other devices.
49
50
CHAPTER 5
For example, if your WhatsUp Gold host is named monitor1.ipswitch.com, then the web address will be: http://monitor1.ipswitch.com:80.
Note: When you use the default port number (80), you do not have to include the port number in the address.
There are two default users on the Web server: Administrator Username: admin Password: admin Guest Username: guest Password: <password box left blank> By default, the web server is disabled in the console. You have the option to enable the web server during installation, or on the console by going to Configure > Program Options > Web Server. Select Enable web server on port. For more information, see About Web Security (on page 57 ).
X X
52
From the Go menu, you can navigate to the areas you will use most in WhatsUp Gold, including your customized Home workspace views; your monitored devices list; Network Tools; the configuration of the Passive, Active, and Performance Monitor libraries; and the WhatsUp Gold Help. The web interface is organized into three areas: Home Devices Reports
You can access each of these areas by: Clicking on an icon from the Go menu. Selecting one of the web interface tabs.
53
54
55
56
57
Select Enable web server on port: to start the server, then clear the option to stop the server. 4 Click OK to save your changes. You can change the port that the server runs on by changing the port number next to the Enable web server on port: option.
58
HKEY LOCAL MACHINE\Software\Microsoft\Microsoft SQL Server\WHATSUP\MSSQLServer\LoginMode=0 3 4 Restart the MSSQL$WHATSUP service. Specify a username and password for WhatsUp Gold to use when connecting to MSDE: a) Go to Control Panel > Administrative Tools > Data Sources and select the System DSN tab. b) Select the WhatsUp DSN and click Configure. The Configuration wizard appears. c) Verify that the fields in the first dialog are correct and click Next. d) On the second dialog, verify that the With SQL Server authenitication using login ID and password entered by the user option is selected. On this same dialog specify user=sa and password=wug_sa and click Next. e) On the third dialog, ensure that the first option is selected and WhatsUp appears in the drop-down menu and click Next. f) Continue to click Next until you come to the final dialog, and then click Finish. 5 6 Stop IIS. Create a virtual directory in IIS named NmConsole which points to <WhatsUp Gold install path>\HTML\NmConsole\. Go to Windows Control Panel > Administrative Tools > Internet Information Services. Right-click on Default Web Site and choose New > Virtual Directory. We strongly recommend that you name this new directory NmConsole. 7 Enable Parent Paths for the default web site (to support use of the relative paths used to navigate in the WhatsUp web interface). a) Go to Control Panel > Administrative Tools > Internet Information Services. b) In the IIS Manager, expand Web sites, then right-click on the newly created NmConsole virtual directory and choose Properties. c) On the Virtual Directory tab, click Configuration. d) On the Options tab, select Enable parent paths. Click OK. 8 Set authentication for the virtual directory you set up in Step 6. To do this: a) In IIS Manager, right-click the virtual directory and select Properties, then select the Directory Security tab. b) In Anonymous access and authentication control, click Edit. Enable anonymous access and set the username and password to a local administrator. Click OK. 9 For IIS version 6: In IIS Manager, select Web Service Extensions and allow Active Server Pages. 10 Restart IIS. 11 Set the internal web server to port 8080, or disable it. If you disable the WhatsUp web interface, ensure that the reports still load correctly. 12 Restart the services and applications you stopped in Step 1.
59
13 Connect to the WhatsUp web interface by opening a browser and entering the following address in the Address box: http://ip_address - or - hostname:port/NmConsole/
Important: A known issue with IIS: when adding a device through IIS, you will receive an "error scanning device" error. There are two ways to address this problem. Please refer to the KB article, WhatsUp Gold - Error scanning device XXXXX. Probable cause is it does not exist when using IIS as the Web Server http://support.ipswitch.com/kb/WP-20061130-es01.htm.
60
CHAPTER 6
Managing Devices
In This Chapter
Device overview.................................................................................................. 61
X X
Using Acknowledgements.............................................................................. 84
X
Device overview
In WhatsUp Gold, devices are virtual representations of resources (computers, servers, hubs, etc.) that are connected to your computer through a LAN (Local Area Network), a wireless network, or even over the Internet. WhatsUp Gold watches these devices through the network connection. When those network resources cannot be reached by WhatsUp Gold, the device is considered down and an action can be configured to fire.
Device Services
WhatsUp Gold associates Active Monitors with devices on your network. Active monitors query the network services installed on a device and then wait for a response. These monitors query the services running on a network resource, checking to make sure that the FTP server, web server, email server, etc., is up and responding. Active Monitors include DNS, SNMP, Telnet, Ping, TCPIP, and NT Service. If a response is either not received or is not what is expected, the service is considered down. If the query is returned as expected, the service is considered up. If any one service on a device is down, then the device as a whole is considered down.
61
For a more information about service monitors, see Active Monitors Overview (on page 123 ).
X X
The indicators in the Display Name column show the current state of the items in this group. Routers is a dynamic group. Device NorthPoint is a server that is currently up. The icon shows that this device is also in another device group. Device HRA is a workstation that is currently up. Device ASA is an HP Device (router) that is up, but one of the interfaces (E3) is not responding. Device JMA is a workstation that is currently in maintenance mode. Device RRA is a workstation that is currently up. Its icon shows that this device is also in another device group. Device JTA is a workstation that is currently responding to polls, but it has a monitor (FTP) that is down. Device Hub 1 is in an unknown status because the device has not been polled. In this case, it is due to a down dependency set on the Router.
62
Display name. An identifying name for the current device. This name is populated during discovery, but can be changed by the user at any time. Changing the name will not change how the device is polled, only how it is displayed in WhatsUp Gold. Polling type. Select the type of polling you want WhatsUp Gold to use for this device. ICMP (TCP/UDP) IPX NetBIOS
Note: If NetBIOS is selected, the Host Name box must contain a valid NetBIOS name. If IPX is selected, the Address box must contain a valid IPX address. If NetBIOS or IPX is selected, you cannot monitor TCP/IP services on this device.
Poll using. Select if you want WhatsUp Gold to use the IP address or the Host name (DNS) of the device for polling. Host name (DNS). This should be the official network name of the device if the polling method is ICMP. The network name must be a name that can be resolved to an IP address. If the polling method is NetBIOS or IPX, this must be the NetBIOS or IPX name. Address. Enter an IP or IPX address. Additional Network Interfaces. Click this button to configure an additional Network Interface for the current device. Device Type. Select the appropriate device type from the pull-down menu. The icon displayed will represent the device in all views. 63
For more information, see Performance Monitor Overview (on page 159 ).
X X
64
Click Add to configure a new Active Monitor. Select an Active Monitor and click Edit to change the configuration. Select an Active Monitor and click Remove to remove the monitor from the device. On the WhatsUp Gold console, you can click Discover to have WhatsUp Gold scan the device for Active Monitors on the device. For more information, see Active Monitors Overview (on page 123 ).
X X
65
This dialog displays all Passive Monitors configured for this device. Click Add to configure a new Passive Monitor. Select a Passive Monitor, then click Edit to change the configuration - or Double-click a Passive Monitor to edit the configuration. Select a Passive Monitor, then click Remove to remove the monitor from the device. For more information, see Passive Monitor Overview (on page 151 ).
X X
66
Select a policy from the Apply this Action policy pull-down menu. You can also create a new, or edit an existing action policy by clicking the Browse button next to the pull-down menu box. Configured alerts appear in the Apply individual actions list, displaying the action type that is to be fired and the state change that will trigger the action. You may have multiple actions on a single device. This dialog displays all Actions configured for this device. Click Add to configure a new Action. Select an Action, then click Edit to change the configuration - or Double-click an Action to edit the configuration. Select an Action, then click Remove to remove the action from the device. Removing the action from the list also deletes all records for this action (on this device) from the Action Log. For more information, see About Actions (on page 93 ).
X X
67
Devices that are SNMP manageable devices appear on the map view with an icon with a white star in the top right corner.
Windows credentials. Select the Windows credential to connect to this device. Click the Browse (...) button to browse the credentials library. SNMP v1/v2/v3 credentials. If the Identify devices via SNMP option was selected during discovery (or if an SNMP discovery was performed) the correct SNMP credential was used during the discovery process, and if the device is an SNMP manageable device, then the correct credential is selected automatically. If any of these conditions are not met, None is selected. Device Object ID (OID). The SNMP object identifier for the device. This identifier is used to access a device and read other SNMP data. For more information, see Credentials Overview (on page 85 ).
X X
68
Polling
Poll interval. This number determines how often WhatsUp Gold will poll the selected device. Enter the number of seconds you want to pass between polls. Up dependency. Click to configure additional options, based on when another device is operational, that determine when the selected device is polled. Down dependency. Click to configure additional options, based on when the selected device is operational, that determine when other devices are polled.
Maintenance
Use this section of the dialog to manually set the device Maintenance state, or schedule the maintenance state for a certain time period. Any device placed in Maintenance mode will not be polled, but it remains in the device list with an identifying icon. By default, the maintenance state is represented by an orange background color. Force this device into maintenance mode now. Select this option to put the selected device in maintenance mode. Clear the option to resume polling the device. Recurring maintenance times. This box displays all scheduled maintenance times for the device. Click Add to schedule a new maintenance time for the device. Select an entry, then click Edit to change a scheduled time.
69
Select an entry, then click Remove to delete a scheduled time. For more information, see Polling Overview (on page 87 ) and Dependencies Overview (on page 89 ).
X X X X
70
When you select the new menu item, the associated command is launched with the arguments that were included in the device's custom menu configuration.
Customize the menu on this device (don't use device type menu). Select this option to create and/or modify a context menu for this device. This will override any separate context menu that has already been created for the device type of the device. Menu list. This box displays the commands that are currently configured for the device. After an item has been configured, it appears context (right-click) menu. When you click the menu item, the menu item is executed. Click Add to add a new menu item. Select an item, then click Edit to change the settings. Select an item, then click Remove to remove it from the list.
Important: Menu items configured in the console are not visible in the web interface. Custom links created in the web interface are not visible here in the console.
71
After a Custom Link has been configured and added to the Device Status workspace page, it appears in the Device Custom Links report on the Device Status page for the selected device. For more information, see Adding workspace reports to a Device Status workspace (on page 214 ).
X X
72
Click Add to add a new custom link. Select a custom link in the list, then click Edit to change the settings. Select a custom link in the list, then click Remove to remove it from the list.
Important: Custom links created in the web interface are not visible in the console. Menu items configured in the console are not visible in the web interface.
73
Manually add devices. To manually add a new device: 1 In the Device view, right-click, then select New Device. The Add New Device dialog opens.
2 74
Enter the IP address or hostname for the device you want to add.
3 4
Click Advanced to select a number of additional options for which to scan the device. If you want to add a device without scanning, select Add device immediately without scanning. This immediately adds a "bare-bones" device, generically categorized as a workstation. 5 Click OK to save changes. The WhatsUp Gold attempts to resolve the IP address or hostname, then scans that device for Active Monitors. When the scan is complete, Device Properties dialog opens, allowing you to further configure the device as needed.
3 4
Click Additional Network Interfaces. The Add Network Interfaces dialog opens. Click Add. The Add Network Interfaces dialog opens.
5 6
Enter the network information for the new interface. Click OK to return to the General section.
75
To change the default network interface on a device: 1 2 3 4 In the General section of Device Properties, click Additional Network Interfaces. On the Network Interfaces dialog, select the interface you want to make the default. Click Set Default. Click OK to return to the General section.
Use the following options: Click Add to add a new device attribute. The Add Attribute dialog opens. Select a device attribute in the list, then click Edit to change the settings. Select a device attribute in the list, then click Remove to remove it from the list.
4 5
Enter information in the Attribute name and Attribute value boxes. Click OK to save changes.
76
Enter the note in the Notes box. Notes. The first line of the notes box displays information about when the device was added to the database. If viewing the notes on a shortcut, the date and time the device was added to the database is displayed. You can customize the notes with any information you want to include about the device. For example, you may want to record historical information about a device, physical location information, or perhaps notes relating to the actions configured for the device.
Note: There is no automatic word wrap. Add a return to display information in the dialog without requiring you to scroll to view it.
77
To change a device name: 1 2 In Device view, right-click a device. In the context menu, click Properties > General. In the General section of Device Properties, enter the new name in the Display Name box. 3 Click OK to save changes.
Click the tab at the bottom of the pane to switch from Device Types (Basic) to Device Types (Advanced). You can select a device type in the Device Properties General dialog on the console or web interface. For more information about selecting a specific device types for existing devices, see About General Device Properties (on page 63 ).
X X
78
79
Map View
The Map View is based on the device group folders, meaning that you will have a different map for each device group. If a folder contains a subfolder, you can double-click on the folder in the map view to display the map in the subfolder.
Discovery
During discovery, device groups are created for each subnetwork that is found on the network that was scanned. At the top level of the My Network tree, the entire scan is contained in a folder identifying the type of scan that was made and the date the scan was made. Devices that are already in the database are added to the new scan tree as a shortcut to the original device reference. This is only to relay that there are more than one reference in the My Network tree, as you configure devices by clicking either the original reference icon or the shortcut. Functionally, they serve the same purpose and display the same device state change.
Device State
Each folder in the My Network tree has a device state indicator on the folder icon. This indicator shows the worst state across all of the devices contained in that folder. All monitors on all devices are up. At least one monitor is down.
80
All of the Dynamic Group Examples are active, so if you have devices that meet the criteria, you will see the device displayed within the group. In the web interface, the dynamic group display is refreshed every 2 minutes. A group is also refreshed when you select it. To view or edit the criteria for a dynamic group, right-click the group name, then select properties.
Note: Dynamic groups on the web interface do not follow group access rights. Anyone with the ability to view the device group that a dynamic group is in can access that dynamic group. However, only devices that the user has the permission to view appear in the group.
81
To configure dynamic groups: 1 In the WhatsUp Gold web interface, right-click on the device view, then select New Dynamic Group. The Dynamic Group dialog opens. 2 Enter a Display name for the group, enter the group Description, and enter an SQL query in the Filter box that identifies the devices you want to appear in that group. 3 Click OK to add the group to the device list. SQL validation occurs as soon as you click OK. If the filter fails, an error message appears. In addition to the pre-configured dynamic groups, we have provided several sample filters for you to create some very interesting dynamic groups.
Tip: You can learn more about the database structure by downloading the database schema file on the WhatsUp Gold support page (http://www.ipswitch.com/Support/whatsup_professional/index.asp).
82
Select the field you want to change. The following items can be modified through Bulk Field Change. Credentials Polling Interval Maintenance Mode Maintenance Schedule (web interface only) Device Type Action Policy Up Dependency Down Dependency Notes Attribute Performance Monitors Active Monitor Active Monitor Properties Passive Monitor (web interface only) Passive Monitor Properties (web interface only) 83
3 4
Enter the configuration information that you want set. Click OK to save changes.
Using Acknowledgements
When a device state changes, regardless of any action that has been placed on the device, WhatsUp Gold uses the Acknowledgement feature to make you aware that the state change occurred. The name of the device name appears in bold in the Device List and on a black background in the Map View.
After the device is in Acknowledgement mode, it will remain so until you actively acknowledge it.
Note: Acknowledging a device state change does not keep that device from firing actions. To stop a device from firing actions, you must put the device into maintenance mode.
84
To acknowledge a state change: Select the device or devices you want to acknowledge, right-click, then click Acknowledge.
Credentials Overview
The Credentials system stores login or community string information for Windows (WMI Active Monitors and WMI Performance Monitors) and SNMP devices in the WhatsUp Gold database. The system supports SNMP v 1, 2, and 3. Credentials are configured in the Credentials Library (found on the web interface menu at Go > Configure > Credentials Library) and used in several places throughout the application. They can be associated to devices in Device Properties > Credentials, or through the Credentials Bulk Field Change option. 85
A device needs SNMP credentials applied to it before SNMP-based Active Monitors will work. Similarly, NT Service Checks must have Windows credentials applied.
Click to select the Customize the menu on this device (don't use device type menu) option. 4 Click Add. The Add Menu Item dialog opens. 5 Enter information in the Display name, Command, and Arguments boxes. 6 Click OK to save changes. The custom menu is added to the device's context menu.
86
CHAPTER 7
About Polling
In This Chapter
Polling overview ................................................................................................. 87
X X
Polling overview
Polling is the active watching, or monitoring, of your network by WhatsUp Gold. This is done in a variety of ways, depending on the service monitors you have configured on your devices. The default polling method is done through Internet Control Message Protocol (ICMP). The default polling interval for WhatsUp Gold is 60 seconds. A small amount of data is sent from the WhatsUp Gold computer across the network to the device it is watching. If the device is up, it echoes the data back to the WhatsUp Gold computer. A device is considered down by WhatsUp Gold when it does not send the data back.
This is useful if you want to monitor a device that has a dynamic IP address instead of an address assigned to that device. You will need to choose Poll using Host name so the DNS will be able to find the device on the network.
88
Dependencies overview
By default, WhatsUp Gold polls all devices and active monitors in your device list, unless you manually turn off polling for the system as a whole, or at the device and monitor level. The dependency feature gives you the ability to avoid turning off polling to devices, and instead makes polling dependant on the status of another device's active monitor(s) in your database. Setting dependencies on one device's active monitors will place another device up or down depending on the type of dependency you configure. There are two types of dependencies: Up Dependency can be thought of as describing that something is behind something else. The dependant device will only be polled if the device "in front" of it is up. Down Dependency can be thought of as describing that something is in front of something else. The dependant devices in front will not be polled unless the device further down the line is down. Example If you make devices behind a router, up dependant on the router's ping active monitor, those devices will not be polled unless that router's ping attempts are successful. Should the router's ping active monitor fail, the devices behind the router will be placed in the unknown state. Without the dependency, the devices behind the router would fire off actions when they become unreachable due to the router's failed ping attempts. With the dependency, only actions on the router will fire.
89
Setting Dependencies
There are two ways to set dependencies in WhatsUp Gold: Using Device Properties Double-click on a device in My Network view (View > Device View) to display Device Properties, and click the Polling Icon. Click either the Up Dependencies... or the Down Dependencies... button to bring up the Device Dependencies dialog and configure the up or down dependency. Using the Map View In My Network view, go to View > Map View. Right-click on a selected device and select Set Dependencies and either Set Up Dependency on or Set Down Dependency on. The cursor changes to the Set Dependency arrow. Click on any device in the current group to set the dependency. Selected Display > Polling Dependency Arrows to view the dependency between the two devices. In the Map View, you are not able to set dependencies across groups. However, you can make shortcuts to the devices you want to set dependencies on in a group, and set the dependencies there.
90
Viewing Dependencies
After you have set up your dependencies, you can view dependency lines in the Map view, as long as the devices appear in the same group. If the devices are not in the same group, you will have to refer to the Polling section of Device Properties to view the dependencies.
In the graphic above, the devices have an up dependency on the router, and the router has a down dependency on the hub. If the router's active monitors were to fail, the hub would be polled, and the devices behind the router would not be polled. When the router's active monitors are successful, the hub is not polled, but the devices behind the router are.
IPX support
To poll IPX devices, Microsoft's NWLink IPX/SPX Compatible Transfer Protocol must be installed and running on the WhatsUp Gold console (the system on which you installed WhatsUp Gold). To add the IPX protocol: 1 2 Open the Network applet in the Windows Control Panel. If you are using Windows NT, in the Select Network Protocol dialog box, select Microsoft, then select the IPX/SPX-compatible Protocol and follow the online instructions. - or If you are using Microsoft Windows 2000 or XP, in the Select Network Component dialog box, select Microsoft, then select the IPX/SPX-compatible Component and follow the online instructions.
91
92
CHAPTER 8
Using Actions
In This Chapter
About Actions ...................................................................................................... 93
X X
About Actions
When a device or monitor state change occurs, WhatsUp Gold can perform an action to try to correct the problem, notify someone of the state change, or launch an external application. For example, you can set up an action that sends you an e-mail alert when your web server device is down. You can configure actions on a single device or monitor, or define an Action Policy to use across multiple devices or monitors. WhatsUp Gold provides the following action types: Beeper Action. Activate a beeper. Pager Action. Send a message to a pager. Program Action. Run another program (executable) to take some action. Email Action. Send an SMTP mail message. Winpop Action. Display a message in a pop-up window on a Windows NT system. 93
SMS Action. Send a Short Message Service (SMS) notification to a pager or cell phone. Service Restart Action. Stop or restart a Windows NT system. Syslog Action. Send a message to a host that is running a Syslog server. Text to Speech Action. Send a text-to-speech notification to a speaker. Sound Action. Sound an alarm by playing a sound file on the WhatsUp Gold console. Active Script Action. Allows you to write either VBScript or JScript code to perform a check on a device. If the script returns an error code, the monitor is considered down. Be aware that Ipswitch does not support the scripts that you create, only the ability to use them in the Script Action. Web Alarm. Sound an alarm by playing a sound file on the WhatsUp Gold web interface.
Do not rely on sound actions when there is not someone around to hear the notification. Sound notifications are safe to use in almost any situation, but is not the best choice for items that need to be monitored overnight. If the device states do not fit what you need, change them, or add new ones. You may want to add device states for longer periods of downtime. Perhaps creating a Down at least 60 mins state, and sending an escalated message to show that the device is still down after an hour. Action policies (on page 118 ) Action Policies are easier to manage than lists of actions built on a device.
X X
Whenever possible, it is a good idea to use action policies over actions configured for a single device. That way, you can reuse the work you put into the list, and can keep better watch over the actions that are being fired. Visual notifications are usually enough for most of the devices on your network.
94
Unless the device is vital to the operations of the business or office, the state change color and shape should be enough to let you know what is going on with your monitored devices. If you want to be notified if any or all of the monitors on a device goes down, assign the action to the device. If you are concerned with specific monitors on a device, assign the action to the monitor itself. Remember that if you assign the action to both the monitor and the device, both actions will fire if the monitor goes down.
From this dialog, you can: Create a new action. Click New. After the action has been created, it can be associated to one or multiple devices or monitors. You can create the following types of actions to send a message or take an action when the status of a device or monitor changes. Beeper Sound Pager
95
Program Service Restart SMS SMTPMail Syslog Text to Speech WinPopup Web Alarms Action Script Make changes to an action. Select the action you want to modify and click Edit. Changes made here effect each instance of the action. Copy an action. To create a copy of an action so you can base a new action on the setup information of an existing one, select the action and click Copy. You can then edit the new copy as needed. Remove an Action from the Action Library and devices and monitors. To remove an Action from both the Action Library and any device or monitor to which it is assigned, select the action, then click Delete. This is a global delete of the selected action; the action is removed from any action policy, device, or active monitor to which the action is associated. If you need to removed an action from a specific action policy, device, or monitor, open the properties for the policy, device, or monitor and delete it there. This removes only the specified instance of that action; the action remains in the Action Library and on other devices to which it is assigned.
Note: Be aware that when you remove an action from the Action Library, you are removing that action from all action policies, as well as all devices and monitors that the action is assigned to. In addition, all statistics relating to that action are also deleted from the database.When you first open the Action Library, if you have not yet defined an Action, you will see the default Web Alarm, which you can assign to any device or Monitor.
Configuring an Action
There are two aspects of fully configuring an action. The first is to create the action itself in the Action Library dialog or through the Action Builder wizard. The setup consists of: Defining the target of the action (for example, a pager or email address) Entering the notification variables or program arguments (that specify what information to report in the action message, or to pass to another program).
96
After the action has been created, the second step is to assign the action or action policy to a device or active monitor and to link it to a state change (action policies are already linked to a state change during the policy definition). For more information see: Assigning an Action to a Device (on page 112 )
X X
After the actions have been completely configured, WhatsUp Gold launches the action as soon as the proper state change is reached.
97
Set the appropriate options. Name. The name of the action as it appears in the Action library. Description. Enter a short description of the action. This is displayed in the Action Library dialog along with the entry in the Name box. Beeper number. Enter the phone number to dial. You can use parentheses to delimit the area code and a dash to separate the exchange from the extension numbers, for example: (617) 555-5555. Pause after answer. Enter a number of seconds the modem should pause before sending the signal codes once a connection has been made. End transmission. By default, # is the correct symbol for the end transmission command. Some international systems require other or additional symbols. Modem setup. Select either Primary, or one of the Alternate setups. Click Port Settings to further define your selection. Modem Setup is used specifically to support different service providers in case you use more than one provider for sending your beeper notifications. There could also be times you want to change your settings to meet a specific service providers requirements for a specific notification (for example: a lower baud rate). To do this, you can set up an alternate Modem Setup and associate this to the notification instead of using your Primary setting.
Note: Changing the Port Settings for the desired Modem Setup will affect ALL uses of that setting.
Up code. Specifies the characters sent to the beeper to indicate that the device has come back up after being down (the default value is 0*). Down Code. Specifies the code sent to indicate the device is down (the default value is 1*). On passive monitor code. Specifies the code sent to indicate that an active monitor has been received for the device. (Default value is 2*) You can use the asterisk (*) character to separate codes from a subsequent message. Recurring action code. The percent variables (on page 115 ) for the action. The default action codes are:
X X
%System.NumberofUpDevices %System.NumberofDownDevices 4 5 Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
98
Set the appropriate options. Name. Enter an identifying name for this pager action. Description. Enter a short description of the action. This is displayed along with the Names in the Action Library. Terminal number. Enter the pager number to dial. Your service provider can provide you with this number. Terminal password. If required, enter the pager password here. This is a password that is required to log in to some paging services. Modem Setup. Select either Primary, or one of the Alternate setups. 99
Click Port Settings to further define your selection. Modem Setup is used specifically to support different service providers in case you use more than one provider for sending your pager notifications. There could also be times you want to change your settings to meet a specific service providers requirements for a specific notification (for example: a lower baud rate). To do this, you can set up an alternate Modem Setup and associate this to the notification instead of using your Primary setting.
Note: Changing the Port Settings for the desired Modem Setup will affect ALL uses of that setting.
Protocol. Select the type of protocol used by your pager service. Pager ID. Enter the pager identification number. Message. Enter a text message plus any of the percent variable codes (on page 115 ) used to deliver WhatsUp Gold information with the page.
X X
4 5
Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
100
Enter the e-mail destination information. Name. Enter a unique name for this action. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in with the Name box. SMTP Mail Server. Enter the IP address or Host (DNS) name of your email server (SMTP mail host). Port. Enter the port number that the SMTP server is installed on. Mail To. Enter the email addresses you want to send the alert to. Email addresses must be fully qualified. Two addresses may be entered, separated by commas (but no spaces). The address should not contain brackets, braces, quotes, or parentheses.
Click Mail Content. Enter the content of the e-mail alert. From. Enter the email address that will appear in the From field of the email that is sent by the E-Mail action. Subject. Enter a text message or edit the default message. You can use any of the percent variable codes. (on page 115 )
X X
Message body. Enter a text message or edit the default message. You can use any of the percent variable codes. (on page 115 )
X X
5 6
Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
101
In the Action Library, do one of the following: Click New, then select SMS Action. - or Select an existing SMS Action, then click Edit. The action properties page opens.
Set the appropriate options. Name. Enter a unique display name to identify the SMS notification. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in with the Name box. Country. Using the list box, select the country for the SMS provider. Provider. Using the list box, select the desired provider.
Note: If the provider list is incomplete and/or incorrect, you can click the Providers button to add, edit, or delete providers in this list.
Connection Settings. Mode is either Email or Dialup, depending on how the Provider was created in the system. Email to. If the connection setting is Email, enter the email address of the SMS device.
102
Phone Number. If the connection setting is Dialup, enter the phone number to call with the message. Message. Enter a text message plus any desired percent variable codes (on page 115 ).
X X
4 5
Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
Set the appropriate options. Name. Enter an identifying name for this winpop action. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in with the Name box. 103
Destination. Specify the Windows NT host or domain that you want to receive this notification. Message. Enter a text message using percent variables (on page 115 ) if needed.
X X
Refresh. Click this button to refresh the Destination list. This populates the list with all of the targets you can choose to send a winpop action to. 4 5 Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
Set the appropriate options. Name. Enter a name for the action. This will appear in the Action Library. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in with the Name box. Syslog Server. Enter the IP address of the machine that is running the Syslog server. Port. Enter the UDP port that the Syslog listener is listening on. The default port is 514.
104
Message. Enter a text message to be sent to the Syslog server. This message may include notification variables (on page 115 ). The Syslog message box limits input to 511 characters. If notification variables are used, then the message that actually gets sent will be limited to 1023 bytes, in order to comply with the Syslog protocol. Nonvisible ASCII characters such as tabs and linefeeds will be replaced by space characters.
X X
4 5
Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
105
Set the appropriate options. Name. Enter a unique name for this action. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in with the Name box. Speak Rate. Select how fast the voice speaks the message. Volume. Select the volume of the message. Message. Enter any text message you want audibly repeated. Your own text can be used in addition to percent variables (on page 115 ).
X X
4 5
Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
106
Set the appropriate options. Name. Enter a name for the action you are creating. This is the name that appears in the Action Library. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in with the Name box. Program filename. Enter the executable name of the application you want to launch. Use the folder button to help you do this. Working path. Specify a directory where the working files for the application are stored. Use the folder button to help you do this. The working path is located on the server where WhatsUp is running. Program arguments. Enter any percent variables (on page 115 ) you want to pass to the specified program.
X X
4 5
Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
107
Set the appropriate options. Name. The name of the action as it appears in the Action Library. Description. The description of the action as it appears in the Action Library. Timeout. The amount of time (in seconds) WhatsUp Gold should wait for the action script to run.
Note: Though the maximum timeout is 60 seconds, you are highly discouraged from using a timeout longer than the default of 10 seconds. You are encouraged to use the shortest timeout possible.
Script type. VBScript or JScript. Script text. Write or insert your action code here. 4 5 Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
108
Set the appropriate options. Name. The name identifies the Web Alarm action in the Action Library list. Description. A short description of the action. The description appears in the Action Library list. Message. Enter a short message to send to the visual cue part of the Web Alarm in the web interface. Play Sound. Select this option to play the sound file whenever a web alarm action is fired. Clear this option to only have the visual cue appear in the Web Interface. Sound file name. Select a sound file that has been installed in your \Program Files\Ipswitch\WhatsUp\HTML\1033\NMconsole\WebSounds directory. Custom sounds added to this directory appear in the drop-down list.
Note: For Web Alarms to work properly, your browser must support embedded sound files.
Click OK to save this action. The action now appears in the Action Library.
109
Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
Set the appropriate options. Name. Enter the name of the action as you would like it to appear in the Action Library. Description. Enter a short description of the action. This is displayed in the Action Library along with the entry in the Name box. Host. Click the browse button to select the desired host from your Network Neighborhood. User name (domain\username). Enter a user login to use with this monitor. In order to monitor the service on another machine, the WinEvent monitor has to be
110
configured with the correct user name and password and a user account that belongs to the administrators group on the remote machine. If a domain account is used, then the expected user name is domain\user. If the device is on a workgroup, there are two possible user names: workgroup name\user or machine name\user. No user name and password is needed for local services (services on the machine where WhatsUp Gold v11 is running). Password. Enter the password for the login used above. To monitor NT services on a XP machine with an account that has empty password, the XP's Local Security Settings might have to be modified. From Administrative tools > Local Security Settings, click on Security Settings > Local Policies > Security Options. Then right click on the setting: Account: Limit local account use of blank passwords to console logon only and click Properties, and select Disable. Service. Click the browse button to select the desired service associated with your host. Command. Use the list box to select either Start or Stop, depending on whether you want the associated alert to Start or Stop the service you have selected. 4 5 Click OK to save this action. The action now appears in the Action Library. Assign the action to a device or a monitor, by using the procedure defined in: Assigning an Action to a Device (on page 112 )
X X
Testing an Action
After an action has been created, you can test that action to make sure it works properly. To test an action: 1 2 3 4 Select Configure > Action Library. The Action Library appears. In the Action Library, select the action you want to test. Click Test. Review the action in the Action Progress dialog.
Deleting an Action
Actions that were added at the device or monitor level can be removed by selecting the action in the Actions dialog of the Device or Monitor Properties, and clicking Remove. This does not effect any other item in the database. If you have assigned action policies to your devices, you can remove the action from the policy itself.
111
To remove an action from the database completely, you must access the Action Library, select the action and click Delete. When an action is removed from the Library, it is also removed from all items configured to use that action.
To assign an action policy to a device: 1 2 3 4 Right-click a device, then click Properties. The Device Properties dialog opens. Click Actions. The Actions dialog opens. Select the Apply this Action Policy option. Select the action policy you want to use for this device. If you need to create a new action policy first, click Add to access the Action Builder dialog. 5 Click OK to save the changes. After an action has been added to the device, the action fires when that device reaches the specified state.
Right-click the device the Active Monitor is configured on, then click Properties. The Device Properties dialog opens.
112
2 3 4
Click Active Monitors. The Active Monitors dialog opens. Double-click the monitor you want to add actions to. Go to the Actions properties: In the web interface, in the Active Monitor Properties wizard, click Next. - or In the console, in the Active Monitor Properties dialog, select Actions.
5 6 7 8 9 10
Select the Apply individual actions option. Click Add to access the Action Builder wizard. Follow the directions in the Action Builder wizard. At the end of the wizard, click Finish to add the action to the monitor. If you need to add more actions to the monitor, click Add and repeat these directions. Click OK after all actions have been added.
Right-click the device the Active Monitor is configured on, then click Properties. The Device Properties dialog opens. 2 Click Active Monitors. The Active Monitors dialog opens. 3 Double-click the monitor you want to add actions to. 4 Go to the Actions properties: In the web interface, in the Active Monitor Properties wizard, click Next. - or In the console, in the Active Monitor Properties dialog, select Actions. 5 6 Select the Apply this Action Policy option. Select the action policy you want to use for this device. If you need to create a new action policy first, click the browse button to access the Action Policies dialog. 7 Click OK to save the changes. To assign an action to a Passive Monitor: 1 Right-click the device the Passive Monitor is configured on, then click Properties. The Device Properties dialog opens. 2 Click Passive Monitors. 3 Double-click the monitor you want to add actions to. The Passive Monitor Properties open. 4 Go to the Actions properties: In the web interface, in the Passive Monitor Properties wizard, click Next. - or In the console, the Passive Monitor dialog opens. 113
5 6 7 8 9
Click Add to access the Action Builder wizard. Follow the directions in the Action Builder wizard. At the end of the wizard, click Finish to add the action to the monitor. If you need to add more actions to the monitor, click Add and repeat these directions. Click OK after all actions have been added.
Note: You cannot assign an Action Policy to a Passive Monitor.
After an action has been added to the monitor, the action fires when that state reaches the assigned down state.
114
Percent Variables
Active Monitor Variables %ActiveMonitor.Argument Description SNMP instance number. This is only used when an action is associated directly with an active monitor, and not the device as a whole. The human readable name that coincides with the network switch This is only used when an action is associated directly with an active monitor, and not the device as a whole. The name of the active monitor that fired an action. This is only used when an action is associated directly with an active monitor, and not the device as a whole.
%ActiveMonitor.Comment
%ActiveMonitor.Name
%ActiveMonitor.NetworkInterfaceAddress IP address for the network interface. This is only used when an action is associated directly with an active monitor, and not the device as a whole. %ActiveMonitor.Payload The payload returned by a WMI, Exchange, SQL, or SNMP active monitor. This is only used when an action is associated directly with an active monitor and not the devices as a whole. The Current status of the monitor, such as "Down at least 5 min." This is only used when an action is associated directly with an active monitor, and not the device as a whole.
%ActiveMonitor.State
Description List of down services using the abbreviated name if available. Full service names of all UP monitored services on a device. IP address (from device properties).
115
Ipswitch WhatsUp Gold v11 %Device.Attribute.[Attribute Name] Returns an attribute from the SNMP information available for the device, such as the Contact name. To specify the attribute, append the category name (listed below) to the end of the variable. For example: %Device.Attribute.Contact, returns the contact name. Default categories: *. Returns all attributes Info1. Upgrade path from v8 Info2. Upgrade path from v8 Contact. Contact information from SNMP Location. Location information from SNMP Description. Description information from SNMP Custom. If you have created a custom attribute you can use the name of that custom attribute in the percent variable. Example: %Device.Attribute.Phone %Device.Attribute.RackPosition To avoid an error, when placing %Device.Attribute in quotation marks, place a space between the last letter and the closing quotation mark. Example: "%Device.Attribute.Contact "; correct "%Device.Attribute.Contact"; incorrect %Device.DatabaseID %Device.DisplayName %Device.HostName %Device.Notes %Device.SNMPOid %Device.State %Device.Status %Device.Type Returns the database ID of a device. Display Name (from General of device properties) Host Name (from General of device properties) Notes. (Notes are from the device properties Notes) SNMP Object identifier. The state's description (such as "Down at least 2 min" or "Up at least 5 min") This shows the name of the active monitor, preceded by the device state id : 10|DNS Device Type (from General of device properties)
116
CHAPTER 8 Using Actions Passive Monitor Variables %PassiveMonitor.DisplayName %PassiveMonitor.LoggedText Description The name of the monitor as it appears in the Passive Monitor Library. Detailed Event description. (SNMP traps - Returns the full SNMP trap text.) (Windows Log Entries - Returns information contained in the Windows Event Log entries.) (Syslog Entries - Returns the text contained in the Syslog message.) Payload generated by a passive monitor.
%PassiveMonitor.Payload.*
%PassiveMonitor.Payload.EventType The type of passive monitor (Syslog, Windows Event, or SNMP Trap)
Description The current system date. Configure the date format in Regional Options (from Program Options) Display names of devices with down monitors Shows the name of a device and each monitor that is down on that device. The format of the response is 'device name':'monitor 1','monitor 2','...' Example: ARNOR: FTP, HTTPS, Ping
%System.DisplayNamesUpDevices %System.DisplayNamesUpMonitors
Display names of up devices Shows the name of a device and each monitor that is up on that device. The format of the response is 'device name':'monitor 1','monitor 2','...' Example: ARNOR: FTP, HTTPS, Ping
Displays the directory on which WhatsUp Gold is installed Number of down devices on your network Shows the number of down monitors on your network Number of up devices on your network Shows the number of up monitors on your network The current system time. The format is hh:mm:ss
117
4 5 6 7
Note: During Device Discovery, you can assign an existing action policy (if one has been created previously), create a simple action policy through a wizard, or access the Action Policy Editor to create an action policy yourself.
118
About Acknowledgements
When a device state changes, regardless of any action that has been placed on the device, WhatsUp Gold uses the Acknowledgement feature to make you aware that a state change occurred. In the device list, the name of the device appears in bold, and in the map view, the device name appears on a black background. After the device is in Acknowledgement mode, it will remain until you actively acknowledge it. Acknowledging a device state change does not keep that device from firing actions. To stop a device from firing actions, you must put the device into maintenance mode (on page 88 ).
X X
To acknowledge a state change: Select the device or devices you want to acknowledge and right-click on a selected item. In the right-mouse menu, select Acknowledge. - or Access the State Change Acknowledgement report and select the devices you want to acknowledge. After the devices are selected, click Clear to remove the devices from the report, thereby acknowledging the state change.
119
120
i) 4
Click Ok to save changes and return to the previous screen. Click Ok again to return to the Setup Actions for Monitor State Changes screen. Click Finish.
Use the same wizard to add the HTTP Content active monitor. This monitor checks that the web server returns some valid content in response to an HTTP request. a) On the Select Active Monitor Type screen, select HTTP Content, then click Next. b) On the Set Polling Properties screen, click Next. c) On the Setup Actions for Monitor State Changes screen, select Apply individual actions, then click Add. d) On the Select or Create Action screen, select Select an action from the Action Library, then click Next. e) On the Select Action and State screen, select MailtoWebmaster, then click Finish to save the changes and return to the Setup Actions for Monitor State Changes screen. f) Click Finish. The two active monitors and resulting e-mail action are now enabled. When the web server is down for more than 2 minutes, HTTP active monitor will fail, triggering the email action, which sends an e-mail message similar to the following: If the web server could not return web content, the e-mail action would report: along with any details or notes specified in the action.
121
122
CHAPTER 9
123
124
Access the Active Monitor Library from the main menu of the WhatsUp Gold. In the web interface, click Go > Configure > Active Monitor Library.
This dialog is used to configure new or existing Active Monitor types. The list shows all types currently configured for use in WhatsUp Gold. Click New to configure a new type. Select an existing type, then click Edit to change the current configuration of a type. Select an ActiveMonitor type, then click Copy to make a copy of that type and add it to the list. Select an Active Monitor type, then click Delete to remove it from the list. In the WhatsUp Gold console, you can select an Active Monitor, then click Test to test the selected Active Monitor on a device.
DNS Monitor. The DNS monitor is a simple service Monitor that checks for the DNS (Domain Name Server) on port 53. If no DNS service responds on this port, then the service is considered down.
125
SNMP Monitor. The Simple Network Management Protocol is the protocol governing network management and monitoring of network devices and their functions. This monitor queries the SNMP device and tries to match the expected returned value. Telnet Monitor. Telnet is a simple service monitor that checks for a Telnet server on port 23. If no telnet service responds on this port, then the service is considered down. Ping Monitor. The Ping monitor sends an ICMP (ping) command to the device. If the device does not respond, the monitor is considered down. TCP/IP Monitor. The TCP/IP monitor is used to monitor a TCP/IP service that either does not appear in the list of standard services or uses a non-standard port number. NT Service Monitor. The NT Service Monitor lets you check the status of a service on an Windows machine and attempts a restart of the service (if the appropriate Administrator permissions exist).
Note: A running Windows Management Instrumentation (WMI) service on the targeted machine is required for this NT Service Monitor to work properly. Windows 2000 Service Pack 2 or higher, XP, and 2003 are installed with the WMI service. WMI is not installed with WhatsUp Professional, but can be downloaded from Microsoft and installed on Windows NT.
WhatsUp Gold Premium supports additional Active Monitor types: Microsoft Exchange and Microsoft SQL Server Monitor lets you manage the availability of key application services, rather than just the network visibility of the host server. General application monitoring using Microsoft's WMI lets you monitor any performance counter value and trigger an alarm if the value changes, goes out of range, or undergoes an unexpected rate of change. For more information, see Using Ipswitch WhatsUp Gold v11 Premium Edition (on page 243 ).
X X
126
Click New to configure a new Active Monitor, - or Select a monitor from the list and click Edit to make changes to an existing configuration. The configuration dialog for the selected monitor type opens.
After you make the necessary changes, click OK to add the monitor to the list, or to save the changes you made to one already on the list.
To add an Active Monitor to a device: There are a number of ways to assign Active Monitors to devices: 1 Select the Active Monitors you want to scan for during Device Discovery. When you select the discovered devices and add them to your database, WhatsUp Gold creates a monitor for each network service found. 2 In the Device Properties Active Monitor dialog, click Discover. WhatsUp Gold scans the device and creates a monitor for each network service found. 3 Manually assign an Active Monitor to the device: a) In the Device Properties Active Monitor dialog, click Add. The Active Monitor Properties dialog opens. b) Select the Active Monitor type you want to assignto the device, then click Next. c) Set the polling properties for the monitor, then click Next. d) Setup actions (on page 112 ) for the monitor state changes.
X X
e) Click Finish to add the monitor to the device. 4 Add when you create a new device: a) In the console click File > New > New Device. The Add New Device dialog opens. - or In the web interface click Go > Devices > New Device. The Add New Device dialog opens. b) Click Advance. The Device Discovery Properties dialog opens. c) In the Select Active Monitors to be used in the scan process section, select the Active Monitors type you want to assign to the device. d) Click OK. 5 Use Bulk Field Change to add an active monitor to multiple devices: a) Select the devices in the device list, then right-click on one of the selected items. b) From the right-mouse menu, select Bulk Field Change > Active Monitor. c) Select the active monitor type you want to add. d) Click OK.
127
The best course of action is to remove the monitors at the device level or to disable the monitor by clearing the selection on the Device Properties. To remove a monitor from a device: 1 2 3 4 5 Right-click the device you want to remove the monitor from, then click Properties. The Device Properties dialog opens. Click Active Monitors. The Active Monitors attached to the selected device displays in the list. Select the monitor you want to remove. Click Remove. A warning dialog opens, stating that all data for that monitor will be deleted if the monitor is removed. Click Yes to remove the monitor.
Note: If you want to stop monitoring an Active Monitor on a device, but want to keep the historical data, then you must disable the monitor instead of deleting it from a device.
128
129
For the Object ID and Instance, click the browse (...) button; then locate and find the prtMarkerSuppliesLevel (OID 1.3.6.1.2.1.43.11.1.1.9) SNMP object in the MIB object tree. This SNMP object is found in the MIB tree at: - mgmt - mib 2 - printmib - prtMarkerSupplies - prtMarkerSuppliesEntry - prtMarkerSuppliesLevel 4 Select Range of Values from the type drop down menu and enter 4600 (the maximum capacity toner level) as the High value and 100 as the Low Value, then click OK. The action will fail when the printer toner level reaches 99. Test the newly created Active Monitor and make appropriate changes if needed. Assign the Active Monitor to the printer device, click Device Properties > Active Monitors. In the Active Monitor dialog, click Add. During the configuration wizard, create or select an action to notify you when the printers toner levels are low. Repeat steps 6-8 for each network printer that requires monitoring.
5 6 7 8 9
Expression Editor
WhatsUp Gold knows the proper connecting commands for checking the standard services listed on the Services dialog box, but to monitor a custom service, you may want to specify what commands to send to the service and what responses to expect from the service in order for WhatsUp Gold to consider the service up. It is up to you to determine the proper command strings to expect and send for a custom service. You can use a rule expression to test a string of text for particular patterns.
Script Syntax
You create a script using keywords. In general the Script Syntax is Command=String. Command is either Send, Expect, SimpleExpect, or Flow Control.
Note: A script can have as many send and receive lines as needed. However, the more you have, the slower the service checking.
Keywords
To send a string to a port, use the Send (on page 133 )= keyword.
X X
To expect a string from a port, use the SimpleExpect (on page 134 )= or the Expect (on page 131 )= keyword.
X X X X
130
To comment out a line, use the # symbol as the first character of the line. To have conditional responses on "error" or "success" of a step within the scripts, use Flow Control Keywords (on page 132 ).
X X
Examples If you have a TCP service to check where you needed to do the following: expect something on connection send a command check for a response send something to disconnect
WhatsUp Gold v7 or v8 users: The ~, ^, ! and = = codes have been replaced with variations on the Expect keyword itself. Migrated definitions will be converted automatically.
131
Example 1: # # Note: script comments start with a # character # # Send a simple text command # Send = Hello There # # Expect a nice response that begins with, "Hi, How are you" # Expect=^Hi, How are you Example 2: # # Send a command followed by CR/LF # Send=Select * from Accounts\r\n # # Expect a large response, but we only care to check that somewhere # in the response John Doe is mentioned # Expect=John Doe Example 3: # # Send a binary escape (27) and an x y and z and then a nak (21) # Send=\x1Bxyz\x15 # # Expect something that does *not* contain 123 escape (27) # DontExpect=123\x1B
132
Exit. This immediately ends the script with an optional state (ok or error). The optional state overrides the current state. Valid syntax: Exit {ERR|OK} Example: Exit ERR Exit OK :Label. This defines a label that can be the target of a jump. A label is defined by a single word beginning with the ":" character. Valid syntax: :(with a name following) Example: Bye OnError. This allows for a global handling of an error situation Valid Syntax: OnError {EXIT|CONTINUE|GOTO} label Example: OnError EXIT (Default behavior) OnError CONTINUE OnError GOTO Logoff
\x## \\ \t \r \n
WhatsUp Gold versions 7 and 8 users: The %### decimal syntax for specifying binary octets has been replaced with the \x## hexidecimal syntax. Migrated definitions will be converted automatically.
133
Example 1: # # Note: script comments start with a # character # # Send a simple text command # Send=Hello There Example 2: # # Send a command followed by CR/LF # Send=Select * from Accounts\r\n Example 3: # # Send a binary escape (27) an x y and z and then a nak (21) # Send=\x1Bxyz\x15
The SimpleExpect form is SimpleExpect=Response. Where the response is just a series of characters you expect back from the service. The following table displays keywords that match logic and wildcards to compare responses byte-by-byte expanding escape codes as you go.
Command Options:
Keyword Description
\x## . \% \. \\
Binary value (in Hexidecimal) for example \x00 is null Matches any character The "%" character The "." character The "\" character
134
Note: Only the number of characters specified in the expect string are used to match the response. The response is expected to start with these characters. Any extra trailing characters received are just ignored.
Example 1: # # Note: script comments start with a # character # # Send=Hello There # # Expect a nice response # SimpleExpect=Hi, how are you? Example 2: # # Send a command followed by CR/LF # Send=Select * from Accounts\r\n # # Expect a large response, be we only care to check that first word # received is "Customer" # SimpleExpect=Customer Example 3: # # Send a binary escape (27) an x y and z and then a nak (21) # Send=\x1B\x15 # # Expect any byte (we don't care) then an abc and an ack (6) # SimpleExpect=.abc\x06
dash
escaped character
\xnn
binary character
Quantifiers
Meta-character ? question Matches One optional. The preceding expression once or not at all. Example: colou?r matches "colour" or "color" Example: [0-3][0-5]? matches "2" and "25" Any number allowed, but are optional. Example: .* Zero or more occurrences of any character One required, additional are optional. Example, [0-9]+ matches "1", "15", "220", and so on "Non-greedy" versions of ?, +, and *. Match as little as possible, whereas the "greedy" versions match as much as possible Example: For input string <html>content</html> <.*?> matches <html> <.*> matches <html>content</html>
star
+ ??, +?, *?
plus
136
Matching Position
Meta-character ^ caret Matches Matches the position at the start of the input. Example: ^2 will only match input that begins with "2". Example: ^[45] will only match input that begins with "4" or "5" At the end of a regular expression, this character matches the end of the input. Example: >$ matches a ">" at the end of the input.
dollar
Other
Meta-character | (...) alternation parentheses Matches Matches either expression it separates. Example: H|Cat matches either "Hat" or "Cat" Provides grouping for quantifiers, limits scope of alternation via precedence. Example: (abc)* matches 0 or more occurrences of the the string abc Example: WhatsUp (Gold)|(Professional) matches "WhatsUp Gold" or "WhatsUp Professional" Matches text previously matched within first, second, etc, match group (starting at 0). Example: <{head}>.*?</\0> matches "<head>xxx</head>". The expression following ! does not match the input Example: a!b matches "a" not followed by "b".
backreference
negation
Abbreviations
Abbreviations are shorthand Meta-characters.
Abbreviation \a \b \c \d \D \h \n \p \P \q Matches Any alphanumeric character: ([a-zA-Z0-9]) White space (blank): ([ \\t]) Any alphabetic character: ([a-zA-Z]) Any decimal digit: [0-9] Any non decimal digit [^0-9] Any hexadecimal digit: ([0-9a-fA-F]) Newline: (\r|(\r?\n)) Any punctuation character: ,./\';:"!?@#$%^&*()[]{}- _=+|<>!~ Any non-punctuation character A quoted string: (\"[^\"]*\")|(\'[^\']*\')
137
Ipswitch WhatsUp Gold v11 \s \S \w \W \z WhatsUp Gold style white space character [ \\t\\n\\r\\f\\v] WhatsUp Gold style non-white space character [^ \\t\\n\\r\\f\\v] Part-of-word character ([a-zA-Z0-9_]) Non-word character ([^a-zA-Z0-9_]) An integer: ([0-9]+)
138
Note: Please be aware that Ipswitch does not support the scripts that you create, only the ability to use them in the Active Script Monitor.
Name. The name of the monitor as it appears in the Active Monitor Library. Description. The description of the monitor as it appears in the Active Monitor Library. Timeout. The amount of time (in seconds) WhatsUp Gold should wait for a response to the poll.
Note: Though the maximum timeout is 60 seconds, you are highly discouraged from using a timeout longer than the default of 10 seconds. You are encouraged to use the shortest timeout possible.
Script type. VBScript or JScript Script text. Write or insert your monitor code here. Use in discovery. Select this option to have the monitor appear in the Active Monitor list during discovery. From there, you can select the monitor to have WhatsUp Gold discover that monitor type in your devices. This script monitor has a context object (on page 146 ) that you can use to poll for specific information about the device in context.
X X
We have provided several code samples (on page 139 ) for you to create useful active script monitors for your devices.
X X
Note: You may have to remove the copyright information from the cut and paste if it appears when you copy from this help file.
139
Monitor
Code
How to return the JScript: results of the script Context.SetResult(0, " back to WhatsUp Pro. Context.SetResult(1, " Note: This affects the VBScript: state of the device. Context.SetResult 1, "
Everything is OK"); //Success Really big big error"); //Failure Really big big error"
Logging a message to JScript: the WhatsUp Gold Context.LogMessage("This is the message"); event viewer. Note: In order to view Context.LogMessage entries, you must have selected Debug On in the event viewer. Accessing the Device ID. JScript: var nDeviceID = Context.GetProperty("DeviceID");
Accessing the IP JScript: address of the device. var sAddress = Context.GetProperty("Address"); Accessing the device credentials. Note: All passwords are decrypted. JScript: var sV1ReadCommunity = Context.GetProperty("CredSnmpV1:ReadCommunity"); var sV1WriteCommunity = Context.GetProperty("CredSnmpV1:WriteCommunity"); var sV2ReadCommunity = Context.GetProperty("CredSnmpV2:ReadCommunity"); var sV2WriteCommunity = Context.GetProperty("CredSnmpV2:WriteCommunity"); var sV3UserName = Context.GetProperty("CredSnmpV3:Username"); var sV3Context = Context.GetProperty("CredSnmpV3:Context"); var sV3AuthPassword = Context.GetProperty("CredSnmpV3:AuthPassword"); var nV3Authprotocol = Context.GetProperty("CredSnmpV3:AuthProtocol"); var sV3EncryptPassword = Context.GetProperty("CredSnmpV3:EncryptPassword"); var nV3EncryptProtocol = Context.GetProperty("CredSnmpV3:EncryptProtocol"); var sNTUsername = Context.GetProperty("CredWindows:DomainAndUserid"); var sNTPassword = Context.GetProperty("CredWindows:Password");
140
CHAPTER 9 Using Active Monitors Accessing the WhatsUp Pro database. This sample uses the device ID in context and access the 'Device' table. JScript: // Get the Open DB connection from the Context NameSpace var oDb = Context.GetDB; if (null == oDb) { Context.SetResult( 1, " Problem creating the PRO DB object"); } else { // Get the device ID var nDeviceID = Context.GetProperty("DeviceID"); // Retrieve all columns for this device. var sSql = "SELECT * from Device WHERE nDeviceID = " + nDeviceID; var oRs = oDb.Execute(sSql); if ( !oRs.EOF ) { // Display various columns in the debug log (Event Viewer). var sDisplay; sDisplay = "" + oRs("sDisplayName"); Context.LogMessage("Display Name=" + sDisplay); sDisplay = "" + oRs("nWorstStateID"); Context.LogMessage("WorstStateID=" + sDisplay); sDisplay = "" + oRs("sNote"); Context.LogMessage("Note=" + sDisplay); sDisplay = "" + oRs("sStatus"); Context.LogMessage("Status=" + sDisplay); } Context.SetResult( 0, " Ok"); }
141
Ipswitch WhatsUp Gold v11 Use WMI to see who is You can set the monitor to be down if the logged on user is not the expected currently logged on a user. If no one is logged in, then it's also assumed up. device. VBScript: sComputer = Context.GetProperty("Address") nDeviceID = Context.GetProperty("DeviceID") 'Assuming ICMP is not blocked and there's a ping monitor on the device, we want to 'perform the actual check only if the Ping monitor is up. ConnectServer method of 'the SWbemLocator has a long time out so it would be good to avoid unnecessary tries. 'Please note: there's no particular polling order of active monitors on a device. 'During each polling cycle, it's possible that this monitor could be polled before 'Ping is polled. If the network connection just goes down but Ping is not polled yet, 'and therefore still has an up state, this active monitor will still do an actual 'check and experience a real down. But for the subsequent polls, it won't be doing a 'real check (ConnectServer won't be called) as Ping monitor has a down state, and this 'monitor will be assumed down. If IsPingUp(nDeviceID) = false Then Context.SetResult 1,"Actual check was not performed due to ping being down. Automatically set to down." Else sAdminName = Context.GetProperty("CredWindows:DomainAndUserid") sAdminPasswd = Context.GetProperty("CredWindows:Password") sLoginUser = GetCurrentLoginUser(sComputer, sAdminName, sAdminPasswd) sExpectedUser = "administrator" If Not IsNull(sLoginUser) Then If instr(1,sLoginUser, sExpectedUser,1) > 0 Then Context.SetResult 0,"Current login user is " & sLoginUser ElseIf sLoginUser = " " Then Context.SetResult 0,"No one is currently logged in." Else Context.SetResult 1,"an unexpected user " & sLoginUser & " has logged in " & sComputer End If End If End If 'Check if Ping monitor on the device specified by nDeviceID is up. 'If nDeviceID is not available as it's in the case during discovery, then assume 'ping is up. 'If ping monitor is not on the device, then assume it's up so the real check will be 'performed. Function IsPingUp(nDeviceID) If nDeviceID > -1 Then 'get the Ping monitor up state. sSqlGetUpState = "SELECT sStateName from PivotActiveMonitorTypeToDevice as P join " & _ "ActiveMonitorType as A on P.nActiveMonitorTypeID=A.nActiveMonitorTypeID " & _
142
CHAPTER 9 Using Active Monitors Use SNMP to monitor the total bandwidth utilization on an interface (in + out octets) by polling values of the interface MIB. JScript: // Settings for this monitor: // the interface index ifIndex: var nInterfaceIndex = 65540; // this monitor will fail if the interface utilization goes above this current ratio: // current bandwidth / maxBandwidth > nMaxInterfaceUtilizationRatio var nMaxInterfaceUtilizationRatio = 0.7; // Set to 70% // Create an SNMP object, that will poll the device. var oSnmpRqst = new ActiveXObject("CoreAsp.SnmpRqst"); // Get the device ID var nDeviceID = Context.GetProperty("DeviceID"); // This function polls the device returns the ifSpeed of the inteface indexed by nIfIndex. // ifSpeed is in bits per second. function getIfSpeed(nIfIndex) { var oResult = oSnmpRqst.Initialize(nDeviceID); if(oResult.Failed) { return null; } return parseInt(SnmpGet("1.3.6.1.2.1.2.2.1.5." + nIfIndex)); // ifSpeed } // Function to get SNMP ifInOctets for the interface indexed by nIfIndex (in bytes). // Returns the value polled upon success, null in case of failure. function getInOctets(nIfIndex) { var oResult = oSnmpRqst.Initialize(nDeviceID); if(oResult.Failed) { return null; } return parseInt(SnmpGet("1.3.6.1.2.1.2.2.1.10." + nIfIndex)); // inOctets } // Function to get SNMP ifOutOctets for the interface indexed by nIfIndex (in bytes). // Returns the value polled upon success, null in case of failure. function getOutOctets(nIfIndex) { var oResult = oSnmpRqst.Initialize(nDeviceID); if(oResult.Failed) { return null; } return parseInt(SnmpGet("1.3.6.1.2.1.2.2.1.16." + nIfIndex)); // outOctets } // Helper function to get a specific SNMP object (OID in sOid). // Returns the value polled upon success, null in case of failure. function SnmpGet(sOid) { var oResult = oSnmpRqst.Get(sOid); if(oResult.Failed)
143
Ipswitch WhatsUp Gold v11 Monitoring an SNMP agent running on a non standard port (161). JScript: var nSNMPPort = 1234; // change this value to the port your agent is running on var oSnmpRqst = new ActiveXObject("CoreAsp.SnmpRqst"); // Get the device ID var nDeviceID = Context.GetProperty("DeviceID"); // Initialize the SNMP request object var oResult = oSnmpRqst.Initialize(nDeviceID); if(oResult.Failed) { Context.SetResult(1, oResult.GetPayload); } else { // Set the request destination port. var oResult = oSnmpRqst.SetPort(nSNMPPort); // Get sysDescr. var oResult = oSnmpRqst.Get("1.3.6.1.2.1.1.1.0"); if (oResult.Failed) { Context.SetResult(1, "Failed to poll device using port " + nSNMPPort + ". Error=" + oResult.GetPayload); } else { Context.SetResult(0, "SUCCESS. Detected an SNMP agent running on port " + nSNMPPort ); } }
144
CHAPTER 9 Using Active Monitors Accessing SNMP Using WhatsUp Pro CoreAsp.dll Interface DLL. This code sample uses WhatsUp PRO CoreAsp.dll and uses the SnmpRqst interface. JScript: var oSnmpRqst = new ActiveXObject("CoreAsp.SnmpRqst"); // Get the device ID var nDeviceID = Context.GetProperty("DeviceID"); // // Function to get SNMP details // function getSnmpDetails() { var oResult = oSnmpRqst.Initialize(nDeviceID); if(oResult.Failed) { return null; } var oReturnArray = new Array(); oReturnArray["sysDescr"] = SnmpGet("1.3.6.1.2.1.1.1.0"); // sysDescr if(oReturnArray["sysDescr"] == null) { return null; } oReturnArray["objectID"] = SnmpGet("1.3.6.1.2.1.1.2.0"); // objectID oReturnArray["sysUpTime"] = SnmpGet("1.3.6.1.2.1.1.3.0"); // sysUpTime oReturnArray["sysContact"] = SnmpGet("1.3.6.1.2.1.1.4.0"); // sysContact oReturnArray["sysName"] = SnmpGet("1.3.6.1.2.1.1.5.0"); // sysName oReturnArray["sysLocation"] = SnmpGet("1.3.6.1.2.1.1.6.0"); // sysLocation return oReturnArray; } // // Helper function to get specific OID // function SnmpGet(sOid) { var oResult = oSnmpRqst.Get(sOid); if(oResult.Failed) { return null; } else { return oResult.GetPayload; } } // // Get the SNMP details for the device that we passed in via the Context. // var oSNMPDetails = getSnmpDetails(); if(oSNMPDetails != null) { 145 Context.LogMessage( "SNMP Details"); Context.LogMessage( " sysDescr=" + oSNMPDetails["sysDescr"]); Context.LogMessage( " objectID=" + oSNMPDetails["objectID"]); Context.LogMessage( " sysUpTime=" + oSNMPDetails["sysUpTime"]);
Methods LogMessage(sText); This method allows for a message to be written to the WhatsUp Gold debug log. Example: JScript: Context.LogMessage( "Checking Monitor name using Context.GetProperty()"); VBScript: Context.LogMessage "Checking Address using Context.GetProperty()" PutProperty(sPropertyName); This method allows you to store a value in the INMSerialize object. This value is retained across polls. Example: JScript: var nCount = parselnt(nNum) +1; Context.PutProperty("MyNumeric",nCount); SetResult(nCode, sText); This method allows for a result code and result message to be set. This is how you can tell the WhatsUp Gold system if the monitor succeeded or not. Important: Every script should have a result, otherwise it will report back positively. Example: JScript: Context.SetResult(0, " //Success Context.SetResult(1, " //Failure VBScript: Context.SetResult 1, " Really big big error" Everything is OK"); Really big big error");
146
Properties
GetProperty(sPropertyName); This property offers access to many device specific aspects. You obtain access to these items using the names listed. These names are case sensitive.
"ActiveMonitorTypeName" "Address" "DeviceID" "Mode" The active monitor display name The IP address of the device The device ID 1 = doing discovery 2 = polling 3 = test The active monitor's type ID SNMP V1 Read community SNMP V1 Write community SNMP V2 Read community SNMP V2 Write community SNMP V3 Username SNMP V3 Context SNMP V3 Authentication password SNMP V3 Authentication protocol SNMP V3 Encrypt password SNMP V3 Encrypt protocol
"ActiveMonitorTypeID" "CredSnmpV1:ReadCommunity" "CredSnmpV1:WriteCommunity" "CredSnmpV2:ReadCommunity" "CredSnmpV2:WriteCommunity" "CredSnmpV3:Username" "CredSnmpV3:Context" "CredSnmpV3:AuthPassword" "CredSnmpV3:AuthProtocol" "CredSnmpV3:EncryptPassword" "CredSnmpV3:EncryptProtocol"
147
Examples:
JScript: var sAddress = Context.GetProperty("Address"); var sReadCommunity = Context.GetProperty("CredSnmpV1:ReadCommunity"); var nDeviceID = Context.GetProperty("DeviceID"); JScript: //Sending log message to the WhatsUp Event Viewer Context.LogMessage ( "Checking Mode flag"); var nFlag = Context.GetProperty("Mode"); if (nFlag == 1) { Context.LogMessage ("Doing a discovery"); } else if (nFlag == 2) { Context.LogMessage ("Doing a poll"); } else if (nFlag == 3) { Context.LogMessage ("Must be just a test."); } else { Context.LogMessage ("Do not know the mode."); } //Set the result code of the check (0=Success, 1=Error) Context.SetResult (0, "No error"); (GetDB); This property returns an open connection to the WhatsUp Gold database. Examples: This example gets the Open connection and reads some values out of the WhatsUp Gold "Device" table using the deviceID context. Please refer to the WhatsUp Gold Database Schema for more information about the WhatsUp Gold schema. var oDb = Context.GetDB; if (null == oDb) { Context.SetResult( 1, " Problem creating the PRO DB object"); } else { 148
var oRs = new ActiveXObject("ADODB.Recordset"); // Get the device ID var nDeviceID = Context.GetProperty("DeviceID"); var sSql = "SELECT * from Device WHERE nDeviceID = " + nDeviceID; oRs = oDb.Execute(sSql); if ( !oRs.EOF ) { var sDisplay; sDisplay = "" + oRs("sDisplayName"); Context.LogMessage("Display Name=" + sDisplay); sDisplay = "" + oRs("nWorstStateID"); Context.LogMessage("WorstStateID=" + sDisplay); sDisplay = "" + oRs("sNote"); Context.LogMessage("Note=" + sDisplay); sDisplay = "" + oRs("sStatus"); Context.LogMessage("Status=" + sDisplay); } Context.SetResult( 0, " Ok"); }
149
CHAPTER 10
After the listeners have been configured, you can Configure Passive Monitors (on page 154 ) for individual devices.
X X
151
This shape changes color when an unacknowledged state change occurs on the monitor. After the device has been acknowledged, the icon returns to the above appearance.
152
Click Passive Monitor Listeners. The Passive Monitor Listeners display in a list.
Select the listener you want to configure, then click Configure. The configuration dialog opens. 4 Select the appropriate settings based on the listener you are configuring. For more information about the Passive Monitor Listener options, refer to the Help. 5 Click OK to save changes.
153
To access the Passive Monitor Library: From the WhatsUp Gold web interface, click Go > Configure > Passive Monitor Library. - or From the main menu bar of the WhatsUp Gold console, click Configure > Passive Monitor Library.
Click New to create a new passive monitor type. Select a monitor type in the list, then click Edit to change the settings. Select a monitor type in the list, then click Copy to create a new monitor type based on the selected type. Select a monitor type, then click Delete to remove it from the list.
154
To assign a Passive Monitor to a device: 1 Right-click the device to which you want to assign a passive monitor, then click Properties. The Device Properties dialog opens. 2 Click Passive Monitors. The Device Properties Passive Monitor dialog opens. 3 Click Add. The Passive Monitor Properties dialog opens.
Select the Passive Monitor type and Passive Monitor you want to assign, then click Next. The Setup Actions for Passive Monitors dialog opens. 5 Click Add to setup a new action for the passive monitor. The Select or Create Action dialog opens. Click: Select an action from the Action Library - or Create a new action Follow the remaining Wizard dialog screens for the selection you made. 6 Click Finish to add the passive monitor to the device.
SNMP Trap Log Syslog Entries Windows Event Log Passive Monitor Error Log Are you missing traps or logs, or receiving blank emails generated from an Action on a Passive Monitor? 155
To configure WhatsUp Gold to receive traps: 1 On the devices that will be monitored, set the SNMP agent to send traps to WhatsUp Gold. Trap manager addresses must be set on each physical device. This cannot be done from WhatsUp Gold. 2 Set up the MIB entries for traps by placing the MIB text file in the C:\Program Files\Ipswitch\WhatsUp\Data\Mibs directory. 3 Enable the SNMP Trap Handler. a) From the WhatsUp Gold console, select Configure > Program Options. b) Select Passive Monitor Listeners. c) Select SNMP Trap. d) Click the Configure button.
156
e) Select the appropriate options. Listen for messages on port. Select this option if you want WhatsUp Gold to listen for SNMP traps. The standard SNMP trap Port is 162, but you can change this port to a non-standard number. The changes are immediate, and you do not have to restart WhatsUp Gold for the changes to be in effect. Accept unsolicited SNMP traps. If this is not selected, ONLY traps which are specifically added to devices as events are logged to the activity log and are able to trigger alerts. You may prefer to select this option so that ALL traps which occur are able to be detected and logged to the activity log. Note that regardless of this filter setting, traps are logged to the SNMP Trap Log. By default there is no strict filtering of traps; this way you can see all traps from all sources, then make decisions about creating Actions based on specific traps you have seen. Later you may make the decision to filter out all traps except those you expect to see. Forward traps. Select this option to forward traps to IP addresses added to the Forward traps to list. Forward unsolicited traps. Select this option to forward all traps, including unsolicited traps. Forward traps to. Click Add to add an IP address and port to forward traps to. You can forward traps to multiple IP addresses. f) Click OK to save changes.
Note: If the SNMP agent is installed on the WhatsUp Gold machine, this will also start an SNMP trap service. This can result in a port conflict, because both the SNMP trap service and the WhatsUp Gold SNMP trap handler listen on port 162. To fix this, you need to turn off the SNMP trap service.
157
158
CHAPTER 11
Adding custom Performance Monitors to the Performance Monitor Library About performance reporting .................................................................... 169
X X
164
159
You can use the Performance Monitor Library to configure and manage performance monitors. When custom Performance Monitors are changed, the changes affect each instance of that particular monitor across your device groups. To access the Performance Monitor Library dialog: From the WhatsUp Gold console main menu, select Configure > Performance Monitor Library. - or From the WhatsUp Gold web interface, select Go > Configure > Performance Monitor Library.
To configure Performance Monitors for the devices they are assigned to: 1 Right-click a device you want to configure. The shortcut menu opens.
160
Click New to configure a new monitor. Select an existing monitor, then click Edit to change the current monitor configuration or double-click an existing monitor to change the configuration. Select a performance monitor type, then click Delete to remove it from the list. 3 Click OK to save changes.
To enable SNMP Monitoring: 1 2 3 In the Control Panel, click Administrative Tools. Double-click Services. the Services console opens. In the Services (Local) list, double-click SNMP Service to view the Properties. 161
On the Agent tab, enter the Contact name for the person responsible for the upkeep and administration of the computer, then enter the Location of the computer. These items are returned during some SNMP queries. 5 On the Security tab, click Add to add a community string for the device. Community strings are pass codes that allow applications like WhatsUp to read information about the computer. This community string will be later used to create credentials (on page 85 ) for connecting to this device. 6 On the General tab, click Start to start the service (if necessary). 7 Click OK to close the dialog.
X X
To enable a global performance monitor for a single device: 1 2 In Device View, select a device from the device list. Right-click and choose Properties from the right-menu to view the device's Device Properties. 3 Click Performance Monitors to view the Performance Monitors dialog.
162
From the top section of the dialog, select the global performance monitor you would like to enable for the selected device.
To enable a CPU, disk, interface, or memory global performance monitor, you must first select and SNMP credential for the device from the SNMP credential page.
To configure a global performance monitor: 1 2 In Device View, select a device from the device list. Right-click and choose Properties from the right-menu to view the device's Device Properties. 3 Click Performance Monitors to view the Performance Monitors dialog. 4 In the top section of the dialog, you can select a global performance monitor, then click Configure. On the monitor configuration dialog, select the specific item you want to monitor by making a selection in the Collect data for drop-down list. Depending on the monitor, you can select to collect data for All, Active, Specific,or Default interfaces, memories, cpus, or disks.
If you select Specific, the list is enabled and you can select or clear the selection for any of the items in the list. This is particularly useful with the Interface Utilization monitor where a device may have many interfaces. 5 Select the Data collection interval. This is the amount of time between performance polls.
163
To enable a global performance monitor for multiple devices, use the Bulk Field Change feature for performance monitors. For information on the Active Script Performance Monitor, please see Adding custom performance monitors to the Performance Monitor Library (on page 164 ).
X X
164
To create custom performance monitors (for system wide use): 1 In the WhatsUp Gold web interface from the Go menu, go to Configure > Performance Monitor Library.
2 3 4
In the Performance Monitor Library, click New. Select the monitor type: SNMP, WMI, or Active Script Performance Monitor. Follow the instructions below for the type of monitor you choose.
To configure an SNMP monitor: 1 2 3 4 5 On the Add SNMP Performance Counter dialog, enter a Name and Description for the monitor as it will appear in the Performance Monitor Library. Either enter the OID and instance or click the Browse (...) button next to the Instance box to go to the SNMP MIB Walker dialog. In the MIB Walker dialog, enter the share name or IP address of the computer in which you want to connect. Enter the SNMP credential used to connect to the device (or click the Browse (...) button to access the Credentials Library to create a new credential.) If needed, adjust the Timeout and Retries count for the connection to the device.
165
7 8
Use the navigation tree in the left panel to select the specific MIB you want to monitor. In the right pane, select the Property of that MIB you want to monitor. You can view more information about the property/value pair at the bottom of the dialog. 9 Click OK to add the OID to the Performance counter and Instance box in the Add SNMP Performance counter dialog. 10 Verify the configuration and click OK to add the monitor to the Performance Monitor Library. To configure a WMI monitor: 1 2 3 4 On the Add WMI Performance Counter dialog, enter a Name and Description for the monitor, as it will appear in the Performance Monitor Library. Click the Browse (...) button next to the Instance box. In the dialog that appears, enter the share name or IP address of the computer in which you want to connect. Enter the domain and user login for the account on this computer. If a domain account is used, then the expected user name is domain\user. If the device is on a workgroup, there are two possible user names: workgroup name\user or machine name\user. Enter the password for the login used above and click OK to connect to the computer.
166
Use the Performance counter tree to navigate to the performance counter you want to monitor.
Once you select the performance counter, select the specific instance you want to monitor. 8 Click OK to add the counter and instance to the Add Performance Counter dialog. 9 Verify the configuration and click OK to add the monitor to the Performance Monitor Library.
Note: After the monitor has been added to the library, you can enable that monitor through Device Properties > Performance Monitors for that device.
To configure an SNMP active script performance monitor: 1 On the Add Active Script Performance Monitor dialog, enter a Name and Description for the monitor as it will appear in the Performance Monitor Library. 2 Enter a number for the timeout (in seconds.) 3 Choose the type of script (JScript or VBScript) you will be using to write the monitor from the Script type drop down menu. 4 Add a new variable to the Reference Variables list by clicking Add.
Important: You can add up to 10 reference variables to the monitor.
5 6 7 8 9
On the Add reference variables dialog, enter a name and description for the variable. Select the type of object (SNMP or WMI) from the Object type drop-down menu. If needed, adjust the Timeout and Retries count for connection to the device. Click the Browse (...) button next to the Instance box. The SNMP MIB Browser appears. Enter the share name or IP address of the computer in which you are trying to connect.
167
10 Enter the SNMP credential used to connect to the device (or click the Browse (...) button to access the Credentials Library to create a new credential.) 11 If needed, adjust the Timeout and Retries count for the computer in which you are trying to connect. 12 Click OK. The SNMP MIB Walker appears. 13 Use the navigation tree in the left panel to select the specific MIB you want to monitor. You can view more information about the property/value at the bottom of the dialog. 14 Click OK to add the OID to the Performance counter and Instance box in the Add new reference variable dialog. 15 Verify the configuration and click OK to add the variable to the Reference variable list on the Add active script performance monitor dialog. 16 Write or paste your monitor code in the Script text box. 17 Click OK to save changes and add the monitor to the Performance Monitor Library. To configure a WMI active script performance monitor: 1 On the Add Active Script Performance Monitor dialog, enter a Name and Description for the monitor as it will appear in the Performance Monitor Library. 2 Enter a number for the timeout (in seconds.) 3 Choose the type of script (JScript or VBScript) you will be using to write the monitor from the Script type drop down menu. 4 Add a new variable to the Reference Variables list by clicking Add.
Important: You can add up to 10 reference variables to the monitor.
5 6 7 8 9
10 11 12 13 14 15
On the Add reference variables dialog, enter a name and description for the variable. Select the type of object (SNMP or WMI) from the Object type drop-down menu. Click the Browse (...) button next to the Instance box. In the dialog that appears, enter the share name or IP address of the computer in which you want to connect. Enter the domain and user login for the account on this computer. If a domain account is used, then the expected user name is domain\user. If the device is on a workgroup, there are two possible user names: workgroup name\user or machine name\user. Enter a password for the login used above and click OK to connect to the computer. Use the Performance counter tree to navigate to the performance counter you want to monitor. Once you select the performance counter, select the specific instance you want to monitor. Click OK to add the variable to the Reference variable list on the Add active script performance monitor dialog. Write or paste your monitor code in the Script text box. Click OK to save changes and to add the monitor to the Performance Monitor Library.
168
More than 40 reports are installed with WhatsUp Gold. These reports can be viewed from the WhatsUp Gold web interface on the Reports tab. The Reports tab contains all of the WhatsUp Gold Full reports. You can use the Reports Overview page and the Reports Category drop-down menu to navigate to reports according to their type and category.
All reports can be printed and many can also be exported into Microsoft Excel. Reports can also be saved as an .html file for later review. For more information on the WhatsUp Gold reports, please see Using Full Reports (on page 197 ).
X X
Performance Monitors gather specific types of data on the devices they are assigned to. System wide monitors are configured using the Performance Monitor Library, but you can also create specific SNMP and WMI monitors to be used on a per-device basis. 169
To create custom performance monitors for system-wide use: 1 2 3 4 On the WhatsUp Gold web interface, go to Go > Performance Monitor Library. In the Performance Monitor Library, click New. Select the monitor type: SNMP or WMI. Configure the monitor as follows for the type of monitor you are creating:
For WMI: 1 2 3 4 5 On the Add Performance Counter dialog, enter a name and description for the monitor. Click the Browse (...) button next to the Instance box to go to the Select Performance Counter dialog. Click the Browse (...) button next to Select counters from computer box. The Select Computer dialog appears. Enter the share name or IP address of the computer you want to connect to. Enter the domain and user login for the account on this computer. If a domain account is used, then the expected user name is domain\user. If the device is on a workgroup, there are two possible user names: workgroup name\user or machine name\user. Enter the password for the login used above and click OK to connect to the computer. Use the Performance counter tree to navigate to the performance counter you want to monitor.
6 7
After you select the performance counter, select the specific instance you want to monitor. 9 Click OK to add the counter and instance to the Add Performance Counter dialog. 10 Verify the configuration and click OK to add the monitor to the library.
170
For SNMP: 1 2 3 4 5 6 On the Add SNMP Performance counter dialog, enter a name and description for the monitor. Click the Browse (...) button next to the Instance box to go to the Select Performance Counter dialog. You must enter a numerical value in the Instance field. Enter the share name or IP address of the computer you want to connect to. Enter the SNMP credential used to connect to the device (or click the Browse (...) button to access the Credentials Library to create a new credential.) If needed, adjust the Timeout and Retries count for the connection to the device. Click OK. The SNMP MIB Walker appears.
7 8 9 10 11 12 13 14 15 16 17
Use the navigation tree in the left panel to select the specific MIB you want to monitor. In the right pane, select the Property of that MIB you want to monitor. You can view more information about the property/value pair at the bottom of the dialog. Click OK to add the OID to the Performance counter and Instance box in the Add SNMP Performance counter dialog. Verify the configuration and click OK to add the monitor to the library. After the monitor has been added to the library, you can enable the monitor through Device Properties > Performance Monitors. On the WhatsUp Gold web interface, select a device and right-click. Select Properties from the right-menu. On the Device Properties dialog, select Performance Monitors. Click New next to the Individual performance monitors list. Select the monitor type: SNMP or WMI. Follow the directions above for creating either an SNMP or WMI monitor. You can suspend or enable data collection on that monitor by selecting or clearing the checkbox next to the monitor name. 171
18 On the WhatsUp Gold web interface, select a device and right-click. Select Properties from the right-menu. 19 On the Device Properties dialog, select Performance Monitors. 20 Click New next to the Individual performance monitors list. 21 Select the monitor type: SNMP or WMI. 22 Follow the directions above for creating either an SNMP or WMI monitor. You can suspend or enable data collection on that monitor by selecting or clearing the checkbox next to the monitor name. Ipswitch uses a BitSight2 temperature sensor from Ravica to monitor the temperature and humidity in our testing labs. Since the device is SNMP enabled, we added a device for the sensor to our Office group and enabled SNMP on that device. With the device in the group, we created a Custom SNMP Performance Monitor for that device. Since the OID for temperature and humidity monitoring is included with the documentation for the device, we did not have to add the MIB to the MIB directory. Instead, we simply entered the OID into the Add SNMP Performance Counter dialog. When the performance monitor is running, data is collected by the application and displayed on the Custom Performance Monitor report. Once you have several hours of data, you might have graph that looks like this:
172
recently experienced a problem with a network connection between two of our Ipswitch office sites. This example shows how we used Performance Monitors to troubleshoot the slow network connection. We first describe the scenario, then the steps taken by the network administrator to solve the problem.
Scenario:
A developer working in Augusta, GA on an Atlanta-based project complained of a slow network connection between the Augusta and Atlanta offices. He stated it took 40 minutes to check-in files to the source library over the T1 connection. The Atlanta office network administrator reacted by completing the following steps: 1 On the WhatsUp Gold web interface, he goes to the Reports tab to select the Ping Response Time report. 2 From here, he checks the connection from the Atlanta WhatsUp Gold application to the Augusta primary server. The report shows an increased response time beginning at 11:45 a.m.
Note: This connection has been configured with the appropriate performance monitors and has been gathering data for weeks. To set up this type of monitor for a connection, configure the Ping Latency and Availability monitor on a device located on the other end of the connection. For more information, see Configuring performance montors (on page 162 ).
X X
174
CHAPTER 12
175
2 3
Click New to add a new task, or select an existing task and click Edit. If you are adding a new task, follow the wizard to create the task. - or If you are editing a task, you must click the sections you want to make changes to.
After the wizard is complete or your change edits are complete, the task is processed according to the schedule you set for the task.
For more information on how to test your new task, see Testing Active Discovery Tasks (on page 179 ).
X X
SNMP SmartScan Settings SNMP enabled router: 192.168.2.1 SNMP read communities: public Windows credentials: none Active/Performance Monitors Select Active Monitors to be used in the scan process: FTP, HTTP SMTP, Ping Select Performance Monitors to be used in the scan process: CPU Utilization, Disk Utilization, Interface Utilization Important: If you want to scan the devices currently in your databases for new services, make sure you select the Scan for new services on existing devices option. Clear the option to keep your existing devices from being scanned.
177
Click OK to complete the wizard. The new task is displayed in the Active Discovery dialog.
4 5
From the email, click the Active Discovery Results link to view the report. Select the Discovery results (devices, services, or monitors found) you want to add to your device group, then click Add.
178
179
180
CHAPTER 13
Using Maps
In This Chapter
Using Map View ............................................................................................... 181
X X
181
Snap to Grid. Select this option to display a grid and automatically align objects along your grid when they come within a certain distance of it. Clip Device Names. Select this option if you want to shorten the device display names. The display names will be terminated at the first space or period in the name. If the display name is a dotted decimal IP address, Clip Device Names shows only the last digits of the IP address. Wrap Device Names. Select this option to wrap long display names. The display names will be wrapped at every space or period in the name.
182
Grouping. You can group selected annotations so that they can be arranged or moved as a unit. Flip. You can transpose the location of two selected annotations.
Try the different functions on the Arrange menu until you are satisfied with the device layout. For example, to clean-up a map, after completing discovery, you can try the following display options: 1 2 Select the device group, then click the Map View tab. Right-click in the Map View, then select Display > Clip Device Names. This removes the domain part of the device name and shows only the host name. 3 Select all devices in the view by clicking and dragging a selection box around all devices. Then, from the Arrange menu, select Distribute > Device Icons in Rows.
If you have a large set of devices or want to represent a topology specific to your network, you can also use the graphics annotations (on page 46 ) (such as lines, text, circles) and attached lines (on page 48 ) to create custom map views.
X X X X
Lock position (see "Using the lock position" on page 184 ) can be useful in positioning objects on the map.
X X
183
Snap to the grid. Select this option to display a grid and automatically align objects along your grid when they come within a certain distance of it. Increase the number of gridlines. This allows you to display more gridlines, letting you place items closer together when using Snap to the grid. Decrease the number of gridlines. This lowers the number of gridlines on your map view, spacing them further apart when using Snap to the grid.
Grouping objects
The Group function lets you change the layout of multiple map annotations in the Map view. Group. Allows multiple objects to be grouped together as a single object, which will make all of the objects react to drawing transformations as one. Ungroup. Undoes the group effect so that all the objects that were originally grouped are now separated objects once again. All transformations done when the object was grouped are kept when the object is ungrouped.
Note: You can also use these features together. For example: You could take 4 different objects and group them together to form 1 object. Then you could take the grouped object and flip it horizontally or vertically.
Mapping fonts
Specifies the font used for device display names. Click Change Font to open the standard Windows font selection dialog box. Select the font properties you want to use and click OK. The Sample Label (AaBbYyZz) shows the new font selection.
184
Organizing devices
Map View has a number of options you can use to organize your view of devices. Arrange options are available from the Arrange menu on the main menu bar and right-click menu. Display options (on page 182 ) are available from the View menu on the main menu bar and the right-click menu.
X X
Try the different functions on the Arrange menu until you are satisfied with the topology. If you have a large set of devices or want to represent a topology specific to your network, you can also use the graphics tools to create custom map views. For example, to clean-up a map, after completing discovery, you can try the following display options: 1 2 Select the device group, and click the Map View tab. Right-click in the Map View and select Display > Clip Device Names. This removes the domain part of the device name and shows only the host name. 3 Select all devices in the view by clicking and dragging a selection box around all devices. Then, from the Arrange menu, select Distribute > Device Icons in Rows.
Router 1 shows a connecting link (see "Connecting links" on page 187 ) to device RRA and this link is currently up. Also shown are eight unconnected links (on page 187 ), all of which represent interfaces on the router. One of the unconnected links is disabled.
X X X X
JMA is a workstation that shows two unconnected links that are currently up. These are Ping and FTP monitors, found under Device Properties > Active Monitors. 185
RRA is an FTP Server that is currently down and shows five unconnected links, two of which are down. By default, links can be rendered in one of three colors: Green indicates a service (such as, but not limited to, Interface) that is up. This includes services that have not yet been polled. Red indicates a service that is down. Gray indicates a service listed in the devices Active Monitors list, but not currently monitored. Orange indicates that the device is currently in maintenance mode.
Router 1 shows a connecting link (see "Connecting links" on page 187 ) to device RRA and this link is currently up. Also shown are eight unconnected links (on page 187 ), all of which represent interfaces on the router. One of the unconnected links is disabled.
X X X X
JMA is a workstation that shows two unconnected links that are currently up. These are Ping and FTP monitors, found under Device Properties > Active Monitors. RRA is an FTP Server that is currently down and shows five unconnected links, two of which are down. By default, links can be rendered in one of four colors: Green indicates a service (such as, but not limited to, Interface) that is up. This includes services that have not yet been polled. Red indicates a service that is down. Gray indicates a service listed in the devices Active Monitors list, but not currently monitored. 186
To draw an attached line: 1 2 3 In Map View, right-click a device. The context menu opens. Click Attach > Attach to. A line displays next to the curser. Click the device icon you want to attach to. WhatsUp Gold draws an attached line between the two devices.
Note: The root device can attach to up to five other devices.
Connecting links
Connecting links represent a service, for example an interface, that connects two devices. They are drawn as lines from one device to another. If two devices have mutual links, the single line can consist of more than one color (if one object is up and the other is down). The center-point of the line back to the up object is green, while the other half of the line going to the down object is red. In essence, the color of the line represents the state of the service on the host that the color touches. Example If the red part of the line touches "System A" and the green part of the line touches "System B", then we know that some service on "System A" is the problem.
To show unconnected links for all devices: 1 2 Right-click in Map View to display the pop-up menu. Then, select Display > Unconnected Links.
Repeat these steps to disable Unconnected Links. The Unconnected Links option makes the map display short lines for links (on page 47 ) that are not connected anywhere. If this is cleared, only connected links are displayed. This could be a network interface that is not connected to another device. It could also be any active monitor (such as HTTP, or SMTP), in which case, the short line will show green when up and red when down.
X X
b) Drag the cursor to another device and click to create a link. 2 Automatically, during device discovery when using SNMP SmartScan (Click File > Discover Devices > SNMP SmartScan)
Note: The Interface service must be included in the scan.
Automatically, when you right-click a device, then click Properties > Active Monitors > Discover.
Note: When you use one of the automatic discover options, particularly when discovering interfaces on a router or switch, you need to enter the SNMP community string in the appropriate scan dialog. This lets the scan identify all the interfaces on the device. If scanning a specific device (from the Device Properties > Active Monitors dialog), with the device selected, right-click Properties, then select Credentials. In the SNMP v1/v2/v3 credentials box, select the Public Read Community. Click Active Monitors, then click Discover. When creating links manually, you are always creating a connected link. If there was an unconnected link for the service, it will be replaced by the connected link. Both connect and disconnect skips the dialog if there is only one active monitor on the device because it assumes you meant that monitor.
188
Map View
Map View shows a graphical representation of your devices. As in Device View, each device's icon provides information about its device type and status. Map View can also show the status of network interfaces (by using link lines (on page 47 )) and provide visual indications of polling dependencies (on page 91 ).
X X X X
Current device state is shown by the color and shape of a device icon. Device ASA is a workstation that is currently up. Device HRA is a workstation that is currently in maintenance mode. Device JMA is an FTP server that is currently down. Device PDA has missed a poll, but has not yet missed enough polls to be considered down. Devices ASA, HRA, RRA, JMA, and PDA are "Up" dependent on Router 1, as shown by the green arrows pointing to the Router 1 device. These devices get polled only if Router 1 is Up.
The above image shows a device that is considered up because the device is accessible, but a monitor configured on the device is down.
189
You can also use Map View to: Indicate relationships among devices by using annotation objects. Change the layout (on page 183 ) of devices and annotations.
X X
This shape changes color when an unacknowledged state change occurs on the monitor. Once the device has been acknowledge, the icon returns to the above appearance.
For more information, see Using Map View (on page 181 ).
X X
Map Limitations
By default, WhatsUp Gold will not display a map with more than 256 devices. You can change this default within the registry keys, with the understanding that it will cause lengthy delays by specifying larger device defaults.
Important: The more devices you allow on a map, the longer time you will wait for the map to load.
To change map device limitations: Go to HKEY_LOCAL_MACHINE\Software\Ipswitch\Network Monitor\WhatsUp Professional\2007\Settings. 2 Change the MapView-MaxDevices registry key to a number greater than 256 (Decimal). 1
Note: If you want to change the text that displays when you reach the maximum device limit, you can change it in the MapView-MaxDevicesMessage registry value. The default text is: There are more devices on this Map than can be |drawn in a reasonable time. Use the Device List |to manage devices for this Group. | |To increase the maximum of (%ld) devices that |can be drawn per Map, look in the online help |system for Map Device Limits. The pipes (|) in the default text indicate line breaks in the text and the (%ld) is a variable for the MapView-MaxDevicesMessage value.
190
CHAPTER 14
For each of the three date formats, select the one that best suits your needs. 191
Click OK.
These formats can be seen in use on several of the reports available on the Reports view.
On the Report Data section, you can change the settings for raw data, hourly data, and daily data. 4 Click OK to save the changes. You can see how many rows in the database that the data takes up by viewing the numbers under the time settings.
192
3 4 5
To change an existing icon or state, select the entry from the list and click Edit. Adjust the shape and color of the icon using the settings in the Device State Editor. Click OK to save changes.
If the default settings do not fit your needs, click Add to create a new device state, using the internal state and state time that you need.
193
3 4
Select Use SSL access to start the server with SSL. Click OK.
You can change the port that the SSL server runs on by changing the port number next to the Enable SSL web server on port option.
194
Select Enable web server on port: to start the server, then clear the option to stop the server. 4 Click OK to save your changes. You can change the port that the server runs on by changing the port number next to the Enable web server on port: option.
195
3 4
196
CHAPTER 15
197
Full reports are viewed from the WhatsUp Gold Reports tab and can be sent on a regular basis to an email address you identify through the Recurring Report feature.
From the WhatsUp Gold console, you can access full reports by clicking the Reports button on the console toolbar.
Report categories
Reports in WhatsUp Gold are broken down in two ways: scope of the information displayed within a report, and the type of information displayed within a report. There are three categories for full reports based on the scope of information displayed within a report: System. These reports display system-wide information. System reports do not focus on a particular device nor a specific device group. For example, the General Error Log and the Web User Activity Log. Group. These reports display information relating to a specific device group. For example, the Group State Change Timeline and the Group Actions Applied reports. Device. These reports display information relating to a specific device. For example, the Device Status Report.
198
There are three categories for full reports based on the type of information displayed within a report: Performance. These reports display information gathered from WMI and SNMP Performance Monitors regarding your network devices' CPU, disk, interface, and memory utilization; and ping latency and availability. For example, the Device Custom Performance Monitors and the Group Memory Utilization reports.
Note: By default, performance data is not collected for the monitors assigned to the devices in your database. To begin collecting performance data for a device, right-click on a device on the Devices tab and select Properties from the context menu. In the Device Properties dialog, select Performance Monitors. No information will be displayed in performance reports until you have done this.
Problem Areas. These are trouble-shooting reports that allow you to investigate network issues. For example, the Group Active Monitor Outage and the Passive Monitor Error Log. General. These reports display information on your WhatsUp Gold settings and diagnostics, as well as device-specific and user-configured details. The Home, Top 10, and Device Status workspaces/full reports all fall in the General category.
The report Date/Time Picker located in the middle of the page allows you to easily change the time period for the report you are viewing. The More System Reports drop-down menu allows you to easily jump to other system reports, or to bring up the report picker to select from all full reports. To the right of the More System Reports drop-down are the report icons: Export. Allows you to export a report into text or Microsoft Excel. Favorites. Allows you to add a report to your list of Favorites. Help. Brings up the WhatsUp Gold help system. 199
Along with the Date/Time Picker and the report icons also available to you when viewing system reports, there are two other features unique to group reports. The More Group Reports drop-down menu allows you to easily jump to other group reports, or to bring up the report picker to select from all full reports. The All Devices button, located to the right of the Reports tab, brings up the Device Group Picker dialog. From this dialog you can choose a group for the report you are viewing.
Along with the Date/Time Picker and the report icons also available to you when viewing system and group reports, there are two other features unique to device reports. The More Device Reports drop-down menu allows you to easily jump to other device reports, or to bring up the report picker to select from all full reports. The Device Picker button located directly to the right of the Reports tab allows you to change the device-in-context for the report you are viewing. The Device Properties button to the right of the Device Picker button brings up the Device Properties for the device-in-context.
200
General Error Log (PA) Passive Monitor Error Log (PA) Performance Monitor Error Log (PA) Recurring Action Log (G) Recurring Report Log (G) SNMP Trap Log (PA)
201
Ipswitch WhatsUp Gold v11 Group reports Actions Applied (G) The Group Actions Applied report shows how Actions are applied to devices and Monitors in the current group. Each entry shows an action and the device, Monitor and state that triggered it. Compare the amount of time the Active Monitors on your devices have been available. Compare the amount of time the Active Monitors on your devices have been down. CPU utilization statistics for devices by group. Disk space utilization statistics for devices by group. The current status of monitored devices in the selected group, along with each Monitor configured to those devices. Interface traffic and utilization for devices by group. Memory utilization statistics for devices by group. Ping availability statistics for devices by group. Ping response times for devices by group. A timeline of when each Monitor on a device in the selected group changed from one state to another during the selected time period. A summary of device states organized by device group.
Active Monitor Availability (PA) Active Monitor Outage (PA) CPU Utilization (P) Disk Utilization (P) Health
Interface Utilization (P) Memory Utilization (P) Ping Availability (P) Ping Response Time (P) State Change Timeline (PA)
Device reports Active Monitor Availability (PA) CPU Utilization (P) Custom Performance Monitors (P) Device Status (G) Disk Utilization (P) Health (PA) Find out when the Active Monitors on your device have been accessible. CPU utilization statistics for a device. View information on your devices collected by Performance Monitors. A detailed look at a specific device. Disk space and utilization statistics for a device. Displays the current status (a snapshot) of the selected device and all Monitors on that device. Each Monitor shows its own device state, the current status of each item, how long the device has been in that status, and the time that status was first reported. Interface traffic and utilization statistics. Memory utilization statistics for a device. A record of Performance Monitor errors for an individual device.
Interface Utilization (P) Memory Utilization (P) Performance Monitor Error Log (PA)
202
CHAPTER 15 Using Full Reports Ping Availability (P) Ping Response Time (P) SNMP Trap Log (PA) Availability statistics for a device. Ping response times for an individual device. A history of SNMP traps that have occurred for the selected device during the selected time period. If the SNMP Trap Passive Monitor Listener is configured to listen for messages, any messages received are recorded in the SNMP Trap Log. This report shows a timeline of when each Monitor on the selected device changed from one state to another during the selected time period. This report shows syslog events logged for the selected device during the selected time period. If the Syslog Passive Monitor Listener is configured to listen for messages, any messages received are recorded in the Syslog Entries Log. This report shows Windows events logged for the selected device during the selected time period. If the Windows Event Passive Monitor Listener is configured to listen for messages, any messages received are recorded in the Windows Event Log.
To export a full report to text: While viewing the full report you wish to export: 1 2 3 On the Report Toolbar, click the Export button. On the Export Report dialog, select Export to Text. Clear or select the following options: Include report title, Include column names to either include or remove the report title or column names from the exported file. 203
4 5 6
Choose a Column delimeter from the drop-down menu. Choose a Text qualifier from the drop-down menu. Click OK to export the report to text.
To export a full report to Microsoft Excel: While viewing the full report you wish to export: 1 2 3 On the Report Toolbar, click the Export button. On the Export Report dialog, select Export to Excel. Clear or select the following options: Include report title, Include column names to either include or remove the report title or column names from the exported file. 4 Click OK to export the report to Excel. To save a full report: While viewing the full report you wish to save: 1 2 Select File > Save As. In the Save Web Page dialog, browse to the location you wish to save your file from the Save in box. 3 Give the file a title in the File name box. 4 Choose the type of file you wish to save the report as from the Save as type box. 5 Click Save.
Zoom tool
Use the report Zoom tool to page left or right, or to zoom-in or zoom-out on a report.
204
To remove a report from your list of favorites: 1 2 Navigate to your list of favorites from the Report Overview page. Click the Remove button next to the report(s) you wish to remove from your list of favorites.
Send reports as attachments. Select this option to have reports sent as attachments, rather than inline text within the original email. Workspace reports can only be sent as attachments. 9 Click Finish to add the report.
To edit an existing Recurring Report: 1 2 3 From the From the WhatsUp Gold console, select Configure > Recurring Reports. On the Recurring Reports dialog, select an existing Recurring Report and click Edit. Follow through the Recurring Report dialogs as you would for creating a new Recurring Report.
206
CHAPTER 16
207
Changes that you make to a workspace view only affect your user account. If you decide to completely change all of the workspace views under your account, your user account will be the only account affected by these changes.
Home contains three pre-configured "views" that you can customize to your own specifications: General Problem Areas 1 Problem Areas 2 Each workspace view includes several default workspace reports that you can decide to keep, alter, expand, or remove.
208
You can also create your own workspace views for the Home workspace through the Manage Workspace Views (on page 210 ) dialog.
X X
The Device Status workspace also has several pre-configured workspace views: General Disk/CPU/Memory Problem Areas Router/Switch/Interface
209
Memory utilization
Unlike the Home and Device Status workspaces, the Top 10 workspace is designed with only the General workspace view. You can customize the general view in the same way you can other workspace views by removing the default workspace reports and/or adding other Top 10 and Threshold workspace reports.
210
In the Manage Workspace Views dialog, you can create new workspace views, and edit, copy, or delete an existing workspace view.
Click New to configure a new workspace. Select an existing workspace view and click Edit to change the current configuration of a workspace. Double-click an existing workspace to change its configuration. Select a workspace view, then click Copy to make a copy of that workspace and add it to the list. Select a workspace view, then click Copy to to copy an existing workspace to another user. Select a workspace monitor view, then click Delete to remove it from the list. To create a new workspace view: 1 From the Manage Workspace Views dialog, select New. The New Workspace View dialog opens.
Enter the appropriate information in the following fields: View name. Enter a name for the workspace view. View type. Choose a type for the workspace view from the drop-down menu.
211
Column count. Enter a value for the number of columns you wish to have in the new workspace view. Keep in mind, the more columns you include, the smaller the data displayed inside a workspace. Enter a value in pixels for each of the workspace columns. 3 Click OK to save changes.
To edit a workspace view: 1 From the Manage Workspace Views dialog, select Edit. The Edit Workspace View dialog opens. 2 Enter the appropriate information in the following fields: Workspace name. The workspace title as it appears in the Workspace Library. Workspace type. The workspace type as it appears in the Workspace Library (Home or Device).
Note: Workspace view types cannot be edited after a view is created.
Column count. The number of columns in the workspace. Column width. The width of each column in the workspace in pixels. 3 Click OK to save changes.
To copy an existing workspace view: 1 From the Manage Workspace Views dialog, select Copy. The Edit Workspace View dialog opens.
Enter the appropriate information in the following fields: Workspace name. The workspace title as it appears in the Workspace Library. Column count. The number of columns in the workspace. Column width. The width of each column in the workspace in pixels.
212
To copy a workspace view to another WhatsUp Gold user: 1 From the From the Manage Workspace Views dialog, select Copy to. The Edit Workspace View dialog opens.
Enter the appropriate information into the following fields: Copy to user. Select a user account from the drop-down menu in which to copy the workspace view. View name. The name of the workspace view as it will appear in the Workspace Library.
Click OK to save.
To delete a workspace view: 1 2 From the From the Manage Workspace Views dialog, click Delete. Click OK on the dialog that follows.
213
To add, remove, and move workspace reports to a workspace view: To add a report click Add content on the Workspace Toolbar to bring up the Workspace Report Picker. On the Add content to view dialog, you can select multiple workspace reports, from multiple categories. A preview for the workspace report is displayed at the bottom of the dialog. For more information see, Adding workspace reports to a Device Status workspace (on page 214 ).
X X
To remove a report, go to the menu for that workspace report and select Close. Keep in mind, when you remove a report, any customizations you have made to it are lost. To move a workspace report, click on a report's title bar and drag it to a new space in the workspace view.
214
In the Workspace toolbar, click Add Content. The Add Content To View page opens.
Click the + button next to a report category folder, then click to select the report(s) you want to add to the Device Status workspace. 4 Click OK to save changes. The new report is added to the Device Status workspace.
215
216
CHAPTER 17
General. These workspace reports display information on your WhatsUp Gold settings and diagnostics, as well as device-specific and user-configured details. Interface Utilization. These workspace reports display information pertaining to device and network interfaces. Inventory. These workspace reports provide a break-down of network devices and their settings, including Actions, monitors, and policies. Memory Utilization. These workspace reports display information pertaining to device and network memory levels. Performance. These workspace reports display information gathered from WMI and SNMP Performance Monitors regarding your network devices' CPU, disk, interface, and memory utilization; and ping latency and availability. Ping Availability and Response Time. These workspace reports display information pertaining to device ping availability, response time, and packet loss. Problem Areas. These are trouble-shooting workspace reports that allow you to investigate network issues. Threshold. These workspace reports display information on your network's CPU, disk, interface, and memory utilization, and ping function; at or above a specific threshold. Top 10. These workspace reports display the top devices on your network according to their CPU, disk, interface, and memory utilization, and ping function.
218
Workspace reports are listed multiple times on the workspace report picker. For example, the Disk Utilization workspace report is listed under the Disk Utilization, Threshold, Top 10, and Performance categories.
219
Ipswitch WhatsUp Gold v11 (H) Top 20 CPUs by Utilization (D) Last 4 hours CPU Utilization (single device) (D) Last 8 hours CPU Utilization (single device) Lists the top 20 devices based on their current CPU utilization percentage. Details all CPU utilization percentages for one device over the last 4 hours. Details all CPU utilization percentages for one device over the last 8 hours.
(D) Last 7 days CPU Utilization (single Details all CPU utilization percentages for one device over the device) last 7 days. (D) Last 30 days CPU Utilization (single device) (H) Last 4 hours CPU Utilization (specific CPU) (H) Last 8 hours CPU Utilization (specific CPU) (H) Last 7 days CPU Utilization (specific CPU) (H) Last 30 days CPU Utilization (specific CPU) Details all CPU utilization percentages for one device over the last 30 days. Details a specific CPU's utilization percentages for one device over the last 4 hours. Details a specific CPU's utilization percentages for one device over the last 8 hours. Details a specific CPU's utilization percentages for one device over the last 7 days. Details a specific CPU's utilization percentages for one device of the last 30 days.
Custom Performance Monitor workspace reports (H) Last Polled Value (specific monitor) (H) Top 10 with threshold (H) Top 20 with threshold (H) Top 20 by specific monitors (D) Last 4 hours (single device) (D) Last 8 hours (single device) (D) Last 7 days (single device) (D) Last 30 days (single device) (H) Last 4 hours (specific monitor) (H) Last 8 hours (specific monitor) Details information on a specific custom performance monitors at the time of the last poll. Lists the top 10 devices by a custom performance monitor threshold. Lists the top 20 devices by a custom performance monitor threshold. Lists the top 10 devices by a specific custom performance monitor. Details a device's custom performance monitors over the last 4 hours. Details a device's custom performance monitors over the last 8 hours. Details a device's custom performance monitors over the last 7 days. Details a device's custom performance monitors over the last 30 days. Details a specific custom performance monitor over the last 4 hours. Details a specific custom performance monitor over the last 8 hours.
220
CHAPTER 17 Using Workspace Reports (H) Last 7 days (specific monitor) (H) Last 30 days (specific monitor) Details a specific custom performance monitor over the last 7 days. Details a specific custom performance monitor over the last 30 days.
Disk Utilization workspace reports (D) Last Polled Values (single device) (H) Last Polled Values (specific disk) (H) All Disks Over 80% (H) All Disks Over 90% (H) Top 10 Disks by Percent Utilization (H) Top 20 Disks by Percent Utilization (H) Top 10 Disks by Free Space (H) Top 20 Disks by Free Space (D) Last 4 hours Disk Utilization (single device) (D) Last 8 hours Disk Utilization (single device) Shows the disk utilization for all of a device's disks at the time of the last poll. Shows the disk utilization for a specific device disk at the time of the last poll. Lists all network devices with a disk utilization greater than 80%. Lists all network devices with a disk utilization greater than 90%. Lists the top 10 devices based on their current disk utilization percentage. Lists the top 20 devices based on their current disk utilization percentage. Lists the top 10 devices based on their current free disk space. Lists the top 20 devices based on their current free disk space. Details all disk utilization percentages for one device over the last 4 hours. Details all disk utilization percentages for one device over the last 8 hours.
(D) Last 7 days Disk Utilization (single Details all disk utilization percentages for one device over the device) last 7 days. (D) Last 30 days Disk Utilization (single device) (H) Last 4 hours Disk Utilization (single device) (H) Last 8 hours Disk Utilization (specific disk) (H) Last 7 days Disk Utilization (specific disk) (H) Last 30 days Disk Utilization (specific disk) (H) Last 4 hours Disk Free Space (specific disk) (H) Last 8 hours Disk Free Space (specific disk) Details all disk utilization percentages for one device over the last 30 days. Details a specific disk's utilization percentages for one device over the last 4 hours. Details a specific disk's utilization percentages for one device over the last 8 hours. Details a specific disk's utilization percentages for one device over the last 7 days. Details a specific disk's utilization percentages for one device over the last 30 days. Details a specific disk's free space for one device over the last 4 hours. Details a specific disk's free space for one device over the last 8 hours.
221
Ipswitch WhatsUp Gold v11 (H) Last 7 days Disk Free Space (specific disk) (H) Last 30 days Disk Free Space (specific disk) Details a specific disk's free space for one device over the last 7 days. Details a specific disk's free space for one device over the last 30 days.
General workspace reports (D) Device Attributes (D) Device SNMP Details (D) Device Details (D) Device Custom Links (D) Device Dependencies (D) Device Active Monitor States (D) Performance Monitor Summary (H) Map View (H) Database Size (H) Custom Links (H) Free Form Text/HTML (H) Web User Activity Log (H) Interface Details (H) User Orientation Displays a device's attributes configured in Device Properties > Attributes. Displays a device's SNMP details. Displays a device's details configured in Device Properties > General. Displays any custom links assigned to a device in Device Properties > Custom Links. Shows the state of a device and any devices that are up or down dependent on that device. Lists all of a device's Active Monitors and their current state. Displays a polling summary for the device-in-context. Displays a smaller version of a network map. Displays a graphical representation of the WhatsUp Gold database at the time of the last poll. Displays any custom links that you add to the workspace report. Displays any free form text or HTML code that you add to the workspace report. Displays a log of when a user logs on or off the web interface, and the actions taken while logged on. Displays SNMP information reported by a specific network interface. Displays information regarding the new the new web interface, workspaces, and workspace reports.
Interface Utilization workspace reports (D) Last Polled Interface (single device) (H) Last Polled Interface (specific interface) (H) All Interfaces over 80% Bandwidth Utilization Shows the interface utilization for all network interfaces at the time of the last poll. Shows the interface utilization for a specific network interface at the time of the last poll. Lists all network interfaces with a utilization greater than 80%.
222
CHAPTER 17 Using Workspace Reports (H) All Interfaces over 90% Bandwidth Utilization (H) Top 10 Devices by Bandwidth Utilization (H) Top 20 Devices by Bandwidth Utilization (H) Top 10 Devices by Interface Traffic (H) Top 20 Devices by Interface Traffic (D) Last 4 hours Interface Utilization (single device) (D) Last 8 hours Interface Utilization (single device) (D) Last 7 days Interface Utilization (single device) (D) Last 30 days Interface Utilization (single device) (H) Last 4 hours Interface Utilization (specific interface) (H) Last 8 hours Interface Utilization (single device) (H) Last 7 days Interface Utilization (specific interface utilization) (H) Last 30 days Interface Utilization (specific interface utilization) Lists all network interfaces with a utilization greater than 90%. Lists the top 10 devices based on their current interface utilization. Lists the top 20 devices based on their current interface utilization. Lists the top 10 devices based on their current interface traffic. Lists the top 20 devices based on their current interface traffic. Details all interface utilization percentages for one device over the last 4 hours. Details all interface utilization percentages for one device over the last 8 hours. Details all interface utilization percentages for one device over the last 7 days. Details all interface utilization percentages for one device over the last 30 days. Details a specific interface's utilization for one device over the last 4 hours. Details a specific interface's utilization for one device over the last 8 hours. Details a specific interface's utilization for one device over the last 7 days. Details a specific interface's utilization for one device over the last 30 days.
Inventory workspace reports (H) Total Devices by Type (H) Total Active Monitors by Type (H) Total Passive Monitors by Type (H) Total Performance Monitors by Type (H) Total Actions Applied by Type (H) Total Devices with Specific Attributes (H) Active Discovery Results Lists all monitored network devices by type and number. Lists all Active Monitors on the network by type and number. Lists all Passive Monitors on the network by type and number. Lists all Performance Monitors on the network by type and number. Lists all Actions on the network by type and number. Lists all devices with a specific attribute. Once an Active Discovery is performed, the results are listed in this report.
223
Ipswitch WhatsUp Gold v11 Memory Utilization workspace reports (D) Last Polled Memory Utilization (single device) (H) Last Polled Memory Utilization (specific aspect) Shows the memory utilization for all of device's memories at the time of the last poll. Shows the memory utilization for a specific network device at the time of the last poll.
(H) All Memories over 80% Utilization Lists all network devices with a memory utilization greater than 80%. (H) All Memories over 90% Utilization Lists all network devices with a memory utilization greater than 90% (H) Top 10 Devices by Memory Utilization (H) Top 20 Devices by Memory Utilization (D) Last 4 hours Memory Utilization (single device) (D) Last 8 hours Memory Utilization (single device) (D) Last 7 days Memory Utilization (single device) (D) Last 30 days Memory Utilization (single device) (H) Last 4 hours Memory Utilization (specific aspect) (H) Last 8 hours Memory Utilization (specific aspect) (H) Last 7 days Memory Utilization (specific aspect) (H) Last 30 days Memory Utilization (specific aspect) Lists the top 10 devices based on their current memory utilization. Lists the top 20 devices based on their current memory utilization. Details all memory utilization percentages for one device over the last 4 hours. Details all memory utilization percentages for one device over the last 8 hours. Details all memory utilization percentages for one device over the last 7 days. Details all memory utilization percentages for one device over the last 30 days. Details a specific memory's utilization for one device over the last 4 hours. Details a specific memory's utilization for one device over the last 8 hours. Details a specific memory's utilization for one device over the last 7 days. Details a specific memory's utilization for one device over the last 30 days.
Performance - Historic workspace reports (D) Custom Performance Monitor Values (last 4 hours - single device) (D) Interface Utilization (last 4 hours - single device) (D) CPU Utilization (last 4 hours - single device) Details a device's custom Performance Monitor values over the last 4 hours. Details all interface utilization percentages for one device over the last 4 hours. Details all CPU utilization percentages for one device over the last 4 hours.
224
CHAPTER 17 Using Workspace Reports (D) Memory Utilization (last 4 hours - single device) (D) Disk Utilization (last 4 hours - single device) (D) Ping Response Time (last 4 hours - single device) (D) Ping Availability (last 4 hours - single device) (H) Interface Traffic (last 4 hours - specific interface) (H) Custom Performance Monitor Values (last 4 hours - specific monitor) (H) Interface Utilization (last 4 hours - specific interface) (H) CPU Utilization (last 4 hours - specific CPU) (H) Memory Utilization (last 4 hours - specific memory) (H) Disk Utilization (last 4 hours - specific disk) Details all memory utilization percentages for one device over the last 4 hours. Details all disk utilization percentages for one device over the last 4 hours. Details all ping response times for device's interfaces over the last 4 hours. Details all ping availability for a device's interfaces over the last 4 hours. Details interface traffic for a specific device interface over the last 4 hours. Details a device's specific custom Performance Monitor values over the last 4 hours. Details a specific interface's utilization percentages for one device over the last 4 hours. Details a specific CPU's utilization percentages for one device over the last 4 hours. Details a specific memory's utilization percentages for one device over the last 4 hours. Details a specific disk's utilization percentages for one device over the last 4 hours.
Performance - Last Poll workspace reports (D) Custom Performance Monitor Values (single device) (D) Interface Utilization (single device) (D) CPU Utilization (single device) (D) Memory Utilization (single device) (D) Disk Utilization (single device) (H) Custom Performance Monitor Values (specific monitor) (H) Interface Utilization (specific interface) (H) CPU Utilization (specific CPU) (H) Memory Utilization (specific aspect) Shows the values for all of a device's custom Performance Monitors at the time of the last poll. Shows the interface utilization for all of a device's interfaces at the time of the last poll. Shows the CPU utilization for all of device's CPUs at the time of the last poll. Shows the memory utilization for all of a device's memories at the time of the last poll. Shows the disk utilization for all of a device's disks at the time of the last poll. Shows the values for a specific device custom Performance Monitor. Shows the utilization of a specific device interface at the time of the last poll. Shows the utilization of a specific device CPU at the time of the last poll. Shows the utilization of a specific device memory at the time of the last poll.
225
Ipswitch WhatsUp Gold v11 (H) Disk Utilization (specific disk) (H) Ping Response Time (specific interface) Shows the utilization of a specific device disk at the time of the last poll. Shows the ping response time of a specific device interface at the time of the last poll.
Ping Availability and Response Time workspace reports (D) Last 4 hours (single device) (D) Last 8 hours (single device) (D) Last 7 days (single device) (D) Last 30 days (single device) (D) Last 4 hours (single device) (D) Last 8 hours (single device) (D) Last 7 days (single device) (D) Last 30 days (single device) (H) Last Polled Response Time (specific interface) (H) Top 10 by Ping Response Time (H) Top 20 by Ping Response Time (H) Top 10 by Ping Packet Loss (H) Top 20 by Ping Packet Loss Shows the ping response time for all of a device's interfaces over the last 4 hours. Shows the ping response time for all of a device's interfaces over the last 8 hours. Shows the ping response time for all of a device's interfaces over the last 7 days. Shows the ping response time for all of a device's interfaces over the last 30 days. Shows the ping availability for all of a device's interfaces over the last 4 hours. Shows the ping availability for all of a device's interfaces over the last 8 hours. Shows the ping availability for all of a device's interfaces over the last 7 days. Shows the ping availability for all of a device's interfaces over the last 30 days. Shows the last ping response time of a specific device interface at the time of the last poll. Lists the top 10 devices based on their current ping response time. Lists the top 20 devices based on their current ping response time. Lists the top 10 devices based on their current ping packet loss. Lists the top 20 devices based on their current ping packet loss.
(H) Devices with Ping Response Time Lists all devices with a ping response time greater than 100 over 100msec msec. (H) Devices with Ping Response Time Lists all devices with a ping response time greater than 500 over 500msec msec. (H) Devices with Ping Packet Loss over 50% (H) Devices with Ping Packet Loss over 75% (H) Devices with Ping Availability over 75% Lists all devices with a ping packet loss greater than 50%. Lists all devices with a ping packet loss greater than 75%. Lists all devices with a ping availability greater than 75%.
226
Problem Areas workspace reports (D) Devices with Down Active Monitors (D) All Down Interfaces (D) Tail of State Change Log (D) Tail of Syslog (D) Tail of Windows Event Log (D) Tail of SNMP Trap Log (D) Tail of Action Activity Log (D) Tail of Passive Monitor Error Log (D) Web Alarms (H) All Completely Down Devices (H) All Down Interfaces (H) Devices with Down Active Monitors (H) Unacknowledged Devices (H) Devices that have fired an Action in the last X hours (H) Tail of State Change Log (H) Summary Counts (H) Tail of Syslog (H) Tail of Windows Event Log (H) Tail of SNMP Trap Log (H) Tail of Action Activity Log (H) Tail of Passive Monitor Error Log (H) Map View (H) Device Group Mini Status (H) Web Alarms (H) General Error Log Displays a device's down Active Monitors. Displays a device's down interfaces. Displays the tail of the State Change Log for a specified device. Displays the tail of the Syslog full report for a specified device. Displays the tail of the Windows Event Log for a specified device. Displays the tail of the SNMP Trap Log for a specified device. Displays the tail of the Action Activity Log for a specified device. Displays the tail of the Passive Monitor Error Log for a specified device. Displays any web alarms fired for a specified device. Displays down devices for a specified device group. Displays down interfaces for a specified device group. Displays devices with down Active Monitors within a specified device group. Displays unacknowledged devices within a specified device group. Displays devices that have fired an action over the selected time period. Displays a tail of the State Change Log for your network. Displays a summary of a specified device group. Displays the tail of the Syslog full report for your network. Displays the tail of the Windows Event Log for your network. Displays the tail of the SNMP Trap Log for your network. Displays the tail of the Action Activity Log for your network. Displays the tail of the Passive Monitor Error Log for your network. Displays a smaller version of a network map. Lists all devices in a device group and displays their status by color. Shows a snap shot of the most recent web alarms fired on your network. Displays the tail of the General Error Log for your network.
227
Ipswitch WhatsUp Gold v11 Threshold workspace reports (H) Ping Response Time (H) Ping Packet Loss (H) CPU Utilization (H) Memory Utilization (H) Disk Utilization (H) Disk Free Space (H) Interface Utilization (H) Interface Traffic (H) Custom WMI/SNMP (H) Ping Availability Displays the top devices based on their current ping response time thresholds. Displays the top devices based on their current ping packet loss thresholds. Displays the top devices based on their current CPU utilization percentage thresholds. Displays the top devices based on their current memory utilization percentage thresholds. Displays the top devices based on their current disk utilization percentage thresholds. Displays the top devices based on their current disk free space thresholds. Displays the top devices based on their current interface utilization percentage thresholds. Displays the top devices based on their current interface traffic thresholds. Displays the top devices based on their current custom WMI/SNMP thresholds. Displays the top devices based on their current ping availability thresholds.
Top 10 workspace reports (H) Ping Response Time (H) Ping Packet Loss (H) CPU Utilization (H) Memory Utilization (H) Disk Utilization (H) Disk Free Space (H) Interface Utilization (H) Interface Traffic (H) Custom WMI/SNMP (H) Ping Availability Displays the top devices based on their current ping response time. Displays the top devices based on their current ping packet loss. Displays the top devices based on their current CPU utilization. Displays the top devices based on their current memory utilization. Displays the top devices based on their current disk utilization. Displays the top devices based on their current disk free space. Displays the top devices based on their current interface utilization. Displays the top devices based on their current interface traffic. Displays the top devices based on their current custom WMI/SNMP. Displays the top devices based on their current ping availability.
228
229
230
Displaying multiple mini status workspace reports within a workspace view grants you a quick look at more than one group on your network and can help monitor important or problem areas more efficiently. You also have the option to display Active Monitors
231
associated with the devices in a selected group, which is useful in pin-pointing what services on your network are down. To aid in maximizing your screen real-estate, you have the ability to change the size and display style of the workspace report. Even if the font size is too small to read over at firstglance, you can use the mouse-over hover text to find out the identity of a device. The static rows of the mini status workspace report also aid in device recognition, as devices remain in the same position regardless of their current state. To configure the Device Group Mini Status workspace report: 1 2 On the workspace report menu, select Configure. Enter the appropriate information in the following fields: Name. Enter a title for the workspace report. Device group. Select a device group by clicking the Browse (...) button. To select every device on the network, regardless of their subgroup, select Every device. Every device. Select this option to display every device in the system regardless of group. However, only devices that you have permissions to view will be displayed. Style. Select the style and size in which you would like the mini status displayed. Normal. Displays device and active monitor status with icons. High Contrast. Displays device and active monitor status with bright colors. Show Active Monitors. Select this option to display the active monitors associated with the group's devices. Active Monitors per Row. Select the number of active monitors displayed per row. Active Monitors Cell Width. Enter a cell width in pixels. 3 Click OK to save changes.
232
CHAPTER 18
Using SNMP
In This Chapter
SNMP overview ................................................................................................ 233
X X
SNMP overview
The Simple Network Management Protocol (SNMP) defines a method by which a remote user can view or change management information for a device (a host, gateway, server, etc.). A monitoring or management application on the remote user's system uses the protocol to communicate with an SNMP agent on the device to access the management data. The SNMP agent on each device can provide information about the device's network configuration and operations, such as the device's network interfaces, routing tables, IP packets sent and received, and IP packets lost. This information, called SNMP objects, is stored in a standard format defined in the Management Information Base (MIB). The MIB defines the SNMP objects that can be managed and the format for each object. The SNMP protocol together with the MIB provide a standard way to view and change network management information on devices from different vendors. Any application that implements SNMP can access MIB data on a specified device. For a detailed description of SNMP, see Request for Comments (RFC) 1157. For a description of the MIB, see RFC 1213. The MIB information used by WhatsUp Gold is contained in MIB files in the MIB directory.
233
Interfaces. Contains information about network interfaces, such as Ethernet adapters, or point-to-point links; for example: ifDescr (name), ifOperStatus (status), ifPhysAddress (physical address), ifInOctets, and ifOutOctets (number of octets received and sent by the interface). IP. Contains information about the processing of IP packets, such as routing table information: ipRouteDest (the destination), and ipRouteNextHop (the next hop of the route entry). Other groups provide information about the operation of a specific protocol, for example, tcp ,udp, icmp , snmp , and egp. The enterprise group contains vendor-provided objects that are extensions to the MIB. Each object of the MIB is identified by a numeric object identifier (OID) and each OID can be referred to by its text label. For example, the system group contains an object named sysDescr, which provides a description of the device. The sysDescr object has the following object identifier: iso.org.dod.Internet.mgmt.mib.system.sysDescr 1.3.6.1.2.1.1.1 This object identifier would be 1.3.6.1.2.1.1.1 to which is appended an instance sub-identifier of 0. That is, 1.3.6.1.2.1.1.1.0 identifies the one and only instance of sysDescr. All of the MIB-II objects (for TCP/IP networks) are under the "mib" sub tree (so all these objects will have an identifier that starts with 1.3.6.1.2.1). For a detailed description of the MIB, see RFC 1213.
235
236
The SNMP Trap monitors that are listed are based on one of three things: Passive monitors already in the database. By default, the passive monitor database comes with a few of the most Common SNMP traps already in it. Passive monitors automatically created by WhatsUp Gold Trap Definition Import Tool. Use the Trap Definition Import Tool to create SNMP Traps from MIB files stored in the \Program Files\Ipswitch\WhatsUp\Data\Mibs folder. Passive monitors that you define yourself. This can be done either by copying and pasting actual trap information directly from your existing logs, or by browsing the MIB for OID values that you are interested in, and adding the Generic type (Major) and Specific type (Minor) information if required. To import SNMP trap definitions into the Passive Monitor Library: 1 In the WhatsUp Gold console, click Tools > Trap Definition Import Tool. The Trap Definition Import Tool dialog opens.
Click to select the traps you want to import, then click Import to passive monitor library. The Trap Import Results dialog opens and provides a message about the import results. Traps that already exist in the database are not imported again.
237
238
CHAPTER 19
Finished............................................................................................................... 242
X
WhatsUp Gold v8 and earlier vs. Ipswitch WhatsUp Gold v11 today
Ipswitch WhatsUp Gold v11 offers a completely redesigned User Interface, a new polling engine, a new database structure for storing information about devices, and a new philosophy of user interaction. Processes have been streamlined to make the application easier to use, and more robust in its functionality. When moving from file-based WhatsUp Gold v7 or v8 to database-based Ipswitch WhatsUp Gold v11, you will immediately notice the changes made to the application. The philosophy changes may take a little longer to grasp.
Philosophy changes
In WhatsUp Gold v8 and earlier, everything was centered around device maps. Those maps were used to monitor devices, edit device entries, and display relational information between the devices on the map. If you had multiple locations, or even multiple subnets in each location, you had to have several maps open in your WhatsUp window to monitor them all at once. Furthermore, maps were independent of each other, meaning that you could not have dependencies across maps or have the same device entry on multiple maps (without being polled by each map.) 239
While maps are still used today, they are now graphical representations of Device Groups, and are one of two ways to display the devices in those groups. The primary means of viewing devices is through the Device List view. This view has a familiar folder and item feel to it, and is very useful when handling many groups or large numbers of devices. In WhatsUp Gold v8 and earlier, maps handled the polling of the devices on that map. Today, there is a single database that stores all device information, across all device groups and a polling engine that polls them all. In short, the Device List and group tree has replaced the traditional WhatsUp Gold Maps as the main interface for the user. This gives the user the ability to make dependencies across their network, regardless of grouping; and to have devices appear in multiple groups, with the same information in each device entry.
Terminology changes
The following is a comparison between terminology used in WhatsUp Gold v8 and earlier, and the current product.
WhatsUp Gold v8 and earlier Events Monitors and Services Notifications Map Ipswitch WhatsUp Gold v11 Passive Monitors Active Monitors Actions Device Group or Device Map
Import utility
To start the Import utility, from the WhatsUp Gold console, select Tools > WhatsUp Gold v7/v8 File Data Import. The Import wizard opens. This utility migrates data from WhatsUp Gold 7 or 8 into the database. The following is a list of the items that are imported with this utility: Maps Service Definitions Events Library Definitions Notification Library Definitions Custom Device Type Definitions Trap Definitions This utility can be run at any time, and can be run multiple times. Each time the utility is run, imported maps and devices will be duplicated, but definitions are not duplicated or updated. For example, If XYZ email action exists in the database, the imported XYZ data is ignored, even if the definition was updated in WhatsUp Gold v7/v8 in the meantime. 240
Data Source
Data Source is the third dialog in the WhatsUp Gold v7/v8 Data Migration Utility. On this dialog, select the path to the WhatsUp Gold v7/v8 installation that you want to migrate into the database. The path can be any drive that is local or mapped from the WhatsUp Gold v7/v8 computer. The drive must be mapped, as the UNC name is not recognized as a valid drive. This directory contains the WhatsUp Gold v7/v8 configuration definition files. You can select your map files in the next dialog in this utility. For remotely mapped directories, be aware that modem settings for pagers and beepers will not be imported during this process, as these settings reside in the remote computer's registry. In this case, be sure to review the pager/beeper definitions once imported to ensure modem settings are correct.
Note: There may be an issue with custom icons, sound files, background images, and program notifications being imported when migrating WhatsUp Gold v7/v8 data from a remote drive. Since the WhatsUp Gold v7/v8 definition files may reference absolute directory locations, from the perspective of the remote computer, these types of files may need to be copied manually and re-setup for use in the current product.
Maps to transfer
Maps to Transfer is the fourth dialog in the WhatsUp Gold v7/v8 Data Migration Utility. Browse and select the map files that you want to import into the database. These files can reside on any mapped drive on your network, and may be any valid map file type (wup, xml, or ini.) Select all or a subset of maps to import.
241
If you only want to import definitions and not your WhatsUp Gold maps, you may leave this list blank.
Note: Be certain you are ready to begin importing data before you click Next. As soon as the process begins, data is being written to the database, and can not be 'backed out' without restoring a previously backed up database. You can stop the process, but any data written to the database will stay there until it is removed manually or overwritten during a database restore. If devices are duplicated in the imported WhatsUp Gold map files, this utility creates duplicate devices for each that is found. Each device instance will be polled as if it were a different device. You may want to condense these entries after completing the migration, and create "shortcuts" in the device groups instead of each duplicated device.
Finished
Click Finish to close this utility.
Important: Remember that maps are already live in your database, and are already being polled and alerts are active. Clicking Cancel now does not roll back changes to a premigration state. Data is live and is being used. To revert, you can restore the backed up database.
242
CHAPTER 20
243
Note: Exchange Monitor is part of the WhatsUp Gold Premium Edition, which extends WhatsUp Gold to provide application monitoring of Microsoft Exchange and Microsoft SQL servers, as well as any WMI-enabled application.
The Exchange Monitor supports monitoring of Microsoft Exchange Server 2000 or later versions, which can be on any machine in your network. To create custom parameters to monitor, the Exchange Server host must be WMI-enabled.
To start, it may be simpler to create one monitor for each parameter or service that you want to monitor. Whether you set up one monitor or many has a bearing on how the information is reported in WhatsUp Gold logs and by actions. For example, a single monitor to check disk space, named ExchangeDisk, is reported in logs with this name. If ExchangeDisk is reported down, you know it's a disk space problem. 4 5 Configure an Exchange Monitor with your selected parameters and/or services. Add the Exchange Monitor to the device that represents your Microsoft Exchange server. 6 Set up an Action to tell you when the monitor goes down or comes back up.
Note: The monitor will be reported down if any of the parameters or services in that monitor are down.
244
Add an Exchange monitor: a) Click New. The Select Active Monitor Type dialog opens. b) Select Exchange Monitor from the list. The New Exchange Monitor Server dialog opens.
c) In the Name box, enter the name you want to use to identify this instance of the Exchange monitor. For example, if you are configuring a monitor to check disk space, you might enter ExchangeDisk. 245
d) In the Description box, enter any text information to further describe the monitor. e) Select the thresholds to add to the monitor (see Thresholds table (on page 246 )).
X X
f) Select the services to monitor (see Services table (on page 247 )).
X X
g) Click OK to save the monitor in the Active Monitor Library. 3 Add the monitor to your Exchange Server device. a) In your device list, find the device that represents the Exchange server. Right-click the device, then select Properties. Select Active Monitors. b) Click Add. The Active Monitor wizard opens. Select the monitor, and continue with the wizard to configure any actions for the monitor. For more information on setting up an action, see Configuring an Action (on page 96 ).
X X
If you select Use in discovery, WhatsUp Gold adds the monitor to the Active Monitors list. From that list, you can select to scan for that service on all applications found during discovery.
Exchange parameters
You can set thresholds on the following parameters:
Select this parameter: CPU Memory Disk System If you want to: Monitor CPU state on the Exchange host. Monitor free memory on the Exchange host. Monitor available disk space on the Exchange host. Monitor operating system performance on the Exchange host, including context switches, CPU queue length, and system calls. Monitor message-handling links between mail servers. A link can contain zero or more ExchangeQueue objects, depending on the current message traffic along the link. In the Exchange System Manager, these links are called queues. Monitor the dynamic queues created to transfer individual messages between mail servers. An ExchangeQueue is part of an ExchangeLink. ExchangeQueue objects are not the same as the queues listed in the Exchange System Manager. Monitor the state of the clustered resources on the Exchange server. This parameter will return a value of Unknown - 0; OK - 1; Warning - 2; Error - 3. Browse and select from the large number of additional parameters that Microsoft Exchange reports.
Links
Queues
Cluster
Custom Thresholds
246
Exchange services
You can monitor the following critical Exchange services to determine whether the service is available (Up) or is disabled (Down).
Select this process: Information Store If you want to: Monitor the MAPI message store service. The information store can contain messages, forms, documents, and other information created by users and applications. It provides each user with a server-based mailbox and stores public folder contents. Monitor the Site Replication service. Monitor the Management service. Monitor the Mail Transport Agent (MTA) service. The MTA service provides the engine for sending messages and distributing information between Microsoft Exchange Server systems or between Microsoft Exchange Server and a foreign system. Each MTA is associated with one information store. It is accessed using MAPI calls only and has no direct programmer interface with Microsoft Exchange Server. The MTA conforms to the 1988 X.400 specification. Monitor the System Attendant service. Monitor the Routing Engine, which determines the routes for delivering messages to remote addresses. It forwards the message to remote Exchange addresses using SMTP. If some addresses are on a foreign messaging system, the routing engine assigns the message to a gateway that handles the address type of the recipient and passes the message to the message transfer agent (MTA). Monitor the Event service, which reports warnings and errors. Monitor the POP3 service, which lets a mail client access mail on the server. Monitor the IMAP4 service, which lets a mail client access mail on the server.
Select Exchange Monitor and click OK. The New Exchange Server Monitor dialog opens. a) In the Name box, enter "ExchangeSystemCheck" to identify that this monitor will do a check on system parameters. b) Under Thresholds to monitor, select the CPU, Memory, and System parameters; then under Services to monitor, select the System Attendant service. Make sure these items have a check in the box to the left. You need to clear the selections for the other parameters and also for the other processes. c) Select the CPU parameter, then click Configure. The CPU Threshold dialog opens. Enter an appropriate threshold and click OK. d) Select the Memory parameter, then click Configure. The Memory Threshold dialog opens. Enter an appropriate threshold for the amount of free memory and click OK. e) Select the System parameter, then click Configure. The System Threshold dialog opens. Enter an appropriate threshold and click OK. f) Click OK to add the ExchangeSystemCheck monitor to the Active Monitor library.
Add the ExchangeSystemCheck monitor to your Exchange server device. a) In your device list, find the device that represents the Exchange server. Right-click the device, then select Properties. Select Active Monitors. b) Click Add. The Active Monitor wizard opens. Select the ExchangeSystemCheck monitor, and continue with the wizard to configure any actions for the monitor. For more information on setting up an action, see Configuring an Action (on page 96 ).
X X
After you complete the wizard, the monitor immediately begins to monitor the Exchange server. For status information on your Exchange Monitor, you can check any of the Active Monitor Reports: Active Monitor Availability Active Monitor Outage Health State Change Timeline State Summary Workspace reports
248
Note: SQL Server Monitor is part of the WhatsUp Gold Premium Edition, which extends WhatsUp Gold to provide application monitoring of Microsoft Exchange and Microsoft SQL servers, as well as any WMI-enabled application.
The SQL Server Monitor supports monitoring of Microsoft SQL Server 2000 or later versions, and MSDE 2000 or later versions, which can be on any machine in your network. To create custom parameters to monitor, the SQL Server host must be WMI-enabled.
2 3
Determine which SQL services to monitor. Decide whether to create a single monitor with multiple parameters and services, several monitors with one parameter or service, or some combination. Whether you set up one monitor or many has a bearing on how the information is reported in WhatsUp Gold logs and by actions. For example, if you create a single monitor to check disk usage, you can name it "SQLDisk" and it will be reported in logs with this name. 4 Configure an SQL Server Monitor with your selected parameters and/or services. 5 Add the SQL Monitor to the device that represents your SQL server. 6 Set up an action to tell you when the monitor goes down or comes back up.
Note:The monitor will be reported down if any of the parameters or services in that monitor are down.
249
Add an SQL monitor: a) Click New. The Select Active Monitor Type dialog opens. b) Select SQL Service Monitor and click OK.
250
d) In the Name box, enter the name you want to use to identify this instance of the SQL Server monitor. For example, if you are configuring a monitor to check disk space, you might enter SQLServerDisk. e) In the Description box, enter any text information to further describe the monitor. f) In the SQL Server Instance Name box, enter the name of the database you will monitor. g) Select the thresholds to add to the monitor (see Thresholds table (on page 252 )).
X X
h) Select the services to add to the monitor (see Services table (on page 252 )).
X X
i) 3
Add the monitor to your SQL Server device. a) In your device list, find the device that represents the SQL Server. Right-click the device, then select Properties. Select Active Monitors. b) Click Add. The Active Monitor wizard opens. Select the monitor, and continue with the wizard to configure any actions for the monitor. 251
For more information on setting up an action, see Configuring an Action (on page 96 ).
X X
If you select Use in discovery, WhatsUp Gold adds the monitor to the Active Monitors list. From that list, you can select to scan for that service on all applications found during discovery.
SQLSERVERAGENT
Microsoft Search
Distributed Transaction Coordinator The MS DTC service allows for several sources of data to be processed in one transaction. It also coordinates the proper completion of all transactions to make sure all updates and errors are processed and ended correctly. SQL Server Analysis Services Implements a highly scalable service for data storage, processing, and security.
252
CHAPTER 20 Using Ipswitch WhatsUp Gold v11 Premium Edition SQL Server Reporting Services SQL Server Integration Services SQL Server FullText Search SQL Server Browser Used to create/manage tabular, matrix, graphical, and free-form reports. A platform for building high performance data integration solutions. Issues full-text queries against plain character-based data in SQL Server tables. Listens for incoming requests for SQL Server resources and provides information about SQL Server instances installed on the computer. View replication objects, such as a publication, and, if allowed, subscribe to that publication. Added functionality for backup and restore of SQL Server 2005.
253
After you complete the wizard, the monitor immediately begins to monitor the SQL Server application. For status information on your SQL Server monitor, you can check any of the Active Monitor Reports: Active Monitor Availability Active Monitor Outage Health State Change Timeline State Summary Workspace reports
To create custom monitors, the host on which the application or server is installed must be WMI-enabled. You can connect to a host and view the WMI parameters reported by the Windows applications and servers on that host.
1 2
Determine which WMI object you want to monitor. Decide whether to create a single monitor with multiple WMI objects, several monitors with one object, or some combination. To start, it may be simpler to create one monitor for each WMI object that you want to monitor. Whether you set up one monitor or many has a bearing on how the information is reported in WhatsUp Gold logs and by actions. For example, a single monitor to check errors on logon, named LogonErrors, is reported in logs with this name. If LogonErrors is reported down, you know it's a specific problem.
3 4 5
Configure a WMI Monitor with your objects. Add the WMI Monitor to the device that represents your application host or server. Set up an action to tell you when the monitor goes down or comes back up.
Note: The monitor will be reported down if any of the objects that you selected to monitor are down.
workgroup, there are two possible user names: workgroup name\user or machine name\user. g) Enter the password for the login used above and click OK to connect to the computer. The Performance Counters dialog opens. h) In the Performance object box, select Server. i) In the Server folder, select the performance counter named: ErrorsLogon Take note of the Current value entry at the bottom of the dialog. This is the number of logon errors currently reported through WMI. Click OK to add the Performance counter to the New WMI Monitor dialog. j) In the Check type box, select Rate of Change.
k) In the Rate of Change box, enter the number of logon errors you feel is acceptable. This is the number of failed logon attempts between polls. l) 2 In the If the value is above the rate, then the monitor is box, select Down.
m) Click OK to add the active monitor to the library. Enter the credentials for logging on to the device to which you will add this monitor. a) In the Device Properties for the device, select the Credentials section. b) In the Credentials Section, click the Browse () button next to Windows credentials to access the Credentials Library. c) Create a Windows credential using the administration login and password for the device you want to create the passive monitor for. When you have configured the credential, click Close. d) On the Credentials page, select the new Windows credential, then click OK. 3 Add the ErrorsLogon monitor to the problem device. a) In your device list, find the device. Double-click the device to display its properties, then select Active Monitors. b) Click Add. The Active Monitor wizard opens. Select the ErrorsLogon monitor, and continue with the wizard to configure any actions for the monitor. c) For more information on setting up an action, see Configuring an Action (on page 96 ).
X X
You may want to consider creating several levels of the active monitor, each with a higher threshold than the other, and with more severe actions associated with it. For example, create a monitor with 30 as the threshold that simply sends you an email, letting you know that at least 31 attempts have been made. Next, create another monitor that uses 60 as the threshold. This monitor may have an SMS action associated with it that sends a text message to you when at least 61 attempts are made. For the most severe level you could create a 100 threshold and have the action send messages to several people who may be able to block the IP or take the device off the network while the attack is addressed.
256
257
CHAPTER 21
Troubleshooting
In This Chapter
Database Performance Tool ........................................................................ 259
X X
259
The "validation" phase executes the SQL Server commands "DBCC CHECKCONSTRAINT," "DBCC CHECKCATALOG," and "DBCC CHECKDB." These commands check the integrity of all constraints in the database, check for consistency in and between system tables in the database, and check the allocation and structural integrity of all the objects in the database. More information can be found in Microsoft's "Books On-Line" for SQL Server (http://www.msdn.microsoft.com/library/default.asp?url=/library/enus/startsql/getstart_4fht.asp). The "compacting" phase executes the SQL Server command "DBCC SHRINKDATABASE," which shrinks the size of the data files in the database. (Note that no compression is used; the database is simply compacted by removing empty space.) More information can be found in Microsoft's "Books On-Line" for SQL Server (http://www.msdn.microsoft.com/library/default.asp?url=/library/enus/startsql/getstart_4fht.asp).
Actions to take
After you have determined the scope of the network problems, one of the following may help you fix the problem. If it is the entire subnet that appears to be down, you should check your hub, router, or switch. Begin with checking the physical connections of the device to the network and to the power supply. Check the network cables and power cables. Check wireless network cards and signal strength. Check the Health Detail Report to see if it is a monitor or the device that is down. If it is the device, all of the monitors will appear down. Check out the Ping monitor. If it is up, you can be certain that the connection between the network and that device is up. If it is a monitor that appears to be down, begin by trying to restart the service on the device the monitor is running on. This is on the actual device itself, not through WhatsUp Gold.
260
CHAPTER 21 Troubleshooting
261
Within the Settings folder, select RPCPingTimeout and right-click. From the rightmouse menu, select Modify. 4 In the Edit DWORD Value dialog, enter in a new value for the timeout and click OK.
Important: The default timeout is 5 seconds. We strongly recommend that you do not exceed a timeout of 30 seconds.
After making any changes to the registry, you need to restart the WhatsUp Engine. To restart the WhatsUp Engine: 1 2 Go to Control Panel > Administrative Tools > Services. Select Ipswitch WhatsUp Engine from the list of services and select Restart from the left side of the dialog.
Telnet Tool
Telnet is a simple service monitor that checks for a Telnet server on port 23. If no telnet service responds on this port, then the service is considered down. To begin the service check, click the Telnet button.
Important: The Telnet protocol handler is disabled by default in Microsoft Internet Explorer 7. To re-enable it, see Re-enabling the Telnet protocol handler (on page 262 ).
X X
262
CHAPTER 21 Troubleshooting
5 6
Add a DWORD value named iexplore.exe and set the value to 0 (decimal). Close the Registry Editor and restart Microsoft Internet Explorer 7. The Telnet protocol is enabled.
263
264
Index
%
% Variables.............................................................. 115
B
backing up database .............................................................. 15 Blackout Period creating..............................................................114 browsing accessing web interface ................................. 51
A
Acknowledgements about.................................................................. 119 Action Policy about.................................................................. 118 assigning to a monitor ................................. 112 assigning to device........................................ 112 creating ............................................................. 118 creating custom.............................................. 118 editing................................................................ 119 implicit............................................................... 119 Actions assigning.................................................... 96, 112 blackout period .............................................. 114 configuring..........................................................96 deleting ............................................................. 111 emailing ............................................................ 120 policies............................................................... 118 strategies .............................................................94 testing................................................................ 111 text to speech.................................................. 105 variables ............................................................ 115 Active Discovery about.................................................................. 175 configuring....................................................... 176 enabling/disabling ........................................ 178 using......................................................................38 Active Monitor about.................................................................. 123 adding/editing................................................ 126 assigning Active Monitors........................... 126 assigning an action........................................ 112 configuring....................................................... 126 context code examples................................ 139 deleting ............................................................. 128 library ................................................................. 124 scripting ..........................................138, 139, 146 types................................................................... 123 Alerts ............................................................................12
C
Community String Credentials overview....................................... 85 Context Code examples ...........................................................139 using Active Script Monitor context object ........................................................................146 Copyright .....................................................................ix Credentials overview .............................................................. 85
D
data collection using Performance Monitors ......................162 database alternative setups ............................................. 17 backing up and restoring............................... 15 MSDE..................................................................... 14 performance tool.............................................. 16 table maintenance tool .................................. 17 Dependencies about .................................................................... 89 setting dependencies ..................................... 90 viewing dependencies.................................... 91 Device Discovery about ..................................................................175 using ..................................................................... 30 using the wizard................................................ 29 Device Groups organizing........................................................... 80 using dynamic groups .................................... 81 Device Properties about ............................................................. 76, 77 Device Types changing.............................................................. 80 configuring ......................................................... 79 Device View about .................................................................... 62 Devices
265
about.....................................................................61 adding...................................................................74 adding additional network interfaces........75 adding attributes ..............................................76 adding notes.......................................................76 adding with Device Discovery wizard........29 assign action.................................................... 112 assign actions.................................................. 112 changing device IP address...........................77 changing device name....................................77 changing device type ......................................80 configuring groups...........................................80 creating ................................................................79 discovering..........................................................29 Dynamic Groups using......................................................................81
M
Maintenance mode using maintenance mode.............................. 88 Map View about ..................................................................189 adding annotations to a map....................... 46 grouping objects ............................................184 Links about connecting ....................................187 about unconnected ................................187 creating connected link lines................. 48 showing unconnected ...........................187 using link lines ............................................ 47 organizing devices .........................................185 using Arrange options ..................................182 using attached lines......................................... 48 using device layout........................................183 using device types..........................................183 using grid properties.....................................183 using map display options ..........................182 using Map View...............................................181 using the lock position .................................184 viewing dependencies.................................... 91 menus creating custom context................................ 86 message Ipswitch WhatsUp Gold v11 engine service ........................................................................261 MIBs about ..................................................................234 Microsoft Exchange parameters........................................................246 services...............................................................247 migration utility .....................................................240 Monitors Active..................................................................123 assigning Actions............................................112 assigning Active Monitors ...........................126 deleting..............................................................128 Passive................................................................151 Performance.....................................................159 using ...................................................................124 MSDE ........................................................................... 14
E
Exchange Monitor configuring....................................................... 245 monitoring ....................................................... 243 Expression Editor about.................................................................. 130
G
Grid Properties using................................................................... 183
I
IIS configuring for web interface to use IIS ....26 importing using the Trap Definition Import Tool .... 236 utility .................................................................. 240 installing about installing or upgrading.......................10 about the MSDE database .............................14 configuring the web interface to use IIS ...26 overview................................................................. 7 system requirements ......................................... 8 unistalling............................................................13 using alternative database setups ..............17 interface adding additional to a device .......................75 IP address changing..............................................................77 IPX devices
N
network interface adding to a device............................................ 75 new features ................................................................4
266
O
objects about SNMP names and identifiers ......... 235 online help ................................................................... 5
connecting........................................................261 Reports configuring Recurring Reports...................205 recurring ............................................................206 setting Report Data storage time..............192 restoring database .............................................................. 15 Rules and Scripts about Script Syntax........................................130 Script Syntax keywords ...131, 132, 133, 134, 135, 138 using Expression Editor ................................130
P
Pager configuring actions ..........................................99 Passive Monitors about.................................................................. 151 about Device Properties .................................66 adding custom Performance Monitors to library .......................................................... 164 assigning an action........................................ 112 configuring....................................................... 154 configuring listeners ..................................... 152 using Passive Monitor Library.................... 153 Performance Monitor about.................................................................. 159 about Device Properties .................................64 about reports................................................... 169 adding custom Performance Monitors to library .......................................................... 164 configuring/enabling ................................... 162 Performance Monitor Library..................... 160 Polling about.....................................................................87 about Device Properties .................................69 changing polling method ..............................87 setting polling frequency...............................88 starting and stopping polling per-monitor ..........................................................................89 starting and stopping service .......................88 Program Actions about actions......................................................93 creating ............................................................. 106 Program Options changing Clock/Regional preferences.... 196 configuring Passive Monitor Listeners.... 152 setting date and time format..................... 191 setting Device States colors and icons ... 193 setting Web Server options ...........................57
S
Schedule blackout period...............................................114 maintenance ...................................................... 88 Scripts about Script Syntax........................................130 example disconnect string..........................135 example text string ........................................138 Script Syntax keywords ...131, 132, 133, 134, 135, 138 using Active Script Monitor context object ........................................................................146 using Expression Editor ................................130 using Telnet to determine...........................138 Security about SNMP......................................................236 about WhatsUp Gold web security............. 57 starting and stopping the secure web server............................................................194 Server starting and stopping polling ...................... 57 starting and stopping polling per-monitor .......................................................................... 89 starting and stopping the secure web server............................................................194 starting and stopping the web server ....... 57 Services Exchange Server .............................................247 monitoring for SNMP ....................................234 SQL Server.........................................................252 SNMP
R
Regular Expression syntax ................................. 136 remote desktop
267
about.................................................................. 233 about operations............................................ 236 about security ................................................. 236 about the Agent or Manager ..................... 234 Credentials overview .......................................85 enabling on Windows devices................... 161 monitoring service ........................................ 234 Object Names and Identifiers .................... 235 receiving SNMP Traps................................... 156 SNMP Management Information Base ... 234 using the Trap Definition Import Tool .... 236 SQL about SQL Server monitor .......................... 248 configuring a monitor .................................. 250 server parameters .......................................... 252 Syslog creating an action .......................................... 104 system requirements................................................ 8
about WhatsUp Gold web security............. 57 configuring for web interface to use IIS.... 26 starting and stopping the secure web server............................................................194 starting and stopping the web server ....... 57 WhatsUp Gold about Ipswitch WhatsUp Gold v11................1 about Ipswitch WhatsUp Gold v11 Premium .....................................................243 about previous versions of WhatsUp Gold ........................................................................239 new features..........................................................4 product information resources.......................5 unistalling............................................................ 13 WMI monitoring WMI-enabled applications...254
T
table maintenance ..................................................17 task tray icon .............................................................12 Telnet using Telnet to determine .......................... 138 testing Actions............................................................... 111 Active Discovery tasks .................................. 179 Text example text string ....................................... 138 Traps receiving SNMP Traps................................... 156 using the Trap Definition Import Tool .... 236 Troubleshooting network ............................................................. 260
U
Uninstalling................................................................13 Upgrading about.....................................................................10 backing up and restoring...............................15 using import utility........................................ 240
V
variables................................................................... 115
W
Web interface accessing..............................................................51 Web Server
268