On Tuesday, October 1, 2013 10:50:42 AM UTC-5, David Thompson wrote: > > > I continue to be unable to get puppetdb to create nagios resources.
Nitpick: puppetdb does not create resources of any type, in any sense. That leaves me uncertain whether you are saying that the exported nagios_host resources you describe next fail to be recorded in the DB, or whether you are saying that despite being recorded, they are not subsequently collected. > I > have a very standard nagios host definition: > > notify {"Nagios Base: $fqdn $hostname $ipaddress": } > @@nagios_host { $fqdn: > ensure => present, > alias => $hostname, > address => $ipaddress, > use => "linux-server", > } > > ...and the notify shows up on subsequent agent runs, so I know the > statement is being activated. I also know that the facts and catalogs > are winding up in the postgres database. > > Do you know whether the exported nagios_host resources in particular are ending up in the DB? Despite all this, both the nagios collector and the puppetdb rest API > only show the Nagios_host resources generated on the nagios server itself. > > Could you be more specific? What are the forms of the collector and query URIs you are using? Do you actually have PuppetDB configured as your storeconfigs back end? Following the docs (http://docs.puppetlabs.com/puppetdb/latest/connect_puppet_master.html), you should have storeconfigs = true storeconfigs_backend = puppetdb in the [master] section of the master's puppet.conf, *and* thin_storeconfigs and async_storeconfigs should be disabled (the default). John -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.