Having a bit of trouble with a custom probe and I can't figure out what I'm doing wrong here.
I'm trying to make a probe that will graph the modulation of our af24 and af5 radios and raise an error when it drops below 2x modulation. Since the oid returns a string I use string_substring() to return the first character only. The function afmod() returns the correct number but regardless if afmod returns 6, 4, 2, 1 the probe returns the error with the correct value! Am I just overlooking something simple here or..?
Screenshots provided below...