Cyberwizzard Apprentice
Joined: 02 Apr 2004 Posts: 244 Location: Norway
|
Posted: Tue Aug 07, 2007 9:13 pm Post subject: snmp - tun interface has no name |
|
|
I'm running OpenVPN using the tun driver (which is compiled into the kernel). I restarted openvpn a few times and now I have multiple interfaces in cfgmaker without a name and IP. Only the last interface has an IP, but no name. I am trying to gather stats and changing interface names don't help when trying to build reliable reporting systems...
This is a production server in a data warehouse (aka in a land far far away...) so I'd rather not reboot or recompile my kernel. How do I reset the numbering without rebooting?
For example, this is the output of the last 2 interfaces found:
Code: |
...
### Interface 5 >> Descr: '' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is administratively DOWN
### * it is operationally DOWN
### * has a speed of 0 which makes no sense
### * --ifref=descr is not unique for this interface
#
# Target[localhost_5]: 5:xxxxxx@localhost:
# SetEnv[localhost_5]: MRTG_INT_IP="" MRTG_INT_DESCR=""
# MaxBytes[localhost_5]: 0
# Title[localhost_5]: 5 -- xxxxxx
# PageTop[localhost_5]: <h1>5 -- xxxxxx</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>xxxxxx, Redbus, Amsterdam</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>xxxxxx</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td> </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>Other (1)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td></td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>0.0 Bytes/s</td>
# </tr>
# </table>
# </div>
### Interface 6 >> Descr: '' | Name: '' | Ip: '192.168.64.18' | Eth: '' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
### * --ifref=descr is not unique for this interface
#
# Target[localhost_6]: 6:xxxxxx@localhost:
# SetEnv[localhost_6]: MRTG_INT_IP="192.168.64.18" MRTG_INT_DESCR=""
# MaxBytes[localhost_6]: 0
# Title[localhost_6]: 192.168.64.18 -- xxxxxx
# PageTop[localhost_6]: <h1>192.168.64.18 -- xxxxxx</h1>
# <div id="sysdetails">
# <table>
# <tr>
# <td>System:</td>
# <td>xxxxxx, Redbus, Amsterdam</td>
# </tr>
# <tr>
# <td>Maintainer:</td>
# <td>xxxxxx</td>
# </tr>
# <tr>
# <td>Description:</td>
# <td> </td>
# </tr>
# <tr>
# <td>ifType:</td>
# <td>Other (1)</td>
# </tr>
# <tr>
# <td>ifName:</td>
# <td></td>
# </tr>
# <tr>
# <td>Max Speed:</td>
# <td>0.0 Bytes/s</td>
# </tr>
# <tr>
# <td>Ip:</td>
# <td>192.168.64.18 ()</td>
# </tr>
# </table>
# </div>
|
|
|