HP Network Protector SDN Application Administrator Guide

is triggered, a notification is sent to the administrator. At the same time, the aggregation timer
starts ticking down the aggregation period.
During the aggregation period, further event triggers are counted, but no notification is sent.
At the end of the aggregation period, a second notification, including the event count, is sent.
The default aggregation time is 24 hours (86400 seconds), meaning that after the first event
triggers an email notification, then the next notification mail is sent only after 24 hours.
CAUTION: Short aggregation periods can significantly affect system performance. The
shorter the aggregation period, the higher the system load. In the event of a flood attack, a
short aggregation period can lead to system performance problems.
trustedHosts.
For the application to communicate with the email server, you must set the TLS authentication
between the email client and the server. You must set a list of servers or trusted hosts from
which the application client must accept self-signed certificates from. If this parameter is not
set correctly, then the application client does not receive any mails form the email server.
Setting the maxRepetitionsCountTime parameter
Before you set the maxRepetitionsCountTime parameter, view the current value of the parameter.
Use the X-Auth-Token value in the curl command to view the current value of
maxRepetitionsCountTime parameter.
curl -k -v -H 'X-Auth-Token: session token' -X GET
https://ip_addr:8443/networkprotector/ui/v1.0/notifications/configuration
The default value is 86400 which is 24 hours. To get more than one email notifications a day,
reduce the aggregation period. For example, to set the aggregation period to 1 hour, use the
following command:
curl -k -v -H 'X-Auth-Token: session token' -X PATCH -d '{ "
maxRepetitionsCountTime " : 60 }'
For information about finding the session token, see “Finding session token (page ?).
Setting the trustedHosts parameter
Use the X-Auth-Token value in your curl command to view the current value of trustedHosts:
curl -k -v -H 'X-Auth-Token: session token' -X GET
https://ip_addr:8443/networkprotector/ui/v1.0/configuration/email
Use the following curl command to update the trustedHosts parameter with the IP address or Fully
Qualified Domain Name (FQDN) of your email server:
curl -k -v -H 'X-Auth-Token: session token' -X PATCH -d '{
"trustedHosts" : "10.181.1.225" }'
https://ip_addr:8443/networkprotector/ui/v1.0/configuration/email
Use the following curl command to confirm the trustedHosts parameter values were updated
correctly:
curl -k -v -H 'X-Auth-Token: session token' -X GET
https://ip_addr:8443/networkprotector/ui/v1.0/configuration/email
For information about finding the session token, see “Finding session token (page ?).
58 Monitoring