Cacti Netgear Switch Template

Thread Tools

Jan 30, 2013 - Once you have a few devices configured using the templates in this post. Solution that pairs well with graphing tools such as Cacti or MRTG. Get you started with monitoring Cisco routers, switches, and security devices.

post #1 of 16Old02-18-2015, 10:31 PM - Thread Starter
Newbie

Posts: 11
Tagged: 0 Thread(s)
Liked: 10
8+ Gig Switch with SNMP/traffic monitoring suggestions
I'm looking for a gig switch that can give me per-port traffic stats for home use. I need a min of 8 ports, but would probably buy a 16 port (maybe even 24 port, depending on price).. I'd like SNMP stats available, but even if the only view in to the stats were a web interface on the switch, that would be fine for my needs.
The TP-LINK TL-SG2216 16-Port Gigabit switch looks attractive for the price (~$130 US). I'm wondering if anyone has this device (or another model from this product line), or if anyone can suggest an alternative that's near this price/port range?
Thanks!
Sponsored Links

AVS Forum Special Member

Posts: 1,163
Tagged: 0 Thread(s)
Liked: 155
Originally Posted by chrisrocco
I'm looking for a gig switch that can give me per-port traffic stats for home use. I need a min of 8 ports, but would probably buy a 16 port (maybe even 24 port, depending on price).. I'd like SNMP stats available, but even if the only view in to the stats were a web interface on the switch, that would be fine for my needs.
The TP-LINK TL-SG2216 16-Port Gigabit switch looks attractive for the price (~$130 US). I'm wondering if anyone has this device (or another model from this product line), or if anyone can suggest an alternative that's near this price/port range?
Thanks!
I personally never used any of their switches but have heard good things about them and the price seems right. You could pick one up from a company (like Amazon) that has a decent return policy.
Personally I use NetGear GS108T (Which is the Smart / Managed Version) Switches as well as Cisco Small Business Switches in my house and I've had no problems with them.
I have however had some issues with the Netgear POE Switches, they don't play well with their other switches and their firmware is / has been very buggy which is why I went with Cisco.
So for the money I would check out something like this Cisco 10 Port Managed.
http://www.newegg.com/Product/Produc..82E16833150087
SwitchSure it is a little more money but I am a firm believer that some things are worth paying extra for!
Denon AVR-X7200 - Klipsch RF-82 II Fronts, RC-62 II Center, RS-52 II Surrounds & R-112SW & Four CDT-5800-C II Ceilings for an Atmos 5.1.4 Setup.


Posts: 159
Tagged: 0 Thread(s)
Liked: 12
I'd get a HP 2910al J9145A. You can pick one up on ebay for roughly $300 or message me I've got 3 of them I'm not using. They are full layer 3 switches with SNMP stats and you can do pretty much anything you want with them. They also have optional 10Gb as well as next day lifetime warranty. If you have a problem with it HP will ship you a new one and you will have it by 10:30am the next morning. Also if you make config changes you don't have to reboot the switch, which is nice.
Last edited by crazyxbowler; 02-19-2015 at 11:57 AM.
Sponsored Links

Member

Posts: 15
Tagged: 0 Thread(s)
Liked: 0
I've had issues with the Small Business Cisco switches. In particular there was one 48 port POE gigabit switch that would randomly lose its configuration. The lack of a real serial port was also a huge minus in my book as well (I hate trying to track down what IP the switch assigned itself).
Also take note those Small Business Switches are Linksys switches with a Cisco label on them. If you want a 'real' Cisco switch, go get a Catalyst.
The HP listed above is better than anything listed here. We happen to use HP Procurve at work. I have that exact switch in a remote office and know for a fact it will do per-port traffic statistics (Though I think this is common with managed switches).
Advanced Member

Posts: 987
Tagged: 0 Thread(s)
Liked: 71
Originally Posted by funhouse69
I personally never used any of their switches but have heard good things about them and the price seems right. You could pick one up from a company (like Amazon) that has a decent return policy.
Personally I use NetGear GS108T (Which is the Smart / Managed Version) Switches as well as Cisco Small Business Switches in my house and I've had no problems with them.
I have however had some issues with the Netgear POE Switches, they don't play well with their other switches and their firmware is / has been very buggy which is why I went with Cisco.
So for the money I would check out something like this Cisco 10 Port Managed.
http://www.newegg.com/Product/Produc..82E16833150087
Sure it is a little more money but I am a firm believer that some things are worth paying extra for!
Can you let me know what issues you have had with the Netgear POE switches and which models you have used? I currently am using 2 and have no issues. I use the GS108PE and also have 2 GS116 and a 2 GS108 in my network.
Id like to report back to Netgear your issues.
Thanks,
Bob Silver
Netgear Networking Advisor
AVS Forum Special Member

Posts: 1,163
Tagged: 0 Thread(s)
Liked: 155
Originally Posted by bobsilver
Can you let me know what issues you have had with the Netgear POE switches and which models you have used? I currently am using 2 and have no issues. I use the GS108PE and also have 2 GS116 and a 2 GS108 in my network.
Id like to report back to Netgear your issues.
Thanks,
Bob Silver
Netgear Networking Advisor
Bob -
This was a few years ago, I bought a Netgear GS724TP which Netgear even admitted to me wasn't really ready for prime time at the time, they said that they did not make the switch or the firmware and I had issues getting VLANs working with my other Netgear switches, it would randomly reboot itself and was not stable at all.
Again this was some time ago so maybe they've worked out the issues? I couldn't deal the with instability even in my home network so I went with the Cisco SG's and they've been running flawlessly since day one.
As with just about every thing else in life these are personal preferences and completely subjective. I'd take a Cisco (even their Linksys version) over Netgear or HP any day.
Denon AVR-X7200 - Klipsch RF-82 II Fronts, RC-62 II Center, RS-52 II Surrounds & R-112SW & Four CDT-5800-C II Ceilings for an Atmos 5.1.4 Setup.
AVS Forum Special Member

Posts: 3,193
Tagged: 0 Thread(s)
Liked: 749
Originally Posted by chrisrocco
I'm looking for a gig switch that can give me per-port traffic stats for home use. I need a min of 8 ports, but would probably buy a 16 port (maybe even 24 port, depending on price).. I'd like SNMP stats available, but even if the only view in to the stats were a web interface on the switch, that would be fine for my needs.
The TP-LINK TL-SG2216 16-Port Gigabit switch looks attractive for the price (~$130 US). I'm wondering if anyone has this device (or another model from this product line), or if anyone can suggest an alternative that's near this price/port range?
Thanks!
I've had the TL-SG2424 for few years now and I'm very happy with it. They're excellent switches for the price. RMON and SNMP are both supported for stat gathering.
post #8 of 16Old02-24-2015, 10:30 PM - Thread Starter
Newbie

Posts: 11
Tagged: 0 Thread(s)
Liked: 10
Originally Posted by funhouse69
I personally never used any of their switches but have heard good things about them and the price seems right. You could pick one up from a company (like Amazon) that has a decent return policy.
Personally I use NetGear GS108T (Which is the Smart / Managed Version) Switches as well as Cisco Small Business Switches in my house and I've had no problems with them.
I have however had some issues with the Netgear POE Switches, they don't play well with their other switches and their firmware is / has been very buggy which is why I went with Cisco.
So for the money I would check out something like this Cisco 10 Port Managed.
http://www.newegg.com/Product/Produc..82E16833150087
Sure it is a little more money but I am a firm believer that some things are worth paying extra for!
Thanks for the suggestions! I have a friend that recently bought some NetGear smart switches on ebay for prices in my price-range, so they are on the table now! I'm also going to look in to the Cisco stuff - I didn't know they had anything in that price-range. I don't mind if they are Linksys or Cisco - I just need reliable with stats!
AVS Forum Special Member

Posts: 1,163
Tagged: 0 Thread(s)
Liked: 155
Originally Posted by chrisrocco
Thanks for the suggestions! I have a friend that recently bought some NetGear smart switches on ebay for prices in my price-range, so they are on the table now! I'm also going to look in to the Cisco stuff - I didn't know they had anything in that price-range. I don't mind if they are Linksys or Cisco - I just need reliable with stats!
What are you going to be using to gather the stats or are you just going to get them from the switch itself?
Denon AVR-X7200 - Klipsch RF-82 II Fronts, RC-62 II Center, RS-52 II Surrounds & R-112SW & Four CDT-5800-C II Ceilings for an Atmos 5.1.4 Setup.
post #10 of 16Old02-24-2015, 10:37 PM - Thread Starter
Newbie

Posts: 11
Tagged: 0 Thread(s)
Liked: 10
Originally Posted by crazyxbowler
I'd get a HP 2910al J9145A. You can pick one up on ebay for roughly $300 or message me I've got 3 of them I'm not using. They are full layer 3 switches with SNMP stats and you can do pretty much anything you want with them. They also have optional 10Gb as well as next day lifetime warranty. If you have a problem with it HP will ship you a new one and you will have it by 10:30am the next morning. Also if you make config changes you don't have to reboot the switch, which is nice.
Thanks for the suggestion, but I think $300 is a little out of my range right now. I'll keep them in mind for the future though!
Originally Posted by PuterDude
I've had issues with the Small Business Cisco switches. In particular there was one 48 port POE gigabit switch that would randomly lose its configuration. The lack of a real serial port was also a huge minus in my book as well (I hate trying to track down what IP the switch assigned itself).
Also take note those Small Business Switches are Linksys switches with a Cisco label on them. If you want a 'real' Cisco switch, go get a Catalyst.
Good to know - I'll keep that in mind and do some digging around for additional feedback! Thanks!
Originally Posted by robnix
I've had the TL-SG2424 for few years now and I'm very happy with it. They're excellent switches for the price. RMON and SNMP are both supported for stat gathering.
Thanks - I've got a number of TP-LINK 'dumb' switches currently, so I may upgrade to one, or more, or their smart switches. I have not heard anything bad about them, and the price is right.
post #11 of 16Old02-24-2015, 10:42 PM - Thread Starter
Newbie

Posts: 11
Tagged: 0 Thread(s)
Liked: 10
Originally Posted by funhouse69
What are you going to be using to gather the stats or are you just going to get them from the switch itself?
I'm planning to write a small python script and stuff them in to graphite.
AVS Forum Special Member

Posts: 3,193
Tagged: 0 Thread(s)
Liked: 749
Originally Posted by chrisrocco
I'm planning to write a small python script and stuff them in to graphite.
Cacti will save you a lot of work.
post #13 of 16Old02-26-2015, 12:46 AM - Thread Starter
Newbie

Posts: 11
Tagged: 0 Thread(s)
Liked: 10
Originally Posted by robnix
Yeah, Cacti and MRTG are both nice, but I'm already familiar with Graphite, and it is useful for lots of other stuff, so I just figured I'd roll my own snmp poller and stuff the data in there.. but, I still need to do some research in to what's already out there that I can bend to my needs!
AVS Forum Special Member

Posts: 3,193
Tagged: 0 Thread(s)
Liked: 749
Originally Posted by chrisrocco
Yeah, Cacti and MRTG are both nice, but I'm already familiar with Graphite, and it is useful for lots of other stuff, so I just figured I'd roll my own snmp poller and stuff the data in there.. but, I still need to do some research in to what's already out there that I can bend to my needs!
Cool, let us know how it turns out.


Posts: 159
Tagged: 0 Thread(s)
Liked: 12
If you are wanting a really good switch at the <$100 range this one is great. Has lifetime warranty and can do snmp. It will blow a Cisco small business or netgear out of the water. When you make changes you don't have to reboot it which is a huge plus in my opinion. This switch is on the same level as a enterprise grade cisco, not saying its better than a real cisco but its on the same level.
http://www.ebay.com/itm/HP-Procurve-..item19fc593b0b
Senior Member

Location: Old Greenwich, CT, USA
Mentioned: 1 Post(s)
Quoted: 16 Post(s)
I used to buy Dell PowerConnect switches but now have purchased and replaced them with HP 1810-24G v2 switches purchased on Amazon. I found the low-end (i.e. affordable for home use) Dell switches purposely crippled their web traffic statistics. (showing only one direction of traffic). The HP switches have proven to be reliable, don't cause Sonos packet storms (a problem I had with the previous Dell generation of switches), and haven't needed a software upgrade in 6 months.
They also have an ability to do fiber uplinks which is useful for longer distance than cat5e/cat6 can handle.
Sponsored Links

ReplyNetworking, Media Servers & Content Streaming



Posting Rules
You may not post replies
You may not edit your posts
Smilies are On
HTML code is Off
Pingbacks are Off

view our sponsors showcase AVS Forum is proudly sponsored by

For the best viewing experience please update your browser to Google Chrome
We use cookies to improve your experience on this website and so that ads you see online can be tailored to your online browsing interests. We use data about you for a number of purposes explained in the links below. By continuing to browse our site you agree to our use of data and cookies.
Tell me more Cookie Preferences

Nagios is hands-down the best monitoring tool to monitor host and network equipments. Using Nagios plugins you can monitor pretty much monitor anything.

I use Nagios intensively and it gives me peace of mind knowing that I will get an alert on my phone, when there is a problem. More than that, if warning levels are setup properly, Nagios will proactively alert you before a problem becomes critical.

Earlier I wrote about, how to setup Nagios to monitor Linux Host, Windows Host and VPN device.

In this article, I’ll explain how to configure Nagios to monitor network switch and it’s active ports.
Device ntpnp pci0024 driver.

1. Enable switch.cfg in nagios.cfg

Uncomment the switch.cfg line in /usr/local/nagios/etc/nagios.cfg as shown below.

2. Add new hostgroup for switches in switch.cfg

Add the following switches hostgroup to the /usr/local/nagios/etc/objects/switch.cfg file.

3. Add a new host for the switch to be monitered

In this example, I’ve defined a host to monitor the core switch in the /usr/local/nagios/etc/objects/switch.cfg file. Change the address directive to your switch ip-address accordingly.

4. Add common services for all switches

Displaying the uptime of the switch and verifying whether switch is alive are common services for all switches. So, define these services under the switches hostgroup_name as shown below.

5. Add service to monitor port bandwidth usage

check_local_mrtgtraf uses the Multil Router Traffic Grapher – MRTG. So, you need to install MRTG for this to work properly. The *.log file mentioned below should point to the MRTG log file on your system.

6. Add service to monitor an active switch port

Use check_snmp to monitor the specific port as shown below. The following two services monitors port#1 and port#5. To add additional ports, change the value ifOperStatus.n accordingly. i.e n defines the port#.

Cacti Host Templates

7. Add services to monitor multiple switch ports together

Sometimes you may need to monitor the status of multiple ports combined together. i.e Nagios should send you an alert, even if one of the port is down. In this case, define the following service to monitor multiple ports.

8. Validate configuration and restart nagios

Verify the nagios configuration to make sure there are no warnings and errors.

Restart the nagios server to start monitoring the VPN device.

Verify the status of the switch from the Nagios web UI: http://{nagios-server}/nagios as shown below:

Fig: Nagios GUI displaying status of a Network Switch

9. Troubleshooting

Issue1: Nagios GUI displays “check_mrtgtraf: Unable to open MRTG log file” error message for the Port bandwidth usage

Solution1: make sure the *.log file defined in the check_local_mrtgtraf service is pointing to the correct location.

Issue2: Nagios UI displays “Return code of 127 is out of bounds – plugin may be missing” error message for Port Link Status.

Solution2: Make sure both net-snmp and net-snmp-util packages are installed. In my case, I was missing the net-snmp-utils package and installing it resolved this issue as shown below.

Note: After you’ve installed net-snmp and net-snmp-utils, re-compile and re-install nagios plugins as explained in “6. Compile and install nagios plugins” in the Nagios 3.0 jumpstart guide.

Two Best Nagios Books

These are the two best nagios books that covers the latest Nagios 3. I strongly recommend that you read both of these books to gain a detailed understanding on Nagios. Since Nagios is free software, spending few dollars on the books can be the best investment you can make.

Nagios Book 1
Nagios Book 2

Awesome Nagios Articles

Following are few awesome Nagios articles that you might find helpful.

> Add your comment

If you enjoyed this article, you might also like.