Print this page
NEX-17796 libfmd_snmp performance is awful
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
NEX-17829 libfmd_snmp and snmp-notify should provide FMRIs for all fault types
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-3125 libfmd_snmp should compile with newer net-snmp
Reviewed by: Gordon Ross <gwr@nexenta.com>
Reviewed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

@@ -16,13 +16,15 @@
 # fields enclosed by brackets "[]" replaced with your own identifying
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
+
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+# Copyright 2018 Nexenta Systems, Inc.
 #
 
 LIBRARY = libfmd_snmp.a
 VERS = .1
 

@@ -29,12 +31,11 @@
 LIBSRCS = \
         debug_subr.c    \
         init.c          \
         module.c        \
         problem.c       \
-        resource.c      \
-        scheme.c
+        resource.c
 
 OBJECTS = $(LIBSRCS:%.c=%.o)
 
 include ../../../Makefile.lib
 include ../../Makefile.lib

@@ -54,11 +55,11 @@
 # No lint libraries are delivered for Net-SNMP yet
 SNMPLIBS = -lnetsnmp -lnetsnmphelpers -lnetsnmpagent
 lint := SNMPLIBS=
 
 LDLIBS += $(MACH_LDLIBS)
-LDLIBS += -lfmd_adm -luutil -lnvpair -ltopo
+LDLIBS += -lfmd_adm -luutil -lnvpair -ltopo -lfmevent
 LDLIBS += $(SNMPLIBS)
 LDLIBS += -lc
 
 LINTFLAGS = -msux $(C99LMODE)
 LINTFLAGS64 = -msux -m64 $(C99LMODE)