-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
bugAn issue reporting a potential bugAn issue reporting a potential bugneeds triageAn issue that needs to be triagedAn issue that needs to be triaged
Description
Version
edge
What Kubernetes platforms are you running on?
Kind
Steps to reproduce
In the NIC + NAP + NIM Security Monitoring use case (https://docs.nginx.com/nginx-instance-manager/monitoring/security-monitoring/configure/set-up-app-protect-instances/), the agent config that is generated in the Helm chart is wrong. With that config, events are not properly collected and sent because of the family of metrics features we enable:
- metrics-sender |
Right now, the config file that is generated for the use case above only enables the feature metrics-sender
, which results in the agent being ready to send events, but not collecting them. To actually collect the events we need to include the metrics-collection
feature as well.
Alternatively, enabling metrics
would cover both sending and receiving behaviors.
Repro:
- Deploy the Security Monitoring use case with the latest Helm chart (enable Agent, enable NAPv5).
- Integrate it with NIM.
- Generate security events.
- Those event won't be seen in NIM.
Fix:
- Replace
metrics-sender
withmetrics
in the agent config. - Restart the agent.
- Now, security events can be seen in NIM.
Metadata
Metadata
Assignees
Labels
bugAn issue reporting a potential bugAn issue reporting a potential bugneeds triageAn issue that needs to be triagedAn issue that needs to be triaged