You should try
debug = true
verbose = true
in your agent and/or master configurations. Some more hints on monitoring and
on Nagios/Icinga checks are found here:
http://www.bernd-adamowicz.de/180/monitoring-puppet-part-3/
Bernd
Von: [email protected] [mailto:[email protected]] Im
Auftrag von John Kennedy
Gesendet: Mittwoch, 2. Mai 2012 18:49
An: [email protected]
Betreff: [Puppet Users] Puppet logging
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]<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]<mailto:[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.