SNMP Sender  






Send SNMP trap messages to Host on Port (default 162) using Community (default public).




SNMP sender supports v1/v2 version traps.

Use port 162 if Port is missing, blank, invalid or less that or equal to zero.

Use "public" if Community is missing or blank.

We are sending SNMP v2.

The common event fields are mapped into specific OID's which are found in the OID mapping table. Otherwise, it will default to the unspecified OID mapping.

Special XML characters are translated according to the XML character translation table.

SysUpTime should get from system.

Community is string value within the snmp packet. The network managers and agents are set up to "belong" to some of named "group" called community.

Snmp packets always belong to one of those communities and are "noticed" by equipment, which are in the same community.

Most used value is "public", but may be private with internal names. (Also used in authentication).

Currently, we use an XML file for mappings. In future versions an EventGnosis MIB will be compiled and exported for external consumption



<destination objectId="SnmpSndr1" type="SNMPSender" stdout="FS.DemoAlive">
	<parameter type="Host">errLogHost</parameter>
	<parameter type="Port">21033</parameter>
	<parameter type="Community">security</parameter>

Event Mapping

<?xml version="1.0" encoding="UTF-8"?>
<event xmlns:ev="">
	<ev:msg>2003-11-10 01:25:44.174</ev:msg>

Parsed and sent fields:

Address of host:
Trap type:		snmp v2 (ECS always send v2 - spec)
Community: 		public
sysUpTime:		(provided ECS up Time )   


OID - . Value:	Host
OID - . Value:	App
OID - . Value:	Log
OID - . Value:	2003-11-10 01:25:44.174
OID - . Value:	6 (note: not recognized field  OID for unknown used) 

Resulting write to host/port:

	Community:	public
	Trap type:	SNMPv2c
	Variable bindings:
	OID				Type		Value		Time Tick	00h:00m32.34.s		OID		String		Host		String		App		String		Log		String		2003-11-10 01:25:44.174		String		6