%SYS
Config Class Reference

Configuration parameters for SAM (System Alerting and Monitoring). More...

Inheritance diagram for Config:
Collaboration diagram for Config:

Static Public Member Functions

_.Library.Status AddApplicationClass (_.Library.String ClassName, _.Library.String Namespace)
 Add an Application class name to be called during each SAM collection. More...
 
_.Library.Status DeleteApplicationClass (_.Library.String ClassName)
 Remove an Application class name from the list to be called during each SAM collection.
 

Public Attributes

 ExcludeMetrics
 A list of Sensor Groups to omit from each collection. More...
 
 Key
   More...
 

Detailed Description

Configuration parameters for SAM (System Alerting and Monitoring).



This controls behavior of the SYS.Monitor.SAM.Sensors collector class.

Member Function Documentation

◆ AddApplicationClass()

_.Library.Status AddApplicationClass ( _.Library.String  ClassName,
_.Library.String  Namespace 
)
static

Add an Application class name to be called during each SAM collection.

The class must inherit from SYS.Monitor.SAM.Abstract and implement the GetSensors() method.

Note that the 'Namespace' argument is typically a single Namespace, but may be a comma-delimited list. Calling this method for an existing ApplicationClass will replace the Namespace(s) for this Class. For multiple Namespaces, the ApplicationClass must differentiate Sensor names for each Namespace.

Member Data Documentation

◆ ExcludeMetrics

ExcludeMetrics

A list of Sensor Groups to omit from each collection.



Valid values are Performance, Mirrors, Database, CPU, CSPGateway, Journal, License, Memory, Process, Shadows, Transactions, SharedMemory, WriteDemon and Diagnostic

To update: set sam=##class(SYS.Monitor.SAM.Config).Open(),sam.ExcludeMetrics=$lb("Shadows","Transactions") do sam.Save()  

◆ Key

Key