--- /dev/null
+## 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 aosi with pidfile "/var/run/aosi/aosi.pid"
+ start program = "/etc/init.d/aosi start"
+ stop program = "/etc/init.d/aosi stop"
+ if failed host 127.0.0.1 port 1443 type tcp
+ then restart
## End - Generated by CARNet package monit-cn
check aosi with pidfile "/var/run/aosi/aosi.pid"
- start program = "/etc/init.d/aosi start"
- stop program = "/etc/init.d/aosi stop"
+ start program = "/etc/init.d/aosi-aai start"
+ stop program = "/etc/init.d/aosi-aai stop"
if failed host 127.0.0.1 port 1443 type tcp
then restart