I’ve had lots of questions about what things can be controlled by the Web Console’s web.config settings. Until now, there’s never been a central location for all of the settings, until now!
Now that we know what all of the settings, how do we change them? These settings must be added to the Web Console’s web.config. The web.config file can be found in the OpsMgr installation directory on the server hosting the Web Console, typically C:\Program Files\System Center Operations Manager 2007\Web Console on the RMS. It’s an XML configuration file that can be edited with any text or XML editor.
In the web.config, we need to add new nodes into the <configuration><appSettings> section. From the screenshot below, you can see that I added values for LimitMaxViewRows, AlertsDaysBefore, AlertSeverity, and PerformanceHoursBefore. I’ve changed my web.config so that my Web Console shows 500 rows, 14 days of Alerts, all Alert Severities, and 48 hours of Performance data. You can choose to add as few or as many of these settings as you like. Most customer’s just add the LimitMaxViewRows and AlertSeverity options since that’s all they really need.
Here’s a text sample that you can use to edit your web.config file with. Be sure to make a backup copy of your web.config just in case!
<add key="ChartHttpHandler" value="Storage=memory;Timeout=180;Url=~/temp/;" />
<!-- Specify the name or IP of the Operations Manager 2007 R2 Server to connect to -->
<!-- This is internal connection between the web server and the MOM server. -->
<add key="MOMServer" value="YourWebServerNameHere" />
<!-- Application config parameters related to error logging -->
<add key="AuditEventLogSource" value="Web Console" />
<add key="AuditEventId" value="10" />
<!-- New Settings that were manually added-->
<add key="LimitMaxViewRows" value="500" />
<add key="AlertsDaysBefore" value="14" />
<add key="AlertSeverity" value="2" />
<add key="PerformanceHoursBefore" value="48" />
<!-- End New Settings that were manually added-->