puppet-rsyslog icon indicating copy to clipboard operation
puppet-rsyslog copied to clipboard

Kernel logging (proc) stopped after using this plugin on CentOS 6.9

Open josefprado opened this issue 7 years ago • 0 comments

Hi,

After enabling this plugin on my CentOS 6 servers, Rsyslog stopped working, as per the log bellow:

"/var/log/messages" content bellow:

Jul 17 11:27:56 server0002 puppet-agent[19761]: (/Stage[main]/Rsyslog::Client/Rsyslog::Snippet[00_client]/File[/etc/rsyslog.d/00_client.conf]/ensure) defined content as '{md5}e57cafb646523784776440b13cc23f4c'
Jul 17 11:27:56 server0002 puppet-agent[19761]: (/Stage[main]/Rsyslog::Client/Rsyslog::Snippet[00_client]/File[/etc/rsyslog.d/00_client.conf]) Scheduling refresh of Class[Rsyslog::Service]
Jul 17 11:27:56 server0002  puppet-agent[19761]: (Class[Rsyslog::Service]) Scheduling refresh of Service[rsyslog]
Jul 17 11:27:56 server0002 ntpd[21062]: 0.0.0.0 c615 05 clock_sync
Jul 17 11:27:56 server0002 kernel: Kernel logging (proc) stopped.
Jul 17 11:27:56 server0002  rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1461" x-info="http://www.rsyslog.com"] exiting on signal 15.

This is my simple manifest:

class baseline::rhel_rsyslog {

# Documentation: https://forge.puppet.com/saz/rsyslog
	class{'rsyslog::client':
	      server    			=> 'graylog-server.mycompany.com',
	      port      			=> '5140',
	      remote_type  			=> 'udp',
	      remote_forward_format => 'RSYSLOG_SyslogProtocol23Format',
	    }
}

Regards,

Josef Prado

josefprado avatar Jul 31 '17 16:07 josefprado