ADC

Secure monitoring of servers by using SFTP

A user script ‘nssftp.pl’ is added to support SSH File Transfer Protocol (SFTP) monitoring. It is available in the current list of in-built Citrix ADC user monitors and is located in the /netscaler/monitors directory. The SFTP monitor uses the specified username and password to check if the file is present on the server.

To configure secure monitoring using SFTP by using the CLI

At the command prompt, type:

add lb monitor <monitorName> <type> -scriptName <string> -scriptArgs <string> -secure ( YES | NO )
<!--NeedCopy-->

Example:

add monitor SFTP_MON USER –scriptname nssftp.pl –scriptargs “file=example.txt;user=sam;password=sam_passwd”
<!--NeedCopy-->

To configure secure monitoring using SFTP by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Monitors and in Type specify USER.

  2. In Special Parameters, in Script Name, select nssftp.pl.

  3. Specify the Script Arguments.

Secure monitoring of servers by using SFTP