Advertisements

Getting my ‘the dude’ on part II

So after much futzing I was able to get a service monitored in ‘the dude’ I learned about a whole bunch of things like SNMP Oid’s etc…. at first I tried to create a probe like this

HOWTO check if specific SERVICE is running or not

Create New Probe and tag it with your required target device.

Probe Name:  check_telnet_service
Type:  Function
Available:  if(array_find(oid_column(“1.3.6.1.4.1.77.1.2.3.1.1″),”Telnet”)>0, 1, 0)
Error:  if(array_find(oid_column(“1.3.6.1.4.1.77.1.2.3.1.1″),”Telnet”)>0, “”, “Telnet not detected by SNMP probe”) 
Value
:  1
Unit:

From here http://aacable.wordpress.com/category/mikrotik-related/page/2/

But, that didn’t work for me. Eventually I ran into the fact that you have a copy of SNMPwalk inside of the tools of ‘the dude’ at that point you can paste in 1.3.6.1.4.1.77.1.2.3.1.1 into the top right of the Oid, and then I was able to find the service in question. Then awesomely enough, you can right click and say create SNMP probe from that service. Then I tested. Part of what was difficult was that you have to be patient with the SNMP service. It takes a minute or two before it registers that a service is down! But, I verified it, and this did in fact allow you to monitor whether a service was running or not!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: