Do you have reports=log in your puppet.conf? On Wed, May 2, 2012 at 12:49 PM, John Kennedy <[email protected]> wrote:
> Hello all, > I am trying to write a script that will check logs for puppet errors to > use in a nagios check. I am checking /var/log/messages (RHEL6) but when > puppet runs on its 30 minute interval, nothing gets written to messages. I > have also looked at /var/log/puppet/puppet.log but that does not seem to be > consistent either: > > [root@gm10v nagios]# tail /var/log/puppet/puppet.log > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in > is_cms_system > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in > lampp_ssl_sn2 > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in vips_vip1_ip > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in > gs_batch_itcl_mfb > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in is_ntp > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in > gs_batch_getrates_lbma > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in > is_clusterworker > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in cl_lvs_ssl1 > Wed May 02 14:27:47 +0000 2012 Puppet (info): Loading facts in > is_feedlistener > Wed May 02 14:27:47 [root@gm10v nagios]# > > It does not seem to finish logging. > > /var/lib/puppet/state/state.yaml is not much better. > > Where can I search for errors? > > Thanks, > John > > John Kennedy > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
