I've had similar problems in the past where the nagios would fail to restart because a client saved its node[:ipaddress] as nil, and the next chef-client run on my nagios server broke it. Anecdotally, it only happens when I reboot a node. I suspect there's a race condition at startup where chef-client starts running (and collects the ohai attributes) before the node gets a DHCP lease, and ends up writing a nil node[:ipaddress] when the run completes.Perhaps you have the same problem, but with the node[:ipaddress] disappearing from your nagios node rather than the monitored nodes?-Paul
Archive powered by MHonArc 2.6.16.