OVNPM 1.5.2 - Performance Agent for NonStop Server Monitoring Guide

OVNPM Monitoring Configuration 23
sv_discover_application
This function should be run when most programs from an application are in the same subvolume. The application
should be running.
Syntax: sv_discover_application <name> <object> [updFlag]'
Where,
<name>: Application name without space.
<object>: Any valid object to start application scanning. Valid object could be a process name or the
application executable subvolume.
<updFlag>: Optional flag defining the configuration appIds to Update. Authorized values are:
BOTH: Update usercfg and appcfg. Default value.
USERCFG: Update usercfg only.
APPCFG: Update Navigator appcfg only.
If appcfg is the flag set, no restart is required. Just use sv_new_appcfg to update the configuration.
For example, command “sv_discover_application app03 $prods.app03exe”, will create or update the following
section in USERCFG:
--{section app03_application discovery.
process $A3DS ,trend=off
process $A3SNI ,trend=off
process $A3SN ,trend=off
.
.
process $A3XF ,trend=off
process $Y6RT ,trend=off
process $A3DBR ,trend=off
applidef app03 ,trend=on
=$A3DS+$A3SNI+$A3SN+$A3B00+$A3TCP+$A3X00+$A3CM+$A3B01
=$A3DBS+$A3XF+$Y6RT+$A3DBR
program $PRODS.APP03EXE.DS ,trend=off
program $PRODS.APP03EXE.TCPSN ,trend=off
program $PRODS.APP03EXE.XREAD ,trend=off
.
.
program $PRODS.APP03EXE.NULLTERM ,trend=off
program $PRODS.APP03EXE.DBR ,trend=off
--}section app03_application discovery.
It also creates or updates the following section in the APPCFG file.
--{section app03_application discovery.
APPLI app03
.process=$A3DS $A3SNI $A3SN $A3B00 $A3TCP $A3X00 $A3CM $A3B01
.process=$A3DBS $A3XF $Y6RT $A3DBR --}section app03_application
discovery.
--}section app03_application discovery.