Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
bandwidth monitoring
« previous
next »
Print
Pages: [
1
]
Author
Topic: bandwidth monitoring (Read 16624 times)
ash45
Newbie
Posts: 4
Karma: 0
bandwidth monitoring
«
on:
December 28, 2015, 11:39:45 pm »
Hi dont know if im being blind or if its not there, is there an option some where to view the bandwidth used per device,
I know if i goto Interfaces > overview > and look at In/out packets it tells me for both Wan And Lan totals
but is there somewhere lists it on a per device basis EG 192.168.0.2 has used 12/1GB 192.168.0.3 1/0.1Gb so on its not a major thing to have but it would be nice for me to keep an eye on which systems are using the most data
Thanks Ash
Logged
Hektor
Newbie
Posts: 18
Karma: 2
Re: bandwidth monitoring
«
Reply #1 on:
January 05, 2016, 05:31:54 pm »
*push*
One of the reasons I registered to this forum was to ask the exact same question :-)
I'm used to some "old" Astaro appliances which had *a lot* of monitoring based on IP addresses, generated traffic filtered by time and amount etc.
I didn't see any options for that kind of monitoring, too.
Seems that there are some tools like bandwidthd, darkstat, ntop etc. which seem to work with pfSense (or did with some version at least). Is that a supported option to install these tools on OPNsense since it's based on pfSense and FreeBSD?
Any chance to get such packages for OPNsense natively with full GUI support?
Regards
Logged
AdSchellevis
Administrator
Hero Member
Posts: 904
Karma: 183
Re: bandwidth monitoring
«
Reply #2 on:
January 05, 2016, 10:39:44 pm »
The short answer is, it's not there (yet).
We probably will look at some options for the 16.7 release, preferably something which integrates nicely into our user interface, but at the moment there is no option available.
Unfortunately the port package for ntopng is not maintained any more, I already looked at the option to put that into our package list some time ago.
A short term option could be to add darkstat to our package collection (provided that package is still maintained), although a setup gui will not be provided from our end.
Regards,
Ad
Logged
AdSchellevis
Administrator
Hero Member
Posts: 904
Karma: 183
Re: bandwidth monitoring
«
Reply #3 on:
January 07, 2016, 10:33:21 am »
I've just added darkstat to our package list, so it will be in there at the next release:
(
https://github.com/opnsense/tools/commit/5a6fdde274204d7b97ca8b1cf41b0d827c1f05a1
)
In case you want to test already (and your using 64bit x86), I've uploaded the package to our website:
here's how to install manually:
Code:
[Select]
pkg add -f https://pkg.opnsense.org/snapshots/darkstat-3.0.719.txz
and start darkstat the usual way (darkstat -i <interface>)
«
Last Edit: January 09, 2016, 12:57:16 am by franco
»
Logged
Hektor
Newbie
Posts: 18
Karma: 2
Re: bandwidth monitoring
«
Reply #4 on:
January 07, 2016, 04:30:27 pm »
I've just tested it with the local LAN interface, working great so far :-)
I only got an error with "pkg -f" but it was installed anyways. The "-f" parameter seems to be unknown/illegal.
FYI: darkstat is listening on port 667/tcp so point your browser to
http://yourLAN:667
and you see some details.
Since I'm pretty new to FreeBSD (was using OpenBSD some years ago tough...) can someone point me in the right direction to run darkstat after a reboot? Probably during some rc.d magic but each system is different here...
Logged
AdSchellevis
Administrator
Hero Member
Posts: 904
Karma: 183
Re: bandwidth monitoring
«
Reply #5 on:
January 07, 2016, 04:54:43 pm »
Hi Hektor,
The easiest way is to add a startup script in our rc.syshook.d directory (which is used for our plugins).
You can use the vmware plugin as an example:
https://github.com/opnsense/plugins/blob/master/sysutils/vmware/src/etc/rc.syshook.d/vmware.start
(src/etc translates to /usr/local/etc/)
Regards,
Ad
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: bandwidth monitoring
«
Reply #6 on:
January 09, 2016, 12:58:12 am »
It's "pkg add -f", I've fixed the typo.
rc.syshook is the easiest way by far, I agree.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
bandwidth monitoring