Stop service using PQL

asked 2018-12-02 21:51:31 -0600

Chutki gravatar image

Hi,

I would like to query and stop "mcollective" service using PQL

  resources[certname] { type = "Service" and title = "httpd" }

Sample

resources[node1.test.com] { type = "Service" and title = "mcollective" }

I am not sure what attribute need to pass to stop service.

edit retag flag offensive close merge delete