# default settings for Nagios
#
[nagios]
  admin_email		::contact.sysadmin.email::
  admin_pager		::nagios.admin_email::

  # the main network gateway, other hosts depends on it
  #
  gw_name		::service.gateway::
  gw_ip			::network.network::.::network.gateway::
  gw_services		ssh
  gw_hostgroups
  gw_nodetype		firewall

  # the main server, usually a file server (nfs, samba, both)
  #
  server_name		::service.file::
  server_ip		::service.file::
  server_parents	::env.tmp_nagios_gw_name::
  server_services	ssh
  server_hostgroups
  server_nodetype	ubuntu

  # the external gateway, usually a router connected to the gateway
  # (defaults: none, must be defined manually)
  #
  wan_gw_name
  wan_gw_ip
  wan_gw_parents	::env.tmp_nagios_gw_name::
  wan_gw_services
  wan_gw_hostgroups
  wan_gw_nodetype	router

  # an external, public host able to respond to ping requestes,
  # used to che internet connectivity
  # (defaults for ip: none, must be defined manually)
  # (hint: you need to define wan_gw too)
  #
  internet_name		::customer.code::_INET
  internet_parents	::env.tmp_nagios_wan_gw_name::
  internet_ip
  internet_hostgroups

  # a list (comma or space sep) of external network, if any
  # default empty, must be defined manuallay
  # eg: customers
  #
  external_networks


  # a list (comma or space sep) of additional (custom) config dirs
  # default empty, must be defined manuallay
  # eg: myconfigs
  #
  other_cfgdirs


  # a list of reachable machines that need to be tested for
  # availability, ping
  # (default: none)
  #
  quick_check_hostlist


[nagios_options]
  check_external_commands	0
  log_rotation_method		w	# d, w, m, ...


[nagios_nrpe]
  socket_timeout		60
  ignore_timeouts		-u
  options				# (default: none)

# to avoid null references errors
#
[env]
  tmp_nagios_name
  tmp_nagios_parents
  tmp_nagios_gw_name
  tmp_nagios_wan_gw_name
  tmp_nagios_nodetype


# those are used to auto generate node-NAME templates
#
# for each nagios.external_network a complete, custom,
# set of NET-node-NAME will be created
#
[nagios_images]
  internet	ku/srparkin_cloud
  linux		logos/linux
  windows	logos/windows_server
  esxi		ku/srparkin_esxiserver
  vhost		ku/srparkin_esxiserver
  alix		remus/gandalf5232
  ubuntu	logos/ubuntu
  devuan	ku/devuan-emblem
  debian	logos/linux

  san		base/router40
  nas		base/router40
  nuc		ku/intel_nuc

  firewall	ng-switch40
  router	andrade/Cisco1600p
  switch	ku/srparkin_switch
  vpn		symbols/vpn
  radio		werschler/antenna

  printer	ku/srparkin_printer
  multifunct	ku/srparkin_printer


[nagios_stdservices]
  linux		ram swap disk,root
  devuan	ram swap disk,root
  debian	ram swap disk,root
  ubuntu	ram swap disk,root
  alix		ram swap disk,root
  esxi		ram swap disk,root
  windows	winmem windisks
