@haggis
array_find looks for multiple values under one OID. I found much more information in the probe thread... Just search for probe.
First find out if the service is available...
In the available case check the OID contains "Terminal Services" and if it does return "1" or true if not return "0" or false.
Available: if(array_find(oid_column("1.3.6.1.4.1.77.1.2.3.1.1"),"Terminal Services")>0, 1, 0)
Then test to see if the service is up...
In the Error case check the OID contains "Terminal Services" and if True return "nothing" if not complain.
Error: if(array_find(oid_column("1.3.6.1.4.1.77.1.2.3.1.1"),"Terminal Services")>0, "", "Terminal Services down")
The available case is used when you discover services on a device. Once a service is active on a device the error case is used to check if it is working.
Just trying to help...
Thanks, i will give it a try. I would also liketo find out where there is detailed documentation of the commands used in these preobes eg: what does 'array_find' mean and the '>0, 1, 0)' specification at the end of the available line.
Also, the information about copying the lmmib2.mib file into the MIBS folder is new to me. How does this help to ID what the OIDs actually are? Also what happens if i want to copy this file in from multiple servers, since the file is the same name do we put them in separate sub-folders or rename them?
Thanks.