From cedc5cd467490d22cd7d02835d7e4e9d0133708f Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sat, 28 Mar 2026 11:34:54 +0100 Subject: [PATCH] change to subnet manage rights with serveur and maison subnet --- configure_snmpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure_snmpd.yml b/configure_snmpd.yml index 29e3466..315b0f2 100644 --- a/configure_snmpd.yml +++ b/configure_snmpd.yml @@ -20,7 +20,7 @@ mode: u+x,g+x - name: Configure snmpd - shell: echo "agentAddress udp:161,udp6:[::1]:161\nrocommunity public default -V systemonly\nrwcommunity manage 192.168.100.30\nrwcommunity manage localhost\nrocommunity6 public default -V systemonly\nsysLocation SDA Corporation/Internet Server/\nsysContact thedarty@gmail.com\nextend osupdate /etc/snmp/osupdate" > /etc/snmp/snmpd.conf + shell: echo "agentAddress udp:161,udp6:[::1]:161\nrocommunity public default -V systemonly\nrwcommunity manage 192.168.100.0/24\nrwcommunity manage 192.168.10.0/24\nrwcommunity manage localhost\nrocommunity6 public default -V systemonly\nsysLocation SDA Corporation/Internet Server/\nsysContact thedarty@gmail.com\nextend osupdate /etc/snmp/osupdate" > /etc/snmp/snmpd.conf - name: Restart snmpd.service shell: systemctl restart snmpd.service