How to Monitor XenMobile Servers through SCOM

To configure SCOM to monitor XenMobile Server nodes and receive traps

Important: There are various approaches to monitoring in SCOM. Consult a SCOM expert for specific configuration steps. The steps in this article are only examples.

  1. Enable SNMP monitoring in the XenMobile console.

  2. Discover XenMobile Server nodes.

    1. Open the SCOM Operations Console and go to Administration. Right-click Network Management and then open Discovery Wizard.

    2. To discover XenMobile Server nodes, select Network devices.

      User-added image

    3. Because XenMobile Server supports only SNMP V3, select/add SNMP V3 Run As Account. Access mode can be either SNMP or ICMP and SNMP.

      User-added image

  3. To create Run As Account for SNMP v3 devices, the user should be the same user you added in the XenMobile console in the SNMP settings. Ensure that you add the correct password and protocols.

    User-added image

  4. This wizard creates a Discovery Rule to discover XenMobile Server nodes. After the rule is created, do one of the following:

    • Either allow the discovery rule to be run after the wizard is closed.

    • Run the rule manually.

      User-added image

  5. To run the discovery rule manually, go to Network Management > Discovery Rules. Select the Rule and then click Run from Tasks pane.

    User-added image

  6. To confirm the XenMobile Server nodes are successfully discovered, go to Network Management > Network Devices. If the discovery is successful, the XenMobile Server nodes appear. Check the Properties of each XenMobile Server. The Certification field should be CERTIFIED.

To create a Management Pack

Open the SCOM Operations Console and go to Administration. Right-click Management Packs and then click Create Management Pack. Type the appropriate values and then click Create to create a Management Pack.

User-added image

To create a group for XenMobile Servers

Open the SCOM Operations Console and go to Authoring. Right-click Groups and then select Create a new group.

User-added image

Grouping can be done based on Location (XenMobile). There could be other approaches to Grouping.

User-added image

To Create the State View

  1. Open the SCOM Operations Console and go to Monitoring. Create a folder. Right-click the folder and then select New > State View. Select the Target as Node.

    User-added image

  2. Select the group created in the previous step. This will only show the XenMobile Server nodes.

To Create the Diagram View

Open the SCOM Operations Console and go to Monitoring. Create a folder. Right-click the folder and select New > Diagram View. Select the Target as the group created earlier. This will only show XenMobile Server nodes.

User-added image

To create a rule to receive all traps as events

  1. Open the SCOM Operations Console and go to Authoring. Right-click Rules and then select Create a new rule. Follow the wizard to complete Rule creation.

  2. Click Collection Rules > Event Based > SNMP Trap (Event).

    User-added image

  3. Enter Rule Name and Description. Select Rule Target as Node. Ensure that Rule Category is Event Collection.

    User-added image

  4. Do not enter an OID here. Click Create to complete Rule creation.

    User-added image

To create an Event View

  1. Open the SCOM Operations Console and go to Monitoring.

  2. Create a folder. Right-click the folder and then select New > Event View. Select the Target as Node. Select the group created earlier. This will only show Traps from XenMobile Server nodes. In addition, you can select generated by specific rules and select XenMobile Server specific rules.

    User-added image

To create a rule to receive all traps as alerts

  1. Open the SCOM Operations Console and go to Authoring.

  2. Right-click Rules and then select Create a new rule. Follow the wizard to complete Rule creation.

  3. Select Alert Generating Rules > Event Based > SNMP Trap (Alert)

    User-added image

  4. Enter Rule Name and Description. Select Rule Target as Node. Ensure that Rule Category is Alert.

    User-added image

  5. Do not enter any OID. Click Next.

    User-added image

  6. Enter Alert name. Add appropriate Alert description. Set the Priority and Severity for the alert.

    User-added image

To create the alert view

  1. Open the SCOM Operations Console and go to Monitoring.

  2. Create a folder. Right-click the folder and select New > Alert View. Select the Target as Node. Select the group created earlier. This will only show Alerts from XenMobile Servers.

    User-added image

  3. In addition, you can select generated by specific sources and select XenMobile Server specific rules.

    User-added image

To create a rule based on a specific OID

Note: There could be multiple approaches.

  1. Open the SCOM Operations Console and go to Authoring.

  2. Right-click Rules and then select Create a new rule. Follow the wizard to complete Rule creation. Select Alert Generating Rules > Event Based > SNMP Trap (Alert)

    User-added image

  3. Enter Rule Name and Description. Select Rule Target as Node. Ensure that Rule Category is Alert.

    User-added image

  4. Enter OID 1.3.6.1.2.1.88.2.0.1 (mteTriggerFired).

    User-added image

  5. Enter Alert name. Add appropriate Alert description. Set the Priority and Severity for the alert.

    User-added image

  6. Export the Management Pack and edit the .xml file as shown below.

    1. Add the following in the xml file:

      For details, see the Microsoft blog post. https://blogs.technet.microsoft.com/kevinholman/2015/02/03/snmp-trap-monitoring-with-scom-2012-r2/

      Note: There could be other ways to configure this. This specific example is based on the blog post mentioned above.

      <ConditionDetection ID=”FilterSpecificVarbind” TypeID=”System!System.ExpressionFilter”>

      <Expression>

      <RegExExpression>

      <ValueExpression>

      <XPathQuery Type=”String”>EventData/DataItem/SnmpVarBinds/SnmpVarBind[6]/Value</XPathQuery>

      </ValueExpression>

      <Operator>ContainsSubstring</Operator>

      <Pattern>.1.3.6.1.4.1.3845.5.1.1.18.1.0</Pattern>

      </RegExExpression>

      </Expression>

      </ConditionDetection>

    2. Update the version number appropriately:

      <Version>1.0.0.1</Version>

  7. Import the .xml file as a management pack.

  8. In Authoring > Rules, right-click the Rule created and go to Properties.

  9. In Configuration, the added condition should be visible. Click Edit to view and edit the condition.

    User-added image

Create SNMP probe unit monitor

  1. Open the SCOM Operations Console and go to Authoring.

  2. Right-click Monitors and then select Create a monitor > Unit Monitor.

  3. Select SNMP > Probe Based Detection > Single Event Detection > SNMP Probe Monitor.

    User-added image

  4. Enter Monitor name and Description. Select Monitor Target as Node.

    User-added image

  5. Enter the OID to be monitored. Select Frequency.

    User-added image

  6. Enter appropriate threshold value: /DataItem/SnmpVarBinds/SnmpVarBind[1]/Value

    User-added image

  7. Enter the OID to be monitored. Select Frequency.

    User-added image

  8. Enter appropriate threshold value for the second SNMP probe: /DataItem/SnmpVarBinds/SnmpVarBind[1]/Value.

    User-added image

  9. Set appropriate Health State for the two SNMP Probes.

    User-added image

  10. Select how the alert will be generated. Enter Alert name and description. Set Priority and Severity for this alert.

    User-added image

To create performance rules to plot graphs

  1. Open the SCOM Operations Console and go to Authoring. Right-click Rules and the select Create a new rule.

  2. Select Collection Rules > Performance Based > SNMP Performance.

    User-added image

  3. Enter Rule name and Description. Select Rule Target as Node. Ensure that Rule Category is Performance Collection.

    User-added image

  4. Enter the required OID. Select Frequency.

    User-added image

To create performance views

  1. Open SCOM Operations Console and go to Monitoring. Create a folder. Right-click the folder and select New > Performance View. Select the Target as Node.

    User-added image

  2. Create multiple performance views for multiple rules or add all the rules in a single view.

    User-added image

Related:

Leave a Reply