Print this page
NEX-17772 libfmd_snmp should learn about new FmProblem fields
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-16536 SUN-IREPORT-MIB is broken
NEX-16537 enhance FM traps
NEX-16545 SMF dict should have obsolete entries removed
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-14494 FMA related SNMP traps should add description
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

@@ -19,10 +19,11 @@
  * CDDL HEADER END
  */
 
 /*
  * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2018 Nexenta Systems, Inc.
  */
 
 #ifndef _FMD_SNMP_H
 #define _FMD_SNMP_H
 

@@ -39,15 +40,20 @@
 
 #define SUNFMPROBLEMTABLE_OID           SUNFM_OID, 1
 
 #define SUNFMPROBLEM_COL_UUIDINDEX      1
 #define SUNFMPROBLEM_COL_UUID           2
-#define SUNFMPROBLEM_COL_CODE           3
-#define SUNFMPROBLEM_COL_URL            4
-#define SUNFMPROBLEM_COL_DIAGENGINE     5
-#define SUNFMPROBLEM_COL_DIAGTIME       6
-#define SUNFMPROBLEM_COL_SUSPECTCOUNT   7
+#define SUNFMPROBLEM_COL_HOSTNAME       3
+#define SUNFMPROBLEM_COL_CODE           4
+#define SUNFMPROBLEM_COL_TYPE           5
+#define SUNFMPROBLEM_COL_SEVERITY       6
+#define SUNFMPROBLEM_COL_URL            7
+#define SUNFMPROBLEM_COL_DESC           8
+#define SUNFMPROBLEM_COL_FMRI           9
+#define SUNFMPROBLEM_COL_DIAGENGINE     10
+#define SUNFMPROBLEM_COL_DIAGTIME       11
+#define SUNFMPROBLEM_COL_SUSPECTCOUNT   12
 
 #define SUNFMPROBLEM_COLMIN             SUNFMPROBLEM_COL_UUID
 #define SUNFMPROBLEM_COLMAX             SUNFMPROBLEM_COL_SUSPECTCOUNT
 
 #define SUNFMFAULTEVENTTABLE_OID        SUNFM_OID, 2

@@ -118,16 +124,17 @@
 
 #define SUNIREPORTNOTIFICATIONENTRY     SUNIREPORT_OID, 1
 
 #define SUNIREPORTHOSTNAME_OID          SUNIREPORTNOTIFICATIONENTRY, 1
 #define SUNIREPORTMSGID_OID             SUNIREPORTNOTIFICATIONENTRY, 2
-#define SUNIREPORTDESCRIPTION_OID       SUNIREPORTNOTIFICATIONENTRY, 3
-#define SUNIREPORTTIME_OID              SUNIREPORTNOTIFICATIONENTRY, 4
-#define SUNIREPORTSMFFMRI_OID           SUNIREPORTNOTIFICATIONENTRY, 5
-#define SUNIREPORTSMFFROMSTATE_OID      SUNIREPORTNOTIFICATIONENTRY, 6
-#define SUNIREPORTSMFTOSTATE_OID        SUNIREPORTNOTIFICATIONENTRY, 7
-#define SUNIREPORTTRANSITIONREASON_OID  SUNIREPORTNOTIFICATIONENTRY, 8
+#define SUNIREPORTSEVERITY_OID          SUNIREPORTNOTIFICATIONENTRY, 3
+#define SUNIREPORTDESCRIPTION_OID       SUNIREPORTNOTIFICATIONENTRY, 4
+#define SUNIREPORTTIME_OID              SUNIREPORTNOTIFICATIONENTRY, 5
+#define SUNIREPORTSMFFMRI_OID           SUNIREPORTNOTIFICATIONENTRY, 6
+#define SUNIREPORTSMFFROMSTATE_OID      SUNIREPORTNOTIFICATIONENTRY, 7
+#define SUNIREPORTSMFTOSTATE_OID        SUNIREPORTNOTIFICATIONENTRY, 8
+#define SUNIREPORTTRANSITIONREASON_OID  SUNIREPORTNOTIFICATIONENTRY, 9
 
 #define SUNIREPORTTRAPS_OID             SUNIREPORT_OID, 2, 0
 #define SUNIREPORTTRAP_OID              SUNIREPORTTRAPS_OID, 1