- dodani novi predlosci za: mailgraph, maradns zoneserver, maradns, pdns
[monit-cn.git] / monit-cn / snmpd.conf
diff --git a/monit-cn/snmpd.conf b/monit-cn/snmpd.conf
new file mode 100644 (file)
index 0000000..4eec7f5
--- /dev/null
@@ -0,0 +1,13 @@
+## Begin - Generated by CARNet package monit-cn
+#
+#  This is a monit-cn template file.  REMOVE this whole comment block if
+#  you DON'T WANT monit-cn to edit/remove/delete your configuration file.
+#
+## End - Generated by CARNet package monit-cn
+
+check process snmpd with pidfile "/var/run/snmpd.pid"
+    start program = "/etc/init.d/snmpd start"
+    stop program = "/etc/init.d/snmpd stop"
+    if failed host 127.0.0.1 port 161 type udp
+        with timeout 10 seconds
+        then restart