When the agent, which waits for messages from network clients, receives
an UDP packet then checks its IP address. In this case .known.hosts file is
processed. If .known.hosts file can't be opened
to read or an IP address of the client doesn't match any record in this file,
the UDP packet is dropped. No authorization is made for local clients.
When an accepted message is processed, its severity is calculated, and then
the message is forwarded. A typical receiver of processed messages by damsnmptaud
is Associations Database.
The procedure that estimates a severity of a message takes only an identifier of
the message into consideration (damsnmpti
receives that identifier as an argument of its -d
option). The identifier is unique in all Operation Manager.
An initial severity of a message is zero. Then for each object of group type from the
configuration file is checked whether any string after string= keyword of this object
is included in an identifier of the message. If yes, a maximum value assigned to string
item will be taken into consideration. This value is added to a current severity of the
message. Finally the calculated severity is divided by a number of objects of group
type defined in the configuration file. The final severity is calculated as follows:
s * f - S * (1 - f), gdy s < 0
or
s * f + S * (1 - f), gdy s >= 0
where s is severity of a message included in it through its previous
processing by other modules of David system. Parameter S is current severity
of this message calculated by damsnmptaud in the basis of the configuration file.
Factor f is an argument of
--severity-balance-factor
option of damsnmptaud.