System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to install SNMP in HP-UNIX

Md. Minhaz Khan
Super Advisor

How to install SNMP in HP-UNIX

Dear Concern

I am managing a box running HP-UX B.11.11 U. Server model is RP3440.

I am new to Unix and I have not been able to find a step by step guide for installing snmp on HP-UX 11.11.

Actually i want to make a linux box as a snmp manager and HP-UX box as a agent. So that i can monitor CPU,Memory,Disk usage .....

Can any one help me to configure this step by step. Please don't give me only concept.

if i am wrong please correct me. If you need information about my running system, i will send you.

Thanks
Minhaz

2 REPLIES
Ganesan R
Honored Contributor

Re: How to install SNMP in HP-UNIX

Hi,
The SNMP Master Agent and all subAgents should startup automatically each time the system re-boots or any time the system transitions from run level 1 to run level 2. When the system enters run level 2 the operating system will execute /sbin/init.d/SnmpMaster which will startup the Master Agent. Similarly, the operating system invoked /sbin/init.d/SnmpMib2, /sbin/init.d/SnmpHpunix and /sbin/init.d/SnmpTrpDst will startup the MIB2, HP Unix and Trap Dest subAgents respectively immediately after the Master Agent is started.

The simplest way to start the SNMP Agent manually is to execute the snmpd startup script which will invoke the Master Agent and all subAgents who have been installed and designed to operate in this paradigm.

The other way is to start the SNMP Agent manually. The first way is to execute snmpdm and then start each subAgent. Separate process subAgents are started by invoking the particular subAgent executables.

These are the files which controls the auto startup of SNMP Master daemon and sub agents.

#/etc/rc.config.d# ll Sn*
-r--r--r-- 1 bin bin 2206 Oct 27 1997 SnmpHpunix
-r--r--r-- 1 bin bin 1720 Oct 27 1997 SnmpMaster
-r--r--r-- 1 bin bin 2272 Oct 27 1997 SnmpMib2
-r--r--r-- 1 bin bin 1485 Oct 27 1997 SnmpTrpDst

You can modify the variable accordingly.
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: How to install SNMP in HP-UNIX

Shalom,

There is a good snmp software set as part of Internet Express version 10. That was the last release for 11.11 on http://software.hp.com

To gain access to this, you will need to contact the response center under a software support contract. I've been asking for a copy outside the support contract and I have gotten no response from HP.

An install and use guide is an easier hunt.

http://www.docs.hp.com/en/32022-90051/ch08s04.html

You will also find basic snmp on the Core OS DVD/CD. I think.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com