[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread Ohad Levy
you could parse the yaml files under yaml/node/hostname, it would include the date of the last connection between the puppetmaster and its client. if its over 30 minutes (or what ever your run interval is) you can generate an alert for that host. Ohad On Sun, Aug 16, 2009 at 11:01 AM, ELTigre wr

[Puppet Users] Re: reports file created with gmt time

2009-08-15 Thread Ohad Levy
I would assume that your system or the account that runs puppet uses UTC as a timezone. Cheers, Ohad On Sun, Aug 16, 2009 at 1:07 AM, Gustavo Soares wrote: > > Hi ohad! > > I mean the filename created on disk. > > Cheers, > Gus > > 2009/8/15, Ohad Levy : > > Hi, > > > > I'm not sure I follow, I

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread ELTigre
Thanks again Turnbull, We'll make some script to parse YAML files on puppemaster in order to send us an alert message. One last question, How can I monitor ssl conections between server/ client? I need to be sure all clients are connecting the master. :-) best regards, Israel. On Aug 15, 8:44

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ELTigre wrote: > thanks for your soon answers, :-) BUT, I'm just looking for a way to > get some alerts immediately if there was some errors in a transaction > on a puppet client, maybe a mail or a SMS. > Then have a look at piping the results of on

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread ELTigre
thanks for your soon answers, :-) BUT, I'm just looking for a way to get some alerts immediately if there was some errors in a transaction on a puppet client, maybe a mail or a SMS. thanks again. regards, Israel. On Aug 15, 7:01 pm, James Turnbull wrote: > Erwan A. wrote: > > On 14 août, 20:39,

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread James Turnbull
Erwan A. wrote: > On 14 août, 20:39, ELTigre wrote: >> Suppose I have 50 puppet client and a single puppetmaster. How can set >> some alerts when some catalog applied to a client fail? Is this >> possible? Does puppet brings some alerts of that kind? >> The logcheck configuration in the ext direc

[Puppet Users] Re: Puppet + Mongrel on Ubuntu Hardy

2009-08-15 Thread Silver Knight
On Jul 16, 1:37 am, "Soi, Dhruv" wrote: > Hi Group, > I have now configured puppet many times on CentOS and have made it work on > Mongrel as well. Today, I was trying it on Ubuntu Hardy but can't locate the > file > /etc/sysconfig/puppetmaster to uncomment the line "PUPPETMASTER_PORTS=( 18140

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread Erwan A.
On 14 août, 20:39, ELTigre wrote: > Suppose I have 50 puppet client and a single puppetmaster. How can set > some alerts when some catalog applied to a client fail? Is this > possible? Does puppet brings some alerts of that kind? > I think splunk might come handy for that. Redirect all your host

[Puppet Users] Re: Failed to retrieve current state of resource: No child processes

2009-08-15 Thread Erwan A.
> > I'll try look through your report tomorrow morning before work, but if > > you have time right now can you see if it matches. > > Yes, looks exactly like my problem. > Hello, I had the same kind of issue this morning with facter issuing "Timed out seeking value for ipaddress", while i was f

[Puppet Users] Re: reports file created with gmt time

2009-08-15 Thread Gustavo Soares
Hi ohad! I mean the filename created on disk. Cheers, Gus 2009/8/15, Ohad Levy : > Hi, > > I'm not sure I follow, I checked both puppet report files, node and facts > file and they all contain the local time. > do you mean the mtime of the file itself? > > Ohad > > On Sat, Aug 15, 2009 at 4:41

[Puppet Users] Re: Alerts in puppet and puppetmaster

2009-08-15 Thread Ohad Levy
the easiest way is to parse syslog (or wherever you store your puppet logs). if you are looking for client failures ( e.g. the catalog was applied to the client) try to enable puppet reports. there are a few web interfaces in the making that process those reports. Ohad On Sat, Aug 15, 2009 at 2:3

[Puppet Users] Re: Array input of dirs, ensuring their existence

2009-08-15 Thread grandpa
To continue and close this one, I'm using iwatch right now which internally uses inotify, though I find iwatch to be a bit slow at times and can't keep up with lots of fs changes. Together with iwatch I'm using csync2 to keep a few servers in sync. This is working fine so far. What I was actually

[Puppet Users] Using puppetrun doesn't seem to get the latest manifests from server

2009-08-15 Thread grandpa
My puppet controlled servers do what they're supposed to when running puppetd or doing puppetd --test. I've configured --listen on all puppets and I can telnet to port 8139. I'm not using ldap. When I issue a puppetrun from the puppetmaster to any of the puppets it seems to run and afaict puppetd

[Puppet Users] Alerts in puppet and puppetmaster

2009-08-15 Thread ELTigre
Suppose I have 50 puppet client and a single puppetmaster. How can set some alerts when some catalog applied to a client fail? Is this possible? Does puppet brings some alerts of that kind? regards, israel. --~--~-~--~~~---~--~~ You received this message because y

[Puppet Users] Re: puppetrun question

2009-08-15 Thread Jordi Funollet
If your host has a firewall, remeber to open tcp/8193. Try this to get more information: # puppetrun --debug --foreground --host puppt-7-lab-vm -- ## ### Jordi Funollet ### http://www.terraquis.net --~--~-~--~~~---~--~~ You receive

[Puppet Users] Re: reports file created with gmt time

2009-08-15 Thread matt . adams
Thank you for your message. I am out of the office until August 17th and will respond after I return. Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

[Puppet Users] Re: reports file created with gmt time

2009-08-15 Thread Ohad Levy
Hi, I'm not sure I follow, I checked both puppet report files, node and facts file and they all contain the local time. do you mean the mtime of the file itself? Ohad On Sat, Aug 15, 2009 at 4:41 AM, Gustavo Soares wrote: > Hi All! > > Maybe it is a dummy question, but I was wondering if is th