Table of Contents

Invoke-MonitorServer

Note

This feature is only available in NCache Enterprise edition.

Invoke-Monitorserver cmdlet enables monitoring of the activities performed on the server and log these activities in a log file placed in the NCache installed directory in a folder named ‘log-files’.

Invoke-MonitorServer -Action [-NoLogo] [-Password] [-Port] [-Server] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command starts the monitoring service using default port 8250.
Invoke-MonitorServer -Action start
  • This command stops the monitoring service using default port 8250.
Invoke-MonitorServer -Action stop
  • This command starts the monitoring service on the server node 20.200.21.11 and the display of logo banner is suppressed.
Invoke-MonitorServer -Action start –Server 20.200.21.11 -NoLogo

Properties

Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-Action* <String> Specifies the actions taking place i.e start or stop. -
-Server <String> Specifies the NCache server name where the NCache service is running. -
-Port <Integer> Specifies the server port where NCache server is listening. 8250
-UserId <String> Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. -
-Password <String> Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False