In order to make SNMP alerts work properly, please allow the following IP range in your firewall settings: 8.29.56.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 TimeTicks, 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 the 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 TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "Date-Time when the error occurred." ::= { variables 8 } errorFirstConfirmedType OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Error type." ::= { variables 9 } errorFirstConfirmedLocation OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory DESCRIPTION "Error location." ::= { variables 10 } -- Generic Traps error TRAP-TYPE ENTERPRISE dotcom-monitor VARIABLES { notificationInfo, deviceId, deviceName, firstErrorCode, firstErrorDscr, errorFirstConfirmed, errorFirstConfirmedType, errorFirstConfirmedLocation } 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 } 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, TimeTicks, 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, errorFirstConfirmedType, errorFirstConfirmedLocation." 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 TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "Date-Time when the error occurred." ::= { variables 8 } errorFirstConfirmedType OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Error type." ::= { variables 9 } errorFirstConfirmedLocation OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Error location." ::= { variables 10 } -- Generic Traps error NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId, deviceName, firstErrorCode, firstErrorDscr, errorFirstConfirmed, errorFirstConfirmedType, errorFirstConfirmedLocation } STATUS current DESCRIPTION "This indicates that the notification contains info about Device Errors" ::= {dotcommonitor 1} uptime NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId } STATUS current DESCRIPTION "This indicates that the notification contains info about Device Uptime" ::= {dotcommonitor 2} test NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId } STATUS current DESCRIPTION "This is the notification that used for test purposes only." ::= {dotcommonitor 3} event NOTIFICATION-TYPE OBJECTS { notificationInfo, deviceId } 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:28, agent_ip=207.250.234.88, generic_num=6, specificTrap_num=1, specificTrap_name=, version=Ver1, 1.3.6.1.4.1.31201.1="Dvc:ServerView Check;Tsk:timeanddate.com;Loc:Dallas;Err:400;Dsc:Invalid keyword(s). Not found: ':01:', ':02:', ';3/23/2021 10:28:24 ", 1.3.6.1.4.1.31201.255.1="Dvc:ServerView Check;Tsk:timeanddate.com;Loc:Dallas;Err:400;Dsc:Invalid keyword(s). Not found: ':01:', ':02:', ';3/23/2021 10:28:24 ", 1.3.6.1.4.1.31201.255.4=160290, 1.3.6.1.4.1.31201.255.5="ServerView Check", 1.3.6.1.4.1.31201.255.6=400, 1.3.6.1.4.1.31201.255.7="Invalid keyword(s). Not found: ':01:', ':02:', ':03:', ':04:', ':05:', ':11:', ':12:', ':13:', ':14:', ':15:', ':21:', ':22:', ':23:', ':24:', ':25:', ':31:', ':32:', ':33:', ':34:', ':35:', ':41:', ':42:', ':43:', ':44:', ':45:', ':51:', ':52:', ':5", 1.3.6.1.4.1.31201.255.8=1616513304, 1.3.6.1.4.1.31201.255.9=Validation, 1.3.6.1.4.1.31201.255.10=Dallas
//Uptime message community=public, enterprise=1.3.6.1.4.1.31201, uptime=02:41:30, agent_ip=207.250.234.88, generic_num=6, specificTrap_num=2, specificTrap_name=, version=Ver1, 1.3.6.1.4.1.31201.2="Device: ServerView Check back online at 3/23/2021 10:41:26 AM Location: Dallas", 1.3.6.1.4.1.31201.255.1="Device: Server View Check back online at 3/23/2021 10:41:26 AM Location: Dallas", 1.3.6.1.4.1.31201.255.4=160290