You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once vector is started when relating to nrpe (either after #59 is resolved or by additionally deploying filebeat), the file /etc/vector/nrpe_lookup.csv contains duplicate lines for composite keys.
This duplication causes the log format to be weird and to not be correctly parsed from Grafana when using the Loki datasource.
The code responsible for this duplication should be here.
Bug Description
Once vector is started when relating to nrpe (either after #59 is resolved or by additionally deploying filebeat), the file
/etc/vector/nrpe_lookup.csv
contains duplicate lines for composite keys.If you
juju ssh cos-proxy/0
you would see thatubuntu@juju-142d1e-0:~$ cat /etc/vector/nrpe_lookup.csv composite_key,juju_application,juju_unit,command,ipaddr 10.211.43.179_check_conntrack,ubuntu,ubuntu/0,check_conntrack,10.211.43.179 10.211.43.179_check_systemd_scopes,ubuntu,ubuntu/0,check_systemd_scopes,10.211.43.179 10.211.43.179_check_reboot,ubuntu,ubuntu/0,check_reboot,10.211.43.179 10.211.43.179_check_conntrack,ubuntu,ubuntu/0,check_conntrack,10.211.43.179 10.211.43.179_check_systemd_scopes,ubuntu,ubuntu/0,check_systemd_scopes,10.211.43.179 10.211.43.179_check_reboot,ubuntu,ubuntu/0,check_reboot,10.211.43.179
This duplication causes the log format to be weird and to not be correctly parsed from Grafana when using the Loki datasource.
The code responsible for this duplication should be here.
To Reproduce
machine model
juju deploy ubuntu
juju deploy nrpe
juju deploy cos-proxy
juju relate nrpe ubuntu
juju relate cos-proxy nrpe
k8s model
juju deploy cos-lite --channel=edge
Environment
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: