Hi Pathmasri,

To get your own OID, you will first need to register at the IANA
to get an enterprise OID for your company (if you not already have
one). Then you create a MIB module with your notification specification
in a sub-tree below that enterprise OID.

You can use MIB Designer to easily create a MIB specification using a
wizard to get a syntactically correct and well defined MIB structure:
http://www.mibdesigner.com

Best regards,
Frank


Am 03.01.2014 07:14, schrieb Pathmasri Ambegoda:
Hi Frank,

  Thanks a lot for ur advice.
My purpose is to include a text message in an SNMP trap and broadcast it using an snmptrap handler to Zabbix network monitoring tool. Actually these text messages include logging information of a Java application. If you have any better idea to achieve this, please let me know. The questions I have are,

1. Is there are a specific standard OID for this kind of purpose? If not, please let me know how I should get one. 2. If I use my own OID, do I have to create my own MIB file too? If yes please send me some resources that I can use to get it done.

  Thanks,
  Pathmasri.

On Thu, Jan 2, 2014 at 9:16 PM, Frank Fock <[email protected] <mailto:[email protected]>> wrote:

    Hi Pathmasri,

    The answer to your question highly depends on what you define as
    "custom".
    For most use cases I know, you would need your own MIB
    specification to
    send your own "messages".

    Best regards,
    Frank

    Am 02.01.2014 10:02, schrieb Pathmasri Ambegoda:

        Dear All,

          I would like to know a way of sending custom messages using
        SNMP traps.
        Need to know whether I have to use custom OID/MIBs for this.
        If any body
        knows, please do let me know.

        Thanks,
        Pathmasri.
        _______________________________________________
        SNMP4J mailing list
        [email protected] <mailto:[email protected]>
        https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j


-- ---
    AGENT++
    Maximilian-Kolbe-Str. 10
    73257 Koengen, Germany
    https://agentpp.com
    Phone: +49 7024 8688230
    Fax:   +49 7024 8688231

    _______________________________________________
    SNMP4J mailing list
    [email protected] <mailto:[email protected]>
    https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j



--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231

_______________________________________________
SNMP4J mailing list
[email protected]
https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j

Reply via email to