I am trying to upload .mib file into a trap reciever to route my SNMP traps. It says 0 files added, when i treid to upload. What might be the probelm. I did all neccessary configratons in trap reciever. Mib files i used are like below....
Old mib file.... ------------ With this file i am able to load this mib file and i am able to send traps also to trap reciever. The contents of the fiel are as follows... -- *************** -- Filename: dash.mib -- Description: SNMPv2/SMIv2 MIB for Tertio -- -- %version: 1 % -- %date_modified: Wed Dec 03 12:24:46 2008 % -- ***************
DASH-MIB DEFINITIONS ::= BEGIN
IMPORTS enterprises, IpAddress, Counter, Gauge, TimeTicks, Integer32 FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 TRAP-TYPE FROM RFC-1215;
-- ============================================================================= -- iso.org.dod.internet.private.enterprises.evolving (1.3.6.1.4.1.653) -- =============================================================================
DisplayString ::= OCTET STRING
evolving OBJECT IDENTIFIER ::= { enterprises 653 }
evolvingProduct OBJECT IDENTIFIER ::= { evolving 1000 }
-- ============================================================================= -- MODULE IDENTITY -- =============================================================================
dash MODULE-IDENTITY LAST-UPDATED "200904161141Z" ORGANIZATION "Evolving Systems Ltd." CONTACT-INFO " PEG
Evolving Systems Ltd One Angel Square Torrens Street London EC1V 1PL UK
Tel: +44 (0) 20 7843 4080 Fax: +44 (0) 20 7843 4001
E-mail: [email protected]" DESCRIPTION "The MIB module for Dashboard" ::= { evolvingProduct 3 }
-- ============================================================================= -- Event Grouping (must be 0 for for SNMPv1 SNMPv2 interworking with proxies) -- =============================================================================
dashTraps OBJECT-IDENTITY STATUS current DESCRIPTION "Root of Notifications. " ::= { dash 0 }
-- ============================================================================= -- Variable Groupings -- =============================================================================
dashInfo OBJECT-IDENTITY STATUS current DESCRIPTION "Root of Link Info variables. " ::= { dash 1 }
-- ============================================================================= -- Internal Variables - Error Reporting -- =============================================================================
dashHost OBJECT-TYPE SYNTAX DisplayString (SIZE (0..128)) MAX-ACCESS accessible-for-notify STATUS mandatory DESCRIPTION "Host raising the alarm. " ::= { dashInfo 1 }
dashComponent OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS mandatory DESCRIPTION "Process raising the alarm. " ::= { dashInfo 2 }
dashId OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "Id for process raising the alarm. " ::= { dashInfo 3 }
dashProcess OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS mandatory DESCRIPTION "Process raising the alarm. " ::= { dashInfo 4 }
dashSource OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "Source originaing the error " ::= { dashInfo 5 }
dashLine OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "Line where the error is raised " ::= { dashInfo 6 }
dashSeverity OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS mandatory DESCRIPTION "The severity of the error " ::= { dashInfo 7 }
dashPackage OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "The package containing this error " ::= { dashInfo 8 }
dashErrno OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "The error number " ::= { dashInfo 9 }
dashErrmsg OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "The error message " ::= { dashInfo 10 }
dashText OBJECT-TYPE SYNTAX DisplayString (SIZE (1..255)) MAX-ACCESS accessible-for-notify STATUS optional DESCRIPTION "Additional error string " ::= { dashInfo 11 }
dashTime OBJECT-TYPE SYNTAX DateAndTime MAX-ACCESS accessible-for-notify STATUS mandatory DESCRIPTION "Timestamp when trap generated " ::= { dashInfo 12 }
-- ============================================================================= -- Notification Events Group -- =============================================================================
dashEvent TRAP-TYPE ENTERPRISE dash VARIABLES { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } DESCRIPTION "An Dashboard Alarm has occured." ::= 0
dashFatalEvent TRAP-TYPE ENTERPRISE dash VARIABLES { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } DESCRIPTION "A Fatal Error has occured." ::= 1
dashErrorEvent TRAP-TYPE ENTERPRISE dash VARIABLES { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } DESCRIPTION "An Error has occured." ::= 2
dashWarningEvent TRAP-TYPE ENTERPRISE dash VARIABLES { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } DESCRIPTION "A Warning Message has been received." ::= 3
dashInfoEvent TRAP-TYPE ENTERPRISE dash VARIABLES { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } DESCRIPTION "An Information Message has been received." ::= 4
END
New mib file... ----------------
This new mib file i am not able to load this file into trap reciever and i am not able to send traps also to trap reciever... The file is like below...
-- *************** -- Filename: dash.mib -- Description: SNMPv2/SMIv2 MIB for Tertio -- -- %version: 2 % -- %date_modified: Wed Dec 03 12:24:46 2008 % -- ***************
DASH-MIB DEFINITIONS ::= BEGIN
IMPORTS enterprises, MODULE-IDENTITY, OBJECT-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE FROM SNMPv2-SMI OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF DisplayString, DateAndTime FROM SNMPv2-TC;
-- ============================================================================= -- MODULE IDENTITY -- =============================================================================
dash MODULE-IDENTITY LAST-UPDATED "200904161141Z" ORGANIZATION "Evolving Systems Ltd." CONTACT-INFO " PEG
Evolving Systems Ltd One Angel Square Torrens Street London EC1V 1PL UK
Tel: +44 (0) 20 7843 4080 Fax: +44 (0) 20 7843 4001
E-mail: [email protected]" DESCRIPTION "The MIB module for Dashboard" ::= { evolvingProduct 3 }
-- ============================================================================= -- iso.org.dod.internet.private.enterprises.evolving (1.3.6.1.4.1.653) -- =============================================================================
evolving OBJECT IDENTIFIER ::= { enterprises 653 }
evolvingProduct OBJECT IDENTIFIER ::= { evolving 1000 }
-- ============================================================================= -- Event Grouping (must be 0 for for SNMPv1 SNMPv2 interworking with proxies) -- =============================================================================
dashTraps OBJECT-IDENTITY STATUS current DESCRIPTION "Root of Notifications. " ::= { dash 0 }
-- ============================================================================= -- Variable Groupings -- =============================================================================
dashMIBGroup OBJECT IDENTIFIER ::= { dash 1 }
dashInfo OBJECT-IDENTITY STATUS current DESCRIPTION "Root of Link Info variables. " ::= { dash 3 }
-- ============================================================================= -- Internal Variables - Error Reporting -- =============================================================================
dashHost OBJECT-TYPE SYNTAX DisplayString (SIZE (0..128)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Host raising the alarm. " ::= { dashInfo 1 }
dashComponent OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Process raising the alarm. " ::= { dashInfo 2 }
dashId OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Id for process raising the alarm. " ::= { dashInfo 3 }
dashProcess OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Process raising the alarm. " ::= { dashInfo 4 }
dashSource OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Source originaing the error " ::= { dashInfo 5 }
dashLine OBJECT-TYPE SYNTAX DisplayString (SIZE (0..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Line where the error is raised " ::= { dashInfo 6 }
dashSeverity OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The severity of the error " ::= { dashInfo 7 }
dashPackage OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The package containing this error " ::= { dashInfo 8 }
dashErrno OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The error number " ::= { dashInfo 9 }
dashErrmsg OBJECT-TYPE SYNTAX DisplayString (SIZE (1..32)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "The error message " ::= { dashInfo 10 }
dashText OBJECT-TYPE SYNTAX DisplayString (SIZE (1..255)) MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Additional error string " ::= { dashInfo 11 }
dashTime OBJECT-TYPE SYNTAX DateAndTime MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "Timestamp when trap generated " ::= { dashInfo 12 }
-- ============================================================================= -- Notification Events Group -- =============================================================================
dashEvent NOTIFICATION-TYPE OBJECTS { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } STATUS current DESCRIPTION "An Dashboard Alarm has occured." ::= { dashTraps 0 }
dashFatalEvent NOTIFICATION-TYPE OBJECTS { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } STATUS current DESCRIPTION "A Fatal Error has occured." ::= { dashTraps 1 }
dashErrorEvent NOTIFICATION-TYPE OBJECTS { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } STATUS current DESCRIPTION "An Error has occured." ::= { dashTraps 2 }
dashWarningEvent NOTIFICATION-TYPE OBJECTS { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } STATUS current DESCRIPTION "A Warning Message has been received." ::= { dashTraps 3 }
dashInfoEvent NOTIFICATION-TYPE OBJECTS { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } STATUS current DESCRIPTION "An Information Message has been received." ::= { dashTraps 4 }
dashNotificationGroup NOTIFICATION-GROUP NOTIFICATIONS { dashEvent, dashFatalEvent, dashErrorEvent, dashWarningEvent, dashInfoEvent } STATUS current DESCRIPTION "A collection of notifications to report DSA errors" ::= { dashMIBGroup 0 }
dashObjectGroup OBJECT-GROUP OBJECTS { dashHost, dashComponent, dashId, dashProcess, dashSource, dashLine, dashSeverity, dashPackage, dashErrno, dashErrmsg, dashText, dashTime } STATUS current DESCRIPTION "A collection of objects to report DSA errors" ::= { dashMIBGroup 1 }
END
Add comment