CRS226-24G-2S+ and MRTG
Posted: Fri Jan 09, 2015 10:38 pm
Hello,
I recently setup a couple of CRS226-24G-2S+ switches and when I try to get MRTG setup to poll them, it only creates configs that have interfaces with Link on them, but excludes the SFPPLUS1 port. I have specified that there are no downed ports in the MRTG config maker as I have with all our other Mikrotik and cisco hardware so that it configures all ports, but for some reason it wants to comment out all the ports without link on them and also comment out the sfpplus1 port that is the uplink for these switches.
An example of this is below. This port is active and is the uplink for the switch to our CIsco 6500 switches, so I know it is up as I would not be able to connect to the switch otherwise.
### Interface 25 >> Descr: 'sfpplus1-master' | Name: 'sfpplus1-master' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ###
### The following interface is commented out because:
### * has no ifSpeed property
#
# Target[X.X.X.X_sfpplus1-master]: \sfpplus1-master:COMMUNITY@X.X.X.X:::::2
# SetEnv[X.X.X.X_sfpplus1-master]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="sfpplus1-master"
# MaxBytes[X.X.X.X_sfpplus1-master]: 0
# Title[X.X.X.X_sfpplus1-master]: Traffic Analysis for sfpplus1-master -- cloudswitch01
# PageTop[X.X.X.X_sfpplus1-master]: <h1>Traffic Analysis for sfpplus1-master -- cloudswitch01</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>cloudswitch01 in CAB1.3</td>
# </tr>
# <tr>
This is generated using the following:
/usr/local/mrtg-2/bin/cfgmaker --global "Options[_]: bits" --ifref=descr --no-down --global "WorkDir: /usr/local/apache2/vhosts/mrtg.domain.com/www" COMMUNITY@IP
Does anyone have any idea why it would work on other models of Mikrotiks and not this one? Maybe RouterOS version? These are running 6.12 and the others are running earlier versions.
I recently setup a couple of CRS226-24G-2S+ switches and when I try to get MRTG setup to poll them, it only creates configs that have interfaces with Link on them, but excludes the SFPPLUS1 port. I have specified that there are no downed ports in the MRTG config maker as I have with all our other Mikrotik and cisco hardware so that it configures all ports, but for some reason it wants to comment out all the ports without link on them and also comment out the sfpplus1 port that is the uplink for these switches.
An example of this is below. This port is active and is the uplink for the switch to our CIsco 6500 switches, so I know it is up as I would not be able to connect to the switch otherwise.
### Interface 25 >> Descr: 'sfpplus1-master' | Name: 'sfpplus1-master' | Ip: 'No Ip' | Eth: 'No Ethernet Id' ###
### The following interface is commented out because:
### * has no ifSpeed property
#
# Target[X.X.X.X_sfpplus1-master]: \sfpplus1-master:COMMUNITY@X.X.X.X:::::2
# SetEnv[X.X.X.X_sfpplus1-master]: MRTG_INT_IP="No Ip" MRTG_INT_DESCR="sfpplus1-master"
# MaxBytes[X.X.X.X_sfpplus1-master]: 0
# Title[X.X.X.X_sfpplus1-master]: Traffic Analysis for sfpplus1-master -- cloudswitch01
# PageTop[X.X.X.X_sfpplus1-master]: <h1>Traffic Analysis for sfpplus1-master -- cloudswitch01</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>cloudswitch01 in CAB1.3</td>
# </tr>
# <tr>
This is generated using the following:
/usr/local/mrtg-2/bin/cfgmaker --global "Options[_]: bits" --ifref=descr --no-down --global "WorkDir: /usr/local/apache2/vhosts/mrtg.domain.com/www" COMMUNITY@IP
Does anyone have any idea why it would work on other models of Mikrotiks and not this one? Maybe RouterOS version? These are running 6.12 and the others are running earlier versions.