1753519 Members
5006 Online
108795 Solutions
New Discussion

SIM Test Trap fail

 
OM IT Services
Occasional Contributor

SIM Test Trap fail

hi all,
im tryng to send the test trap from the SMH running on a linux box (redhat 5.5) but i've got this error:

/var/log/secure:
sudo: hpsmh : sorry, you must have a tty to run sudo ; TTY=unknown ; PWD=/opt/hp/hpsmh/data/htdocs/webagent ; USER=root ; COMMAND=/usr/bin/snmptrap -v1 -ctestsim mysimserver.com enterprises.232 6 11003 system.5.0 s linuxhostname enterprises.232.11.2.11.1 i 0 enterprises.232.11.2.8.1 s Test Trap

running the command from console:

snmptrap -v1 -c testsim mysimserver.com enterprises.232 6 11003 system.5.0 s linuxhostname enterprises.232.11.2.11.1 i 0 enterprises.232.11.2.8.1 s Test Trap

linuxhostname: Unknown Object Identifier (Sub-id not found: (top) -> linuxhostname)


The Sim have discovered the linux machine but no events is reported.
Anyone can help?
thank you in advance