search for: send_report

Displaying 4 results from an estimated 4 matches for "send_report".

2009 Feb 09
1
mail return value
Hi I''m using this method to send emails def send_report(name, email, content) recipients email subject "My subject" from "no-reply-UG3EKd521ZA@public.gmane.org" body :content => content content_type "text/html" end I''d like to know if...
2006 Mar 05
0
Converted tattle.pl to ruby - anyone want to be a tester?
...er community under GPL. Basic code looks like this: puts "open logs" helper = SecurityHelper.new notif = Notifier.new offenders = helper.getoffenders( logfile ) offenders.each { |key, offender| puts offender.rhost + " (" + offender.abuse + ")" Notifier::deliver_send_report(offender) } with class SecurityHelper def getoffenders( logfile ) @off = Hash.new File.open(logfile).each { |line| if( line =~ /sshd/ and line =~ /rhost/ ) records = line.split( /\s/).collect records.each { |record| if record[''rhost'']...
2010 Oct 22
4
502 bad gateway on nginx with recv() failed
Hi, I''m serving the puppetmaster application with its config.ru through unicorn - proxied by nginx. I''m using unix sockets, 4 workers, and 2048 backlog. The clients - after their typical "puppet run" - send back a report to the master in YAML. Some clients whose reports tend to be large (close to 2mb) get a 502 bad gateway error and error out. nginx log: 2010/10/22
2012 May 23
16
could not retrieve information from environment
Greetings. I am trying to set up a test puppet server in my environment to evaluate windows clients. On the server side, I am using puppet 2.7.14 (from the repos). I''m using the 2.7.14 windows 64 bit on the client (windows 2008 R2). I have another puppetmaster already using "puppet" hostname in DNS (running a very old version of puppet - can''t upgrade yet for various