monitoring — format of monitoring component configuration
General syntax rules of Kernun Firewall configuration files are described in configuration(7). This man page describes types, sections and items specific for the monitoring component configuration.
Repeatable sections/items are marked by
the '*
' before section/item name.
Configuration directives have attributes of several value-types. For the basic types description, see configuration(7).
Configuration of monitoring library component consists of following prototypes:
monitoring { ... }
monitoring
{
disabled ... ;
comm-dir ... ;
interval ... ;
user ... ;
aproxy-user ... ;
data ... ;
}
Runtime monitoring of current proxy state.
disabled
;Disabling monitoring function.
Use this item to disable monitoring; otherwise it is enabled by default.
comm-dir
[path
];Directory for monitoring communication files.
path
(type: str
, optional, default: "/tmp")interval
[seconds
];Size of data sent during last INTERVAL seconds are used for computing current communication speed.
seconds
(type: uint16
, optional, default: 5)user
[chars
];Maximum number of characters from user name stored in the variable-length data area of a monitoring record.
chars
(type: uint16
, optional, default: 8)aproxy-user
[chars
];Maximum number of characters from authentication proxy user name stored in the variable-length data area of a monitoring record.
chars
(type: uint16
, optional, default: 8)data
[chars
[tail
tail
]];Maximum number of characters from data info (filename, URI etc.) stored in the variable-length data area of a monitoring record.
chars
(type: uint16
, optional, default: 180)tail
tail
(type: uint16
, optional, default: 60)long data info is stored as <CHARS-3-TAIL initial characters>...<TAIL trailing characters>
CHARS must be greater than TAIL plus 3.
[End of section monitoring
description.]