Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help to run the flow #15

Open
DuhBatista opened this issue Sep 21, 2022 · 1 comment
Open

Help to run the flow #15

DuhBatista opened this issue Sep 21, 2022 · 1 comment

Comments

@DuhBatista
Copy link

Hello colleagues.

I'm trying to lift collector. But I'm having a problem and some doubts with the points mentioned here.

1- kafka_broker_host: kafka-host.fqdn.com what can we put in this field in a simple and functional way could it be 127.0.0.1?

2- set_label=bdr1.neptunenetworks.org what we can also put in this field could be none ?

3- KAFKA_ADVERTISED_LISTENERS: INSIDE://:19092,OUTSIDE://kafka.fqdn.com:9092 at this point would the same indication 127.0.0.1 be relevant if that were the case?

Log in after the bgp connection is established.
Sep 20 21:41:16 traffic-flow pmacctd[467]: INFO ( default/core/BGP ): [10.254.0.78] BGP connection reset by peer (0).
Sep 20 21:41:16 traffic-flow pmacctd[467]: INFO ( default_kafka/kafka ): *** Purging cache - START (PID: 9631) ***
Sep 20 21:41:17 traffic-flow pmacctd[467]: INFO ( default/core/BGP ): [10.10.30.250] BGP peers usage: 1/2
Sep 20 21:41:17 traffic-flow pmacctd[467]: INFO ( default/core/BGP ): [10.254.0.78] Capability: 4-bytes AS [41] ASN [26xx9]
Sep 20 21:41:17 traffic-flow pmacctd[467]: INFO ( default/core/BGP ): [10.254.0.78] Capability: MultiProtocol [1] AFI [1] SAFI [1]
Sep 20 21:41:17 traffic-flow pmacctd[467]: INFO ( default/core/BGP ): [10.254.0.78] BGP_OPEN: Local AS: 26xx9 Remote AS: 26xx9 HoldTime: 90
Sep 20 21:41:21 traffic-flow pmacctd[467]: INFO ( default_kafka/kafka ): *** Purging cache - START (PID: 9635) ***
Sep 20 21:41:22 traffic-flow pmacctd[467]: ERROR ( default_kafka/kafka ): Connection failed to Kafka: p_kafka_check_outq_len()
Sep 20 21:41:22 traffic-flow pmacctd[467]: ERROR ( default_kafka/kafka ): Connection failed to Kafka: p_kafka_close()
Sep 20 21:41:22 traffic-flow pmacctd[467]: INFO ( default_kafka/kafka ): *** Purging cache - END (PID: 9631, QN: 1416/1416, ET: 0) ***
Sep 20 21:41:26 traffic-flow pmacctd[467]: INFO ( default_kafka/kafka ): *** Purging cache - START (PID: 9639) ***

@DuhBatista
Copy link
Author

My error was in /etc/pmacct/peering_agent.map
The ip was wrong. Now I have an output equal to the one reported in the example after installation.
Exit:
{"event_type": "purge", "label": "10.10.30.250", "as_src": 26xx9, "as_dst": 0, "ip_src":

{"event_type": "purge", "label": "10.10.30.250", "as_src": 0, "as_dst": 26xx9, "ip_src":

I see the "zero" in evidence for as_src and as_dst even though I'm changing helping the bgp_agent_map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant