Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?

SOLVED
Go to solution
ftb-firefox
Occasional Contributor

How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?

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?

Eric Herberholz
http://about.me/ericherberholz
http://linkedin.com/in/herberholz
4 REPLIES
ftb-firefox
Occasional Contributor

Re: How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?

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?

 

Eric Herberholz
http://about.me/ericherberholz
http://linkedin.com/in/herberholz
ftb-firefox
Occasional Contributor

Re: How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?

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.

Eric Herberholz
http://about.me/ericherberholz
http://linkedin.com/in/herberholz
Matti_Kurkela
Honored Contributor
Solution

Re: How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?

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.

 

1 again)

Once you have your new snmpd running and configured, configuring SNMP v3 credentials (=username/password sets) is described in the net-snmp documentation:

http://www.net-snmp.org/docs/README.snmpv3.html

 

Reading the other net-snmp documentation at www.net-snmp.org probably won't hurt either.

MK
Highlighted
ftb-firefox
Occasional Contributor

Re: How do you install/establish/set SNMP v3 credentials on an HP-UX 11.23 system?

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.

Eric Herberholz
http://about.me/ericherberholz
http://linkedin.com/in/herberholz