Skip to content

bmon (and other utils) on EdgeOS

 

I’m really not a huge fan of Ubiquiti or EdgeOS. I am a huge fan of vyatta and VyOS though. I switched from a virtualized instance of VyOS to the Edgerouter POE over a year ago and I miss some of the tools I had on a full blown linux box. But really though, the EdgeRouter is a linux box too and I can’t resist tinkering with linux appliances. There’s lots of fun network monitoring tools out there and if you’re the type that doesn’t log into your edgerouter’s web gui like I, then you might be hungry for graphs and statistics.

Hello World

Your Edge router is dying to talk to the outside world. And Ubiquiti documents how to do just that.

https://help.ubnt.com/hc/en-us/articles/205202560-EdgeRouter-Add-other-Debian-packages-to-EdgeOS

It’s nothing hard and you can stay in the vyatta configuration mode to make the system changes. DON’T run the below if you’re on FW 1.6 or older. Go to the link above for alternative instructions.

 

configure
set system package repository wheezy components 'main contrib non-free'
set system package repository wheezy distribution wheezy 
set system package repository wheezy url http://http.us.debian.org/debian
commit
save
exit


Once that’s done, use sudo apt-get/apt-cache like any other debian box.

DO NOT RUN SUDO APT-GET UPGRADE THOUGH!!!

keep to apt-get update, apt-cache search, apt-get install <package>

 

Utils worth checking out

So bmon is a quick easy way to diagnose large traffic flows, but there’s quite a few to choose from. Anything mentioned can be installed with

 apt-get install <package>

Just keep an eye on your disk space with

 df -h

Most of the Utils are pretty small, but so is your storage.

 

bwm-ng

This one’s similar and it can do graphs which aren’t that great. Tapping t toggles between 30second averages, max, sum, and real time numbers. I find this one to be a little more useful with the amount of interfaces I have

 

 

 

 

 

vnstat

Vnstat is actually a service. After it runs for a while it will gather some useable information. I’m going to give this one a shot for the long term but I’m a bit nervous as it’s going to grow a database. I’ve tried getting the router to mount an nfs share so I could save the database on a local server but have had no success. Even with nfs-common package, it simply can’t do it. I’m guessing it’s lacking kernel support.

 

 

 

 

 

iptraf

iptraf is something that I really can’t really sum up in words. When you need detail this is it. If you haven’t checked it out it’s definitely worth a look. It’s pretty much going to be netstat for your router plus throw in a MAC table so you know who’s on each interface.

 

 

 

So this is really just the start. All debian utilities (assuming kernel and storage support) are available to you. I just thought you might find use in the network utils. Experiment, tweak, just watch your disk usage. Oh and if you figure out how to mount an NFS share to these things let me know.

100 Comments

  1. Hi, the whole thing is going fine here and ofcourse every one is sharing data, that’s really fine,
    keep up writing.

  2. Wow! This blog looks just like my old one! It’s on a totally different subject but
    it has pretty much the same layout and design. Great choice of colors!

  3. Esta frase es simplemente incomparable:), me gusta mucho)))
    korben

  4. I like what you guys are posting. Such wise work!
    carry on the outstanding works fellas I’ve incorporated you guys to
    my blogroll. I think it will boost the value of
    my website.

  5. Because the YouTube video lessons are posted here same like I also embed YouTube video code at my own web site, for the reason that it is trouble-free to get embedded code.
    twist

  6. [url=http://orderviagrazzz.com/]best place to order viagra online [/url]
    how can i order viagra online
    viagra online order
    viagra online order

  7. [url=http://buyviagrazzz.com/]buy viagra online without prescription [/url]
    buy viagra online
    viagra buy online
    best place to buy viagra online

  8. Penegra [url=http://pricescial.com]generic cialis[/url] Kamagra Pictures

  9. Propecia Disefoto [url=http://lowpricevia.com]generic viagra[/url] Achat Xenical Sans Ordonnance

  10. 489201 531383This write-up is dedicated to all those that know what is billiard table; to all those that do not know what is pool table; to all those that want to know what is billiards; 788421

  11. I used to be recommended this web site by way of my cousin. I’m no longer sure whether or not this put up is
    written by him as nobody else understand such particular about my problem.

    You are amazing! Thanks!

  12. In any case when they need to stroll in primary sneakers and even unshod
    amid the Tawaf of Khana Kaaba and Saee none of them feels any agony or inconvenience.

  13. hi!,I really like your writing so so much! share we keep
    up a correspondence extra approximately your post on AOL?
    I require a specialist on this space to solve my problem.
    May be that’s you! Having a look ahead to peer you.

  14. Nіcely likе Mommy stated, when we love one another and love the world that
    Jesus died for, that?s a sort oof worship.
    When we take into consideration God and һearken to the sermoon or inn Sunday School, that?s a aрpoгoach of worshіppin as ɑ result
    of wwe аre learning how great God is and He likes that.
    Ⲟr after we sіt round and tell ezch otһer what the best thіngs about God
    aгe. You know hoѡ a lot yօou like hearing people say how sensiblе or
    cute yoou boys are? Welll God likes when we taⅼkk collectively aboutt how nice he
    is.? Daⅾdy answered.

  15. Whenever yoս elect to freelance, you will also be accountable for your peгsonal schedulе.

    As a substitute of being bound to thе 9-to-five work day oof most
    law places of work, each your day by day schbedule andd yoᥙr
    calendar aѕ a complete might bе larցеly as much as you.

    Whether you need to take day off, or whether or not you want to
    tame on a heavier workload, freelancing wil meet your needs.

  16. Ꮲroperly like Mommy mentiօned, once we love each
    other and love the worlԀ that Jesus dieԀ for, that?s a kind
    of worship. Once we think ahoᥙt God and take heed to the
    sermon or in Sunday Faculty, that?s a approach of wߋrshipping as a result of were
    lеarning how great God iѕ and He likes that.
    Or when we sit around and inform each other what the greatest issueѕ about God are.

    You know the ԝay much you like hearing people say how
    smart or cute you boys аre? Εffectiᴠely Good likes when we diѕcuss togetheг about
    how gгeat he is.? Daddy answered.

  17. Effectively, I аm shocked you all left the very additional best one for me.?

    Dаddy mentioned with ɑ teаsing smilе.
    ?It?s that hee despatched Jesus to die for
    us and give us life ceaselesѕly and ever and that due to that well be a family in heaven forr thousands and thousands of yeaгs.
    That?s pretty good isnt it?

  18. Good day! This post could not be written any better! Reading through this post reminds me of my old room mate!

    He always kept talking about this. I will forward this article
    to him. Fairly certain he will have a good read. Thank you for sharing!

  19. I believe everything published was very logical.
    However, think about this, what if you were
    to create a killer headline? I am not suggesting your information is not solid., but what if you added a title that grabbed people’s attention? I mean bmon (and other utils) on EdgeOS –
    volatile space is kinda plain. You might glance at Yahoo’s
    home page and note how they create article titles to get people to open the links.
    You might add a video or a related pic or two to get people excited about what you’ve got to say.
    In my opinion, it might bring your blog a little bit more interesting. http://ozdemmoda.com/index.php/component/k2/itemlist/user/12355

  20. Hello my family member! I want to say that this article
    is amazing, nice written and include approximately all important infos.

    I would like to peer more posts like this .

  21. Hello, I would like to subscribe for this website to obtain hottest updates, so where can i do
    it please help.

  22. [url=http://edsliferx.org/]where to buy amoxicillin without rx [/url]
    can i order amoxicillin online
    buy amoxil 500mg
    buy amoxicillin

  23. It all starts with Ethylene Vinyl Acetate, Skechers convert it
    to EVA being far simpler to pronounce.

  24. This is the perfect webpage for anybody who hopes to find out about this topic.
    You realize so much its almost hard to argue with you (not that I actually would want to…HaHa).
    You certainly put a brand new spin on a topic which has been discussed for many
    years. Excellent stuff, just great!

  25. [url=http://betningtof.org/]how much does viagra cost with insurance[/url]
    how much do viagra pills cost
    generic viagra cost
    levitra vs viagra cost

  26. [url=http://rantinto.org/]viagra pas cher livraison gratuite[/url]
    viagra pas cher en france
    viagra pas cher forum
    viagra gГ©nГ©rique pas cher

  27. [url=http://rilitthe.org/]price difference between viagra cialis[/url]
    cialis price with insurance
    cialis 10mg price
    cialis retail price

  28. [url=http://betningtof.org/]how much does viagra cost at walmart[/url]
    viagra prescription cost
    what does viagra cost
    how much does viagra cost at walmart

  29. [url=http://justdidnlo.org/]what is the generic name for cialis[/url]
    is there a generic for cialis
    cialis generic date
    is there generic cialis

  30. [url=http://andhadthe.org/]achat cialis angleterre[/url]
    sites les plus serieux pour achat de cialis
    achat cialis 20mg
    achat cialis en ligne

  31. [url=http://ettinti.org/]is it legal to order viagra online[/url]
    order generic viagra
    order viagra
    order viagra online legal

  32. We’re a gaggle of volunteers and opening a brand new scheme in our community.

    Your website provided us with valuable information to work on.
    You have performed an impressive process and our whole group might be thankful to you.

  33. I really like your blog.. excellent colors &
    theme. Did you create this site yourself or did you employ
    someone to do it for you? Plz answer back since I’m looking to
    create my own blog and would like to know where you got this from.
    thanks.

  34. [url=http://tedperof.org/]ou acheter levitra en france[/url]
    acheter levitra generique vardenafil
    acheter levitra
    acheter levitra en france

  35. [url=http://wronthentors.org/]where can i buy viagra online[/url]
    best place to buy viagra online forum
    buy viagra online
    buy herbal viagra

  36. [url=http://theveter.org/]site fiable pour acheter cialis[/url]
    acheter cialis en belgique
    acheter cialis en france
    peut on acheter du cialis en pharmacie sans ordonnance en belgique

  37. Oh my goodness! a great post man. Thank you for sharing it.

Leave a Reply

Your email address will not be published. Required fields are marked *