Configuration Files#

The LLADriver application has been desigened to be very flexible. Some of this was done as many of the configuration items were not defined before operation of the LLDriver was needed.

The follwoing configuration files are required for operation.

ndsperf.properties#

The ndsperf.properties file contains the essential properties for program operation and preferences for the main program. Generally, if you do not know the correct vlaue do NOT change the provided value as shown here. Adverse operation or failure may result if the wrong values are entered or if values are missing. Please make backups of the file before changing values.

NOTE: Some entries contain authentication information and are not shown here. Please contact james_s_willeke@willeke.com.com for further information.

The syntax used in these files is as: KEY=VALUE Do NOT change any of the KEY entries as the application is dependent on finding ALL KEYs as shown and operation of the application will fail or adverse operation may result.

For use ability and readability please the following conventions have been used in these files:

  • Please do not change ### or ## Entries
  • The ### delimit categroies or Heading
  • The ## are for Explainations
  • Use # for to disable a line.
### ndsperf.properties
### Please do not change ### or ## Entries
### The ### delimit categroies or Heading
### The ## are for Explainations
### Use # for to disable a line.
### Missing lines MAY Cause program to fail
### Please make backups before changing.
### Entries like_1 must be contiguous Numbering.
## Database URL Complete
dburl=jdbc:mysql://WA1I900.svr.willeke.com:3306/naudit?user=auditusr&password=auditpwd
### List of LDAP Servers to Monitor
## Format is: LDAPHOST|pwd|fdn
## IDV
srvs_1=wa1s056.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_2=wa1s057.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_3=wa1s134.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_4=wa1s135.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
## TREE2
srvs_5=wa1s136.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_6=wa1s058.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
## TREE3
srvs_7=wa1s070.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_8=wa1s071.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_9=wa1s072.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_10=wa1s151.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_11=wa1s152.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
srvs_12=wa1s156.svr.willeke.com|notavailable|cn=admin,ou=administration,dc=willeke.com,dc=net
## TREE4
#srvs_13=WA201800.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_14=WA201801.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_15=WA3NW820.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_16=WA201821.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_17=WA3NW801.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_18=WA3NW802.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_19=WA3NW821.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_20=WA3NW821.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
#srvs_21=WA3NW821.svr.willeke.com|notavailable|cn=USER6,ou=OH,ou=PEOPLE,DC=WILELKE,DC=COM
### DirXML Monitor
## Format is: LDAPHOST-NAME|FullyDistinguishedNameOfDirXMLDriver
## IDV
#dxml_1=wa1s056.svr.willeke.com|cn=IDVERPRISEtoIDV - Mirror Structure (dst),cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_1=wa1s056.svr.willeke.com|cn=IDVtoNotes,cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_2=wa1s056.svr.willeke.com|cn=IDVtonw1foreast,cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_3=wa1s056.svr.willeke.com|cn=IDVtonw1forwest,cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_4=wa1s056.svr.willeke.com|cn=IDVtoTREE2,cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_5=wa1s056.svr.willeke.com|cn=IDVtoTREE3,cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_6=wa1s056.svr.willeke.com|cn=IDVLoopback,cn=wa1s056-driverset,ou=DirXML,dc=willeke.com,dc=net
## TREE2
dxml_7=wa1s058.svr.willeke.com|cn=IDVtoTREE2,cn=wa1s058-driverset,ou=DirXML,dc=willeke.com,dc=net
dxml_8=wa1s058.svr.willeke.com|cn=IDVtoIMG-Indirect,cn=wa1s058-driverset,ou=DirXML,dc=willeke.com,dc=net
## TREE3
dxml_9=wa1s072.svr.willeke.com|cn=IDVtoTREE3,cn=wa1s072-driverset,ou=DirXML,dc=willeke.com,dc=net
## TREE4
#dxml_10=WA3NW820.svr.willeke.com|cn=IDVtonw1Foreast,cn=WA3NW820-driverset,ou=dirxml,o=nw1
#dxml_11=WA201820.svr.willeke.com|cn=IDVtonw1Forwest,cn=WA201820-driverset,ou=dirxml,o=nw1
## SQL Field Names (Attributes Names Used for Attributes)
label_1=date
label_2=time
label_3=duration
## Attributes to return from LDAP server (Also used for SQL Field Names)
attr_1=directoryTreeName
attr_2=dsaName
attr_3=vendorVersion
attr_4=unAuthBinds
attr_5=simpleAuthBinds
attr_6=strongAuthBinds
attr_7=bindSecurityErrors
attr_8=readOps
attr_9=listOps
attr_10=addEntryOps
attr_11=removeEntryOps
attr_12=modifyEntryOps
attr_13=compareOps
attr_14=modifyRDNOps
attr_15=extendedOps
attr_16=abandonOps
attr_17=inOps
attr_18=searchOps
attr_19=nw1LevelSearchOps
attr_20=wholeSubtreeSearchOps
attr_21=inBytes
attr_22=outBytes
attr_23=repUpdatesOut
attr_24=repUpdatesIn
attr_25=chainings
attr_26=referralsReturned
attr_27=errors
attr_28=securityErrors
### Alert Information
emailsmtphost=mailhost.willeke.com
email_1=nobody@willeke.com.com
email_2=4191234567@vtext.com
emailfrom=LDAPMonitor@willeke.com.com
## If a alert is detected, we will send alert and then wait this many minutes to send another.
alerthold=30
### Turn off some of the Alerts.
## No errors from the dirxml logs will send alerts
ignoredirxmllogs=true
### LDAP Connection properties
### Path to certificate keystore - No certificate file is needed - ALL Certificates
### Are assumed to be valid
### Default login Credentials
authDN=cn=admin,ou=administration,dc=willeke.com,dc=net
authPWD=notavailable
## Bind Time out - If it takes longer than this time an alert will be sent
BIND_TIMEOUT=20000
## Default encoding
encoding=UTF8
## Search base to start Should always be rootDSE
search_Base =
search_filter=(objectclass=*)
## Port for Clear text Connections
clrport=389
## Port for SSL Connections
sslport=636
## Use SSL Port?
usessl=TRUE
## Property file for logj4
loggerprops=desperflogger.properties
## logger Category.getInstance("LDAPMonitor")
loggerinstance=ldapmonitor
### Polling Information
## How often to cycle (in seconds)
pollrate=120
### Misc Resource Strings
## Date Format
dateFormat=yyyy-MM-dd HH:mm:ss
timeFormat=HH:mm:ss:SSS
ldap_connect=LDAPConnect
ldap_bind=LDAPBind
srch_exception=LDAPSearch:
attr_read_exc=Reading Attribute
encoding_exc=Encoding
general_exc=Error:

desperflogger.properties#

The ldapperflogger.properties file contains the essential properties for primary logging capabilities for the LDAP Monitor. Generally, if you do not know the correct vlaue do NOT change the provided value as shown here. Adverse operation or failure may result if the wrong values are entered or if values are missing. Please make backups of the file before changing values.

The syntax used in these files is as: KEY=VALUE Do NOT change any of the KEY entries as the application is dependent on finding ALL KEYs as shown and operation of the application will fail or adverse operation may result.

For use ability and readability please the following conventions have been used in these files:

* Please do not change ### or ## Entries * The ### delimit categroies or Heading * The ## are for Explainations * Use # for to disable a line.

The LDAP Monitor makes use of the Log4J logging utility and details of its operation and settings for this file can be found here.

### Log4j Logger configuration file.
### All appenders are set here except the JDBC Appender
###
### Turns on or off debugging for the logger
log4j.debug=false
This should only be changed if there is a problem with the logging program itself.

###
### Names are defined below
### First Entry is the rootlogger and should be set as DEBUG
## This Turns on all the appenders
#log4j.rootCategory=DEBUG, console, rfa, gui
#log4j.rootCategory=DEBUG, rfa, gui
#log4j.rootCategory=DEBUG, gui

log4j.rootCategory=DEBUG, rfa
This turns off the GUI and Console and is reccomended to be used in Production

### Available levels are DEBUG, INFO, WARN, ERROR, FATAL
###
### Definitions and settings for ConsoleAppender (console)
###
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%-5p %d{ISO8601} [%t] - %m - %l %n
###
### Definitions and settings for DailyRollingFileAppender (RFA)
###
log4j.appender.rfa=org.apache.log4j.DailyRollingFileAppender
log4j.appender.rfa.Threshold=DEBUG
log4j.appender.rfa.file=LLADriver.log
log4j.appender.rfa.datePattern='.'yyyy-MM-dd
#log4j.appender.rfa.maxBackupIndex=10
log4j.appender.rfa.append=true
log4j.appender.rfa.layout=org.apache.log4j.PatternLayout
log4j.appender.rfa.layout.ConversionPattern=%-5p %d{ISO8601} [%t] - %m - %l %n
###
### Definitions and settings for UDPAppender (udp)
###
# log4j.appender.udp=org.apache.log4j.net.UDPAppender
# log4j.appender.udp.remoteHost=192.168.15.255
# log4j.appender.udp.port=8881
# log4j.appender.udp.layout=org.apache.log4j.PatternLayout
# log4j.appender.udp.layout.ConversionPattern=%-5p %d{ISO8601} [%t] - %m%n
###
### Definitions and settings for LF5Appender (gui)
###
### gui is set to be a LogMonitorAppender which outputs to a swing
log4j.appender.gui=org.apache.log4j.lf5.LF5Appender

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 12-Dec-2013 17:25 by jim