# NeDi 1.0 configuration file (used by nedi.pl and the php UI).
# ATTENTION: Strictly use tabs to separate entries!!!

#============================================================================
# Device Access
#============================================================================

# Snmp read communities (most frequent ones first).
comm	public

# The users for telnet access. Leave enable password empty, if the specified 
# user is priviledged already (Put most frequent ones first).
#	user	pass	enablepass
usr	nedi	pa55	enpa55
usr	N-lab	w0rd	enw0rd

#============================================================================
# Discovery
#============================================================================

# If you have difficulties reaching certain devices, you can map
# ip addresses [mapip] and telnet ports [maptp].
# If you mapip 0.0.0.0, the device will be ignored.
;mapip	192.168.0.1	0.0.0.0
;maptp	192.168.5.1	2323

# Only discover devices where ip address matches this regular expression. 
# This way NeDi won't send any login credentials to rogue/evil devices.
;netfilter	192.168.0|172.16
netfilter	.

# Regular expression to match  devices for http querying (Cisco IP phones).
;webdev		^S[EI]P([0-9A-Fa-f]){12} (not implemented yet)

# Regular expression to match non-SNMP devices (Cisco IP phones or LW APs).
leafdev		^S[EI]P([0-9A-Fa-f]){12}|^([a-zA-Z0-9]){5}[wW][aA][pP]

# OUI vendor strings which NeDi should try to discover on MAC based discovery.
# Don't include CDP devices here, if you are using CDP discovery as well.
ouidev	bay|nortel|netics|xylogics|foundry|XYLAN|Netgear

# Avoid devices containing these strings in the description (Printers etc.)
;descfilter	LaserJet|JETDIRECT|HP-UX|Linux

# Regular expression to match CDPid's or MAC addresses (for oui discovery)
# where the discovery should stop. (e.g. Provider Routers)
;border	WAN-router

#============================================================================
# Backend
#============================================================================

#Backend option. Set to MSQ for MySQL etc.
backend	MSQ
;backend	PSQ
;backend	ORC

#DB params
dbname	nedi
dbuser	nedi
dbpass	dbpa55
dbhost	localhost

#============================================================================
# Messaging & Monitoring
#============================================================================

# Generate messages during discovery related to:
# d	device
# c	configuration
# n	node
# t	traffic
notify	dcnt

# Number of lost uptime queries until a device is marked down
threshold	2

# Time in secondes between monitoring polls (and refresh of Monitoring GUI)
pause		120

# Smtpserver to send notification emails to
smtpserver	smtp.yourdomain

# Address where notification emails are sent from
mailfrom	nedi@nedihost

#============================================================================
# Misc
#============================================================================

# Regular expression matching the vlans which shouldn't be checked for nodes.
# If you're unsure leave the default '^100[0-5]$' or set to 'someweirdstring'
# but don't comment it out as this will cause errors.
ignoredvlans	^10[01][0-9]$

# Delete entries older than this many days
retire	30

# Specify arp database, if you want to use arpwatch for address resolution.
# (e.g. If you don't use a router on your network).
;arpwatch	/var/arpwatch/arp.dat

# Timeout while using SNMP and telnet connections. An extra value will be
# added for reading configs consider the build time.
timeout	5

# RRDstep should follow whatever settings you have in your crontab for the 
#discovery (e.g. every 4h=14400). Comment rrdstep, if you don't want graphs.
rrdstep		3600

#============================================================================
# GUI Settings
#============================================================================

# Define the modules you wish to include in the menu. 
#		Section		Module		Icon	Group
module	Devices		Stock			pkg	net
module	Devices		List			dev	net
module	Devices		Config			cfg2	net
module	Devices		Write			wrte	net
module	Devices		Status			hwif	net
module	Devices		Graph			dlog	net
module	Devices		Map			paint	net
module	Devices		Table			tabi	net

module	Realtime	Multicast		cam	net
module	Realtime	Spanningtree		tabt	net
module	Realtime	Routes			rout	net

module	Nodes		List			cubs	dsk
module	Nodes		Status			ngrn	dsk
module	Nodes		Stolen			fiqu	dsk

module	Reports		Networks		dnet	mgr
module	Reports		Devices			dtap	mgr
module	Reports		Modules			dmsc	mgr
module	Reports		Interfaces		ddum	mgr
module	Reports		Nodes			dcub	mgr
module	Reports		Monitoring		dpie	mgr
module	Reports		Incidents		dbmb	mgr
module	Reports		Wlan			dmobi	mgr

module	Monitoring	Health			neth	mon
module	Monitoring	Messages		say	mon
module	Monitoring	Timeline		dprt	mon
module	Monitoring	Incidents		bomb	mon
module	Monitoring	Setup			sys	mon

module	User		Accounts		user	adm
#module	User		Radius			acs	adm
module	User		Profile			smil
module	User		Logout			exit

module	Other		Info			say	oth
module	Other		Calculator		calc
module	Other		Defgen			tab	net
module	Other		Linked			wglb	adm
module	Other		Export			flop	adm
module	Other		Plot			3d	oth

# Specify how your location string is formatted. Where as:
# c	City
# b	Building
# f	Floor
# r	Room
# k	racK
locsep		;
locformat	cbfrk

# Pattern to match for buildings to be marked red (e.g. HQ|Main).
# Will also be used to raise alerts to critical in monitoring
redbuild	DC|HQ|Main

# Authentication for GUI users can be set to MySQL or PAM
# p	PAM (requires PHP support for PAM)
# i	Individual user will be used for device access (e.g. Devices-Write)
#guiauth		i

# Disclaimer or what ever you want people to see upon login.
# The default is my statement to every NeDi user:
disc		Remo won't take any responsibility for problems caused by NeDi!
