Also, archive disappeared nodes from device after macsuck. Squashed commit of the following: commit6d16cddaabMerge:37d9bda3fdf780Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 19 15:48:41 2014 +0000 Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg commit37d9bda2bbAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 18:50:22 2014 +0000 release 2.021000_004 commit3939a2a51cMerge:cf23636571d57dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 18:45:14 2014 +0000 Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg commitcf23636ddfAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 18:43:59 2014 +0000 archive disappeared nodes from device - really important! commit571d57dcc7Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 18:20:51 2014 +0000 release 2.021000_003 commit444bc1e81dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 17:51:54 2014 +0000 protect sprintf from undefined remote_type commit5b875c4641Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 17:49:40 2014 +0000 tidy connected device+node layout commitc09dddb7d1Merge:4f5501c95fc6b1Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 17:46:39 2014 +0000 Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg commit4f5501c613Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 17:46:23 2014 +0000 allow sanity checks on lag member before moving node commit95fc6b18dcAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 14:02:19 2014 +0000 release 2.021000_002 commit8b809c445fMerge:04d486efe3e8e3Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 13:58:31 2014 +0000 Merge branch 'og-agg' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg commitfe3e8e3ef2Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 13:57:31 2014 +0000 do not set master neigh if master is a slave commit04d486e433Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 13:38:45 2014 +0000 display remote ip if only remote ip commit14f9eb01adAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 13:35:54 2014 +0000 show all members of lag when searching for lag master commit5b2a0a0a4bAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 13:35:16 2014 +0000 fix copy of remote master to local master remote_port commit86a9854f39Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 10:00:13 2014 +0000 show both link and device type icons commit88510552e5Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 09:57:29 2014 +0000 hide neighbor device ID and add sidebar option to show commit29da3097cbMerge:8bca30d9fe92fbAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 09:04:15 2014 +0000 Merge branch 'og-agg' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg commit9fe92fb5e8Merge:6620a035557811Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 09:03:02 2014 +0000 Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg commit6620a03686Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 08:56:13 2014 +0000 also store master neighbor port commit8bca30d085Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 00:41:46 2014 +0000 release 2.021000_001 commit5557811aebAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jan 13 00:38:18 2014 +0000 fix icon placement in editable device port cells commit25292e1ce8Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 22:20:08 2014 +0000 fix name of class commit99ce56d794Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 22:13:53 2014 +0000 remove brackets from lag name commit27aa80ed93Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 22:12:06 2014 +0000 rename link agg legend commit84ed4c5008Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 22:11:15 2014 +0000 move lag member icon into port icon column commit67c9c783ecAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 21:58:11 2014 +0000 fix Cisco stack port ignore commit4531c61246Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 21:51:41 2014 +0000 move nodes to lag master port commitffc6b9c315Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 20:45:58 2014 +0000 use group icon for slave and master commit68fd345e37Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 20:34:01 2014 +0000 indicate aggregate master commit79c69f5a0fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 19:14:48 2014 +0000 show aggreate parent in device ports commit3a4beed2f1Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 18:46:25 2014 +0000 store aggregate port into db commitfd7bb0cd62Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jan 12 17:49:39 2014 +0000 add device_port cols for aggregate links data
		
			
				
	
	
		
			202 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			202 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
# This is the main configuration file for Netdisco web and daemon apps
 | 
						|
#
 | 
						|
#    DO NOT EDIT THIS FILE
 | 
						|
#
 | 
						|
# Overrides should go to ~/environments/deployment.yml
 | 
						|
# See App::Netdisco::Manual::Configuration for explanations
 | 
						|
 | 
						|
# ----------------
 | 
						|
# GENERAL SETTINGS
 | 
						|
# ----------------
 | 
						|
 | 
						|
log: 'warning'
 | 
						|
logger_format: '[%P] %L @%D> %m'
 | 
						|
 | 
						|
# ------------
 | 
						|
# WEB FRONTEND
 | 
						|
# ------------
 | 
						|
 | 
						|
domain_suffix: ""
 | 
						|
no_auth: false
 | 
						|
suggest_guest: false
 | 
						|
trust_remote_user: false
 | 
						|
trust_x_remote_user: false
 | 
						|
#ldap:
 | 
						|
#  servers: []
 | 
						|
#  user_string: 'MYDOMAIN\%USER%'
 | 
						|
#  base: ""
 | 
						|
#  proxy_user: ""
 | 
						|
#  proxy_pass: ""
 | 
						|
#  opts:
 | 
						|
#    debug: 3
 | 
						|
#  tls_opts: {}
 | 
						|
path: '/'
 | 
						|
web_plugins:
 | 
						|
  - Inventory
 | 
						|
  - Report::PortAdminDown
 | 
						|
  - Report::PortBlocking
 | 
						|
  - Report::PortMultiNodes
 | 
						|
  - Report::PortUtilization
 | 
						|
  - Report::ApChannelDist
 | 
						|
  - Report::ApClients
 | 
						|
  - Report::ApRadioChannelPower
 | 
						|
  - Report::HalfDuplex
 | 
						|
  - Report::DeviceAddrNoDNS
 | 
						|
  - Report::DeviceByLocation
 | 
						|
  - Report::DevicePoeStatus
 | 
						|
  - Report::DuplexMismatch
 | 
						|
  - Report::IpInventory
 | 
						|
  - Report::NodeMultiIPs
 | 
						|
  - Report::PhonesDiscovered
 | 
						|
  - Report::SsidInventory
 | 
						|
  - Report::VlanInventory
 | 
						|
  - Report::SubnetUtilization
 | 
						|
  - AdminTask::JobQueue
 | 
						|
  - AdminTask::PollerPerformance
 | 
						|
  - AdminTask::SlowDevices
 | 
						|
  - AdminTask::PseudoDevice
 | 
						|
  - AdminTask::Topology
 | 
						|
  - AdminTask::UserLog
 | 
						|
  - AdminTask::Users
 | 
						|
  - AdminTask::PortLog
 | 
						|
  - AdminTask::UndiscoveredNeighbors
 | 
						|
  - Search::Device
 | 
						|
  - Search::Node
 | 
						|
  - Search::VLAN
 | 
						|
  - Search::Port
 | 
						|
  - Device::Details
 | 
						|
  - Device::Ports
 | 
						|
  - Device::Modules
 | 
						|
  - Device::Neighbors
 | 
						|
  - Device::Addresses
 | 
						|
extra_web_plugins: []
 | 
						|
 | 
						|
# -------------
 | 
						|
# NETDISCO CORE
 | 
						|
# -------------
 | 
						|
 | 
						|
# mibhome is discovered from environment
 | 
						|
# mibdirs defaults to contents of mibhome
 | 
						|
community: ['public']
 | 
						|
community_rw: ['private']
 | 
						|
snmp_auth: []
 | 
						|
get_community: ""
 | 
						|
bulkwalk_off: false
 | 
						|
bulkwalk_no: []
 | 
						|
bulkwalk_repeaters: 20
 | 
						|
nonincreasing: false
 | 
						|
snmpver: 3
 | 
						|
snmptimeout: 1000000
 | 
						|
snmpretries: 2
 | 
						|
discover_no: []
 | 
						|
discover_only: []
 | 
						|
discover_no_type: []
 | 
						|
discover_min_age: 0
 | 
						|
macsuck_no: []
 | 
						|
macksuck_only: []
 | 
						|
macsuck_all_vlans: false
 | 
						|
macsuck_no_unnamed: false
 | 
						|
macsuck_no_vlan: [fddi-default,token-ring-default,fddinet-default,trnet-default]
 | 
						|
macsuck_no_devicevlan: []
 | 
						|
macsuck_bleed: false
 | 
						|
macsuck_min_age: 0
 | 
						|
snmpforce_v1: []
 | 
						|
snmpforce_v2: []
 | 
						|
snmpforce_v3: []
 | 
						|
arpnip_no: []
 | 
						|
arpnip_only: []
 | 
						|
arpnip_min_age: 0
 | 
						|
expire_devices: 0
 | 
						|
expire_nodes: 0
 | 
						|
expire_nodes_archive: 0
 | 
						|
store_wireless_clients: true
 | 
						|
store_modules: true
 | 
						|
ignore_interfaces:
 | 
						|
  - 'EOBC'
 | 
						|
  - 'unrouted VLAN'
 | 
						|
  - 'StackPort'
 | 
						|
  - 'Control Plane Interface'
 | 
						|
  - 'SPAN (S|R)P Interface'
 | 
						|
  - 'StackSub-.*'
 | 
						|
  - 'StackPort\d+'
 | 
						|
  - 'netflow'
 | 
						|
  - 'Vlan\d+-mpls layer'
 | 
						|
  - 'BRI\S+-Bearer Channel'
 | 
						|
  - 'BRI\S+-Physical'
 | 
						|
  - 'BRI\S+-Signalling'
 | 
						|
  - 'Embedded-Service-Engine\d+\/\d+'
 | 
						|
  - 'Virtual-Template\d+'
 | 
						|
  - 'Virtual-Access\d+'
 | 
						|
  - '(E|T)\d \d\/\d\/\d'
 | 
						|
ignore_private_nets: false
 | 
						|
reverse_sysname: false
 | 
						|
vlanctl: true
 | 
						|
portctl_nophones: false
 | 
						|
portctl_vlans: false
 | 
						|
portctl_uplinks: false
 | 
						|
check_userlog: true
 | 
						|
port_control_reasons:
 | 
						|
  address:     'Address Allocation Abuse'
 | 
						|
  copyright:   'Copyright Violation'
 | 
						|
  dos:         'Denial of Service'
 | 
						|
  bandwidth:   'Excessive Bandwidth'
 | 
						|
  polling:     'Excessive Polling of DNS/DHCP/SNMP'
 | 
						|
  noserv:      'Not In Service'
 | 
						|
  exploit:     'Remote Exploit Possible'
 | 
						|
  compromised: 'System Compromised'
 | 
						|
  other:       'Other'
 | 
						|
  resolved:    'Issue Resolved'
 | 
						|
 | 
						|
# --------------
 | 
						|
# BACKEND DAEMON
 | 
						|
# --------------
 | 
						|
 | 
						|
workers:
 | 
						|
  interactives: 2
 | 
						|
  pollers: 5
 | 
						|
  sleep_time: 2
 | 
						|
 | 
						|
dns:
 | 
						|
  max_outstanding: 250
 | 
						|
 | 
						|
#housekeeping:
 | 
						|
#  discoverall:
 | 
						|
#    when: '0 9 * * *'
 | 
						|
#  arpwalk:
 | 
						|
#    when:
 | 
						|
#      min: 30
 | 
						|
#  macwalk:
 | 
						|
#    when:
 | 
						|
#      min: 15
 | 
						|
#      hour: '*/2'
 | 
						|
#      wday: 'mon-fri'
 | 
						|
 | 
						|
# ---------------
 | 
						|
# DANCER INTERNAL
 | 
						|
# ---------------
 | 
						|
 | 
						|
charset: 'UTF-8'
 | 
						|
warnings: false
 | 
						|
show_errors: false
 | 
						|
logger: 'console'
 | 
						|
engines:
 | 
						|
  template_toolkit:
 | 
						|
    encoding: 'utf8'
 | 
						|
    start_tag: '[%'
 | 
						|
    end_tag: '%]'
 | 
						|
    PRE_CHOMP: 1
 | 
						|
layout: 'main'
 | 
						|
plugins:
 | 
						|
  Auth::Extensible:
 | 
						|
    no_api_change_warning: true
 | 
						|
    no_default_pages: true
 | 
						|
    realms:
 | 
						|
      users:
 | 
						|
        provider: 'App::Netdisco::Web::Auth::Provider::DBIC'
 | 
						|
        schema_name: 'netdisco'
 | 
						|
session: 'YAML'
 | 
						|
template: 'template_toolkit'
 | 
						|
route_cache: true
 | 
						|
appname: 'Netdisco'
 | 
						|
behind_proxy: false
 |