SNMPD SERVICE at RHEL 6
Guys, I'am setup HP INSIGHT REMOTE SUPPORT, but I need setup the service snmpd at RHEL 6. Somebody can help me?
Responses
My setup:
echo "# SNMP configuration"
rocommunity somecommunity
sysContact admin@domain.com
sysDescr Description
sysLocation Location
dontLogTCPWrappersConnects 1" > /etc/snmp/snmpd.conf
Change the logging settings to avoid spamming syslog
sed -i 's/# OPTIONS/OPTIONS/g' /etc/sysconfig/snmpd /etc/sysconfig/snmptrapd
sed -i 's/LS0-6d/LS4d/g' /etc/sysconfig/snmpd
sed -i 's/Lsd/LS4d/g' /etc/sysconfig/snmptrapd
/sbin/service snmpd start >/dev/null 2>&1
/sbin/chkconfig snmpd --level 2345 on
/sbin/chkconfig snmpd --level 06 off
There used to be fairly complete guidance in the documentation-set that came with the HPSIM (or, maybe it was in the Proliant Support Pack documentation-bundle?). When we were still doing physical servers for non-virtualized hosting, I'd scripted out the whole process. I'd offer those scripts up, however, I've moved on from that job and no longer have access to the tools I wrote
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
