The application uses a properties file called /home/scripts/otrs.properties that contain the global variables required:

# Properties defining application
application.DebugMode = false
application.ProducerLogFileName = OTRS_Producer
application.ConsumerLogFileName = OTRS_Consumer
application.DashboardLogFileName = OTRS_Dashboard
application.OutlookLogFileName = Outlook
application.ApplicationDirectory = /tmp/otrs/
#application.ApplicationDirectory = c:\\tmp\\otrs\\

# Properties defining database connectivity
#dao.ConnectionUserName = reportsUser
#dao.ConnectionPassword = ********
dao.ConnectionUserName = root
dao.ConnectionPassword = *********
dao.ConnectionDriver = com.mysql.jdbc.Driver
#dao.ConnectionURL = jdbc:mysql://devcacti01.win.dante.org.uk:3306/cacti?autoReconnect=true&zeroDateTimeBehavior=convertToNull
dao.ConnectionURL = jdbc:mysql://test-msr.geant.net:3306/sde?autoReconnect=true&zeroDateTimeBehavior=convertToNull

# Properties defining esb connectivity
# PROD01 esb.BrokerUrl = failover://tcp://62.40.109.44:61616
# PROD02 esb.BrokerUrl = failover://tcp://62.40.113.83:61616
# TEST01
esb.BrokerUrl = failover://tcp://62.40.109.42:61616
# UAT02 esb.BrokerUrl = failover://tcp://62.40.113.82:61616
#esb.BrokerUrl = failover://(tcp://62.40.109.42:61616,tcp://62.40.113.82:61616)?randomize=false
#esb.BrokerUrl = failover://tcp://62.40.109.42:61616,tcp://62.40.113.82:61616?connectionTimeout=3000&maxReconnectAttempts=1&randomize=false
#esb.BrokerUrl = failover://(tcp://62.40.109.42:61616?connectionTimeout=3000,tcp://62.40.113.82:61616?connectionTimeout=3000)?timeout=5000&startupMaxReconnectAttempts=1&maxReconnectAttempts=1&randomize=false&priorityBackup=false
esb.ConnectionUserName = system
esb.ConnectionPassword = ********
esb.QueueName = OTRS
#esb.QueueName = OTRS_Mar
esb.QueueName1 = otrs.ticket.request.queue
esb.QueueName2 = otrs.ticket.result.queue

# Properties defining otrs connectivity
otrs.ServiceUrl = https://tts.geant.net/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnector
#otrs.ServiceUrl = https://dante-test.managed-otrs.com/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnector
#otrs.ConnectionUserName = richard.sanigar@dante.net
#otrs.ConnectionPassword = ***********
otrs.ConnectionUserName = msruser
otrs.ConnectionPassword = ************
otrs.NumberOfMinutes = 60

# Properties defining outlook connectivity
#outlook.ServiceUrl = https://mail.dante.net/ews/Exchange.asmx
#outlook.ServiceUrl = https://pod51046.outlook.com/ews/Exchange.asmx
outlook.ServiceUrl = https://outlook.office365.com/EWS/Exchange.asmx
outlook.ConnectionUserName = OTRS-NM@dante.net
outlook.ConnectionPassword = **********


# Properties defining UAT correlator connection
dao1.ConnectionUserName = maintainor
dao1.ConnectionPassword = *********
dao1.ConnectionDriver = com.mysql.jdbc.Driver
dao1.ConnectionURL = jdbc:mysql://uat-dboard01-corr.geant.net:3306/maintenance?autoReconnect=true&zeroDateTimeBehavior=convertToNull

******** - Passwords are stored in KeyPass Storage

Richard to check the passwords are actually there


  • No labels