From c476f849431a88410b8e5b2056c24900ff934414 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Wed, 2 Jul 2025 16:59:50 -0500 Subject: [PATCH] . --- ProjectCode/Agents/librenms/{dmi => dmi.sh} | 0 ProjectCode/Agents/librenms/{dpkg => dpkg.sh} | 0 ProjectCode/Agents/librenms/{mysql => mysql.sh} | 0 .../{postfixdetailed.sh => postfix-detailed.sh} | 0 ProjectCode/Modules/OAM/oam-librenms.sh | 12 ++++++++---- 5 files changed, 8 insertions(+), 4 deletions(-) rename ProjectCode/Agents/librenms/{dmi => dmi.sh} (100%) rename ProjectCode/Agents/librenms/{dpkg => dpkg.sh} (100%) rename ProjectCode/Agents/librenms/{mysql => mysql.sh} (100%) rename ProjectCode/Agents/librenms/{postfixdetailed.sh => postfix-detailed.sh} (100%) diff --git a/ProjectCode/Agents/librenms/dmi b/ProjectCode/Agents/librenms/dmi.sh similarity index 100% rename from ProjectCode/Agents/librenms/dmi rename to ProjectCode/Agents/librenms/dmi.sh diff --git a/ProjectCode/Agents/librenms/dpkg b/ProjectCode/Agents/librenms/dpkg.sh similarity index 100% rename from ProjectCode/Agents/librenms/dpkg rename to ProjectCode/Agents/librenms/dpkg.sh diff --git a/ProjectCode/Agents/librenms/mysql b/ProjectCode/Agents/librenms/mysql.sh similarity index 100% rename from ProjectCode/Agents/librenms/mysql rename to ProjectCode/Agents/librenms/mysql.sh diff --git a/ProjectCode/Agents/librenms/postfixdetailed.sh b/ProjectCode/Agents/librenms/postfix-detailed.sh similarity index 100% rename from ProjectCode/Agents/librenms/postfixdetailed.sh rename to ProjectCode/Agents/librenms/postfix-detailed.sh diff --git a/ProjectCode/Modules/OAM/oam-librenms.sh b/ProjectCode/Modules/OAM/oam-librenms.sh index 19d458a..7c0118e 100644 --- a/ProjectCode/Modules/OAM/oam-librenms.sh +++ b/ProjectCode/Modules/OAM/oam-librenms.sh @@ -41,13 +41,17 @@ cat ../../Agents/librenms/check_mk.socket > /etc/systemd/system/check_mk.socket systemctl enable check_mk.socket systemctl start check_mk.socket +#Modules commented out below, we will roll out on systems that use them, most of the fleet doesn't use those modules +cat ../../Agents/librenms/dmi.sh > /usr/lib/check_mk_agent/local/dmi.sh +cat ../../Agents/librenms/dpkg.sh > /usr/lib/check_mk_agent/local/dpkg.sh +#cat ../../Agents/librenms/mysql.sh > /usr/lib/check_mk_agent/local/mysql.sh cat ../../Agents/librenms/ntp-client.sh > /usr/lib/check_mk_agent/local/ntp-client.sh -cat ../../Agents/librenms/ntp-server.sh > /usr/lib/check_mk_agent/local/ntp-server.sh +#cat ../../Agents/librenms/ntp-server.sh > /usr/lib/check_mk_agent/local/ntp-server.sh cat ../../Agents/librenms/os-updates.sh > /usr/lib/check_mk_agent/local/os-updates.sh -cat ../../Agents/librenms/postfixdetailed.sh > /usr/lib/check_mk_agent/local/postfixdetailed.sh +cat ../../Agents/librenms/postfixdetailed.sh > /usr/lib/check_mk_agent/local/postfix-detailed.sh cat ../../Agents/librenms/postfix-queue.sh > /usr/local/check_mk_agent/local/postfix_queue.sh -cat ../../Agents/librenms/smart > /usr/lib/check_mk_agent/local/smart -cat ../../Agents/librenms/smart.config > /usr/lib/check_mk_agent/local/smart.config +#cat ../../Agents/librenms/smart.sh > /usr/lib/check_mk_agent/local/smart +#cat ../../Agents/librenms/smart.sh.config > /usr/lib/check_mk_agent/local/smart.config chmod +x /usr/lib/check_mk_agent/local/* \ No newline at end of file