diff --git a/cookbooks/prometheus/snmp_exporter_setup.rb b/cookbooks/prometheus/snmp_exporter_setup.rb index f20aea8..c0a246a 100644 --- a/cookbooks/prometheus/snmp_exporter_setup.rb +++ b/cookbooks/prometheus/snmp_exporter_setup.rb @@ -34,7 +34,7 @@ template '/etc/promtail/snmp_exporter.yaml' do variables(HOSTNAME: node[:hostname], LOKIENDPOINT: node['promtail']['lokiendpoint']) - notifies :restart, 'service[promtail-prometheus]' + notifies :restart, 'service[promtail-snmp_exporter]' end # Deploy the `systemd` configuration: