HostOnNet Blog


Enable monitoring of service on Cpanel Server

To enable monitoring of all services on Cpanel Server, run

whmapi1 enable_monitor_all_enabled_services

Example

root@server20 [~]# whmapi1 enable_monitor_all_enabled_services
--- 
data: 
  services: 
    - 
      monitored: 1
      service: mysql
metadata: 
  command: enable_monitor_all_enabled_services
  reason: OK
  result: 1
  version: 1
root@server20 [~]#

See also tailwatch, cpanel server


Posted in Cpanel Server