Re: [Puppet Users] Puppet // Puppet Dashboard // PuppetDB

234 views
Skip to first unread message

Erik Dalén

unread,
Jan 28, 2013, 9:39:22 AM1/28/13
to puppet...@googlegroups.com
Puppet dashboard doesn't use the puppetdb reports (yet at least), so to get reports into puppet dashboard you need to use the http report handler and set reporturl to point to your puppet dashboard server.


--
Erik Dalén


On Monday 28 January 2013 at 15:20, Tony McMahon wrote:

> Hi I have a frustrating problem with puppet..
>
> I have (had) it all working, I'd gotten puppet-dashboard working and everything was fine :)
>
> I then thought I'd try to get puppetDB going so I can use the inventory facilities within puppet dashboard.
>
> It's working, sort of. If I click on a node I can see it's inventory, but I'm not getting any new reports - all the reports I see are from before I installed puppetDB
>
> the puppetDB log seems to indicate that it's receiving data (i.e. lots of 'store report', 'replace facts' etc), but puppet dashboard isn't reading them. I'm sure I've missed something small in the config somewhere - can anyone point me where I should look?
>
> Thanks, in advance...
>
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com (mailto:puppet...@googlegroups.com).
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com (mailto:puppet-users...@googlegroups.com).
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



Mark Cartwright

unread,
Apr 25, 2014, 6:50:29 AM4/25/14
to puppet...@googlegroups.com
While true, at least in theory, I have the same issue (I had a working report-only dashboard, then installed PuppetDB and now no longer have reports on my dashboard), and I have not modified or removed the report bits of my config. This is my puppet.conf as it sits in production with only some host names changed to protect the innocent :).  Note that PuppetDB works like a champ (I have not yet tackled bringing Inventory into the Dashboard yet -- my goal for PuppetDB was direct query and to serve as source input for Rundeck), and so too did the dashboard prior to the addition of the PuppetDB bits.  Any thoughts?  My Dashboard runs as a passenger rails app and has not been modified at all since PuppetDB was installed.

[main]
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    ssldir = $vardir/ssl
    reports = store, httpd
    modulepath = /etc/puppet/modules:/usr/share/puppet/modules:/etc/puppet/env/modules/$environment
    storeconfigs = true
    storeconfigs_backend = puppetdb

[agent]
    classfile = $vardir/classes.txt
    localconfig = $vardir/localconfig
    report = true
    environment = master
    server = puppetmaster
Reply all
Reply to author
Forward
0 new messages