Skip to content

Command line

The agent takes Monit's command line. Each option and command of Monit's -h is listed here with what the agent does with it: it takes it, or it refuses it with an error. This page is generated from the list the agent's tests check with every release.

Monit here is the reference Monit, Monit 6.1.0: the version the agent's tests check it against.

Options

Option or command Example The agent
-c -c /etc/flyingmonit-agentrc -t taken
-d -c /etc/flyingmonit-agentrc -d 30 -t taken
-g -c /etc/flyingmonit-agentrc -g web status not yet -- the agent refuses it
-l -c /etc/flyingmonit-agentrc -l /var/log/agent.log -t taken
-p -c /etc/flyingmonit-agentrc -p /var/log/agent.pid -t taken
-s -c /etc/flyingmonit-agentrc -s /var/log/state -t not yet -- the agent refuses it
-I -c /etc/flyingmonit-agentrc -I -t taken
--id -c /etc/flyingmonit-agentrc --id taken
--resetid -c /etc/flyingmonit-agentrc --resetid taken
-B -c /etc/flyingmonit-agentrc -B -t taken
-t -c /etc/flyingmonit-agentrc -t taken
-v -c /etc/flyingmonit-agentrc -v -t taken
-vv -c /etc/flyingmonit-agentrc -vv -t taken
-H -H /etc/flyingmonit-agentrc taken
-H -H taken
-V -V taken
-h -h taken

Arguments

Option or command Example The agent
start -c /etc/flyingmonit-agentrc start all not yet -- the agent refuses it
start -c /etc/flyingmonit-agentrc start web not yet -- the agent refuses it
stop -c /etc/flyingmonit-agentrc stop all not yet -- the agent refuses it
stop -c /etc/flyingmonit-agentrc stop web not yet -- the agent refuses it
restart -c /etc/flyingmonit-agentrc restart all not yet -- the agent refuses it
restart -c /etc/flyingmonit-agentrc restart web not yet -- the agent refuses it
monitor -c /etc/flyingmonit-agentrc monitor all not yet -- the agent refuses it
monitor -c /etc/flyingmonit-agentrc monitor web not yet -- the agent refuses it
unmonitor -c /etc/flyingmonit-agentrc unmonitor all not yet -- the agent refuses it
unmonitor -c /etc/flyingmonit-agentrc unmonitor web not yet -- the agent refuses it
reload -c /etc/flyingmonit-agentrc reload taken
status -c /etc/flyingmonit-agentrc status taken
status -c /etc/flyingmonit-agentrc status web taken
summary -c /etc/flyingmonit-agentrc summary taken
summary -c /etc/flyingmonit-agentrc summary web taken
report -c /etc/flyingmonit-agentrc report taken
report -c /etc/flyingmonit-agentrc report up taken
report -c /etc/flyingmonit-agentrc report down taken
report -c /etc/flyingmonit-agentrc report initialising taken
report -c /etc/flyingmonit-agentrc report unmonitored taken
report -c /etc/flyingmonit-agentrc report total taken
quit -c /etc/flyingmonit-agentrc quit taken
validate -c /etc/flyingmonit-agentrc validate taken
procmatch -c /etc/flyingmonit-agentrc procmatch "^web$" not yet -- the agent refuses it