Hello
I am trying to use the SNMP probe monitor on my SCOM 2012 R2 server.
However I cannot seem to get it to Work propperly.
I setup my monitor like this:
First SnmpProbe and Second SnmpProbe has 3 OID's on seperate line.
In the First and Second expression I only use the first OID to check my error condition.
My parameter name is : /DataItem/SnmpVarBinds/SnmpVarBind[1]/Value
It is simple setup:
Healthy state equals 0
Error state is not equal 0
The Reason for the other OID's is that I want to use the other values in my Alert description.
I have confirmed that the OID's that I Query return Integers. By using my MIB browser. As I have found out the hard way. I had to export my management pack and edit the String value to Integer in my management pack and import it Again.
<FirstExpression><SimpleExpression><ValueExpression><XPathQuery Type="Integer">/DataItem/SnmpVarBinds/SnmpVarBind[1]/Value</XPathQuery></ValueExpression><Operator>NotEqual</Operator><ValueExpression><Value Type="Integer">0</Value></ValueExpression></SimpleExpression></FirstExpression>
Now why is my alert not triggering? I cannot even get it to Work if i switch the Error and Healthy state conditions, so that i should trigger.
Is it unsupported to use 3 OID's and only use one of them in the Expression?
I read somewhere that the parameters gets reversed, when multiple OID's are used. But it does still not Work, when i use /DataItem/SnmpVarBinds/SnmpVarBind[3]/Value (array number 3 instead of 1)
Do anyone have a good idea?