1833767 Members
2262 Online
110063 Solutions
New Discussion

snmptrapd & reboot

 
njia_1
Trusted Contributor

snmptrapd & reboot

Hi All,

We have a NMS manageing our SDH network and there is a interface program converts all network alarms to snmp traps and then these traps were send to a different server by HP SnmpMaster agent. All platforms are running HPUX 11i.

The problem is that snmptrapd works fine if I manually start it. If I write a rc script to start it automatically, it will not work. I mean no traps received, as soon as I stop it and start it again manually, it worked well.

any ideas ?

thanks
4 REPLIES 4
Peter Godron
Honored Contributor

Re: snmptrapd & reboot

Hi,
have tried running with the -d (dump) option when you start up the daemon? That should give the packages as they arrive.
If you are not getting any signals then something must be proventing them from reaching. Anything different in the environment between online/automatic startup?
Kent Ostby
Honored Contributor

Re: snmptrapd & reboot

njia --

Check to make sure you are using full paths in your script.

There is a lot of shell data available when you are doing things manually that isn't there for scripts.

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
njia_1
Trusted Contributor

Re: snmptrapd & reboot

Not a big problem.
Peter Godron
Honored Contributor

Re: snmptrapd & reboot

Hi,
could you please indicate what the solution was?