snmptrap and value in quotes. The snmptrapd deletes quotes

Дмитрий Зиновьев <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CALibOsW_sDco7BXALN1ZRhABGFEDYjf3UvTywdV9BAze11i1bA@mail.gmail.com>
When a snmptrap arrives and if the server can be resolve OID, it writes a
message without quotes marks, if SNMP-oid is not known, then in quotation
marks. How to make that value always written in quotation marks? example

snmptrap -v 1 -c public localhost '' '' '' '' '' 1.3.6.1.2.1.1.5 s "Some
host name" Apr 21 13:41:32 65_test snmptrapd[30680]: 2017-04-21 13:41:32
192.168.124.28(via UDP: [127.0.0.1]:43906->[127.0.0.1]) ....
*SNMPv2-MIB::sysName
= STRING: Some host name*

snmptrap -v 1 -c public localhost '' '' '' '' '' 1.3.6.1.2.6.1.5 s "Some
host name" Apr 21 13:41:45 65_test snmptrapd[30680]: 2017-04-21 13:41:45
192.168.124.28(via UDP: [127.0.0.1]:41895->[127.0.0.1]) ....
*SNMPv2-SMI::mgmt.6.1.5
= STRING: "Some host name"*

It is not possible to change the text of the snmptrap.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.