A way to trigger a notification if signal falls below value

I am charting signal strength for my backhauls but I wish to have a notification triggered if my signal falls below -80dB. Can someone point me in the right direction? Rather than be notified when a service is actually down, I would like to know if it is getting bad in the first place.

Thanks! & I had fun at the MUM in TX.

You can find this information in the probes thread…

Right click the device and SNMPwalk, find the oid with the signal value, create a function that reads the oid. Create a probe that calls the function.

Use the below function and probe as your template. Place the correct oid in the Function code below, that oid is for cisco cpu.

FUNCTION +
Name: wan_link_avail
Description: returns true if oid is available.
Code: array_size(oid_column(“1.3.6.1.4.1.9.2.1.57”))

PROBE
Name:Wan-Link
Type: Function
Agent: default
Available: wan_link_avail()
Error: if(or(wan_link_avail()<>“”, wan_link_avail()/1>80), “”,“Low signal”)
Value: wan_link_avail()
Unit: Signal
Rate: none

If that doesn’t work simpilify it to
Error: if(wan_link_avail()/1>80, “”,“Low signal”)

If that doesn’t work try
Error: if(wan_link_avail()<-80, “”,“Low signal”)

I don’t konw if devide by 1 works in the dude or if it can handle negative numbers but it should.

HTH
SD

I could not get that to work.

I ended up creating a probe for each of my backhauls from the SNMP walk.

This works well. It would however, be much more simplistic to have this probe set-up as a function / probe. Any other ideas??

Can you post the text or a screen shot of your existing probe?

Thanks,
SD

You can try to change the probe so it uses the OID everywhere instead of the function.
I was messing with a probe today and the value to graph needed to be the oid plus .0 at the end.
So the error and value lines needed to change to the oid plus .0 but I left the availability setup to use the function since that is what is used to determine If the service exists on the device. When you automatically detect devices and you just use an OID for availability it doesn’t work correctly and the service gets added to every device.

For example:
FUNCTION +
Name: wan_link_avail
Description: returns true if oid is available.
Code: array_size(oid_column(“1.3.6.1.4.1.9.2.1.57”))

PROBE +
Name:Wan-Link
Type: Function
Agent: default
Available: wan_link_avail()
Error: if(or(oid(“1.3.6.1.4.1.9.2.1.57.0”)<>“”, (oid(“1.3.6.1.4.1.9.2.1.57.0”)/1)>80), “”,“Low signal”)
Value: oid(“1.3.6.1.4.1.9.2.1.57.0”)
Unit: Signal
Rate: none

Or you might try a couple variations on the error line… with and without the zero.
Error: if((oid(“1.3.6.1.4.1.9.2.1.57.0”)/1)>80, “”,“Low signal”)
Error: if(oid(“1.3.6.1.4.1.9.2.1.57.0”)<-80, “”,“Low signal”)

Takes a while to make a decent probe.
HTH,
SD