Dear Jaro,
Here it is
check program OSSEC with path "/usr/bin/test_ossec" with timeout 1000
seconds
if status != 0 then restart
start program = "/etc/init.d/ossec_server start" with timeout 60 seconds
stop program = "/etc/init.d/ossec_server stop"
group server
Another thing I have check is that I dont have /etc/init.d/ossec_server
start or stop but just this one file ossec_hids
vi ossec-hids
stop)
stop
;;
status)
rh_status
;;
restart)
restart
;;
condrestart)
if [ -e /var/lock/subsys/$SHORT ]; then restart; fi
;;
reload)
reload
;;
*)
echo $"Usage: ossec-hids
{start|stop|status|restart|condrestart|reload}"
exit 1
esac
exit $RETVAL
On Tue, Sep 24, 2013 at 2:59 PM, Werner Flamme <[email protected]> wrote:
> frwa onto [24.09.2013 04:42]:
> > Dear Jaro,
> > Yes its in the /etc/monit.d/ and when I start monit it
> where
> > it generates that error.
>
> May we see the content of the file?
>
> --
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general