03-27-2012 02:18 PM
After installing SNMP (via "HP-UX Internet Express for HP-UX 11i v2"), I would like to know how to establish/set SNMP v3 credentials.
How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?
Solved! Go to Solution.
04-12-2012 09:35 AM
I've determined that SNMPv3 on HP-UX is available via "HP-UX Internet Express for HP-UX 11i v2"
Futher, I have been lead to believe, via advice in a WUG (What's Up Gold) community forum, that I should add a user with the required privileges.
Now my dilemma is: Do I need to, and how do I replace the standard snmpd with the one from Internet Express?
04-20-2012 04:15 PM
So, the two parts are:
1. How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?
2. Do I need to, and how do I replace the standard snmpd with the one from Internet Express?
I still need help with both of these.
04-30-2012 06:44 AM
1.) The standard OpenView snmpd that is included in HP-UX 11.23 does not support SNMP v3 at all. Therefore, you must replace the standard snmpd with net-snmpd from Internet Express.
2.) Go to http://software.hp.com and search for "Internet Express". You'll find the latest release of Internet Express for your HP-UX version. You don't have to download the entire Internet Express package: the ixNet-SNMP depot will be enough. The depot will be installable using the regular swinstall commands.
You would have to disable the standard OV snmpd:
sh /sbin/init.d/SnmpMaster stop vi /etc/rc.config.d/SnmpMaster <change SNMP_MASTER_START=1 to SNMP_MASTER_START=0>
I don't know if the new snmpd will understand the protocol used by the HP SNMP sub-agents: you may have to disable them too in the same way. (/sbin/init.d/Snmp* and /etc/rc.config.d/Snmp*, respectively)
Apparently the Internet Express net-snmpd depot does not include a start-up script for the new snmpd. You will have to write your own start-up script for it: the snmpd binary will be installed to /opt/iexpress/net-snmp/sbin/snmpd in order to make it start up automatically at boot time. See "man rc" for information on requirements for the start-up scripts.
You'll also need to write a configuration file for the new snmpd. The example configuration file will be located at /opt/iexpress/net-snmp/etc/EXAMPLE.conf: if it is not readable, it might be gzipped even if the suffix of the filename does not say so.
Once you have your new snmpd running and configured, configuring SNMP v3 credentials (=username/password sets) is described in the net-snmp documentation:
Reading the other net-snmp documentation at www.net-snmp.org probably won't hurt either.
04-30-2012 09:10 AM
OMG, thank you so much. very thorough answer! Where and how do I honor you [digitally]? Kudos, hig-five, 5 out of 5 stars, #FF, plus, like, etc.