Skip to content

Instantly share code, notes, and snippets.

@stdietrich
Created July 24, 2017 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stdietrich/b3b985f872ea648d6c03bb6249c44e72 to your computer and use it in GitHub Desktop.
Save stdietrich/b3b985f872ea648d6c03bb6249c44e72 to your computer and use it in GitHub Desktop.
zimonGrafanaInterface Systemd Unit File
[Unit]
Description=IBM Spectrum Scale Performance Monitoring Bridge
After=network-online.target
[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/zimonGrafanaIntf
ExecStart=/usr/bin/zimonGrafanaIntf.py -s ${SERVER} -P ${SERVER_PORT} -l ${LOG_FILE} -c ${LOG_LEVEL}
User=zimongrafanaintf
WorkingDirectory=/var/log/zimonGrafanaIntf
[Install]
WantedBy=multi-user.target
# /etc/sysconfig/zimonGrafanaIntf
SERVER="localhost"
SERVER_PORT="9084"
LOG_FILE="/var/log/zimonGrafanaIntf/zserver.log"
LOG_LEVEL="10"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment