Difference between revisions of "Netband Project - Ubuntu server"

From Teknologisk videncenter
Jump to: navigation, search
m
(MRTG)
Line 17: Line 17:
 
*Network monitoring
 
*Network monitoring
  
 +
1. Install the MRTG package
 +
<pre>$ sudo aptitude install mrtg
 +
</pre>
 +
2. Create the initial config file and poll a device
 +
<pre>sudo cfgmaker  --output /home/mrtg/mrtg.cfg ciscodisco@10.0.0.21
 +
</pre>
  
 +
<pre># Created by
 +
# /usr/bin/cfgmaker --output /home/mrtg/mrtg.cfg ciscodisco@10.0.0.21
  
  
 +
### Global Config Options
  
 +
#  for UNIX
 +
# WorkDir: /home/http/mrtg
 +
 +
#  for Debian
 +
WorkDir: /var/www/mrtg
 +
 +
#  or for NT
 +
# WorkDir: c:\mrtgdata
 +
 +
### Global Defaults
 +
 +
#  to get bits instead of bytes and graphs growing to the right
 +
# Options[_]: growright, bits
 +
 +
EnableIPv6: no
 +
 +
######################################################################
 +
# System: B1rt1.domain.netband.dk
 +
# Description: Cisco IOS Software, 2801 Software (C2801-ADVIPSERVICESK9-M), Version 12.4(9)T, RELEASE SOFTWARE (fc1)
 +
#          Technical Support: http://www.cisco.com/techsupport
 +
#          Copyright (c) 1986-2006 by Cisco Systems, Inc.
 +
#          Compiled Sat 17-Jun-06 00:19 by prod_rel_team
 +
# Contact:
 +
# Location:
 +
######################################################################
 +
 +
 +
### Interface 1 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip: '192.168.1.4' | Eth: '00-1b-d4-0f-8c-a2' ###
 +
 +
Target[10.0.0.21_Fa0_0]: #Fa0/0:ciscodisco@10.0.0.21:
 +
SetEnv[10.0.0.21_Fa0_0]: MRTG_INT_IP="192.168.1.4" MRTG_INT_DESCR="FastEthernet0/0"
 +
MaxBytes[10.0.0.21_Fa0_0]: 12500000
 +
Title[10.0.0.21_Fa0_0]: Traffic Analysis for Fa0/0 -- B1rt1.domain.netband.dk
 +
PageTop[10.0.0.21_Fa0_0]: <h1>Traffic Analysis for Fa0/0 -- B1rt1.domain.netband.dk</h1>
 +
<div id="sysdetails">
 +
<table>
 +
<tr>
 +
<td>System:</td>
 +
<td>B1rt1.domain.netband.dk in </td>
 +
</tr>
 +
<tr>
 +
<td>Maintainer:</td>
 +
<td></td>
 +
</tr>
 +
<tr>
 +
<td>Description:</td>
 +
<td>FastEthernet0/0  </td>
 +
</tr>
 +
<tr>
 +
<td>ifType:</td>
 +
<td>ethernetCsmacd (6)</td>
 +
</tr>
 +
<tr>
 +
<td>ifName:</td>
 +
<td>Fa0/0</td>
 +
</tr>
 +
<tr>
 +
<td>Max Speed:</td>
 +
<td>12.5 MBytes/s</td>
 +
</tr>
 +
<tr>
 +
<td>Ip:</td>
 +
<td>192.168.1.4 ()</td>
 +
</tr>
 +
</table>
 +
</div>
 +
 +
 +
</pre>
  
 
==External links==
 
==External links==

Revision as of 08:08, 17 April 2009

<accesscontrol>NetBand</accesscontrol> This page is part of the Netband Project

OS version:

Applications:

FreeNac

  • Dynamic Virtual LAN management and assignment per end-device
  • LAN Access control (authentication, authorization)

MRTG

  • Network monitoring

1. Install the MRTG package

$ sudo aptitude install mrtg

2. Create the initial config file and poll a device

sudo cfgmaker  --output /home/mrtg/mrtg.cfg ciscodisco@10.0.0.21
# Created by 
# /usr/bin/cfgmaker --output /home/mrtg/mrtg.cfg ciscodisco@10.0.0.21


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  for Debian
WorkDir: /var/www/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System: B1rt1.domain.netband.dk
# Description: Cisco IOS Software, 2801 Software (C2801-ADVIPSERVICESK9-M), Version 12.4(9)T, RELEASE SOFTWARE (fc1)
#          Technical Support: http://www.cisco.com/techsupport
#          Copyright (c) 1986-2006 by Cisco Systems, Inc.
#          Compiled Sat 17-Jun-06 00:19 by prod_rel_team
# Contact: 
# Location: 
######################################################################


### Interface 1 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip: '192.168.1.4' | Eth: '00-1b-d4-0f-8c-a2' ###

Target[10.0.0.21_Fa0_0]: #Fa0/0:ciscodisco@10.0.0.21:
SetEnv[10.0.0.21_Fa0_0]: MRTG_INT_IP="192.168.1.4" MRTG_INT_DESCR="FastEthernet0/0"
MaxBytes[10.0.0.21_Fa0_0]: 12500000
Title[10.0.0.21_Fa0_0]: Traffic Analysis for Fa0/0 -- B1rt1.domain.netband.dk
PageTop[10.0.0.21_Fa0_0]: <h1>Traffic Analysis for Fa0/0 -- B1rt1.domain.netband.dk</h1>
		<div id="sysdetails">
			<table>
				<tr>
					<td>System:</td>
					<td>B1rt1.domain.netband.dk in </td>
				</tr>
				<tr>
					<td>Maintainer:</td>
					<td></td>
				</tr>
				<tr>
					<td>Description:</td>
					<td>FastEthernet0/0  </td>
				</tr>
				<tr>
					<td>ifType:</td>
					<td>ethernetCsmacd (6)</td>
				</tr>
				<tr>
					<td>ifName:</td>
					<td>Fa0/0</td>
				</tr>
				<tr>
					<td>Max Speed:</td>
					<td>12.5 MBytes/s</td>
				</tr>
				<tr>
					<td>Ip:</td>
					<td>192.168.1.4 ()</td>
				</tr>
			</table>
		</div>


External links

FreeNac
MRTG
RDDTool