On Mon, Apr 13, 2015 at 04:09:18AM -0700, hoize wrote:
>    Instead of PuppetDB there I have installed MySQL. Yes, of course I can

"Instead of PuppetDB" is usually the point in the conversation where try to let 
the enthusiastic person suggesting custom work down gently. What makes a custom 
MySQL+Puppet combination more suited to your requirements than the drop-in 
combination of PostgreSQL+PuppetDB+Puppet? Especially since the latter gives 
you the relational database portion if you really need to look behind the api?

(The puppetdb daemon portion isn't analogous to mysql, it's better described as 
an api which happens to be using a relational database as its backend storage.)

>    grab the reports from MySQL, but I think it would be a better way to
>    define nxlog in the puppet.conf, where you can choose if the logs should
>    be for example stored in logfiles, foreman, and so on. 

I think there's some mixture of terms going on. A puppet report is a json 
document which is usually stored on disk or in puppetdb or wherever you upload 
it to. Logs are what puppet spits to syslog, the puppet-agent lines in 
/var/log/messages on rhel-ish systems.

>    Does anybody know a way to configure puppet or nxlog for this issue?

Have nxlog read your syslog (as discussed above, does not handle puppet 
reports):

http://nxlog-ce.sourceforge.net/nxlog-docs/en/nxlog-reference-manual.html#sources_os_linux

>    Am Freitag, 10. April 2015 13:00:36 UTC+2 schrieb Christopher Wood:
> 
>      You can grab the reports from puppetdb, perhaps? Or there's a bunch of
>      ways to handle reports, you can probably shim in your own if you really
>      need to:
> 
>      [1]https://docs.puppetlabs.com/references/latest/report.html
> 
>    --
>    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 [2]puppet-users+unsubscr...@googlegroups.com.
>    To view this discussion on the web visit
>    
> [3]https://groups.google.com/d/msgid/puppet-users/319ececd-ee3a-4fe2-b39c-1f5dc28a527e%40googlegroups.com.
>    For more options, visit [4]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. https://docs.puppetlabs.com/references/latest/report.html
>    2. mailto:puppet-users+unsubscr...@googlegroups.com
>    3. 
> https://groups.google.com/d/msgid/puppet-users/319ececd-ee3a-4fe2-b39c-1f5dc28a527e%40googlegroups.com?utm_medium=email&utm_source=footer
>    4. https://groups.google.com/d/optout

-- 
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/20150413120657.GA20552%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to