Yes, you could, but...
If the definition of the trap doesn't include the fields that you want,
you are not (technically) allowed to add them.
This is important because the receivers are designed to expect what
the definitions (in the MIB files) specify. No more, no less, and in
the order defined.
On Mon, Jan 15, 2018 at 5:37 PM, Simon Chamlian <simon.chaml...@mpbc.ca>
wrote:
>
> Never mind,
>
> I found the answer. Yes it can by adding a '-s "some text".
>
> Thanks,
> S
>
>
>
> On Mon, Jan 15, 2018 at 2:16 PM, Simon Chamlian <simon.chaml...@mpbc.ca>
> wrote:
>
>> Hi,
>>
>> Is it possible to add a description within a trap (either v2 or v3)?
>>
>> for example:
>> snmptrap -v 2c -c public 172.27.37.227 "" coldStart.0
>> snmptrap -v 3 -u Admin -a MD5 -A Admin-00 -l authNoPriv 172.27.37.227 ""
>> coldStart.0
>>
>> Is there an way to add a descriptive text?
>>
>> As far as I know, the answer is no but would like to confirm.
>>
>> Thanks,
>> S
>>
>>
>>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders