monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Group support question


From: Kerry . Bassett
Subject: Group support question
Date: Mon, 17 Jan 2005 16:47:59 -0500


Hi,

I am having trouble getting group support to work.  I have defined groups in my .monitrc file, but when I issue the monit -g "group name" start|stop|restart command it fails with the below error message.  I will include my .monitrc file as well.  Any suggestions as to how this really works would be great.

monit: invalid argument -- stop  (-h will show valid arguments)

#
# monit control file
#

set daemon 20 # Poll at 20 second intervals
set logfile syslog facility log_daemon
set alert address@hidden
set httpd port 2813
    allow sybase:sybase # Allow Basic Auth

check process xyz4 with pidfile /tmp/xyz4.pid
        GROUP test
        start = "/home/edbmgr/xyz4 start"
        stop  = "/home/edbmgr/xyz4 stop"


Thanks,

Kerry

-------------------------------------
Kerry Bassett
Software Systems Engineer
Engineering Analysis Team
Fairchild Semiconductor
Phone (207)761-3413
-------------------------------------

99 little bugs in the code, 99 bugs in the code,
fix one bug, compile it again...
101 little bugs in the code....

reply via email to

[Prev in Thread] Current Thread [Next in Thread]