From 2ffcecc5b57baf34b573cc152efe295ca6e07f7f Mon Sep 17 00:00:00 2001
From: fermin831 <fermin.hernandez@artica.es>
Date: Tue, 10 Apr 2018 09:49:58 +0200
Subject: [PATCH] [Secondary groups] Added secondary_groups to agents config
 file

---
 pandora_agents/unix/AIX/pandora_agent.conf     | 3 +++
 pandora_agents/unix/Darwin/pandora_agent.conf  | 3 +++
 pandora_agents/unix/FreeBSD/pandora_agent.conf | 3 +++
 pandora_agents/unix/HP-UX/pandora_agent.conf   | 3 +++
 pandora_agents/unix/Linux/pandora_agent.conf   | 3 +++
 pandora_agents/unix/NetBSD/pandora_agent.conf  | 3 +++
 pandora_agents/unix/SunOS/pandora_agent.conf   | 3 +++
 pandora_agents/win32/bin/pandora_agent.conf    | 5 ++++-
 8 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/pandora_agents/unix/AIX/pandora_agent.conf b/pandora_agents/unix/AIX/pandora_agent.conf
index 10dcdbac68..9065854a44 100644
--- a/pandora_agents/unix/AIX/pandora_agent.conf
+++ b/pandora_agents/unix/AIX/pandora_agent.conf
@@ -102,6 +102,9 @@ transfer_mode tentacle
 # Agent mode: Learn (default), No-learn, Autodisable
 # agent_mode autodisable
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================
 
diff --git a/pandora_agents/unix/Darwin/pandora_agent.conf b/pandora_agents/unix/Darwin/pandora_agent.conf
index 060176c1a5..6cc2873a5e 100644
--- a/pandora_agents/unix/Darwin/pandora_agent.conf
+++ b/pandora_agents/unix/Darwin/pandora_agent.conf
@@ -143,6 +143,9 @@ transfer_mode tentacle
 # Agent mode: Learn (default), No-learn, Autodisable
 # agent_mode autodisable
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================
 
diff --git a/pandora_agents/unix/FreeBSD/pandora_agent.conf b/pandora_agents/unix/FreeBSD/pandora_agent.conf
index 015dfdccc0..6c141d7e73 100644
--- a/pandora_agents/unix/FreeBSD/pandora_agent.conf
+++ b/pandora_agents/unix/FreeBSD/pandora_agent.conf
@@ -153,6 +153,9 @@ xml_buffer 1
 # Minimum available bytes in the temporal directory to enable the XML buffer
 temporal_min_size 1024
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 #Secondary server configuration
 #==============================
 
diff --git a/pandora_agents/unix/HP-UX/pandora_agent.conf b/pandora_agents/unix/HP-UX/pandora_agent.conf
index b7e2056fe4..60db8f4964 100644
--- a/pandora_agents/unix/HP-UX/pandora_agent.conf
+++ b/pandora_agents/unix/HP-UX/pandora_agent.conf
@@ -104,6 +104,9 @@ transfer_mode tentacle
 # Agent mode: Learn (default), No-learn, Autodisable
 # agent_mode autodisable
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================
 
diff --git a/pandora_agents/unix/Linux/pandora_agent.conf b/pandora_agents/unix/Linux/pandora_agent.conf
index f05eb29522..427eeeb5a9 100644
--- a/pandora_agents/unix/Linux/pandora_agent.conf
+++ b/pandora_agents/unix/Linux/pandora_agent.conf
@@ -167,6 +167,9 @@ temporal_min_size 1024
 # the eHorus agent's identifying key
 ehorus_conf /etc/ehorus/ehorus_agent.conf
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================
 
diff --git a/pandora_agents/unix/NetBSD/pandora_agent.conf b/pandora_agents/unix/NetBSD/pandora_agent.conf
index e7e13e733f..f1a6449169 100644
--- a/pandora_agents/unix/NetBSD/pandora_agent.conf
+++ b/pandora_agents/unix/NetBSD/pandora_agent.conf
@@ -116,6 +116,9 @@ transfer_mode tentacle
 # Agent mode: Learn (default), No-learn, Autodisable
 # agent_mode autodisable
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================
 
diff --git a/pandora_agents/unix/SunOS/pandora_agent.conf b/pandora_agents/unix/SunOS/pandora_agent.conf
index 39e9690fc4..d1d74d1cff 100644
--- a/pandora_agents/unix/SunOS/pandora_agent.conf
+++ b/pandora_agents/unix/SunOS/pandora_agent.conf
@@ -107,6 +107,9 @@ transfer_mode tentacle
 # Agent mode: Learn (default), No-learn, Autodisable
 # agent_mode autodisable
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================
 
diff --git a/pandora_agents/win32/bin/pandora_agent.conf b/pandora_agents/win32/bin/pandora_agent.conf
index 0e7d28afcd..54aa8add34 100644
--- a/pandora_agents/win32/bin/pandora_agent.conf
+++ b/pandora_agents/win32/bin/pandora_agent.conf
@@ -1,6 +1,6 @@
 # Base config file for Pandora FMS Windows Agent
 # (c) 2006-2017 Artica Soluciones Tecnologicas 
-# Version 7.0NG.720
+# Version 7.0NG.720
 
 # This program is Free Software, you can redistribute it and/or modify it
 # under the terms of the GNU General Public Licence as published by the Free Software
@@ -104,6 +104,9 @@ xml_buffer 1
 #It try to find the EKID and set it like a custom field.
 ehorus_conf "C:\Program Files\ehorus_agent\ehorus_agent.conf"
 
+# Secondary groups. You can select several groups separated by comma.
+# secondary_groups Group1,Group2
+
 # Secondary server configuration
 # ==============================