Tuesday, April 1, 2014

Creating history collections attributes for Windows OS agent on ITM


In this blog - I will tell how to get the list of all the "ITM " NT agent attribute groups supported on a windows 2012 server.

tepslogin as an argument is key/important ' to the command.

c:\<>>tacmd tepslogin -s %COMPUTERNAME% -u sysadmin

c:\<>> tacmd histlistattributegroups -t nt


KUIHLA006I Validating user credentials...
Group Name                                 Status
Active Server Pages                        Not Configured
DHCP Server                                Not Configured
DNS Dynamic Update                         Not Configured
DNS Memory                                 Not Configured
DNS Query                                  Not Configured
DNS WINS                                   Not Configured
DNS Zone Transfer                          Not Configured
FTP Server Statistics                      Not Configured
FTP Service                                Not Configured
Gopher Service                             Not Configured
HTTP Content Index                         Not Configured
HTTP Service                               Not Configured
ICMP Statistics                            Not Configured
IIS Statistics                             Not Configured
Indexing Service                           Not Configured
Indexing Service Filter                    Not Configured
IP Statistics                              Not Configured
Job Object                                 Not Configured
Job Object Details                         Not Configured
KCA Agent Active Runtime Status            Not Configured
KCA Agent Availability Management Status   Not Configured
KCA Alerts Table                           Not Configured
KCA Configuration Information              Not Configured
MSMQ Information Store                     Not Configured
MSMQ Queue                                 Not Configured
MSMQ Service                               Not Configured
MSMQ Sessions                              Not Configured
Network Interface                          Not Configured
Network Segment                            Not Configured
NNTP Commands                              Not Configured
NNTP Server                                Not Configured
NT BIOS Information                        Not Configured
NT Cache                                   Not Configured
NT Computer Information                    Not Configured
NT Device Dependencies                     Not Configured
NT Devices                                 Not Configured
NT Event Log                               Not Configured
NT IP Address                              Not Configured
NT Job Object Details                      Not Configured
NT Logical Disk                            Not Configured
NT Memory                                  Not Configured
NT Memory 64                               Not Configured
NT Monitored Logs Report                   Not Configured
NT Network Interface                       Not Configured
NT Network Port                            Not Configured
NT Objects                                 Not Configured
NT Paging File                             Not Configured
NT Physical Disk                           Not Configured
NT Print Job                               Not Configured
NT Printer                                 Not Configured
NT Process                                 Not Configured
NT Process 64                              Not Configured
NT Processor                               Not Configured
NT Processor Information                   Not Configured
NT Processor Summary                       Not Configured
NT Redirector                              Not Configured
NT Server                                  Not Configured
NT Server Work Queues                      Not Configured
NT Server Work Queues 64                   Not Configured
NT Service Dependencies                    Not Configured
NT Services                                Not Configured
NT System                                  Not Configured
NT Thread                                  Not Configured
Print Queue                                Not Configured
Process IO                                 Not Configured
RAS Port                                   Not Configured
RAS Total                                  Not Configured
SMTP Server                                Not Configured
TCP Statistics                             Not Configured
UDP Statistics                             Not Configured
VM Memory                                  Not Configured
VM Processor                               Not Configured
Web Service                                Not Configured



and to configure the windows NT atributes for historical collecton on ITM use this script below.

Call it as histcoll_knt.bat

@echo off
setlocal

set COLINT=1m
set WHINT=15m

tacmd tepslogin -s %COMPUTERNAME% -u sysadmin

rem tacmd histcreatecollection -a "
tacmd histcreatecollection -a  "IVT_Logical_Disk"                -o  "NT Logical Disk" -t KNT -c %COLINT% -i %WHINT%
tacmd histcreatecollection -a  "IVT_Physical_Disk"               -o  "NT Physical Disk" -t KNT -c %COLINT% -i %WHINT%
tacmd histcreatecollection -a  "IVT_NT_Memory"                   -o  "NT Memory"       -t KNT -c %COLINT% -i %WHINT%
tacmd histcreatecollection -a  "IVT_NT_Network_Interface"        -o  "NT Network Interface"       -t KNT -c %COLINT% -i %WHINT%
tacmd histcreatecollection -a  "IVT_NT_Process"                  -o  "NT Process"       -t KNT -c %COLINT% -i %WHINT%
tacmd histcreatecollection -a  "IVT_Job_Object_Details"          -o  "Job Object Details"       -t KNT -c %COLINT% -i %WHINT%
tacmd histcreatecollection -a  "IVT_NT_Server_Work_Queues"       -o  "NT Server Work Queues"       -t KNT -c %COLINT% -i %WHINT%

rem now start the cllection.

tacmd histstartcollection -a  IVT_Logical_Disk              -m *NT_SYSTEM
tacmd histstartcollection -a  IVT_Physical_Disk             -m *NT_SYSTEM
tacmd histstartcollection -a  IVT_NT_Memory                 -m *NT_SYSTEM
tacmd histstartcollection -a  IVT_NT_Network_Interface      -m *NT_SYSTEM
tacmd histstartcollection -a  IVT_NT_Process                -m *NT_SYSTEM
tacmd histstartcollection -a  IVT_Job_Object_Details        -m *NT_SYSTEM
tacmd histstartcollection -a  IVT_NT_Server_Work_Queues     -m *NT_SYSTEM

Open the historical collections panel on the TEPS GUI and go to Windows OS to view the newly created attributes.



Once this is enabled, and assuming that the Windows OS agent is started and collecting  data, the Database should start populating data .

No comments:

Post a Comment