Отображает ровно в 2 раза больше, чем реально.
Если подключен 1 пользователь, отображает 2,
если 2, то отображает 4,
если 3 - 6 и т.д.
В mrtg.cfg:
Код: Выделить всё
...
Target[vpn_count]: `/usr/local/sbin/rstats ng_count`
Ylegend[vpn_count]: VPN Counts
ShortLegend[vpn_count]: Users 
Options[vpn_count]: gauge,nopercent,noinfo,transparent,growright
MaxBytes[vpn_count]: 200
Title[vpn_count]: VPN Interface count
PageTop[vpn_count]: <H1>Monitoring VPN sessions</H1>
Legend1[vpn_count]: Total users logged in
Legend2[vpn_count]: Unique users logged in
Legend3[vpn_count]: Maximal 5 Minute Incoming Traffic
Legend4[vpn_count]: Maximal 5 Minute Outgoing Traffic
LegendI[vpn_count]: Total Users:
LegendO[vpn_count]: Unique Users:
Colours[vpn_count]: SILVER#C0C0C0,BLACK#000000,DARKGREEN#006600,VIOLET#ff00ff
....
Вопрос, собственно в том, что сделал не правильно?
P.S. Если есть конфиг для ipfw, тоже не против посмотреть...