In order to make SNMP alerts work properly, please allow the following IP range in your firewall settings: 207.250.234.0/24
The Simple Network Management Protocol (SNMP) alert sends an SNMP trap to an SNMP management console, or server. This option integrates Dotcom-Monitor alerts directly into an IT management system, so alerts are treated and routed like any other alert within an enterprise. Currently, Dotcom-Monitor® supports SNMP v1, v2, and v3.
Dotcom-Monitor has a registered Enterprise OID, which is 31201. Alerts are sent as an Enterprise type, which is value six. For a custom bit, an Error alert is value one; an Uptime alert is value two; a Test alert is value three.
Alerts are sent over the Internet on a standard SNMP port.
-
Dotcom-Monitor trap MIB file for SNMP v1
-- Dotcom-Monitor Inc -- Private Enterprise MIB definition -- 09/02/2015 --Dotcom-Monitor Support --Postal: 5125 County Road 101, Suite 100 -- Minnetonka, MN 55345 -- USA -- -- Tel: 888-479-0741; Fax: 888-794-3554 -- -- E-mail: Support@Dotcom-Monitor.Com -- This file describes the Dotcom-Monitor Inc Enterprise MIB. -- It includes object identifiers and object definitions for the -- Dotcom-Monitor Inc only, and should be used for compilation by a management -- tool in order to extend the tool to support the Dotcom-Monitor Inc MIB. DOTCOM-MONITOR-MIB DEFINITIONS ::= BEGIN IMPORTS TRAP-TYPE FROM RFC-1215 DisplayString FROM RFC1213-MIB OBJECT-TYPE FROM RFC-1212 enterprises FROM RFC1155-SMI; -- tree structure dotcom-monitor OBJECT IDENTIFIER ::= { enterprises 31201 } variables OBJECT IDENTIFIER ::= { dotcom-monitor 255 } -- variables notificationInfo OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Information about the source of notification." ::= { variables 1 } deviceId OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "Device ID." ::= { variables 4 } deviceName OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Device name." ::= { variables 5 } firstErrorCode OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION "First error code." ::= { variables 6 } firstErrorDscr OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Error code description." ::= { variables 7 } errorFirstConfirmed OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Error description." ::= { variables 8 } -- Generic Traps error TRAP-TYPE ENTERPRISE dotcom-monitor VARIABLES { notificationInfo, deviceId, deviceName, firstErrorCode, firstErrorDscr, errorFirstConfirmed } DESCRIPTION "This indicates that the trap contains info about Device Errors" ::= 1 uptime TRAP-TYPE ENTERPRISE dotcom-monitor VARIABLES { notificationInfo, deviceId } DESCRIPTION "This indicates that the trap contains info about Device Uptime" ::= 2 test TRAP-TYPE ENTERPRISE dotcom-monitor VARIABLES { notificationInfo, deviceId, deviceName } DESCRIPTION "This is the trap that used for test purposes only." ::= 3 event TRAP-TYPE ENTERPRISE dotcom-monitor VARIABLES { notificationInfo, deviceId } DESCRIPTION "This indicates that the trap contains info about Device Events" ::= 4 END
-
Dotcom-Monitor trap MIB file for SNMP v2
-- Dotcom-Monitor Inc -- Private Enterprise MIB definition -- 09/02/2015 --Dotcom-Monitor Support --Postal: 5125 County Road 101, Suite 100 -- Minnetonka, MN 55345 -- USA -- -- Tel: 888-479-0741; Fax: 888-794-3554 -- -- E-mail: Support@Dotcom-Monitor.Com -- This file describes the Dotcom-Monitor Inc Enterprise MIB. -- It includes object identifiers and object definitions for the -- Dotcom-Monitor Inc only, and should be used for compilation by a management -- tool in order to extend the tool to support the Dotcom-Monitor Inc MIB. DOTCOM-MONITOR-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, enterprises FROM SNMPv2-SMI DisplayString FROM SNMPv2-TC OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF; dotcomMonitorMIB MODULE-IDENTITY LAST-UPDATED "202011100000Z" ORGANIZATION "Dotcom-Monitor." CONTACT-INFO "Dotcom-Monitor Inc Postal: 5125 County Road 101, Suite 100 Minnetonka, MN 55345 USA Tel: 888-479-0741; Fax: 888-794-3554 E-mail: Support@Dotcom-Monitor.Com" DESCRIPTION "The MIB module for Dotcom-Monitor.Com" REVISION "202011100000Z" DESCRIPTION "Added deviceId, deviceName, firstErrorCode, firstErrorDscr, errorFirstConfirmed." REVISION "202010220000Z" DESCRIPTION "Initial version of this MIB." ::= { enterprises 31201 254 } dotcommonitor OBJECT IDENTIFIER ::= { enterprises 31201 } variables OBJECT IDENTIFIER ::= { dotcommonitor 255 } notificationInfo OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Information about the source of notification." ::= { variables 1 } deviceId OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Device ID." ::= { variables 4 } deviceName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Device name." ::= { variables 5 } firstErrorCode OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "First error code." ::= { variables 6 } firstErrorDscr OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Error code decription." ::= { variables 7 } errorFirstConfirmed OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Error description." ::= { variables 8 } -- Generic Traps error NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId, deviceName, firstErrorCode, firstErrorDscr, errorFirstConfirmed } STATUS current DESCRIPTION "This indicates that the notification contains info about Device Errors" ::= {dotcommonitor 1} uptime NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId, deviceName } STATUS current DESCRIPTION "This indicates that the notification contains info about Device Uptime" ::= {dotcommonitor 2} test NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId, deviceName } STATUS current DESCRIPTION "This is the notification that used for test purposes only." ::= {dotcommonitor 3} event NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId, deviceName } STATUS current DESCRIPTION "This indicates that the notification contains info about Device Events" ::= {dotcommonitor 4} dotcomBasicGroup OBJECT-GROUP OBJECTS { notificationInfo, deviceId } STATUS current DESCRIPTION "Contains data structures used in notifications." ::= { variables 3 } dotcomNotificationsGroup NOTIFICATION-GROUP NOTIFICATIONS { event, uptime, error, test } STATUS current DESCRIPTION "The notifications of events relating to Dotcom-Monitor monitoring process." ::= {variables 2} END
Example
//Downtime message community=public, enterprise=1.3.6.1.4.1.31201, uptime=02:28:10, agent_ip=207.250.235.88, generic_num=6, specificTrap_num=1, specificTrap_name=, version=Ver1, 1.3.6.1.4.1.31201.1="Dvc:Status Change;Tsk:timeanddate.com;Loc:pa - dana_;Err:400;Dsc:Invalid keyword(s). Not found: ':01:';11/23/2020 11:28:07", 1.3.6.1.4.1.31201.255.1="Dvc:Status Change;Tsk:timeanddate.com;Loc:pa - dana_;Err:400;Dsc:Invalid keyword(s). Not found: ':01:';11/23/2020 11:28:07", 1.3.6.1.4.1.31201.255.4=7935, 1.3.6.1.4.1.31201.255.5="Status Change",1.3.6.1.4.1.31201.255.6=400,1.3.6.1.4.1.31201.255.7=Validation, 1.3.6.1.4.1.31201.255.8="Invalid keyword(s). Not found: ':01:'
//Uptime message community=public, enterprise=1.3.6.1.4.1.31201, uptime=02:22:00, agent_ip=207.250.235.88, generic_num=6, specificTrap_num=2, specificTrap_name=, version=Ver1, 1.3.6.1.4.1.31201.2="Device: Status change back online at 11/23/2020 11:21:57 AM Location: monitor 1_SR122", 1.3.6.1.4.1.31201.255.1="Device: Status change back online at 11/23/2020 11:21:57 AM Location: monitor 1_SR122", 1.3.6.1.4.1.31201.255.4=7935, 1.3.6.1.4.1.31201.255.5="Status change"