System Management Hub Logging Service

The information is organized under the following headings:


Event Layer Logging

System Management Hub offers a product logging facility. The Event Layer service (daemon) is designed to uniform the manner in which events are logged for all products.

The Event Layer service uses the TCP protocol and a database to store events. The location of the Event Layer service database (jobs.db) on your local machine is:

[HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer\EvtSql]
"Sqldb_Name"="jobs.db"
"Sqldb_Path"="C:\<Software AG_directory>\InstanceManager\log\events"

The location of the Event Layer logging folder is shown on the following screen capture.

All the files outside the events folder (for example, argsrv.log) are internal system trace files. They keep a record of actions taken within System Management Hub.

This internal system trace is disabled by default. When you enable it (see below the trace key from the registry), you are able to trace those changes with the system logging, too.

The registry keys for the Event Layer are in the System Management Hub node.

Following are the default System Management Hub settings of the Event Layer registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer]
"Tcp_Ip_Port"="10014"
"Tcp_Ip_Queue_Size"="100"
"Tcp_Ip_Recv_Timeout"="60"
"Logging_Path"="C:\<Software AG_directory>\InstanceManager\log\events"
"Trace"="0"
"ShutdownTimeout"="900"
"Config_Edit"="1"
"ShowDebug"="0"
"RefreshRate"="5"
"Snmp"="1"
"Snmp_Interface"="C:\<Software AG_directory>\InstanceManager\bin\argevsnmp.dll"
"Snmp_Port"="10017"

[HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer\Cleanup]
"Info"="30"
"Warning"="30"
"Error"="30"
"Fatal"="30"

[HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer\EvtSql]
"Sqldb_Name"="jobs.db"
"Sqldb_Path"="C:\<Software AG_directory>\InstanceManager\log\events"
"Max_Jobs_In_Memory"="200"
"Logging_On"="0"
"Sql_On"="1"
"Restore"="0"
"Sqldb_Save_Old"="0"
"Sqldb_Cache_size"="2000"

[HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer\Syslog]
"Logmask"="FE"

Refer to the following table for a list of the most important registry keys and their values.

Registry Key Values
SNMP

enable ("1")

disable ("0")

Trace

enable ("1")

disable ("0")

Logging_Path

The path to the SQL database storage of all log messages for products

Changing the Database Path

There are user scenarios in which you may want to change the database path of the Event Layer service.

Start of instruction setTo change the event layer database path

  1. Stop System Management Event Layer service.

  2. Remember the value of registry HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer\EvtSql Sqldb_Path and the location of the folder on your local machine (for example, C:\<Software AG_directory>\InstanceManager\log\events) .

  3. Change the value for database path in registry: HKEY_LOCAL_MACHINE\SOFTWARE\Software AG\System Management Hub\EventLayer\EvtSql Sqldb_Path to the new location (for example, , C:\<databasedir>).

  4. Copy or move the file from the directory in step 2 to the new location directory that is the value of Sqldb_Path.

  5. Start System Management Event Layer service.