Registry Settings for TrafMeter Service
All settings of TrafMeter Service (except Filterset)
are stored in the registry path:
[HKLM\Software\TrafMeter Software\TrafAgent\Settings]
|
There are several parameters of TrafMeter Service,
which can be changed only by modifying the registry manually:
- DeniedPktLogLevel (type REG_DWORD). It defines
a level of logging the denied packets:
0 - disables logging the denied packets:
1 - enables logging the denied packets:
2 - the same as 1 but includes MAC addresses
- TrafficLimitMBytes (type REG_DWORD). It
defines a number of bytes in 1 megabyte when checking a condition
of the rule. It is used for creating traffic limits (for example,
1000000 will define 1 MB = 1000000 bytes). By default, 1 MB =
1048576 bytes.
- LogMemUsage (type REG_SZ). It defines a full
path of a file for logging a memory usage of TrafMeter Service. It
is useful for detecting memory leaks in TrafMeter Service. By
default, Logging the memory usage is disabled.
- MSSQLConvertDateTime (type REG_DWORD) - It
enables using function CONVERT() for converting type 'datetime'
while recording Host Headers in MS SQL database:
0 - disables using CONVERT() (by default)
1 - enables using CONVERT(). Use this options when format of
datetime is not 'yyyy-mm-dd hh:mi:ss'.
- BindAddr (type REG_SZ). It defines IP address
(in decimal-dot notation) which will be used for accepting incoming
connections from TrafMeter Administrative Console. This address
must belong to PC running TrafMeter service.
- LogSize (type REG_DWORD). It defines the
maximum size (in megabytes) for single log file of TrafMeter
Service (by default, 2 Mb).
- LogRotate (type REG_DWORD). It defines number
of rotations for TrafMeter log files (by default, 5).
- HostResolvePeriod (type REG_DWORD). It defines
a period of refreshing (in seconds) an internal table with map
"Hostname - IP address" used when checking the rule with a hostname
as the source or as the destination (by default, 600).
Note
- You should restart TrafMeter Service in order to
apply the parameters listed above.