Configure WebReports Logging
Log In or Register to download the BES file, and more.

1 Votes

Description

This will enable webreports logging...

Options for what to log:  none, all, databases, debug, critical, performance, or memory.


Property Details

ID89
TitleConfigure WebReports Logging
DomainBES
CategoryConfiguration
Download Size0
Sourcedanielheth@bigfix.me
Source ID<Unspecified>
Source Severity<Unspecified>
Source Release Date4/28/2011 12:00:00 AM
KeywordsConfigure WebReports Logging Options Configuration
Added by on 10/17/2012 9:31:55 AM
Last Modified by on 10/17/2012 9:37:44 AM
Counters 2942 Views / 12 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 1 rating. ** Log In or Register to add your rating.

Relevance

Used in 93 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
version of client >= "6.0"
Used in 5 fixlets   * Results in a true/false
Show indented relevance
exists service "BESWebReportsServer"

Actions

Action 1 (default)

Action Link Click here to Enable Logging.
Script Type BigFix Action Script
action parameter query "log" with description "WebReports Logging... (none, all, databases, debug, critical, performance, memory):"
// The port number should not be given
continue if {(parameter "log" of action = "none") OR (parameter "log" of action = "all") OR (parameter "log" of action = "databases") OR (parameter "log" of action = "debug") OR (parameter "log" of action = "critical") OR (parameter "log" of action = "performance") OR (parameter "log" of action = "memory")}
if {parameter "log" of action as string as lowercase != "none"}
    regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\BESReports]" "EnableLogs"="{parameter "log" of action as string as lowercase}"
    parameter "path"="{value "EnterpriseServerFolder" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server" of registry}"
    regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\FillDB]" "PerformanceDataPath"="{parameter "path"}\WebReports.log"
    regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\BESReports]" "LogOn"=dword:1
else
    regset "[HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\Enterprise Server\BESReports]" "LogOn"=dword:0
endif
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 2

Action Link Click here to learn more about WebReports Logging.
Script Type URL
http://support.bigfix.com/cgi-bin/kbdirect.pl?id=324
    

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
kapax -
moreover the success criteria may never be verified, since it will not change based on the action
kapax -
For the URL about WebReports logging the current link (Sept 2018) is http://www-01.ibm.com/support/docview.wss?uid=swg21505914