Hi,
check_service -a "filter=name like 'Service' and state = 'running'" 'top-syntax=%(list)'
Above filter, will generate an output like this:
Service1=running (auto), Service2=running (demand)
But I can’t figure out how to trigger a warning if a service is running but someone have set it to Manual (demand).