From 05ba3fbffeaa3142e917ea69e9e39209e893581a Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Tue, 4 Mar 2008 16:22:28 +0000 Subject: Added custom mibs for the OMSNMP output module. These mibs are derived from adiscon monitorware and will be used by default from now on. The mibs can be found in the mibs folder of the omsnmp directory. For more details please see the documentation. Also added a new configuration variable $actionsnmptrapoid which defines the trap-type or notification-type that is used. --- doc/omsnmp.html | 65 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 21 deletions(-) (limited to 'doc/omsnmp.html') diff --git a/doc/omsnmp.html b/doc/omsnmp.html index 2f60862a..4087d830 100644 --- a/doc/omsnmp.html +++ b/doc/omsnmp.html @@ -62,27 +62,49 @@ developer (headers) package installed.


This sets the used SNMP Community.

- Example: $actionsnmpcommunity public
+ Example: $actionsnmpcommunity public
+

-
  • $actionsnmpsyslogmessageoid (This parameter is - optional, the default value is "1.3.6.1.4.1.9.9.41.2.0.1" which means "CISCO-SYSLOG-MIB::clogMessageGenerated")
    -
    - This OID will be used as a variable, type "OCTET STRING". This variable will - contain the full syslog message including syslog header. It is recommend to - use the default value here unless a different OID is required.
    - In order to decode this OID, you will need to have the CISCO-SYSLOG-MIB and - CISCO-SMI mibs installed on the receiver side. Downloads of these mib files +
  • $actionsnmptrapoid (This parameter is + optional, the default value is "1.3.6.1.4.1.19406.1.2.1" which means + "ADISCON-MONITORWARE-MIB::syslogtrap")
    + This configuration parameter is used for SNMPv2 only.
    +
    + This is the OID which defines the trap-type, or notifcation-type rsyslog + uses to send the trap.
    + In order to decode this OID, you will need to have the + ADISCON-MONITORWARE-MIB and ADISCON-MIB mibs installed on the receiver side. Downloads of these mib files can be found here:
    - - http://www.oidview.com/mibs/9/CISCO-SYSLOG-MIB.html
    - - http://www.oidview.com/mibs/9/CISCO-SMI.html
    + + http://www.adiscon.org/download/ADISCON-MIB.txt
    + + http://www.adiscon.org/download/ADISCON-MONITORWARE-MIB.txt

    - We will add our own MIB definition in a later stage. For now, - CISCO-SYSLOG-MIB::clogMessageGenerated is a good choice. Thanks to the net-snmp + Thanks to the net-snmp mailinglist for the help and the recommendations ;).

    - Example: $actionsnmpsyslogmessageoid 1.3.6.1.4.1.9.9.41.2.0.1
    + Example: $actionsnmptrapoid 1.3.6.1.4.1.19406.1.2.1
    +
    If you have this MIBS installed, you can also configured with the + OID Name: $actionsnmptrapoid ADISCON-MONITORWARE-MIB::syslogtrap
    +
    +
  • +
  • $actionsnmpsyslogmessageoid (This parameter is + optional, the default value is "1.3.6.1.4.1.19406.1.1.1" which means + "ADISCON-MONITORWARE-MIB::syslogMsg")
    +
    + This OID will be used as a variable, type "OCTET STRING". This variable will + contain up to 255 characters of the original syslog message including syslog header. It is recommend to + use the default OID.
    + In order to decode this OID, you will need to have the + ADISCON-MONITORWARE-MIB and ADISCON-MIB mibs installed on the receiver side. + To download these custom mibs, see the description of $actionsnmptrapoid. +
    +
    + Example: $actionsnmpsyslogmessageoid 1.3.6.1.4.1.19406.1.1.1
    +
    If you have this MIBS installed, you can also configured with the + OID Name: $actionsnmpsyslogmessageoid + ADISCON-MONITORWARE-MIB::syslogMsg
    +

  • $actionsnmpenterpriseoid (This parameter is optional, the default value is "1.3.6.1.4.1.3.1.1" which means "enterprises.cmu.1.1")
    @@ -92,7 +114,8 @@ developer (headers) package installed.

    This configuration parameter is used for SNMPv1 only. It has no effect if SNMPv2 is used.

    - Example: $actionsnmpenterpriseoid 1.3.6.1.4.1.3.1.1
    + Example: $actionsnmpenterpriseoid 1.3.6.1.4.1.3.1.1
    +

  • $actionsnmpspecifictype (This parameter is optional, the default value is "0")
    @@ -101,7 +124,8 @@ developer (headers) package installed.

    SNMPv1 only. It has no effect if SNMPv2 is used.

    - Example: $actionsnmpspecifictype 0
    + Example: $actionsnmpspecifictype 0
    +

  • $actionsnmptraptype (This parameter is optional, the default value is "6" which means SNMP_TRAP_ENTERPRISESPECIFIC)
    @@ -124,9 +148,8 @@ developer (headers) package installed.

  •  

    -

    Caveats/Known Bugs:

    +

    Caveats/Known Bugs:

    Sample:

    The following commands send every message as a snmp trap.