Operating System - HP-UX
1834608 Members
3138 Online
110069 Solutions
New Discussion

Re: How to configure snmp in HP-UX 11.00

 
Tay Siew Yong_1
Occasional Advisor

How to configure snmp in HP-UX 11.00

I try to capture the system utilization using the MRTG but MRTG need the SNMP to be running. When I issued the ps -ef|grep snmp it return the /usr/sbin/snmpdm. Is this indicate the snmp is running? But I cannot get the information that I require. Anything that I need to configure? Such as community name? Thanks a lot for your help.

Regards
Tay
5 REPLIES 5
YoungHwan, Ko
Valued Contributor

Re: How to configure snmp in HP-UX 11.00

/etc/snmpd.conf =>Configurationfile of NNM
/etc/snmpd =>This script starts up the SNMP Master Agent and all subAgents
who have been configured in /sbin/SnmpAgtStart.d
/etc/rc.config.d/SnmpMaster // Startup config for Master Agent
/etc/rc.config.d/SnmpHpunix // Startup config for HpUnix subAgen
libSaMib2.sl // MIB2 subAgent
libSaHpunix.sl // HpUnix subAgent
/usr/sbin/subagt_ld // SharedLib SubAgent loader
/usr/sbin/subagt_unld // SharedLib SubAgent unloader
snmpd(1M) // Manual startup script
snmpd.conf(4) // SNMP configuration

If administrator want to remove snmp modify these file use vi editor

/etc/rc.config.d/SnmpMaster
/etc/rc.config.d/SnmpHpunix
/etc/rc.config.d/SnmpMib2

SNMP_MIB2_START=0

for more information use
# man snmpd
Jose Mosquera
Honored Contributor

Re: How to configure snmp in HP-UX 11.00

Hi,

Edit /etc/snmpd.conf and restart snmpd via /sbin/init.d/snmpd

For additional info pls check man:
#man snmpd.conf
and
#man snmpd

BR.
Jose Mosquera
Honored Contributor

Re: How to configure snmp in HP-UX 11.00

Hi again,

If not possible restart snmp daemon via option, you could kill the daemon first and then I have started it by usr/sbin/snmpdm.

BR.
Jose Mosquera
Honored Contributor

Re: How to configure snmp in HP-UX 11.00

Hi again,

If not possible restart snmp daemon via option, you could kill the daemon first and then started it by usr/sbin/snmpdm.

BR.
Tay Siew Yong_1
Occasional Advisor

Re: How to configure snmp in HP-UX 11.00

It's solved.