performance collection rule for netapp

Hello

I have a problem I'm trying to solve for few days, hope someone can help

I need to set a rule to collect performance data from netapp

I try the below, and change it million time, but didn't got the right syntax

most of the time I see in eventlog event #11052 with type mismatch error

anyone know the right syntax?

 see below the xml. the value I changed mostly was the value return

thx

     <Rule ID="DataONTAP.FabAuto.Custom.NumOfCifs.Collection.Rule" Enabled="false" Target="DataONTAP!DataONTAP.Controller" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
        <Category>Custom</Category>
        <DataSources>
          <DataSource ID="DS" TypeID="Performance!System.Performance.SnmpPerformanceProvider">
            <Interval>300</Interval>
            <IsWriteAction>false</IsWriteAction>
            <IP>$Target/Property[Type="DataONTAP!DataONTAP.Controller"]/ipAddress$</IP>
            <CommunityString>$Target/Property[Type="DataONTAP!DataONTAP.Controller"]/snmpCommunity$</CommunityString>
            <Version />
            <SnmpVarBinds>
              <SnmpVarBind>
                <OID>1.3.6.1.4.1.789.1.7.2.12</OID>
                <Syntax>0</Syntax>
                <Value VariantType="8"/>
              </SnmpVarBind>
            </SnmpVarBinds>
            <ObjectName>DataONTAP.Conroller</ObjectName>
            <CounterName>cifsNSessions</CounterName>
            <InstanceName>$Target/Property[Type="DataONTAP!DataONTAP.Controller"]/partnerName$</InstanceName>
            <Value>$Data/SnmpVarBinds/SnmpVarBind[1]/Value$</Value>
          </DataSource>
        </DataSources>
        <WriteActions>
          <WriteAction ID="WA" TypeID="MicrosoftSystemCenterDataWarehouseLibrary!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
        </WriteActions>
      </Rule>

January 29th, 2015 1:51am

Hi,

Do you get something like this?

Module was unable to convert parameter to a double value
Original parameter: '$data/SnmpVarBinds/SnmpVarBind[1]/Value$'
Parameter after $Data replacement: ''
Error: 0x80020005
Details: Type mismatch.

I have a suspicion there is a bug and you have to set the type explicitly in .xml. I believe you need to specify proper type instead of string (VariantType="8").

Link with variant types listing:

http://derekhar.blogspot.ru/2007/07/when-using-script-based-monitors-name.html#links

1.3.6.1.4.1.789.1.7.2.12 returns a range matching to unsigned int:

https://support.ipmonitor.com/mibs/NETWORK-APPLIANCE-MIB/item.aspx?id=cifsNSessions

There is no unsigned int among the available variant types, you may try to specify double value:

<Value VariantType="5"/>

Looks like similar problem:

http://microsoft.public.opsmgr.authoring.narkive.com/4C5bZuBf/snmp-performance-rule-data-type-mismatch

Maybe relevant problem with SNMP monitor:

https://social.technet.microsoft.com/Forums/systemcenter/en-US/0b057a4d-30db-4d6e-a237-dd185eabcebc/error-trying-to-setup-snmp-probe?forum=operationsmanagerauthoring

Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 8:18am

Also it makes sense to check with some MIB browser what value (if there is any value returned) is actually returned for 1.3.6.1.4.1.789.1.7.2.12. Because the problem may occur when nothing is returned for OID.

Another idea to be checked:

https://social.technet.microsoft.com/Forums/systemcenter/en-US/4b8e1aa7-41e4-44df-8fd9-2dd7ca47466e/snmp-monitoring-help-with-expression-filters

Did you try this OID (plus .0 in the ending)? I think this should be checked in the first turn.

1.3.6.1.4.1.789.1.7.2.12.0

February 5th, 2015 9:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics