I just setup a probe to monitor “notepad.exe” (as a test). It seems to be working fine, when I mouse-over the device on the map, it shows “notepad.exe running”, but the device icon still shows up gray. This is the only probe I have setup on this device. What am I missing here? I used the code provided by another user in the “Probe Thread”…
Type: function
Available: if(array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"OUTLOOK.EXE")>0, 1, -1)
Error: if(array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"OUTLOOK.EXE")>0, "", "OUTLOOK.EXE not detected by SNMP probe")
Value: 1 (or anything else, is purely for charting purposes and I return 1 if the service is running)
Unit: running (or whatever you want to call the above values)
Rate: none
(Thanks to winkelman for this code)
The only things I changed in this code is of course, the OID and name.