--- Profile::Kafka::Burrow[main-codfw].orig
+++ Profile::Kafka::Burrow[main-codfw]
+ monitoring_config => {'main-eqiad': {'burrow_port': 8100, 'burrow_exporter_port': 9500}, 'main-codfw': {'burrow_port': 8100, 'burrow_exporter_port': 9501}, 'logging-eqiad': {'burrow_port': 8101, 'burrow_exporter_port': 9600}, 'logging-codfw': {'burrow_port': 8101, 'burrow_exporter_port': 9601}, 'jumbo-eqiad': {'burrow_port': 8700, 'burrow_exporter_port': 9700}}
Service[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.timer]
- Parameters differences:
--- Service[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.timer].orig
+++ Service[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.timer]
+ ensure => running
+ enable => True
+ provider => systemd
- File[/lib/systemd/system/wmf_auto_restart_burrow-logging-codfw.service]
- Parameters differences:
--- File[/lib/systemd/system/wmf_auto_restart_burrow-logging-codfw.service].orig
+++ File[/lib/systemd/system/wmf_auto_restart_burrow-logging-codfw.service]
+ mode => 0444
+ ensure => present
+ group => root
+ notify => Exec[systemd daemon-reload for wmf_auto_restart_burrow-logging-codfw.service (wmf_auto_restart_burrow-logging-codfw.service)]
+ owner => root
- Content differences:
--- /lib/systemd/system/wmf_auto_restart_burrow-logging-codfw.service.orig
+++ /lib/systemd/system/wmf_auto_restart_burrow-logging-codfw.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Auto restart job: burrow-logging-codfw
+Documentation=https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state
+
+[Service]
+Type=oneshot
+User=root
+ExecStart=/usr/local/sbin/wmf-auto-restart -s burrow-logging-codfw
- Rsyslog::Conf[wmf_auto_restart_prometheus-burrow-exporter_main-codfw]
- Parameters differences:
--- Rsyslog::Conf[wmf_auto_restart_prometheus-burrow-exporter_main-codfw].orig
+++ Rsyslog::Conf[wmf_auto_restart_prometheus-burrow-exporter_main-codfw]
+ mode => 0444
+ ensure => present
+ priority => 40
+ require => File[/var/log/wmf_auto_restart_prometheus-burrow-exporter_main-codfw]
- File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service]
- Parameters differences:
--- File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service].orig
+++ File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service]
+ mode => 0444
+ ensure => present
+ group => root
+ notify => Exec[systemd daemon-reload for wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service (wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service)]
+ owner => root
- Content differences:
--- /lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service.orig
+++ /lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Auto restart job: prometheus-burrow-exporter@main-codfw
+Documentation=https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state
+
+[Service]
+Type=oneshot
+User=root
+ExecStart=/usr/local/sbin/wmf-auto-restart -s prometheus-burrow-exporter@main-codfw
- Systemd::Unit[wmf_auto_restart_burrow-main-codfw.service]
- Parameters differences:
--- Systemd::Unit[wmf_auto_restart_burrow-main-codfw.service].orig
+++ Systemd::Unit[wmf_auto_restart_burrow-main-codfw.service]
+ unit => wmf_auto_restart_burrow-main-codfw.service
+ ensure => present
+ restart => False
+ require => ['Class[Systemd]']
+ override_filename => puppet-override.conf
+ override => False
- File[/etc/burrow/logging-codfw/burrow.toml]
- Parameters differences:
--- File[/etc/burrow/logging-codfw/burrow.toml].orig
+++ File[/etc/burrow/logging-codfw/burrow.toml]
+ owner => root
+ group => root
- Content differences:
--- /etc/burrow/logging-codfw/burrow.toml.orig
+++ /etc/burrow/logging-codfw/burrow.toml
@@ -0,0 +1,32 @@
+[general]
+pidfile="/run/burrow/burrow-logging-codfw.pid"
+client-id="burrow-client"
+
+[logging]
+filename="/var/log/burrow/logging-codfw.log"
+level="info"
+
+[zookeeper]
+servers=["conf2004.codfw.wmnet:2181","conf2005.codfw.wmnet:2181","conf2006.codfw.wmnet:2181"]
+timeout=6
+root-path="/burrow/notifier/logging-codfw"
+
+[client-profile.logging-codfw]
+kafka-version="1.0.0"
+
+[cluster.logging-codfw]
+class-name="kafka"
+client-profile="logging-codfw"
+servers=["kafka-logging2001.codfw.wmnet:9092","kafka-logging2002.codfw.wmnet:9092","kafka-logging2003.codfw.wmnet:9092","kafka-logging2004.codfw.wmnet:9092","kafka-logging2005.codfw.wmnet:9092"]
+
+[consumer.logging-codfw]
+class-name="kafka"
+cluster="logging-codfw"
+servers=["kafka-logging2001.codfw.wmnet:9092","kafka-logging2002.codfw.wmnet:9092","kafka-logging2003.codfw.wmnet:9092","kafka-logging2004.codfw.wmnet:9092","kafka-logging2005.codfw.wmnet:9092"]
+group-blacklist="^(console-consumer-|python-kafka-consumer-|test_).*$"
+start-latest=true
+
+[httpserver.mylistener]
+address=":8101"
+timeout=60
+
- Systemd::Syslog[wmf_auto_restart_burrow-logging-codfw]
- Parameters differences:
--- Systemd::Syslog[wmf_auto_restart_burrow-logging-codfw].orig
+++ Systemd::Syslog[wmf_auto_restart_burrow-logging-codfw]
+ ensure => present
+ group => root
+ log_filename => syslog.log
+ force_stop => True
+ readable_by => all
+ programname_comparison => startswith
+ base_dir => /var/log
+ owner => root
- Systemd::Service[burrow-logging-codfw]
- Parameters differences:
--- Systemd::Service[burrow-logging-codfw].orig
+++ Systemd::Service[burrow-logging-codfw]
+ ensure => present
+ restart => True
+ monitoring_contact_group => admins
+ require => ['Package[burrow]']
+ unit_type => service
+ override => False
+ monitoring_critical => False
+ service_params => {}
+ migration_task => T407130
+ subscribe => File[/etc/burrow/logging-codfw/burrow.toml]
+ monitoring_enabled => False
- File[/var/log/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw]
- Parameters differences:
--- File[/var/log/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw].orig
+++ File[/var/log/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw]
+ mode => 0755
+ ensure => directory
+ group => root
+ force => True
+ owner => root
+ backup => False
- Systemd::Service[prometheus-burrow-exporter@main-codfw]
- Parameters differences:
--- Systemd::Service[prometheus-burrow-exporter@main-codfw].orig
+++ Systemd::Service[prometheus-burrow-exporter@main-codfw]
+ ensure => present
+ restart => True
+ monitoring_contact_group => admins
+ require => Package[prometheus-burrow-exporter]
+ unit_type => service
+ override => False
+ monitoring_critical => False
+ service_params => {}
+ migration_task => T407130
+ monitoring_enabled => False
- File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer]
- Parameters differences:
--- File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer].orig
+++ File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer]
+ mode => 0444
+ ensure => present
+ group => root
+ notify => Exec[systemd daemon-reload for wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer (wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer)]
+ owner => root
- Content differences:
--- /lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer.orig
+++ /lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer
@@ -0,0 +1,12 @@
+[Unit]
+Description=Periodic execution of wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service
+
+[Timer]
+Unit=wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service
+# Accuracy sets the maximum time interval around the execution time we want to allow
+AccuracySec=15sec
+OnCalendar=Mon,Tue,Wed,Thu,Fri *-*-* 4:34:00
+RandomizedDelaySec=0
+
+[Install]
+WantedBy=multi-user.target
- File[/lib/systemd/system/wmf_auto_restart_burrow-main-codfw.service]
- Parameters differences:
--- File[/lib/systemd/system/wmf_auto_restart_burrow-main-codfw.service].orig
+++ File[/lib/systemd/system/wmf_auto_restart_burrow-main-codfw.service]
+ mode => 0444
+ ensure => present
+ group => root
+ notify => Exec[systemd daemon-reload for wmf_auto_restart_burrow-main-codfw.service (wmf_auto_restart_burrow-main-codfw.service)]
+ owner => root
- Content differences:
--- /lib/systemd/system/wmf_auto_restart_burrow-main-codfw.service.orig
+++ /lib/systemd/system/wmf_auto_restart_burrow-main-codfw.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Auto restart job: burrow-main-codfw
+Documentation=https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state
+
+[Service]
+Type=oneshot
+User=root
+ExecStart=/usr/local/sbin/wmf-auto-restart -s burrow-main-codfw
- Systemd::Unit[prometheus-burrow-exporter@logging-codfw]
- Parameters differences:
--- Systemd::Unit[prometheus-burrow-exporter@logging-codfw].orig
+++ Systemd::Unit[prometheus-burrow-exporter@logging-codfw]
+ unit => prometheus-burrow-exporter@logging-codfw
+ restart => True
+ ensure => present
+ require => ['Class[Systemd]']
+ override_filename => puppet-override.conf
+ override => False
- File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service]
- Parameters differences:
--- File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service].orig
+++ File[/lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service]
+ mode => 0444
+ ensure => present
+ group => root
+ notify => Exec[systemd daemon-reload for wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service (wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service)]
+ owner => root
- Content differences:
--- /lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service.orig
+++ /lib/systemd/system/wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Auto restart job: prometheus-burrow-exporter@logging-codfw
+Documentation=https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state
+
+[Service]
+Type=oneshot
+User=root
+ExecStart=/usr/local/sbin/wmf-auto-restart -s prometheus-burrow-exporter@logging-codfw
- File[/etc/logrotate.d/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw]
- Parameters differences:
--- File[/etc/logrotate.d/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw].orig
+++ File[/etc/logrotate.d/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw]
+ mode => 0444
+ ensure => present
+ owner => root
+ group => root
- Content differences:
--- /etc/logrotate.d/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw.orig
+++ /etc/logrotate.d/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw
@@ -0,0 +1,12 @@
+# logrotate(8) config for wmf_auto_restart_prometheus-burrow-exporter_logging-codfw
+
+/var/log/wmf_auto_restart_prometheus-burrow-exporter_logging-codfw/*.log {
+ daily
+ copytruncate
+ missingok
+ compress
+ delaycompress
+ notifempty
+ rotate 15
+ size 256M
+}
- Service[burrow-main-codfw]
- Parameters differences:
--- Service[burrow-main-codfw].orig
+++ Service[burrow-main-codfw]
+ ensure => running
+ enable => True
- Exec[mask_default_burrow_exporter_logging-codfw]
- Parameters differences:
--- Exec[mask_default_burrow_exporter_logging-codfw].orig
+++ Exec[mask_default_burrow_exporter_logging-codfw]
+ command => /bin/systemctl mask prometheus-burrow-exporter.service ; /bin/systemctl stop prometheus-burrow-exporter.service
+ creates => /etc/systemd/system/prometheus-burrow-exporter.service
- Systemd::Unit[wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service]
- Parameters differences:
--- Systemd::Unit[wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service].orig
+++ Systemd::Unit[wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service]
+ unit => wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service
+ ensure => present
+ restart => False
+ require => ['Class[Systemd]']
+ override_filename => puppet-override.conf
+ override => False
- Service[wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer]
- Parameters differences:
--- Service[wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer].orig
+++ Service[wmf_auto_restart_prometheus-burrow-exporter@main-codfw.timer]
+ ensure => running
+ enable => True
+ provider => systemd
- File_line[auto_restart_file_presence_prometheus-burrow-exporter@logging-codfw]
- Parameters differences:
--- File_line[auto_restart_file_presence_prometheus-burrow-exporter@logging-codfw].orig
+++ File_line[auto_restart_file_presence_prometheus-burrow-exporter@logging-codfw]
+ ensure => present
+ require => File[/etc/debdeploy-client/autorestarts.conf]
+ path => /etc/debdeploy-client/autorestarts.conf
+ line => prometheus-burrow-exporter@logging-codfw
- Profile::Auto_restarts::Service[prometheus-burrow-exporter@main-codfw]
- Parameters differences:
--- Profile::Auto_restarts::Service[prometheus-burrow-exporter@main-codfw].orig
+++ Profile::Auto_restarts::Service[prometheus-burrow-exporter@main-codfw]
+ ensure => present
- Exec[systemd daemon-reload for wmf_auto_restart_burrow-main-codfw.service (wmf_auto_restart_burrow-main-codfw.service)]
- Parameters differences:
--- Exec[systemd daemon-reload for wmf_auto_restart_burrow-main-codfw.service (wmf_auto_restart_burrow-main-codfw.service)].orig
+++ Exec[systemd daemon-reload for wmf_auto_restart_burrow-main-codfw.service (wmf_auto_restart_burrow-main-codfw.service)]
+ command => /bin/systemctl daemon-reload
+ refreshonly => True
- Exec[systemd daemon-reload for wmf_auto_restart_burrow-logging-codfw.timer (wmf_auto_restart_burrow-logging-codfw.timer)]
- Parameters differences:
--- Exec[systemd daemon-reload for wmf_auto_restart_burrow-logging-codfw.timer (wmf_auto_restart_burrow-logging-codfw.timer)].orig
+++ Exec[systemd daemon-reload for wmf_auto_restart_burrow-logging-codfw.timer (wmf_auto_restart_burrow-logging-codfw.timer)]
+ before => ['Service[wmf_auto_restart_burrow-logging-codfw.timer]']
+ command => /bin/systemctl daemon-reload
+ refreshonly => True
- Exec[systemd daemon-reload for wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service (wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service)]
- Parameters differences:
--- Exec[systemd daemon-reload for wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service (wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service)].orig
+++ Exec[systemd daemon-reload for wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service (wmf_auto_restart_prometheus-burrow-exporter@main-codfw.service)]
+ command => /bin/systemctl daemon-reload
+ refreshonly => True
- File[/etc/default/prometheus-burrow-exporter@logging-codfw]
- Parameters differences:
--- File[/etc/default/prometheus-burrow-exporter@logging-codfw].orig
+++ File[/etc/default/prometheus-burrow-exporter@logging-codfw]
+ mode => 0400
+ ensure => present
+ group => root
+ show_diff => False
+ notify => Systemd::Service[prometheus-burrow-exporter@logging-codfw]
+ owner => root
- Content differences:
--- /etc/default/prometheus-burrow-exporter@logging-codfw.orig
+++ /etc/default/prometheus-burrow-exporter@logging-codfw
@@ -0,0 +1 @@
+ARGS="--burrow-addr http://localhost:8101 --metrics-addr 0.0.0.0:9601 --interval 30 --api-version 3"
- Service[prometheus-burrow-exporter@main-codfw]
- Parameters differences:
--- Service[prometheus-burrow-exporter@main-codfw].orig
+++ Service[prometheus-burrow-exporter@main-codfw]
+ ensure => running
+ enable => True
- File[/lib/systemd/system/prometheus-burrow-exporter@main-codfw.service]
- Parameters differences:
--- File[/lib/systemd/system/prometheus-burrow-exporter@main-codfw.service].orig
+++ File[/lib/systemd/system/prometheus-burrow-exporter@main-codfw.service]
+ mode => 0444
+ ensure => present
+ group => root
+ notify => Exec[systemd daemon-reload for prometheus-burrow-exporter@main-codfw.service (prometheus-burrow-exporter@main-codfw)]
+ owner => root
- Content differences:
--- /lib/systemd/system/prometheus-burrow-exporter@main-codfw.service.orig
+++ /lib/systemd/system/prometheus-burrow-exporter@main-codfw.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Prometheus exporter for the Kafka Burrow daemon
+Documentation=https://prometheus.io/docs/introduction/overview/
+
+[Service]
+Restart=always
+User=prometheus
+EnvironmentFile=/etc/default/prometheus-burrow-exporter@main-codfw
+ExecStart=/usr/bin/prometheus-burrow-exporter $ARGS
+
+[Install]
+WantedBy=multi-user.target
- Prometheus::Burrow_exporter[logging-eqiad]
- Parameters differences:
--- Prometheus::Burrow_exporter[logging-eqiad].orig
+++ Prometheus::Burrow_exporter[logging-eqiad]
@@
- metrics_addr => 0.0.0.0:9501
+ metrics_addr => 0.0.0.0:9600
- Exec[systemd daemon-reload for prometheus-burrow-exporter@main-codfw.service (prometheus-burrow-exporter@main-codfw)]
- Parameters differences:
--- Exec[systemd daemon-reload for prometheus-burrow-exporter@main-codfw.service (prometheus-burrow-exporter@main-codfw)].orig
+++ Exec[systemd daemon-reload for prometheus-burrow-exporter@main-codfw.service (prometheus-burrow-exporter@main-codfw)]
+ notify => ['Service[prometheus-burrow-exporter@main-codfw]']
+ command => /bin/systemctl daemon-reload
+ refreshonly => True
- Profile::Kafka::Burrow[logging-codfw]
- Parameters differences:
--- Profile::Kafka::Burrow[logging-codfw].orig
+++ Profile::Kafka::Burrow[logging-codfw]
+ monitoring_config => {'main-eqiad': {'burrow_port': 8100, 'burrow_exporter_port': 9500}, 'main-codfw': {'burrow_port': 8100, 'burrow_exporter_port': 9501}, 'logging-eqiad': {'burrow_port': 8101, 'burrow_exporter_port': 9600}, 'logging-codfw': {'burrow_port': 8101, 'burrow_exporter_port': 9601}, 'jumbo-eqiad': {'burrow_port': 8700, 'burrow_exporter_port': 9700}}
- Burrow[main-codfw]
- Parameters differences:
--- Burrow[main-codfw].orig
+++ Burrow[main-codfw]
+ kafka_api_version => 1.0.0
+ client_id => burrow-client
+ kafka_cluster_name => main-codfw
+ lagcheck_intervals => 100
+ zookeeper_hosts => ['conf2004.codfw.wmnet', 'conf2005.codfw.wmnet', 'conf2006.codfw.wmnet']
+ from_email => Burrow <noreply@wikimedia.org>
+ kafka_brokers => ['kafka-main2006.codfw.wmnet', 'kafka-main2007.codfw.wmnet', 'kafka-main2008.codfw.wmnet', 'kafka-main2009.codfw.wmnet', 'kafka-main2010.codfw.wmnet']
+ zookeeper_path => /kafka/main-codfw
+ smtp_server_port => 25
+ zookeeper_port => 2181
+ kafka_brokers_port => 9092
+ httpserver_port => 8100
+ email_template => burrow/email.tmpl.erb
+ consumer_groups_blacklist => ^(console-consumer-|python-kafka-consumer-|test_).*$
+ smtp_server => localhost
- Systemd::Unit[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service]
- Parameters differences:
--- Systemd::Unit[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service].orig
+++ Systemd::Unit[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service]
+ unit => wmf_auto_restart_prometheus-burrow-exporter@logging-codfw.service
+ ensure => present
+ restart => False
+ require => ['Class[Systemd]']
+ override_filename => puppet-override.conf
+ override => False
- Systemd::Unit[prometheus-burrow-exporter@main-codfw]
- Parameters differences:
--- Systemd::Unit[prometheus-burrow-exporter@main-codfw].orig
+++ Systemd::Unit[prometheus-burrow-exporter@main-codfw]
+ unit => prometheus-burrow-exporter@main-codfw
+ restart => True
+ ensure => present
+ require => ['Class[Systemd]']
+ override_filename => puppet-override.conf
+ override => False
- Systemd::Timer::Job[wmf_auto_restart_prometheus-burrow-exporter@main-codfw]
- Parameters differences:
--- Systemd::Timer::Job[wmf_auto_restart_prometheus-burrow-exporter@main-codfw].orig
+++ Systemd::Timer::Job[wmf_auto_restart_prometheus-burrow-exporter@main-codfw]
+ fixed_random_delay => False
+ send_mail_only_on_error => True
+ require => File[/usr/local/sbin/wmf-auto-restart]
+ success_exit_status => []
+ user => root
+ logfile_name => syslog.log
+ command => /usr/local/sbin/wmf-auto-restart -s prometheus-burrow-exporter@main-codfw
+ ensure => present
+ logfile_group => root
+ send_mail_to => root@kafkamon1003.eqiad.wmnet
+ logfile_perms => all
+ logging_enabled => True
+ monitoring_contact_groups => admins
+ interval => {'start': 'OnCalendar', 'interval': 'Mon,Tue,Wed,Thu,Fri *-*-* 4:34:00'}
+ private_tmp => False
+ syslog_force_stop => True
+ environment => {}
+ ignore_errors => False
+ send_mail => False
+ monitoring_notes_url => https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state
+ syslog_match_startswith => True
+ monitoring_enabled => False
+ logfile_basedir => /var/log
+ description => Auto restart job: prometheus-burrow-exporter@main-codfw
- Systemd::Syslog[wmf_auto_restart_prometheus-burrow-exporter_logging-codfw]
- Parameters differences:
--- Systemd::Syslog[wmf_auto_restart_prometheus-burrow-exporter_logging-codfw].orig
+++ Systemd::Syslog[wmf_auto_restart_prometheus-burrow-exporter_logging-codfw]
+ ensure => present
+ group => root
+ log_filename => syslog.log
+ force_stop => True
+ readable_by => all
+ programname_comparison => startswith
+ base_dir => /var/log
+ owner => root
- Profile::Prometheus::Burrow_exporter[logging-codfw]
- Parameters differences:
--- Profile::Prometheus::Burrow_exporter[logging-codfw].orig
+++ Profile::Prometheus::Burrow_exporter[logging-codfw]
+ api_version => 3
+ port => 9601
+ hostname => 0.0.0.0
+ burrow_addr => localhost:8101
- Systemd::Timer[wmf_auto_restart_burrow-main-codfw]
- Parameters differences:
--- Systemd::Timer[wmf_auto_restart_burrow-main-codfw].orig
+++ Systemd::Timer[wmf_auto_restart_burrow-main-codfw]
+ fixed_random_delay => False
+ unit_name => wmf_auto_restart_burrow-main-codfw.service
+ ensure => present
+ accuracy => 15sec
+ timer_intervals => [{'start': 'OnCalendar', 'interval': 'Mon,Tue,Wed,Thu,Fri *-*-* 22:51:00'}]
+ splay => 0
- Systemd::Timer::Job[wmf_auto_restart_burrow-logging-codfw]
- Parameters differences:
--- Systemd::Timer::Job[wmf_auto_restart_burrow-logging-codfw].orig
+++ Systemd::Timer::Job[wmf_auto_restart_burrow-logging-codfw]
+ fixed_random_delay => False
+ send_mail_only_on_error => True
+ require => File[/usr/local/sbin/wmf-auto-restart]
+ success_exit_status => []
+ user => root
+ logfile_name => syslog.log
+ command => /usr/local/sbin/wmf-auto-restart -s burrow-logging-codfw
+ ensure => present
+ logfile_group => root
+ send_mail_to => root@kafkamon1003.eqiad.wmnet
+ logfile_perms => all
+ logging_enabled => True
+ monitoring_contact_groups => admins
+ interval => {'start': 'OnCalendar', 'interval': 'Mon,Tue,Wed,Thu,Fri *-*-* 11:11:00'}
+ private_tmp => False
+ syslog_force_stop => True
+ environment => {}
+ ignore_errors => False
+ send_mail => False
+ monitoring_notes_url => https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state
+ syslog_match_startswith => True
+ monitoring_enabled => False
+ logfile_basedir => /var/log
+ description => Auto restart job: burrow-logging-codfw
- Service[prometheus-burrow-exporter@logging-codfw]
- Parameters differences:
--- Service[prometheus-burrow-exporter@logging-codfw].orig
+++ Service[prometheus-burrow-exporter@logging-codfw]
+ ensure => running
+ enable => True
- Systemd::Timer[wmf_auto_restart_burrow-logging-codfw]
- Parameters differences:
--- Systemd::Timer[wmf_auto_restart_burrow-logging-codfw].orig
+++ Systemd::Timer[wmf_auto_restart_burrow-logging-codfw]
+ fixed_random_delay => False
+ unit_name => wmf_auto_restart_burrow-logging-codfw.service
+ ensure => present
+ accuracy => 15sec
+ timer_intervals => [{'start': 'OnCalendar', 'interval': 'Mon,Tue,Wed,Thu,Fri *-*-* 11:11:00'}]
+ splay => 0
- Exec[mask_default_burrow_exporter_main-codfw]
- Parameters differences:
--- Exec[mask_default_burrow_exporter_main-codfw].orig
+++ Exec[mask_default_burrow_exporter_main-codfw]
+ command => /bin/systemctl mask prometheus-burrow-exporter.service ; /bin/systemctl stop prometheus-burrow-exporter.service
+ creates => /etc/systemd/system/prometheus-burrow-exporter.service
- File_line[auto_restart_file_presence_prometheus-burrow-exporter@main-codfw]
- Parameters differences:
--- File_line[auto_restart_file_presence_prometheus-burrow-exporter@main-codfw].orig
+++ File_line[auto_restart_file_presence_prometheus-burrow-exporter@main-codfw]
+ ensure => present
+ require => File[/etc/debdeploy-client/autorestarts.conf]
+ path => /etc/debdeploy-client/autorestarts.conf
+ line => prometheus-burrow-exporter@main-codfw
- Systemd::Timer::Job[wmf_auto_restart_prometheus-burrow-exporter@logging-codfw]
- Parameters differences: