Cavisson Appliances Auto Monitors

We can also monitor the Cavisson Appliance using the following settings. These settings are used to enable/disable some linux based monitors of NSAppliance/NDAppliance.

ENABLE_NS_MONITORS <Flag value>

Flag value can be:

This is for enabling the setting. By default, this setting is enabled.

If user wants to disable the setting, user has to put the zero value for this setting.

For Ex:

ENABLE_NS_MONITORS 1

If user wants to disable some monitors from the monitors that are enabled by ENABLE_NS_MONITOR setting, user can use the provided setting:

DISABLE_NS_MONITOR <Monitor Name> <Monitor Name> …

For Ex:

DISABLE_NS_MONITORS UpTime SockStats

NO Auto Monitor

User can also monitor the Cavisson Appliance using the various settings. These settings are used to enable/disable some linux based monitors of NOAppliance.

ENABLE_NO_MONITOR <Flag value> <Server name>

This is for enabling the setting. By default, this setting is enabled.

If the user wants to disable the setting, user has to put the zero value for this setting.

For Ex:

ENABLE_NO_MONITORS 1 NO

If user wants to disable some monitors from the monitors that are enabled by ENABLE_NO_MONITOR setting user have to use the provided setting:

DISABLE_NS_MONITOR <Monitor Name> <Monitor Name> …

For Ex:

DISABLE_NO_MONITORS UpTime SockStats

User Transaction Identification

  • Add settings in the scenario file:

G_SEND_NS_TX_HTTP_HEADER ALL 1

  • Add below field in the Apache access log format to get details in access log file.

       LogFormat: “%h %l %u %t \”%r\” %>s %D %b \”%{Referer}i\” \”%{User-Agent}i\”     \”%{CavTxName}i\”” combined.

Description of log format is described above in AccesslogExtended Monitor.

  • Restart the apache server.
  • User can calculate number of request per second for particular page by using following tx name.
  • User can add monitor for the transaction: Apache access log monitor

Log Format Output:

192.168.255.1 - - [25/Jun/2014:15:52:42 +0530] "POST /tours/index.html HTTP/1.1" 200 2975 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)" "hpd_page1_trans1"

Monitor Profile Verification

  • After creating monitor profiles run a debug test with all monitor profiles and verify each monitors data.
  • If debug test ran fine, start a load test or we can start continuous monitoring test with no hit script. No hit script is a script that does not contain any URL. It just has the Page think time API.