Quantcast
Channel: NSClient++ » All Posts
Viewing all articles
Browse latest Browse all 189

check_service generate warning when running but demand

$
0
0

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).


Viewing all articles
Browse latest Browse all 189

Trending Articles