Multiple Agents SNMP

Hello, I am working with cablemodem docsis and I have approximately 6 thousand IP, I automatically generated a .conf file for each IP until then everything is fine. The problem is that my server crashes… maybe there are telegraph settings to activate that can help me collect the data…
Thank you

That’s too unspecific to actually help you out. What exactly do you mean with “my server crashes”? The whole system? Please provide some logs, so we can have an idea of what’s wrong.

I’m suspecting it can have to be something to do with out of memory, since 6k is probably a bit too much for 1 single telegraf instance. I for example are collecting 2k4 snmp devices spread over 8 telegraf instances (spread over 2 servers).

Yes, from what I saw, it consumes a lot of memory and CPU and the server ends up hanging.
Maybe I should do it in multiple instances… how could I run more than one instance of telegraph…
Aca mire los log y el error es:
[agent] Error writing to outputs.influxdb_v2: failed to send metrics to any configured server(s)
context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2024-07-11T18:18:09Z E! [outputs.influxdb_v2] When writing to [http://192.168.0.1:8086]: Post “http://192.168.0.1:8086/api/v2/write?bucket=prueba&org=Seg”: