1.
Log in to the Agent Server as the root user.
2. Use the vi editor to open the
/etc/amonit.json file and delete the ICDComm monitoring configurations that are
marked in bold in the following information:
{
"services": [
{"name" : "AgentGateway0",
"matching" : "/home/elpis/tomcat7",
"user" : "elpis",
"start_program" : "su - elpis -c
/home/elpis/tomcat7/bin/startup.sh",
"stop_program" : "su - elpis -c
/home/elpis/tomcat7/bin/shutdown.sh"},
{"name" : "ElpisIcdcomm",
"matching" : "icdcomm",
"user" : "elpis",
"start_program" : "su
- elpis -c /home/elpis/script/startup.sh",
"stop_program" : "su - elpis
-c /home/elpis/tomcat7/bin/shutdown.sh"}
]
}
3. Restart the
Amonit.