Help with managing new 20 line SNMP trap...

Post Reply
User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 15 Mar 2007 11:42

Hi,

In the version 6.1.xx existed an special parameter to define the type of SNMP message could be sent.

It was SnmpSendFormat. Values were :

0 - Single Variable format. (default)
1 - Multiple Variables format.
2 - Both formats. Two traps are generated, one in each format

If the version 6.3.xx that parameter doesn't exist.
I can suggest to you to add manually in the database that parameter and try to send again a trap.

You must to be connected in your Control-EM database and add new record in PARAMS table.
INSERT INTO dbo.PARAMS (PTYPE, PNAME, PVALUE, FAMILY, COMP_NAME, LEVEL1) VALUES ('general', 'SnmpSendFormat', '0', '*', '*', '*')

User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

Post by fyot » 16 Mar 2007 3:06

Hi,

Here is another way. Using other existing parameters, concerning SNMP, in Control-EM System parameters you could send a trap in an external script.
In that case it will be very simple to parse or to reduce lenght of the message before to send trap to PATROL.

Parameters are : SendAlarmToScript and SendSnmp.

Post Reply