Community discussions

MikroTik App
 
muchr
just joined
Topic Author
Posts: 1
Joined: Thu Jun 30, 2011 6:35 pm

Probe for windows services - The Dude 4 beta 3

Thu Jun 30, 2011 6:58 pm

Hello,

After upate from dude 3.6 to 4.0 beta 3 the probe for windows services doas not work anymore. Can someone help me thanks.

Michael

Example:
Windows Service MyService
Is the Windows Service MyService up
Available: if(array_find(oid_column("1.3.6.1.4.1.77.1.2.3.1.1"),"MyService")>0, 1, 0)
Error: if(array_find(oid_column("1.3.6.1.4.1.77.1.2.3.1.1"),"MyService")>0, "", "MyService not detected by SNMP probe")
Value: 1
Unit:
Rate: none


*Need to replace MyService with the name of the service that you actually want to monitor
 
User avatar
geoffsmith31
Member Candidate
Member Candidate
Posts: 157
Joined: Fri Nov 05, 2010 6:08 am
Location: Toowoomba, Australia

Re: Probe for windows services - The Dude 4 beta 3

Sat Jul 09, 2011 10:04 am

We have been running 4b2 for quite a while and are using the following function probe to check for the Windows Print Spooler service successfully on Win 2k3 servers:

AVAILABLE: if(array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"spoolsv.exe")>0, 1, -1)

ERROR: if(array_find(oid_column("1.3.6.1.2.1.25.4.2.1.2"),"spoolsv.exe")>0, "", "Spooler service not detected")

We are also running similar probes to check for other services. Hope this helps even though not identical situations.