Cant get this SQL Agent! GRR


#1

I have a windows service to monitor sqlagent$db01
I have tried “salqgent$db01” sqlagent"$"$"db01 sqlagent’$"db01
EVERY time I do it it will error out or post
SQLAGENT$$DB01, SQLAGENT$DBO1$
I have looked and tried combos and just cant get it right.
Current - not working still…
check_command check_nt!SERVICESTATE!-d SHOWALL -l “sqlagent$DB01”


#2

figured it out!

It needs to be exact sqlagent"$$"db01