Previous Topic: ntregperf Keyword—Add Windows Registry and Performance MIB ObjectsNext Topic: Using Windows Registry and Performance Variables with Your Management Software


Windows Registry and Performance Examples

The SystemEDGE agent includes several sample ntRegPerf variables. These examples are defined in the sample sysedge.cf file. Before you add your own ntRegPerf extension, study these examples and their definitions in the Systems Management Empire MIB (empire.asn1 in the mib subdirectory of the agent installation). For clarity, these examples include the appropriate configuration file ntRegPerf commands.

Example: CrashControl DumpFile

The following ntRegPerf object returns the path to the dump file:

ntregperf 1 OctetString Registry 'SYSTEM\CurrentControlSet\Control\CrashControl' 'DumpFile'

The object instance identifier of this object is 1.3.6.1.4.1.546.5.7.1.0.

Example: Total Number of Threads

The following ntRegPerf object returns the total number of threads currently available in the system:

ntregperf 2 Gauge Performance 'Objects' 'Threads' '1'

The object instance identifier of this object is 1.3.6.1.4.1.546.5.7.2.0.

Example: TCP Segments Sent/Sec

The following ntRegPerf object returns the total number of TCP segments that were transmitted by the system:

ntregperf 3 Counter Performance 'TCP' 'Segments Sent/sec' '1'

The object instance identifier of this object is 1.3.6.1.4.1.546.5.7.3.0.