Operating System - HP-UX
1752788 Members
6157 Online
108789 Solutions
New Discussion

How to restart snmpd (after change on snmpd.conf)

 
dark-sun
Frequent Advisor

How to restart snmpd (after change on snmpd.conf)

Hello,

I have to make a change on the snmpd configuration file "/etc/SnmpAgent.d/snmpd.conf".

 

I find some start/stop -Scripts for SNMPD, what have I to use so the change in snmpd.conf take effect?

I think not all must be restartet ....

 

/sbin/init.d/SnmpFddi4   /sbin/init.d/SnmpMaster  /sbin/init.d/SnmpNaa
/sbin/init.d/SnmpHpunix  /sbin/init.d/SnmpMib2    /sbin/init.d/SnmpTrpDst

 

(HPUX 11.11 and 11.23)

 

Thanks for help!

2 REPLIES 2
Henry Fauni
Valued Contributor

Re: How to restart snmpd (after change on snmpd.conf)

You can view /etc/rc.log of the system and check to see if any of the startup scripts you mentioned actually started at bootup, and then review the order they started. Generally, if you just reverse the order during shutdown, you should be fine.  /sbin/init.d/SnmpMaster is the main script that starts /usr/sbin/snmpd. This should be started first.

rdiaz
Frequent Advisor

Re: How to restart snmpd (after change on snmpd.conf)

You need use the following command for reload all:

 

/usr/sbin/snmpd