Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > using SNMP to send a trap
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 4th April 03:26
comphelp
External User
 
Posts: 1
Default using SNMP to send a trap


mike_stephanos@yahoo.com (mike_stephanos@yahoo.com) writes:


The program you are running--have you tried running it as root?

I'm far from a sockets programming guru, but it's possible that your
program may need to run as root in order to bind to the ports needed
to initiate that SNMP communication. UDP or TCP 162 are the
destination ports for SNMP traps, but I'm not sure what port your
program may be attempting to bind to when it sends the trap.

Also, what hostAddress are you defining? Is it valid, and is there a
route to it?

--
Todd H.
http://www.toddh.net/
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666