3.4 ContentManagementEventLog

Use this Knowledge Script to monitor the event log for Content Management error events generated by SharePoint.

This Knowledge Script raises events for the following error codes:

  • 4958: The content deployment job failed during the publishing process.

  • 5322: Content deployment job could not contact the destination server.

  • 5323: The connection to the destination server was lost while transporting the deployment package created by the content deployment job.

  • 5325: The content deployment job failed on the destination server during the import phase.

  • 5326: The content deployment job failed on the source server during the export phase.

3.4.1 Resource Objects

SharePoint Server

3.4.2 Default Schedule

The default interval for this script is every 10 minutes.

3.4.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General Settings

Job failure event notification

Event severity when job fails

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the job fails to read the Content Management event log. The default is 5.

Additional Settings

Event Details

Event detail format

Specify the format of the event details, either as an HTML table or as plain text. The default is HTML Table.

Monitor Content Management Event Log

Event Notification

Raise event if SharePoint generates a Content Management error event?

Select Yes to raise an AppManager event if SharePoint generates a Content Management error event in the event log. The default is Yes.

Event severity when SharePoint generates a Content Management error event

Set the event severity level, from 1 to 40, to indicate the importance of an event in which SharePoint generates a Content Management error event in the event log. The default is 20.

Data Collection

Collect data for the Content Management error event?

Select Yes to collect data for charts and reports. The default is unselected.

Events in past N hours

Set this parameter to control event checking for the first interval (after which checking is incremental):

  • -1 lists all t: he existing entries

  • N lists events for the past n hours, such as 8 for the past 8 hours, or 50 for the past 50 hours

  • 0 lists only entries from this moment on, without listing any previous entries

The default is 0.

Maximum number of entries per event report

Specify the maximum number of entries, from 1 to 100, to be recorded in each event's detail message.

If this script finds more entries from the log than it can put into one event message, it will return multiple events to report all the outstanding entries in the log. The default is 30 entries.

If this script encounters one or more very large events in the Windows Event log, this script may error out and generate the following event message: Out of string space. If this occurs, specify a smaller value for this parameter.