nagios notes

From thelinuxwiki
Revision as of 08:13, 6 September 2020 by Nighthawk (Talk | contribs)

Jump to: navigation, search

host definitions

templates

minimal host template

define host {
		name		linux_server_template
		use		generic_host
		register	0
}

use : the template that this definition inherits from

register: 0 = don't treat it as a real host definition (it's a template)

troubleshooting inheritence

view all attributes inherited for an object in var/objects.cache

regenerated on nagios startup