aboutsummaryrefslogtreecommitdiffstats
path: root/roles/snmp/files
diff options
context:
space:
mode:
authorKristian <kly@gondul-tg17.kly.no>2017-04-19 18:13:19 +0200
committerKristian <kly@gondul-tg17.kly.no>2017-04-19 18:13:19 +0200
commit5bd19932a886eae468fea8bcb0e30c78f1d45141 (patch)
tree5357cc40a58e0bb3adbfbb874365d0073dd75fe6 /roles/snmp/files
parent53fb0f8f3155748134fb1d908ac3e24a90217de2 (diff)
build: Add ping/snmp to new-scheme
Diffstat (limited to 'roles/snmp/files')
-rw-r--r--roles/snmp/files/gondul-snmp.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/snmp/files/gondul-snmp.service b/roles/snmp/files/gondul-snmp.service
new file mode 100644
index 0000000..e5f2179
--- /dev/null
+++ b/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