Could anyone point me in the right direction how to trouble-shoot this?
Running Free Edition v7.5.06 on Debian 6 and I see this in the SnmpAgent.log:
2011-04-29 10:31:31,416 INFO - Starting Discovery Server...
2011-04-29 10:31:37,410 ERROR - Error in trap listener: Permission denied
2011-04-29 10:31:39,092 ERROR - Failed to send log or error to sysaid server. Error code:404
I also see this in the Tomcat6 catalina.log and not sure if it's related:
29-apr-2011 10:28:18 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Exception in thread "Thread-126" java.lang.NullPointerException
at com.ilient.snmp.l.run(Unknown Source)
In Linux, there's a security feature that prevents normal users from binding to port numbers < 1024. The SNMP traps are sent to port 162, so the only account that could bind on that ports is the root account.
You can simply start tomcat as root to be able to bind on the SNMP trap port.
The best solution is to start tomcat as root. If you can't do that, or don't want to do that, you could simply install SysAid Remote Discovery Service on another machine (Windows machine) and have the SNMP devices discovered by that service (instead of the one embedded into the serveR) and report traps back to that service (again, instead reporting traps to the SysAid server).