Scripted monitor is not working

Hi,

I have a scripted monitor and it is working with an open ssh. But ltm is showing backend server as down when it deployed on the ltm. Do I need to change on the scripted monitor to run on the ltm properly? I have attached the scripted monitor.

Thank you.

What do you see when u run these from shell prompt:

- the script (eg. /usr/bin/monitor/ocsp.mon)?

- this command:

openssl ocsp -issuer Mobil.pem -url http://85.235.93.61/ocsp.xuda -cert Nurettin.pem -noverify | grep “good” 2>&1 > /dev/null

Do you put *.pem files in the same directory with the script?

Hi,

it is same diretory with the script.But I am wondering that Iam gettin ok message from the ltm command line when I runned the below command. But the monitor status is still showing as down .

openssl ocsp -issuer Mobil.pem -url http://85.235.93.61/ocsp.xuda -cert Nurettin.pem -noverify | grep “good” 2>&1 > /dev/null

Do you see “UP” when you run the script from command line?

Yes.

yes, but the ltm is showing node status as down.

Aaron has a good article about troubleshooting LTM monitors:

http://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/TroubleshootingLtmMonitors.html

You can also check sol12531 from AskF5:

0/

Thank you. I will check it.