1835947 Members
3374 Online
110088 Solutions
New Discussion

net-snmp init-script

 
mergatroid
New Member

net-snmp init-script

I installed net-snmp which came with HP-UX Internet Express for HP-UX 11i v1. Also I disabled SnmpMaster, SnmpHpunix and SnmpMib2.


My question is, where is the init script for net-snmp if I want to run the snmpd daemon at boot time? Or is there something akin to rc.local where I can put the start command?
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: net-snmp init-script

Start Scripts for HP-UX are located in /sbin/init.d with /sbin/rc1.d, /sbin/rc2.d and /sbin/rc3.d having K* and S* links to /sbin/init.d

Config files for process startup are in /etc/rc.config.d
mergatroid
New Member

Re: net-snmp init-script

Yes, I get that much. I am unable to locate any init script(s) for net-snmp. Do I have to roll my own?

tcsh-3.2# ls -al /sbin/init.d/ | grep -i snmp
-r-xr-xr-x 1 bin bin 2589 Aug 15 2003 SnmpFddi4
-r-xr-xr-x 1 bin bin 6617 Dec 15 2002 SnmpHpunix
-r-xr-xr-x 1 bin bin 4558 Dec 15 2002 SnmpMaster
-r-xr-xr-x 1 bin bin 6727 Dec 15 2002 SnmpMib2
-r-xr-xr-x 1 bin bin 6631 Dec 15 2002 SnmpTrpDst
tcsh-3.2# ls -al /etc/rc.config.d/ | grep -i snmp
-r--r--r-- 1 bin bin 2206 May 10 14:18 SnmpHpunix
-r--r--r-- 1 bin bin 1720 May 10 14:18 SnmpMaster
-r--r--r-- 1 bin bin 2272 May 10 14:18 SnmpMib2
-r--r--r-- 1 bin bin 1485 Nov 14 2000 SnmpTrpDst