Configure a user monitor

To configure a user monitor, you must write a script that the monitor uses to check the services that are bound to it. Upload the script to the /nsconfig/monitors directory on the Citrix ADC appliance. Give executable permission to the script. If the monitor type is a protocol that the Citrix ADC appliance does not support, only then you must use the monitor of type USER.The user monitors support Perl and Bash scripts. Python scripts are not supported.


Monitor probes originate from the NSIP address. The scriptargs configured for the monitor of type USER is displayed in the running configuration and ns.conf files.

To configure a user monitor by using the command line interface

At the command prompt, type:

add lb monitor <monitorName> USER -scriptname <NameOfScript> -scriptargs <Arguments>


add monitor Monitor-User-1 USER -scriptname -scriptargs "file=/home/user/
Configure a user monitor