Hi everyone,
I am looking for a way to evaluate and compare values (based on OID) using script monitors.
Assume that I have a device (.1.2.3.4) which reports its expected state (.1.2.3.4.1) and current state (.1.2.3.4.2). I'd like to periodically evaluate the values of the two states and compare them to check whether the current state is expected (i.e. no problem).
The way I am doing it is querying from the OpManager database in script. Is this the only way? Is there any better, easier, less flaky way of achieving the same results? Is there a way to simply specify an OID in a script and OpManager automatically substitutes the OID with the latest reported value (for the device the monitor is associated with) when executing the script?
Thanks.