Print this page
NEX-8148 Alerts should be sent if cores are created on a system
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
@@ -19,16 +19,19 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2017 Nexenta Systems, Inc.
*/
#include "../common/sw_impl.h"
static const fmd_prop_t swde_props[] = {
{ "enable", FMD_TYPE_BOOL, "true" },
+ { "core_enable", FMD_TYPE_BOOL, "true" },
+ { "core_stacks_enable", FMD_TYPE_BOOL, "true" },
{ NULL, 0, NULL }
};
static const fmd_hdl_ops_t swde_ops = {
sw_recv, /* fmdo_recv - provided by common code */
@@ -47,11 +50,12 @@
/*
* Subsidiary diagnosis "modules" that we host.
*/
static const struct sw_subinfo *subde[SW_SUB_MAX] = {
&smf_diag_info,
- &panic_diag_info
+ &panic_diag_info,
+ &core_diag_info
};
void
_fmd_init(fmd_hdl_t *hdl)
{