Too short $RCAMESSAGE?

Too short $RCAMESSAGE?

Hi,

I'm having a problem sending snmp trap data to an external script for parsing. It seems that the $RCAMESSAGE variable is too short for me and passes up to 355 characters, while my snmp trap is double at size.

Here's how the snmp trap looks like: 

Trap received.
enterpriseSpecific :
Trap(v1) received from host vmgt-vc.aaa.com(172.30.20.250) at Dec 27, 2009 10:06 AM.
Enterprise Oid : .1.3.6.1.4.1.6876.4.3 (.iso.org.dod.internet.private.enterprises.6876.4.3)
Specific Type : 201
Trap Varbinds :
Object ID: .1.3.6.1.4.1.6876.4.3.301 (.iso.org.dod.internet.private.enterprises.6876.4.3.301) STRING: host Object ID: .1.3.6.1.4.1.6876.4.3.302 (.iso.org.dod.internet.private.enterprises.6876.4.3.302) STRING: vmgtesx1.aaa.com Object ID: .1.3.6.1.4.1.6876.4.3.303 (.iso.org.dod.internet.private.enterprises.6876.4.3.303) STRING: Object ID: .1.3.6.1.4.1.6876.4.3.304 (.iso.org.dod.internet.private.enterprises.6876.4.3.304) STRING: Yellow Object ID: .1.3.6.1.4.1.6876.4.3.305 (.iso.org.dod.internet.private.enterprises.6876.4.3.305) STRING: Red Object ID: .1.3.6.1.4.1.6876.4.3.306 (.iso.org.dod.internet.private.enterprises.6876.4.3.306) STRING: Host cpu usage - Metric Usage = 90%






And here's what's being passed to the script:

enterpriseSpecific :<br>Trap(v1) received from host vmgt-vc.aaa.com(172.30.20.250) at Dec 27, 2009 10:06 AM.<br>Enterprise Oid : .1.3.6.1.4.1.6876.4.3 (.iso.org.dod.internet.private.enterprises.6876.4.3) <br>Specific Type : 201<br>Trap Varbinds :<br>Object ID: .1.3.6.1.4.1.6876.4.3.301 (.iso.org.dod.internet.private.enterprises.6876.4.3.301) STRIN

What can be done about this?

Thanks,

Adi.


                New to ADSelfService Plus?