Page 1 of 1
Home router network traffic monitor
Posted: Sat Oct 27, 2018 1:47 am
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!!

Re: Home router network traffic monitor
Posted: Mon Oct 29, 2018 11:55 am
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.
Re: Home router network traffic monitor
Posted: Tue Oct 30, 2018 2:55 am
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?
Re: Home router network traffic monitor
Posted: Tue Oct 30, 2018 4:06 pm
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
Re: Home router network traffic monitor
Posted: Thu Dec 20, 2018 4:28 pm
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!!

Re: Home router network traffic monitor
Posted: Fri Dec 21, 2018 4:09 pm
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.
Re: Home router network traffic monitor
Posted: Sun Dec 23, 2018 6:03 am
by NagiosN00b
Yes please to lock and thank's again
