380 |
log("Reinitializing monit daemon\n", prog); |
log("Reinitializing monit daemon\n", prog); |
381 |
kill_daemon(SIGHUP); |
kill_daemon(SIGHUP); |
382 |
} else if(IS(action, "status")) { |
} else if(IS(action, "status")) { |
383 |
status(); |
status(LEVEL_NAME_FULL); |
384 |
|
} else if(IS(action, "summary")) { |
385 |
|
status(LEVEL_NAME_SUMMARY); |
386 |
} else if(IS(action, "quit")) { |
} else if(IS(action, "quit")) { |
387 |
kill_daemon(SIGTERM); |
kill_daemon(SIGTERM); |
388 |
} else if(IS(action, "validate")) { |
} else if(IS(action, "validate")) { |
627 |
printf(" unmonitor all - Disable monitoring of all services\n"); |
printf(" unmonitor all - Disable monitoring of all services\n"); |
628 |
printf(" unmonitor name - Only disable monitoring of the named service\n"); |
printf(" unmonitor name - Only disable monitoring of the named service\n"); |
629 |
printf(" reload - Reinitialize monit\n"); |
printf(" reload - Reinitialize monit\n"); |
630 |
printf(" status - Print status information for each service\n"); |
printf(" status - Print full status information for each service\n"); |
631 |
|
printf(" summary - Print short status information for each service\n"); |
632 |
printf(" quit - Kill monit daemon process\n"); |
printf(" quit - Kill monit daemon process\n"); |
633 |
printf(" validate - Check all services and start if not running\n"); |
printf(" validate - Check all services and start if not running\n"); |
634 |
printf("\n"); |
printf("\n"); |