Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-04 Thread Janne Paalijarvi
Ok gentlemen, finally. I will not spam the MIB file here. I hope it retains itself at these locations: https://gist.github.com/usvi/82c85be18c9014a49d2d108525cb9658 or

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-03 Thread Janne Paalijarvi
Bill and Ed, thank you already, I'm a bit more confident to proceed. Ed's comment made me think things a bit forward and play around with different scenarios. I will try to demonstrate what I'm trying to achieve after I can pass my example MIB file through smilint flawlessly. It is harder than

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-02 Thread Ed Fair
Janne, Please provide more detail, or perhaps an example of your proposed traps. I read your question differently from Bill. On Thu, Dec 2, 2021 at 1:17 PM Bill Fenner wrote: > On Wed, Dec 1, 2021 at 7:44 AM Janne Paalijarvi > wrote: > >> Is it considered ok to put sequence OID elements to

Re: Would it be ok practice to put sequence OID elements to traps?

2021-12-02 Thread Bill Fenner
On Wed, Dec 1, 2021 at 7:44 AM Janne Paalijarvi wrote: > Is it considered ok to put sequence OID elements to trap contents? > If I understand the question right, you're asking about including objects belonging to a table? Many trap definitions do this; when constructing the trap, you have to

Would it be ok practice to put sequence OID elements to traps?

2021-12-01 Thread Janne Paalijarvi
Hello again, I have been tasked in implementing a trap sender for a product, and naturally I'm using what Net-SNMP has to offer. I want to do things right both syntactically and also in terms of good practices. So my question is: Is it considered ok to put sequence OID elements to trap contents?