Xerox CentreWare Management Pack for Microsoft Operations Manager Support & Software User Guide

Page of 33
MOM Administrator Console 
Xerox CentreWare Event Rule 
The CentreWare for Microsoft Operations Manager management pack contains a rule called the Xerox 
CentreWare Event Rule. This rule looks for events created by the monitoring connector 
application. The rule then generates alerts based on these events. The Xerox CentreWare Event Rule 
can be modified to prevent certain events from being generated by CentreWare for MOM.  
To modify the Xerox CentreWare Event Rule: (optional) 
1)   Modify the default CentreWare Alert State Monitoring Script as needed and save the file with a 
unique descriptive name. See the Example VBScript section below for instructions. 
2)   Launch Microsoft Operations Manager and open the Xerox CentreWare Event Rule: Start > 
Programs > Microsoft Operations Manager 2005 > Administrator Console > Management 
Packs > Rule Groups > Xerox Devices > Event Rules > Xerox CentreWare Event Rule
3)   Select Properties, then click on the Responses tab.  
4)   On the Responses tab, select Xerox CentreWare Alert State Monitoring, then click Edit
5)   Select the Script tab to open the VBScript file, then modify the script as needed, or replace the 
current script with an alternate script (e.g. - the example VBScript below). Simply copy and paste the 
entire alternate script into the dialog. 
6)   Close the dialog, then Apply the changes. 
Example VBScript 
Included below is an example VBScript where a function has been added to disable the Low Paper alert 
messages in CentreWare for MOM. This function is not included in the default VBScript installed with 
CentreWare for MOM. However, this sample script can be modified to customize the alerts generated by 
CentreWare for MOM, and then used to replace the default VBScript that is installed with the CentreWare 
Event Rule.   
The lines changed from the default script are highlighted in the code below. Locate the "Low Paper” line 
that reads “if LastMessage <> "Low Paper" then” . This Low Paper alert can be changed to any one of 
the following state strings: 
•  Status Unknown to Printer 
•  Low Paper 
•  Out of Paper 
•  Toner Low 
•  No Toner 
•  Door Open 
•  Paper Jammed  
•  Offline 
•  Service Requested 
•  Input Tray Missing 
•  Output Tray Missing 
•  Marker Supply Missing 
•  Output Bin Near Full 
•  Output Bin Full 
•  Input Tray Empty 
•  Overdue Preventative Maintenance 
 
 
Multiple alerts can be filtered using the OR operator in the If statement. For example: if LastMessage <> 
"Low Paper" ||  "Toner Low" ||  "Output Bin Near Full" then...
 
13