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>

*** 22,36 **** /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _FMD_ADM_H #define _FMD_ADM_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <fm/fmd_api.h> #ifdef __cplusplus extern "C" { #endif --- 22,38 ---- /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2018 Nexenta Systems, Inc. + */ + #ifndef _FMD_ADM_H #define _FMD_ADM_H #include <fm/fmd_api.h> #ifdef __cplusplus extern "C" { #endif
*** 92,102 **** --- 94,108 ---- #define FMD_ADM_RSRC_INVISIBLE 0x4 /* resource is not directly visible */ typedef struct fmd_adm_caseinfo { const char *aci_uuid; const char *aci_code; + const char *aci_type; + const char *aci_severity; const char *aci_url; + const char *aci_desc; + const char *aci_fmri; nvlist_t *aci_event; } fmd_adm_caseinfo_t; typedef int fmd_adm_rsrc_f(const fmd_adm_rsrcinfo_t *, void *); typedef int fmd_adm_case_f(const fmd_adm_caseinfo_t *, void *);