wiki:request

Version 6 (modified by krit, 3 years ago) (diff)

--

Naemond query

Ref here

OMD[monitor@0e]:~$ lq "GET services\nColumns: host_name description state \nFilter: host_name = RUTest0001 \nFilter: acknowledged = 1 \nFilter: state != 0 "
OMD[monitor@cd203ce131df]:~$ lq "GET services\nColumns: host_name host_state description state \nFilter: host_name = localhost \nFilter: host_state = 2 \nFilter: state != 0" localhost;2;ssh;1
OMD[monitor@cd]:~$ printf "GET hosts\nColumns: services_with_state notifications_enabled num_services \n" | unixcat ~/tmp/run/live

Attachments (2)

Download all attachments as: .zip