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 NetScaler appliance. Give executable permission to the script. If the monitor type is a protocol that the NetScaler appliance does not support, only then you must use the monitor of type USER.

Note: 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/