b89cb95609
Original Author : klemens <ka7@github.com> Taking over previous PR as per https://github.com/ansible/ansible/pull/23644#issuecomment-307334525 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
41 lines
1.1 KiB
INI
41 lines
1.1 KiB
INI
# Ansible Nagios external inventory script settings
|
|
#
|
|
# To get all available possibilities, check following URL:
|
|
# http://www.naemon.org/documentation/usersguide/livestatus.html
|
|
# https://mathias-kettner.de/checkmk_livestatus.html
|
|
#
|
|
|
|
[local]
|
|
# Livestatus URI
|
|
# Example for default naemon livestatus unix socket :
|
|
# livestatus_uri=unix:/var/cache/naemon/live
|
|
|
|
[remote]
|
|
|
|
# default field name for host: name
|
|
# Uncomment to override:
|
|
# host_field=address
|
|
#
|
|
# default field group for host: groups
|
|
# Uncomment to override:
|
|
# group_field=state
|
|
# default fields retrieved: address, alias, display_name, children, parents
|
|
# To override, uncomment the following line
|
|
# fields_to_retrieve=address,alias,display_name
|
|
#
|
|
# default variable prefix: livestatus_
|
|
# To override, uncomment the following line
|
|
# var_prefix=naemon_
|
|
#
|
|
# default filter: None
|
|
#
|
|
# Uncomment to override
|
|
#
|
|
# All host with state = OK
|
|
# host_filter=state = 0
|
|
# Warning: for the moment, you can use only one filter at a time. You cannot combine various conditions.
|
|
#
|
|
# All host in groups Linux
|
|
# host_filter=groups >= Linux
|
|
#
|
|
livestatus_uri=tcp:192.168.66.137:6557
|