nshttpd / mikrotik-exporter

prometheus mikrotik device(s) exporter
BSD 3-Clause "New" or "Revised" License
549 stars 153 forks source link

mikrotik router log spam #151

Open EvilBart-PL opened 1 year ago

EvilBart-PL commented 1 year ago

Hi,

how do you deal with mikrotik router logs being spammed by connections from the exporter ? it is one connect/disconnect every 10-15 seconds ...

is there an option to make the connection from the exporter to the monitored mikrotik router permanent like it is from the Dude?

image

this image is a test user qwe connecting to the monitored router from the exporter....

Regards BZ

xvalen commented 1 year ago

You can disable account logging: /system/logging/set 0 topics=info,!account

lisenet commented 12 months ago

@xvalen while this would indeed make the account logs disappear, it would also stop logging all account related information which from a security point of view is much worse than having the log being spammed with those messages.