From 6f9e848e65cff04395b0dad1c36620ba6afe39f8 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 21 Sep 2017 15:50:36 +0200 Subject: Fix classify classes that are no longer globals --- services/main.cf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'services') diff --git a/services/main.cf b/services/main.cf index 48697a7..4acafbc 100644 --- a/services/main.cf +++ b/services/main.cf @@ -8,7 +8,7 @@ body file control }; } -bundle agent classify +bundle common classify { vars: any:: @@ -18,6 +18,7 @@ bundle agent classify "julien", "bareos_fd", "check_mk", + "nrpe", "sshd", }; classes: @@ -38,11 +39,13 @@ bundle agent classify }; "mail_servers" or => { "legend" }; "nrpe" expression => "freebsd"; +} + +bundle agent main +{ methods: ipam:: "ipam" usebundle => ipam; nagios:: "nagios" usebundle => nagios; - nrpe:: - "nrpe" usebundle => nrpe; } -- cgit v1.2.3