Community discussions

MikroTik App
 
linerov
just joined
Topic Author
Posts: 11
Joined: Mon Jan 17, 2022 1:41 am

Accounting missing - URL - 404 - telegraf/grafana integration?

Thu Apr 14, 2022 7:29 pm

Hi All,

Following https://wiki.mikrotik.com/wiki/Manual:IP/Accounting there should be URL:
http://routerIP/accounting/ip.cgi

Unfortunately on my system, I was getting 404 (v6.47.8), even if accounting was enabled together with web-access and no filtering for access.
After checking MikroTik download pages, there was v7.2 to which I've upgraded.
To my surprise Accounting disappeared.

Aim is to have nice accounting details thanks to:
https://github.com/ncareau/Mikro-Watch

Regards.
 
fragtion
Member Candidate
Member Candidate
Posts: 269
Joined: Fri Nov 13, 2009 10:08 pm
Location: Cape Town, South Africa

Re: Accounting missing - URL - 404 - telegraf/grafana integration?

Thu Apr 14, 2022 8:33 pm

IP accounting was removed from v7 in favour of Traffic Flow feature. See this thread: viewtopic.php?t=177606
Whether that is a good thing or not is debatable. MT developers say IP accounting is limited and old technology. I agree its removal is inconvenient as many tools no longer work now with ROSv7...
Either way, developer of Mikro-Watch should try to adapt his project to handle this change accordingly or you'll just need to use v6.
 
linerov
just joined
Topic Author
Posts: 11
Joined: Mon Jan 17, 2022 1:41 am

Re: Accounting missing - URL - 404 - telegraf/grafana integration?

Thu Apr 14, 2022 10:18 pm

Thank you!
Interestingly - Accounting on v6.47.8 is visible in config, but URL doesn't work anymore. This prompted me for upgrade to v7 where it is cleaned up completely.
It MikroTik, could come up with easier way to monitor MikroTik, would be great. SNMP unfortunately does not contain enough details and NetFlow is not easy to integrate with telegraf=> influxdb.