* Support for stuffing other locations into @INC at runtime * Reports config is now a list (see ReleaseNotes) commit19756faf57Merge:2e8afbe29d3ac7Author: Oliver Gorwits <oliver@cpan.org> Date: Thu Jul 31 21:32:30 2014 +0100 Merge branch 'master' into og-autoload Conflicts: Netdisco/share/public/javascripts/netdisco_portcontrol.js commit2e8afbeea6Merge:d340c3b18f507eAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 23 20:09:18 2014 +0100 Merge branch 'master' into og-autoload commitd340c3b135Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jul 7 22:25:38 2014 +0100 tweak dirty css commit032cd82c46Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jul 6 23:05:17 2014 +0100 add dirty classes commit2b72c989faMerge:1b8ac7cb77025fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Fri Jul 4 11:28:01 2014 +0100 Merge branch 'og-autoload' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-autoload commitb77025f34cAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Jul 3 23:35:35 2014 +0100 hide save icon commit5df5a73aedAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 2 22:31:18 2014 +0100 blue color commita3bf20f074Merge:1839f26db53c00Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 2 15:17:25 2014 +0100 Merge branch 'master' into og-autoload commit1b8ac7ca1fMerge:1839f26db53c00Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 2 09:23:31 2014 +0100 Merge branch 'master' into og-autoload commit1839f2634bAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 2 03:43:53 2014 +0100 add jquery.fix.clone.js commit3eee9f1997Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Jul 2 00:08:27 2014 +0100 save button css commit95b6cb61b3Merge:13957e858e5d05Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Jul 1 21:50:01 2014 +0100 Merge branch 'master' into og-autoload Conflicts: Netdisco/share/config.yml commit13957e82dcMerge:bedbec66abcebaAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 30 22:50:40 2014 +0100 Merge branch 'og-autoload' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-autoload commitbedbec6b4bAuthor: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 30 22:49:49 2014 +0100 css fixes commit6e2d5a4b48Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 30 21:30:26 2014 +0100 css fixes commit755fc92c59Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 30 13:05:43 2014 +0100 reports now a list not a hash commit6abcebafbeAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 29 12:41:47 2014 +0100 start as non-root if port switch not required commite5e0c0c8d1Author: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 28 13:10:51 2014 +0100 fix err in docs commit6d680aabedAuthor: Oliver Gorwits <oliver@cpan.org> Date: Sat Jun 28 11:10:23 2014 +0100 move content commitd2668d6db7Author: Oliver Gorwits <oliver@cpan.org> Date: Fri Jun 27 00:30:54 2014 +0100 minor styling commite46cbd252dAuthor: Oliver Gorwits <oliver@cpan.org> Date: Thu Jun 26 23:19:19 2014 +0100 add bootstrap-switch checkbox styling commit5b0a723c9fAuthor: Oliver Gorwits <oliver@cpan.org> Date: Wed Jun 25 22:20:57 2014 +0100 typo in defaults commite45fa89c44Author: Oliver Gorwits <oliver@cpan.org> Date: Tue Jun 24 22:42:45 2014 +0100 css for configuration pane commit62c53a5e49Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 23 23:33:26 2014 +0100 minor typo commitcaedbdadc6Author: Oliver Gorwits <oliver@cpan.org> Date: Mon Jun 23 20:35:30 2014 +0100 properly search the template path!! [#103] commit5742bc7856Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 22 23:13:53 2014 +0100 fix registering template paths commit2b09476f29Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 22 22:19:35 2014 +0100 allow INC stuffing via NETDISCO_INC env var commit7c47a277beMerge:128e96f3a1cd19Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 22 22:17:11 2014 +0100 Merge branch 'master' into og-autoload commit128e96f9a3Author: Oliver Gorwits <oliver@cpan.org> Date: Sun Jun 22 20:48:01 2014 +0100 use Module::Find to load Auto things and Web
		
			
				
	
	
		
			291 lines
		
	
	
		
			6.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			291 lines
		
	
	
		
			6.3 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] %U %L %m'
 | 
						|
include_paths: []
 | 
						|
 | 
						|
# ------------
 | 
						|
# 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::PortSsid
 | 
						|
  - Report::PortUtilization
 | 
						|
  - Report::ApChannelDist
 | 
						|
  - Report::ApClients
 | 
						|
  - Report::ApRadioChannelPower
 | 
						|
  - Report::HalfDuplex
 | 
						|
  - Report::DeviceAddrNoDNS
 | 
						|
  - Report::DeviceByLocation
 | 
						|
  - Report::DeviceDnsMismatch
 | 
						|
  - Report::DevicePoeStatus
 | 
						|
  - Report::DuplexMismatch
 | 
						|
  - Report::IpInventory
 | 
						|
  - Report::ModuleInventory
 | 
						|
  - Report::Netbios
 | 
						|
  - Report::NodeMultiIPs
 | 
						|
  - Report::NodeVendor
 | 
						|
  - Report::PhonesDiscovered
 | 
						|
  - Report::SsidInventory
 | 
						|
  - Report::VlanInventory
 | 
						|
  - Report::SubnetUtilization
 | 
						|
  - Report::PortLog
 | 
						|
  - AdminTask::JobQueue
 | 
						|
  - AdminTask::Topology
 | 
						|
  - AdminTask::PollerPerformance
 | 
						|
  - AdminTask::PseudoDevice
 | 
						|
  - AdminTask::SlowDevices
 | 
						|
  - AdminTask::UndiscoveredNeighbors
 | 
						|
  - AdminTask::OrphanedDevices
 | 
						|
  - AdminTask::UserLog
 | 
						|
  - AdminTask::Users
 | 
						|
  - Search::Device
 | 
						|
  - Search::Node
 | 
						|
  - Search::VLAN
 | 
						|
  - Search::Port
 | 
						|
  - Device::Details
 | 
						|
  - Device::Ports
 | 
						|
  - Device::Modules
 | 
						|
  - Device::Neighbors
 | 
						|
  - Device::Addresses
 | 
						|
extra_web_plugins: []
 | 
						|
jobqueue_refresh: 10
 | 
						|
safe_password_store: true
 | 
						|
reports: []
 | 
						|
table_pagesize: 10
 | 
						|
 | 
						|
# -------------
 | 
						|
# 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: 3000000
 | 
						|
snmpretries: 2
 | 
						|
discover_no: []
 | 
						|
discover_only: []
 | 
						|
discover_no_type: []
 | 
						|
discover_min_age: 0
 | 
						|
macsuck_no: []
 | 
						|
macsuck_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
 | 
						|
nbtstat_no: []
 | 
						|
nbtstat_only: []
 | 
						|
nbtstat_max_age: 7
 | 
						|
nbtstat_interval: 0.02
 | 
						|
nbtstat_timeout: 1
 | 
						|
expire_devices: 0
 | 
						|
expire_nodes: 0
 | 
						|
expire_nodes_archive: 0
 | 
						|
store_wireless_clients: true
 | 
						|
store_modules: true
 | 
						|
ignore_interfaces:
 | 
						|
  - 'EOBC'
 | 
						|
  - 'unrouted VLAN(?: \d+)?'
 | 
						|
  - '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_nameonly: false
 | 
						|
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: 1
 | 
						|
  pollers: 10
 | 
						|
  sleep_time: 2
 | 
						|
  queue: PostgreSQL
 | 
						|
 | 
						|
dns:
 | 
						|
  max_outstanding: 50
 | 
						|
  hosts_file: '/etc/hosts'
 | 
						|
  no: ['fe80::/64','169.254.0.0/16']
 | 
						|
 | 
						|
#schedule:
 | 
						|
#  discoverall:
 | 
						|
#    when: '5 7 * * *'
 | 
						|
#  macwalk:
 | 
						|
#    when:
 | 
						|
#      min: 20
 | 
						|
#  arpwalk:
 | 
						|
#    when:
 | 
						|
#      min: 50
 | 
						|
#  nbtwalk:
 | 
						|
#    when: '0 8,13,21 * * *'
 | 
						|
#  expire:
 | 
						|
#    when: '20 23 * * *'
 | 
						|
 | 
						|
job_types:
 | 
						|
  discoverall: Poller
 | 
						|
  discover:    Poller
 | 
						|
  arpwalk:     Poller
 | 
						|
  arpnip:      Poller
 | 
						|
  macwalk:     Poller
 | 
						|
  macsuck:     Poller
 | 
						|
  nbtwalk:     Poller
 | 
						|
  nbtstat:     Poller
 | 
						|
  expire:      Poller
 | 
						|
  location:    Interactive
 | 
						|
  contact:     Interactive
 | 
						|
  portcontrol: Interactive
 | 
						|
  portname:    Interactive
 | 
						|
  vlan:        Interactive
 | 
						|
  power:       Interactive
 | 
						|
 | 
						|
job_type_keys:
 | 
						|
  Poller: pollers
 | 
						|
  Interactive: interactives
 | 
						|
 | 
						|
# ---------------
 | 
						|
# GraphViz Export
 | 
						|
# ---------------
 | 
						|
 | 
						|
graph:
 | 
						|
  # ---- Graph Settings ----
 | 
						|
  edge_color      : wheat
 | 
						|
 | 
						|
  graph           : 'graph/netmap.gif'
 | 
						|
  graph_png       : 'graph/netmap.png'
 | 
						|
  graph_bg        : black
 | 
						|
  graph_clusters  : false  # try fdp layout
 | 
						|
  graph_color     : white
 | 
						|
  graph_default   : png
 | 
						|
  #graph_dir      : net_dir.gif
 | 
						|
  graph_epsilon   : 6
 | 
						|
  graph_layout    : twopi  # try neato or fdp too
 | 
						|
  graph_map       : 'graph/netmap.map'
 | 
						|
  graph_overlap   : scale
 | 
						|
  graph_nodesep   : 2
 | 
						|
  graph_ranksep   : .3
 | 
						|
  graph_raw       : 'graph/graph_raw.dot'
 | 
						|
  graph_splines   : false
 | 
						|
  graph_svg       : 'graph/netmap.svg'
 | 
						|
  graph_timeout   : 90
 | 
						|
  graph_x         : 30
 | 
						|
  graph_y         : 30
 | 
						|
 | 
						|
  node_fillcolor  : dimgrey
 | 
						|
  node_font       : lucon
 | 
						|
  node_fontsize   : 46.0
 | 
						|
  node_fontcolor  : white
 | 
						|
  node_problem    : red
 | 
						|
  node_shape      : box
 | 
						|
  node_style      : filled
 | 
						|
  #edge_style      : setlinewidth(10)
 | 
						|
 | 
						|
  # ---- Node Maps ----
 | 
						|
  # variable:matching pattern:node attribute:attribute value:key:key name
 | 
						|
  #node_map:
 | 
						|
  #  - 'label:cat(?!-g):fillcolor:blue:cat:Blue Box - Catalyst Device'
 | 
						|
  #  - 'label:-g:fillcolor:darkgreen:dev-g:Green Box - Gateway / Router'
 | 
						|
  #  - 'ip:^192.168\.:color:yellow:dev:Yellow Border - ResNet'
 | 
						|
 | 
						|
# ---------------
 | 
						|
# DANCER INTERNAL
 | 
						|
# ---------------
 | 
						|
 | 
						|
charset: 'UTF-8'
 | 
						|
warnings: false
 | 
						|
show_errors: false
 | 
						|
logger: 'console'
 | 
						|
engines:
 | 
						|
  netdisco_template_toolkit:
 | 
						|
    encoding: 'utf8'
 | 
						|
    start_tag: '[%'
 | 
						|
    end_tag: '%]'
 | 
						|
    PRE_CHOMP: 1
 | 
						|
    INCLUDE_PATH: []
 | 
						|
layout: 'main'
 | 
						|
plugins:
 | 
						|
  Auth::Extensible:
 | 
						|
    no_api_change_warning: true
 | 
						|
    no_default_pages: true
 | 
						|
    no_login_handler: true
 | 
						|
    realms:
 | 
						|
      users:
 | 
						|
        provider: 'App::Netdisco::Web::Auth::Provider::DBIC'
 | 
						|
        schema_name: 'netdisco'
 | 
						|
session: 'YAML'
 | 
						|
template: 'netdisco_template_toolkit'
 | 
						|
route_cache: true
 | 
						|
appname: 'Netdisco'
 | 
						|
behind_proxy: false
 |