Home router network traffic monitor

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
NagiosN00b
Posts: 8
Joined: Wed Jan 31, 2018 7:24 am

Home router network traffic monitor

Post by NagiosN00b »

Hi team!!

As the name suggests, i'm a noob, so please be gentle :)

I've manage to setup nagios at home to monitor the basic of devices. It's all working well and love it! What i would really like to do, is be able to monitor the network traffic of my home router, based in the UK (BT Home Hub 6). I would love to be able to see the inbound and outbound traffic, that's it and nothing too specific. Later on, I'll be setting pnp4nagios so i can have an amazing graph view of it all and see whats spiking etc.

I guess my question is how do i do this?! Is there already a cool plugin i could use. Do i need to purchase an additional switch or router for this? Any help would be really appreciated.

Thanks to all the experts!! :D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Home router network traffic monitor

Post by cdienger »

Welcome!

It requires the home router to support SNMP, but MRTG is usually used to monitor traffic. It looks like HH5 doesn't support SNMP(https://community.bt.com/t5/Home-setup- ... Hub-5-SNMP) but it's worth checking with the BT resources to see if HH6 does since this is the most straight forward solution.

See:

https://assets.nagios.com/downloads/nag ... uters.html
https://oss.oetiker.ch/mrtg/

Otherwise, depending on how complex you want your network to be or what you may have available, setting up an additional router or switch with SNMP capabilities can work too. I typically test the MRTG stuff using a lab Linux machine as my router.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
NagiosN00b
Posts: 8
Joined: Wed Jan 31, 2018 7:24 am

Re: Home router network traffic monitor

Post by NagiosN00b »

Thank you so much! This is really helpful and I thank you for your speedy response.

I've tried looking everywhere on Google and can't find ANYTHING Re home hub 6 (Smart hub) supporting snmp. This really sucks. I could actually buy another router that is compatible and good as the existing can be pretty poor at times.

My setup is just simple really. All I want to be able to do, is use your recommendation of having an smtp enabled router to monitor the inbound/outbound traffic and show on a pretty graph when it spikes. I believe mrtg is the way! Nothing too specific.

So I just have to make sure I have an snmp device?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Home router network traffic monitor

Post by ssax »

Yes, just make sure your device supports SNMP and that it is enabled and working, you can test with the snmpwalk command from the command line:

Code: Select all

snmpwalk -v 2c -c snmpcommunity X.X.X.X
Or for SNMPv3:

Code: Select all

snmpwalk -u snmpv3user -A 'authpass' -a SHA -X 'privpass' -x AES -l authPriv X.X.X.X -v3
See here as well:

https://assets.nagios.com/downloads/nag ... raphs.html
NagiosN00b
Posts: 8
Joined: Wed Jan 31, 2018 7:24 am

Re: Home router network traffic monitor

Post by NagiosN00b »

Never got a chance to say thank you!

I ended up installing PNP4Nagios and using the check_snmp_int plugin. Works a treat! I have issues with getting the graph to look right but ill post another question.

Thanks again experts!! :)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Home router network traffic monitor

Post by ssax »

That's great to hear, are we okay to lock the topic and mark it as resolved? We'll keep an eye out for your new issue.
NagiosN00b
Posts: 8
Joined: Wed Jan 31, 2018 7:24 am

Re: Home router network traffic monitor

Post by NagiosN00b »

Yes please to lock and thank's again :)
Locked