aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/snmp/files
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2017-04-19 18:17:40 +0200
committerKristian Lyngstol <kly@kly.no>2017-04-19 18:17:40 +0200
commit4e04c35f04c264d728587a54d0515eef0a42a44b (patch)
tree7850ac76ba7d494014ecc97d54322567ed44af5d /ansible/roles/snmp/files
parent5bd19932a886eae468fea8bcb0e30c78f1d45141 (diff)
build/: Make room for new deployment scheme
Diffstat (limited to 'ansible/roles/snmp/files')
-rw-r--r--ansible/roles/snmp/files/gondul-snmp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/snmp/files/gondul-snmp.service b/ansible/roles/snmp/files/gondul-snmp.service
new file mode 100644
index 0000000..e5f2179
--- /dev/null
+++ b/ansible/roles/snmp/files/gondul-snmp.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Gondul snmp collector
+Documentation=http://google.com
+After=network.target
+
+[Service]
+ExecStart=/opt/gondul/collectors/snmpfetchng.pl
+MountFlags=slave
+LimitNOFILE=1048576
+LimitNPROC=1048576
+LimitCORE=infinity
+
+[Install]
+WantedBy=multi-user.target