|
|
|
Using the Command Line for Outage Reports
Wugrpt.exe is a utility that can generate reports from the Activity Log (EV-yyyy-mm-dd.tab) data. You can invoke wugrpt from the Windows Command Prompt (MS-DOS prompt). By default, the report is displayed in the Command Prompt or MS-DOS window.
Basic Command Syntax
wugrpt -mmapname [-syyyymmdd] [-eyyyymmdd] [-llogfile] [-osortmode] [-rreport] [-tmaptitle]Note: You must use the -m argument to specify the name of the WhatsUp Gold map to use for the report. All other arguments are optional. If you DO NOT use any other arguments, AND you only provide a map name, the report will be a detailed report for all dates in the activity log.
Examples
The following examples create Outage Reports for the Boston1 map:
wugrpt -m"c:\program files\whatsup\Boston1.wup"Generates a detailed report for all days in the log (uses defaults).
wugrpt -m"c:\program files\whatsup\Boston1.wup" -s20020301 -e20020331Generates a detailed report for one month of log data.
Return Codes
Wugrpt returns 1 if it performed at least one of the requested operations; it returns 0 if it failed.
|
Ipswitch, Inc. http://www.ipswitch.com |
| ©Ipswitch 2003 | |||