Forum Discussion
STP_88362
Jul 13, 2009Nimbostratus
I don't know if you'd need to change owner or not. I created all of mine as root simply b/c I was logged in via WinSCP as root at the time. Now that you have changed permission, what do you see when you run the command from the SSH console?
I'd run:
sh -x /usr/bin/monitors/NTLM_Auth_Intranet 10.10.185.39 80
(I think I've gotten that correct based upon the IP and port you were testing in your script text you posted)
And verify that in your results you see:
* Closing connection 0
+ '[' 0 -eq 0 ']'
+ echo UP
UP
+ rm -f /var/run/NTLM_Auth_Intranet.10.10.185.39_80.pid
+ exit
If you see UP echo-ed onto the screen then for sure your script and grep command are working as expected against the NTLM-enabled site. Then it would be a matter of checking permissions / owner on the script itself. Also, I would make sure that you've got the script name copied exactly into the F5 external monitor via the GUI (i.e. capitalization of the name matches exactly).
One other item to check might be that you need a host header on your site, though I don't believe you'd have success at the SSH console manually but then not when run on its own by the LTM if it was indeed an issue w/ host headers. I ran into that once before which is why I was checking.
Thanks,
Sam