Product Documentation

Configuring a Custom User Monitor

Mar 25, 2015

To configure a custom user monitor, you must first write the script that performs the action that the monitor will use to check the service that is bound to it, and upload the script to the /home/user directory on the NetScaler appliance. Then you create the monitor on the appliance, as described below.

Note: Monitor probes originate from the NetScaler IP (NSIP) address.

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>

Example

add monitor Monitor-User-1 USER -scriptname nsftp.pl –scriptargs "file=/home/user/ 
sample.txt;user=root;password=passwd"