After upgrading or rebooting a NetScaler device, custom user monitors located in /netscaler/monitors are no longer present which might cause services or service groups to be marked down as the monitor scrip is no longer in the correct directory.
Important! Starting with release 10.1 build 122.17, the script files for user monitors are in a new location.
If you upgrade an MPX or VPX virtual appliance to release 10.1 build 122.17 or later, the changes are as follows:
For the scripts to function correctly, the name of the script file must not exceed 63 characters, and the maximum number of script arguments is 512. To debug the script, you must run it by using the nsumon-debug.pl script from the NetScaler command line. You use the script name (with its arguments), IP address, and the port as the arguments of the nsumon-debug.pl script. Users must use the script name, IP address, port, time-out, and the script arguments for the nsumon-debug.pl script.
Change in file structure.
The ns.log will also display the below messages where the script name will be for each respective monitor script:
Fri Jan 15 08:39:52 GMT 2016: Scriptname conflict found between /netscaler/monitors and /nsconfig/monitors. Moving /nsconfig/monitors/nsftp.pl to /nsconfig/monitors/conflicts directory. Fri Jan 15 08:39:52 GMT 2016: Scriptname conflict found between /netscaler/monitors and /nsconfig/monitors. Moving /nsconfig/monitors/nsldap.pl to /nsconfig/monitors/conflicts directory. Fri Jan 15 08:39:53 GMT 2016: Scriptname conflict found between /netscaler/monitors and /nsconfig/monitors. Moving /nsconfig/monitors/nsmysql.pl to /nsconfig/monitors/conflicts directory. Fri Jan 15 08:39:53 GMT 2016: Scriptname conflict found between /netscaler/monitors and /nsconfig/monitors. Moving /nsconfig/monitors/nsnntp.pl to /nsconfig/monitors/conflicts directory. Fri Jan 15 08:39:53 GMT 2016: Scriptname conflict found between /netscaler/monitors and /nsconfig/monitors. Moving /nsconfig/monitors/nsntlm-lwp.pl to /nsconfig/monitors/conflicts directory.
Citrix Documentation - Understanding User Monitors