20180627_15:31:07[root@localhost ~]# systemctl restart zabbix-agent    #重启Zabbix-agent服务。

[root@localhost ~]# systemctl status zabbix-agent    #查看服务状态。

● zabbix-agent.service - LSB: Start and stop Zabbix agent

   Loaded: loaded (/etc/rc.d/init.d/zabbix-agent; bad; vendor preset: disabled)

   Active: active (exited) since 三 2018-06-27 15:31:07 CST; 5s ago

     Docs: man:systemd-sysv-generator(8)

  Process: 26022 ExecStop=/etc/rc.d/init.d/zabbix-agent stop (code=exited, status=0/SUCCESS)

  Process: 26038 ExecStart=/etc/rc.d/init.d/zabbix-agent start (code=exited, status=0/SUCCESS)


6月 27 15:31:07 localhost systemd[1]: Starting LSB: Start and stop Zabbix agent...<