Hi,

Name first file test_ossec and put it in /usr/bin.
Make it executable sudo chmod +x /usr/bin/test_ossec
Check if it wotks sudo /usr/bin/test_ossec

Name second file  ossec.conf and put info /etc/monit/conf.d/ directory
Change /PATH/TO/FIRST/FILE to /usr/bin/test_ossec.
Restart monit with sudo monit reload.






--
View this message in context: 
http://nongnu.13855.n7.nabble.com/Monitor-Ossec-tp3207p172763.html
Sent from the monit-general mailing list archive at Nabble.com.

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to