App-Netsync
view release on metacpan or search on metacpan
etc/netsync.ini view on Meta::CPAN
# This is the main netsync configuration file.
# It contains the configuration directives that give netsync its instructions.
[netsync]
# Probe1Cache specifies where probe level 1 RFC1035 output is stored.
# default: /var/cache/netsync/active.txt
Probe1Cache = var/cache/active.txt
# Probe2Cache specifies where probe level 2 RFC4180 output is stored.
# default: /var/cache/netsync/synced.csv
Probe2Cache = var/cache/synced.csv
[Netsync]
# DBMS specifies the database platform to use.
# (See additional Database-Specific Settings below.)
# default: <none>
DBMS =
# Server specifies the server containing the database to use.
# default: <none>
Server =
# Port specifies which port to contact the database server on.
# default: <none>
Port =
# Database specifies which database to connect to.
# default: <none>
Database =
# Username specifies the user to connect to the database as.
# default: <none>
Username =
# Password specifies the authentication key to use to connect to the database.
# default: <none>
Password =
# Table specifies which database table to use.
# default: <none>
Table =
# DeviceField specifies which table field to use as a unique ID for devices.
# default: <none>
DeviceField =
# InterfaceField specifies which table field to use as a unique ID for device interfaces.
# default: <none>
InterfaceField =
# InfoFields specifies which table fields to synchronize with device interfaces.
# default: <none>
InfoFields =
## Advanced Settings
# SyncOID specifies which OID to send synchronized information to when updating.
# default: ifAlias
SyncOID = ifAlias
# MIBdir specifies the location of MIBs required by Netsync.
# default: /usr/share/netsync/mib
MIBdir = share/mib
# DeviceOrder specifies the width of fields specifying node and device counts.
# (e.g. 2 allows up to 99 devices, 4 up to 9999 devices, etc.)
# default: 4
DeviceOrder = 4
# ConflictLog specifies where to log conflicts.
# default: /var/log/netsync/conflicts.log
ConflictLog = /var/log/netsync/conflicts.log
# NodeLog specifies where to log all probed nodes.
# default: /var/log/netsync/nodes.log
NodeLog = /var/log/netsync/nodes.log
# UpdateLog specifies where to log all modifications made to the network by netsync.
# default: /var/log/netsync/updates.log
UpdateLog = /var/log/netsync/updates.log
[DB]
# See the DBI Perl module documentation for more information.
## Advanced Settings
# AutoCommit specifies whether database transactions may be rolled back.
# options: 0-1 (active-low)
# default: 0 (DBI default: 1)
AutoCommit = 0
# PrintWarn specifies whether database warnings are printed.
# (This value is automatically enabled if Perl warnings are enabled.)
# options: 0-1
# default: 0
PrintWarn = 0
# PrintError specifies whether database errors print warnings for errors.
# options: 0-1
# default: 1
PrintError = 1
# RaiseError specifies whether database errors generate exceptions.
# options: 0-1
# default: 0
RaiseError = 0
# ShowErrorStatement specifies whether the SQL statement is appended to printed warnings.
# options: 0-1
# default: 0
ShowErrorStatement = 0
# TraceLevel specifies what trace information is printed.
# options: 0-15
# default: 0
TraceLevel = 0
( run in 0.585 second using v1.01-cache-2.11-cpan-39bf76dae61 )