> I am using  puppetdb and exported resource  to manage autmatic nagios setup.
> It works very well. Now I want to setup another nagios server for another
> set of machines using same puppetdb and puppet master.
> As for I understand,  a client exports @@nagios_host and nagios server
> collect it by Nagios_host <<|  |>>
>
> I want some Nagios_host to be collected by different nagios server. Is it
> possible ? I was thinking about 'tag' but  am not sure how to use with
> exported resources.

It's pretty easy:

Nagios_host <<| tag == 'nagios1' |>>

See:

https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html

ken.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAE4bNTk0U3%3Dww_06rRFUoosVjJzsPWffQE-1BD0_b%3DuqdUvzaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to