HTTP

The HTTP driver starts PRIS as a web server to provide the OpenNMS requisition over HTTP.

Parameter Required Description

driver

*

set to http run as web server and provide requisitions over HTTP

host

*

Network interface for listening, e.g. 0.0.0.0 = all, 127.0.0.1 = localhost

port

*

TCP port to listen for incoming requests. Default is 8000

Access to the requisition can be tested with a browser to URL http://<your-ip>:<port>8000/requisitions/<name-requisition-cfg>;. The path name-requisition-cfg is the folder name which runs the requisition configuration located in your PRIS server directory.

Example configuration for a web server provided requisition
### File: global.properties
# Start web server
# The web server listens on all interfaces and can be accessed on TCP port 8000
# URL: http://${your-ip}:8000/requisitions/${name-requisition-cfg}

driver = http
host = 0.0.0.0
port = 8000