I''m running the RHEL EPEL version of puppet (24.8). I wanted to create a simple "minutes since last puppet run" item on each client. I found /var/lib/puppet/localconfig.yaml seemed to be created for each puppet run. Then on another host, it wasn''t there, it appears that sometimes it''s /var/lib/puppet/*state/*localconfig.yaml. Why isn''t it consistant? Is classes.txt always consistant? Is something consistant? It seems like it would be easier to monitor each host, since with puppet templating the zabbix install, I don''t have to touch the script :-) Thanks and Merry Christmas! Just writing script to unwind :-) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
James Turnbull
2009-Dec-26 05:58 UTC
Re: [Puppet Users] Trying to monitor puppet w/ zabbix
See the puppetlast script in the ext directory of the source for an example. Regards James Turnbull http://www.james-turnbull.net On 26/12/2009, at 3:31 PM, Len Rugen <lenrugen@gmail.com> wrote:> I''m running the RHEL EPEL version of puppet (24.8). I wanted to > create a simple "minutes since last puppet run" item on each > client. I found /var/lib/puppet/localconfig.yaml seemed to be > created for each puppet run. Then on another host, it wasn''t there, > it appears that sometimes it''s /var/lib/puppet/state/localconfig.yaml. > > Why isn''t it consistant? Is classes.txt always consistant? Is > something consistant? > > It seems like it would be easier to monitor each host, since with > puppet templating the zabbix install, I don''t have to touch the > script :-) > > Thanks and Merry Christmas! > > Just writing script to unwind :-) > > > -- > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com > . > 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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.