ADISCON-MONITORWARE-MIB DEFINITIONS ::= BEGIN -- ***************************************************************** -- ADISCON-MONITORWARE-MIB.txt: Adiscon Monitorware message MIB file -- -- March 2008, Andre Lorbach -- -- Copyright (c) 2008 by Adiscon GmbH -- All rights reserved. -- ***************************************************************** -- -- This MIB defines traps and variables to wrap syslog messages into -- snmp traps. IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, TimeTicks, NOTIFICATION-TYPE FROM SNMPv2-SMI OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF adiscon FROM ADISCON-MIB ; monitorware MODULE-IDENTITY LAST-UPDATED "200803170000Z" ORGANIZATION "www.adiscon-com" CONTACT-INFO "postal: Adiscon GmbH Mozartstrasse 21 D-97950 Grossrinderfeld Deutschland email: info@adiscon.com" DESCRIPTION "This MIB defines traps and variables to wrap syslog messages into snmp traps." REVISION "200803180000Z" DESCRIPTION "Fixed other minor issues." REVISION "200803170000Z" DESCRIPTION "Fixed syntax and other minor issues" REVISION "200803060000Z" DESCRIPTION "Added variable for EventSeverity" REVISION "200803050000Z" DESCRIPTION "Added a few new variables for the representation of MonitorWare properties. Also added a few new traps." REVISION "200803040000Z" DESCRIPTION "First draft" ::= { adiscon 1 } -- Printable string, using the ISO 8859-1 character set. DisplayString ::= OCTET STRING (SIZE (0..255)) SmallString ::= OCTET STRING (SIZE (0..64)) -- -- -- top level structure -- -- adiscon OBJECT IDENTIFIER ::= { enterprises 19406 } -- monitorware OBJECT IDENTIFIER ::= { adiscon 1 } monitorwarevars OBJECT IDENTIFIER ::= { monitorware 1 } monitorwaretraps OBJECT IDENTIFIER ::= { monitorware 2 } monitorwaregroups OBJECT IDENTIFIER ::= { monitorware 3 } genericvars OBJECT IDENTIFIER ::= { monitorwarevars 1 } syslogvars OBJECT IDENTIFIER ::= { monitorwarevars 2 } eventlogvars OBJECT IDENTIFIER ::= { monitorwarevars 3 } filemonvars OBJECT IDENTIFIER ::= { monitorwarevars 4 } ntservicemonvars OBJECT IDENTIFIER ::= { monitorwarevars 5 } -- ***************************************************************** -- Trap variables -- ***************************************************************** syslogMsg OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Syslog Message, this will contain the full syslog message including the full syslog header" ::= { syslogvars 1 } syslogSeverity OBJECT-TYPE SYNTAX INTEGER { emergency (0), alert (1), critical (2), error (3), warning (4), notice (5), info (6), debug (7) } MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Syslog severity(priority)." DEFVAL { 5 } ::= { syslogvars 2 } syslogFacility OBJECT-TYPE SYNTAX INTEGER { kern (0), user (1), mail (2), daemon (3), auth (4), syslog (5), lpr (6), news (7), uucp (8), cron (9), local0 (16), local1 (17), local2 (18), local3 (19), local4 (20), local5 (21), local6 (22), local7 (23) } MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Syslog facility." DEFVAL { 16 } ::= { syslogvars 3 } syslogTag OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Contains the SyslogTag Value." ::= { syslogvars 4 } genCustomerID OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Generic Property CustomerID." ::= { genericvars 1 } genSystemID OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Generic Property SystemID." ::= { genericvars 2 } genSource OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Generic Source Property." ::= { genericvars 3 } genTimereported OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Timestamp of when the event was reported." ::= { genericvars 4 } genTimegenerated OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Timestamp of when the event was generated." ::= { genericvars 5 } genIut OBJECT-TYPE SYNTAX INTEGER { unknown (0), syslog (1), heartbeat (2), nteventreport (3), snmptrap (4), filemonitor (5), pingprobe (8), portprobe (9), ntservicemonitor (10), diskspacemonitor (11), dbmonitor (12), serialmonitor (13), cpumonitor (14), alivemonrequest (16), smtpprobe (17), ftpprobe (18), httpprobe (19), pop3probe (20), imapprobe (21), nntpprobe (22), wevtmonv2 (23), smtplistener (24), snmpmonitor (25), alivemonecho (1999998) } MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "InfoUnit TypeID, defines from which Source the event is derived from." DEFVAL { 0 } ::= { genericvars 6 } genMsg OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Generic Message for this event" ::= { genericvars 7 } eventlogEventID OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "EventID of the EventLog Entry" ::= { eventlogvars 1 } eventlogEventType OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "EventLog Type of the EventLog Entry (Like Application, Security or System)" ::= { eventlogvars 2 } eventlogEventSource OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "EventLog Source of the EventLog Entry" ::= { eventlogvars 3 } eventlogEventCategoryID OBJECT-TYPE SYNTAX Integer32 (1..2147483647) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Event Category number of the EventLog Entry" ::= { eventlogvars 4 } eventlogEventCategoryName OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Event Category name of the EventLog Entry" ::= { eventlogvars 5 } eventlogEventUser OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Event User of the EventLog Entry" ::= { eventlogvars 6 } eventlogSeverity OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Textual representation of the Event Severity of the EventLog Entry, can be [INF], [WRN], [ERR], [AUS], [AUF] or [NON]" ::= { eventlogvars 7 } filemonGenericFilename OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Generic Filename template used to create the filename" ::= { filemonvars 1 } filemonGeneratedFilename OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Generated Filename, the source file of this event." ::= { filemonvars 2 } filemonMsgseperator OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The message seperator which was used." ::= { filemonvars 3 } ntserviceServiceName OBJECT-TYPE SYNTAX SmallString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Internal Name of the monitored service." ::= { ntservicemonvars 1 } ntserviceServiceDisplayName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Display Name of the monitored service." ::= { ntservicemonvars 2 } -- ***************************************************************** -- Trap definitions -- ***************************************************************** syslogtrap NOTIFICATION-TYPE OBJECTS { syslogMsg, syslogSeverity, syslogFacility } STATUS current DESCRIPTION "Syslogmessage Trap." ::= { monitorwaretraps 1 } monitorwaretrap NOTIFICATION-TYPE OBJECTS { genMsg, genSource, genTimegenerated, genIut } STATUS current DESCRIPTION "Generic Trap from monitorware events." ::= { monitorwaretraps 2 } eventmontrap NOTIFICATION-TYPE OBJECTS { genMsg, genSource, genTimegenerated, eventlogEventID, eventlogEventType, eventlogEventSource, eventlogSeverity, eventlogEventCategoryID, eventlogEventCategoryName, eventlogEventUser } STATUS current DESCRIPTION "Trap generated by the EventLog Monitor." ::= { monitorwaretraps 3 } filemontrap NOTIFICATION-TYPE OBJECTS { genMsg, genSource, genTimegenerated, filemonGenericFilename, filemonGeneratedFilename } STATUS current DESCRIPTION "Trap generated by the FileMonitor." ::= { monitorwaretraps 4 } ntservicetrap NOTIFICATION-TYPE OBJECTS { genMsg, genSource, genTimegenerated, ntserviceServiceName, ntserviceServiceDisplayName } STATUS current DESCRIPTION "Trap generated by the NT Service Monitor." ::= { monitorwaretraps 5 } -- -- Conformance-related definitions -- mwConfigGroupVariables OBJECT-GROUP OBJECTS { genCustomerID, genSystemID, genSource, genTimereported, genTimegenerated, genIut, genMsg, syslogMsg, syslogSeverity, syslogFacility, syslogTag, eventlogEventID, eventlogEventType, eventlogEventSource, eventlogEventCategoryID, eventlogEventCategoryName, eventlogEventUser, eventlogSeverity, filemonGenericFilename, filemonGeneratedFilename, filemonMsgseperator, ntserviceServiceName, ntserviceServiceDisplayName } STATUS current DESCRIPTION "All MonitorWare variables in one Object-Group." ::= { monitorwaregroups 1 } mwConfigGroupTraps NOTIFICATION-GROUP NOTIFICATIONS { syslogtrap, monitorwaretrap, eventmontrap, filemontrap, ntservicetrap } STATUS current DESCRIPTION "All MonitorWare traps in one Object-Group." ::= { monitorwaregroups 2 } END