DrayTek Vigor SNMP Monitoring with Cacti

DrayTek Vigor SNMP Monitoring with Cacti

This post is going to guide you through setting up SNMP monitoring for your Draytek Vigor using an existing Cacti setup. In this example we will be monitoring ADSL/VDSL Sync rate which is a very common need with the variety of line faults we suffer on copper in Australia and the fact that not everyone has the privilege of getting FTTN or paying big bux for a fibre connection install, especially if the SMB is not located within a CBD area.

The first step we are going to take is enabling SNMP monitoring. We are using a DrayTek Vigor130 here.

  1. Login via your Draytek admin page
  2. Head to System Maintenance -> Management then check “Enable SNMP Agent”
  3. Click “OK” down the bottom of the page and accept to reboot with the current settings
  4. Your Vigor130 will reboot and then bring back up the customer connection.
  5. Lets test that we are getting SNMP information by using SNMP walk on the command line
    1. Downstram sync
    2. Downstream attainable rate (useful for VDSL as the RSP will usually limit the sync to the package you are on i.e. 25/5 is usually 28/6.40)
    3. Upstream sync
    4. Upstream attainable rate (useful for VDSL as the RSP will usually limit the sync to the package you are on i.e. 25/5 is usually 28/6.40)
  6. The next thing we are going to do it setup a new device in Cacti. So head to your Cacti console page.
  7. Choose Devices -> Add then fill in the details. Items to concentrate on:
    1. Description
    2. Hostname (IP or hostname to your Vigor that is routable by your Cacti instance)
    3. SNMP v2 (or v1)
    4. SNMP Community (should be public by default)
  8. If this is the very first Vigor you’re setting up sync monitoring for, lets go and setup a graph template. I used the “Interface – traffic (bits/sec)” graph to duplicate because it had everything I wanted to begin with and required little modification. You can set one up from scratch or use this if you like.
  9. Head to Graph Templates and find “Interface – traffic (bits/sec)” and check it. Choose the action duplicate and click Go.
  10. Go into the template duplicate you’ve created and give it a name and a title. Next we will want to edit every item on the graph to change the math function and also the names. Change Inbound to Downstream and Outbound to Upstream.
  11. Click on each item in the list Item #1 through Item #12 and within each change the CDEF function to “None”
  12. Go to Data Templates and we are going to add two new Data Templates for Draytek. Click Add. I’ve highlighted below the values you will need to fill out that are non-default values. The Data Input Method should be “Get SNMP Data”. After saving it for the first time, the additional fields will populate.
  13. Repeat the last step for all data types that you wish to graph using the following OID’s
    1. Downstream Sync – iso.
    2. Upstream Sync – iso.
  14. Head to Data Sources and click Add. Choose the host you created earlier
  15. Fill in the “SNMP IP Address” of the device and hit Save.
  16. Now we’re onto almost the last step of the process where we can create the graph now that we are collecting the data. Under Graph Management click Add. Choose the graph template we created earlier and also the host we are monitoring.
  17. You’re done!

Next steps from here are that you can add the graph to your Graph Trees and add users that can view the graph you have just created.

Leave a Reply

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


We'd love to hear from you.

Level 1, 191 St Georges Tce
Australia View map

Phone (WA):
08 6388 8090

Phone (NSW):
02 8234 8870

Phone (VIC):
03 9452 6930

[email protected]