16.01.2013 Views

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

Ipswitch WhatsUp Gold User Guide - Ipswitch Documentation Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Ipswitch</strong> <strong>WhatsUp</strong> <strong>Gold</strong> <strong>User</strong> <strong>Guide</strong><br />

2 From a command prompt on the <strong>WhatsUp</strong> <strong>Gold</strong> computer, execute the following<br />

case-sensitive command on a single line: >sqlcmd -E -S<br />

"%COMPUTERNAME%\WHATSUP" -Q "TRUNCATE TABLE<br />

[<strong>WhatsUp</strong>].[dbo].[PassiveMonitorActivityLog]"<br />

Note: Replace %COMPUTERNAME% with the name of the <strong>WhatsUp</strong> <strong>Gold</strong> computer.<br />

The command listed above assumes you are using the SQL <strong>Server</strong> 2005 Express Edition<br />

database that is installed with <strong>WhatsUp</strong> <strong>Gold</strong>. If you are using an alternate database<br />

configuration, contact your database administrator to determine what information<br />

should be included with the "-S" switch.<br />

After you have removed all the Passive Monitor data from the <strong>WhatsUp</strong> database, you can<br />

optionally shrink the <strong>WhatsUp</strong> database files to reclaim disk space on the SQL server.<br />

To shrink the <strong>WhatsUp</strong> <strong>Gold</strong> database:<br />

1 Ensure that all of the <strong>Ipswitch</strong> service and applications listed above are still stopped.<br />

2 From a command prompt on the <strong>WhatsUp</strong> computer, execute the following casesensitive<br />

command on a single line:<br />

>sqlcmd -E -S "%COMPUTERNAME%\WHATSUP" -Q "DBCC SHRINKDATABASE<br />

('<strong>WhatsUp</strong>', 20)"<br />

Note: Replace %COMPUTERNAME% with the name of the <strong>WhatsUp</strong> <strong>Gold</strong> computer.<br />

The database shrink could take quite some time depending on the size of the database<br />

and system resources, but reports a short database space analysis after completion.<br />

Note: You can abort the shrink process at any time by using the [CTRL] + [C] keystroke<br />

sequence.<br />

More information on the "DBCC SHRINKDATABASE" command can be found on<br />

Microsoft's web site at:<br />

http://msdn.microsoft.com/en-us/library/ms190488.aspx<br />

Important: After you reclaiming database space, you should examine your passive monitors'<br />

configuration. You can do this easily by viewing the the Total Passive Monitors by Type (on<br />

page 443) dashboard report (available on any Home dashboard), and the system-level SNMP<br />

Trap Log (on page 692), Syslog Entries (on page 693), and Windows Event Log (on page 696)<br />

reports. If you have passive monitors assigned to "talkative" devices, or you have monitors<br />

which are not exclusive enough in their search criteria assigned to your <strong>WhatsUp</strong> devices,<br />

you may re-encounter this problem as more passive monitor data is collected by the system.<br />

813

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!