The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# This is the main configuration file for Netdisco web and daemon apps
# all the settings in this file will be loaded at Dancer's startup.

# Web app env-related settings should go to environments/$env.yml

# Your application's name
appname: "Netdisco"

# The default web layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"

# when the charset is set to UTF-8 Dancer will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"

# web sessions stored on disk
session: "YAML"

# logging format
logger_format: '[%P] %L @%D> %m'

# web output template settings
template: "template_toolkit"
engines:
  template_toolkit:
    encoding:  'utf8'
    start_tag: '[%'
    end_tag:   '%]'
    PRE_CHOMP: 1

# netdisco stuff (can be overidden in the environment .yml)

web_plugins:
  - Inventory
  - Report::DuplexMismatch
  - Search::Device
  - Search::Node
  - Search::VLAN
  - Search::Port
  - Device::Details
  - Device::Ports
#  - Device::Modules
  - Device::Neighbors
  - Device::Addresses

discover_no: []
discover_only: []

snmpver: 2
snmpretries: 2
snmptimeout: 1000000

mibhome: /usr/share/netdisco/mibs
mibdirs:
  - cisco
  - rfc
  - net-snmp

community: ['public']
community_rw: ['private']

# rights control for Interactive jobs
vlanctl: 1
allow_uplinks: 0
portctl_nophones: 1
portctl_vlans: 1

# sleep time between polls of the database job queue
daemon_sleep_time: 5

# how many daemon processes
# NB one worker will always be a Queue Manager
daemon_pollers: 0
daemon_interactives: 2