summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent S. Cojot <vcojot@redhat.com>2017-05-19 14:55:38 -0400
committerVincent S. Cojot <vcojot@redhat.com>2017-05-19 14:55:38 -0400
commit310cf235864dc790f72e51804c2a8998510103e5 (patch)
tree35d9f879e72ee81563e0dba1e327954845aec00e
parentf637e00df11d77a641609e7206cca593f34fca0e (diff)
downloadopenstack-access-policy-310cf235864dc790f72e51804c2a8998510103e5.zip
openstack-access-policy-310cf235864dc790f72e51804c2a8998510103e5.tar.gz
openstack-access-policy-310cf235864dc790f72e51804c2a8998510103e5.tar.xz
Updates for snmpd.conf to snmpd.local.conf
-rw-r--r--files/SevoneOSPprereqs_MOPV_1.12.txt (renamed from files/SevoneOSPprereqs_MOPV_1.11.txt)9
1 files changed, 5 insertions, 4 deletions
diff --git a/files/SevoneOSPprereqs_MOPV_1.11.txt b/files/SevoneOSPprereqs_MOPV_1.12.txt
index 84b07d1..cfcfb20 100644
--- a/files/SevoneOSPprereqs_MOPV_1.11.txt
+++ b/files/SevoneOSPprereqs_MOPV_1.12.txt
@@ -195,10 +195,11 @@ for generating one.
III. Distribute the SNMP configuration file to the OSP director
[stack@ospdirector ~]$ sudo systemctl stop snmpd
-[stack@ospdirector ~]$ sudo cp ~/policydir/files/snmpd.conf /etc/snmp/snmpd.conf
-[stack@ospdirector ~]$ sudo sed -i s/REPLACEENGINEID/$(hostname -s)/ /etc/snmp/snmpd.conf
-[stack@ospdirector ~]$ sudo chown root:root /etc/snmp/snmpd.conf
-[stack@ospdirector ~]$ sudo chmod 644 /etc/snmp/snmpd.conf
+[stack@ospdirector ~]$ sudo cp ~/policydir/files/snmpd.conf /etc/snmp/snmpd.local.conf
+[stack@ospdirector ~]$ sudo sed -i s/REPLACEENGINEID/$(hostname -s)/ /etc/snmp/snmpd.local.conf
+[stack@ospdirector ~]$ sudo chown root:root /etc/snmp/snmpd.local.conf
+[stack@ospdirector ~]$ sudo chmod 644 /etc/snmp/snmpd.local.conf
+[stack@ospdirector ~]$ sudo restorecon -rv /etc/snmp
[stack@ospdirector ~]$ sudo systemctl start snmpd
[stack@ospdirector ~]$ sudo systemctl status snmpd | grep 'Active:'