Maarten Thibaut
2012-Oct-17 18:44 UTC
[Puppet Users] Retiring information from collections
Hi, The docs on collections do not mention how information is "retired" from the puppetmaster (see http://docs.puppetlabs.com/guides/exported_resources.html). To use the example in the above doc, suppose host "foo" is added. We setup a collector to monitor it through nagios on running on host "bar". We now retire host "foo". Nagios keeps complaining about "foo" being down. How do I "zero out" the information about "foo"? -- maarten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/_yuzwCxNtWIJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Calvin Walton
2012-Oct-18 04:08 UTC
Re: [Puppet Users] Retiring information from collections
On Wed, 2012-10-17 at 11:44 -0700, Maarten Thibaut wrote:> Hi, > > The docs on collections do not mention how information is "retired" from > the puppetmaster (see > http://docs.puppetlabs.com/guides/exported_resources.html). > > To use the example in the above doc, suppose host "foo" is added. We setup > a collector to monitor it through nagios on running on host "bar". > > We now retire host "foo". Nagios keeps complaining about "foo" being down. > How do I "zero out" the information about "foo"?If you''re using puppetdb, you can run the following command: # puppet node deactivate foo.example.com This is documented at http://docs.puppetlabs.com/puppetdb/1/maintain_and_tune.html#deactivate-decommissioned-nodes -- Calvin Walton <calvin.walton@kepstin.ca> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.