Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

fmd(8)

Name

fmd - fault manager daemon

Synopsis

/usr/lib/fm/fmd/fmd [-V] [-f file] [-o opt=val] [-R dir]

Description

fmd is a daemon that runs in the background on each Solaris system. fmd receives telemetry information relating to problems detected by the system software, diagnoses these problems, and initiates proactive self-healing activities such as disabling faulty components. When appropriate, the fault manager also sends a message to the syslogd(8) service to notify an administrator that a problem has been detected. The message directs administrators to a knowledge article on Oracle's web site, https://support.oracle.com, which explains more about the problem impact and appropriate responses.

Each problem diagnosed by the fault manager is assigned a Universal Unique Identifier (UUID). The UUID uniquely identifies this particular problem across any set of systems. The fmdump(8) utility can be used to view the list of problems diagnosed by the fault manager, along with their UUIDs and knowledge article message identifiers. The fmadm(8) utility can be used to view the resources on the system believed to be faulty. The fmstat(8) utility can be used to report statistics kept by the fault manager. The fault manager is started automatically when Solaris boots, so it is not necessary to use the fmd command directly. Sun's web site explains more about what capabilities are currently available for the fault manager on Solaris.

Notification Services

syslog (package system/fault-management)

The standard notification mechanism for new diagnoses is by means of syslog, using the syslog-msgs fmd module delivered in the same package as fmd itself.

By default, only new problem diagnoses are messaged by means of syslog-msgs, using the syslog facility and severity as listed in the table below. An administrator can use svccfg(8) to request that other events in the problem resolution lifecycle are messaged through syslog-msgs:

# svccfg setnotify event syslog:{active|inactive}

See svccfg(8) for additional detail.

Event                Disposition Facility        Severity
--------------- ---------------- --------------- -------------
problem-diagnosed       active   LOG_DAEMON      LOG_ERR
problem-updated         inactive LOG_DAEMON      LOG_NOTICE
problem-repaired        inactive LOG_DAEMON      LOG_NOTICE
problem-resolved        inactive LOG_DAEMON      LOG_NOTICE
Email (package system/fault-management/smtp-notify)

Notification by means of email is an option for which an additional package must be installed. The SMF service, svc:/system/fm/smtp-notify:default, is delivered by means of the package system/fault-management/smtp-notify and notification preferences configured by means of svccfg(8). See smtp-notify(8) for additional detail. Note that in addition to configuring notification preferences for the problem lifecycle events listed above (problem-diagnosed, and so forth) this mechanism can also be configured through svccfg(8) to provide notification of SMF instance state transition and other events.

SNMP (package system/fault-management/snmp-notify)

Notification of new events using SNMP traps is an option delivered by the package system/fault-management/snmp-notify. The service svc:/system/fm/snmp-notify:default is responsible for raising SNMP traps for problem lifecycle and other designated events (including SMF instance state transition events, if so configured). See snmp-notify(8) for additional detail.

Global and Non-Global Solaris Zones

The fault manager service svc:/system/fmd:default service is configured in both global and non-global Solaris zones. In non-global zones, various hardware-oriented fault manager modules are not delivered, so it is a cut-down fault manager that runs there. In a non-global zone, the fault manager is focused on software events.

Options

The following options are supported

–f file

Read the specified configuration file prior to searching for any of the default fault manager configuration files.

–o opt=value

Set the specified fault manager option to the specified value. Fault manager options are currently a Private interface; see attributes(7) for information about Private interfaces.

–R dir

Use the specified root directory for all pathnames evaluated by the fault manager, instead of the default root (/).

–V

Print the fault manager's version to stdout and exit.

Exit Status

The following exit values are returned:

0

Successful completion

1

An error occurred which prevented the fault manager from initializing, such as failure to open the telemetry transport.

2

Invalid command-line options were specified.

Files

/etc/fm/fmd

Fault manager configuration directory

/usr/lib/fm/fmd

Fault manager library directory

/var/fm/fmd

Fault manager log directory

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/fault-management
Interface Stability
Committed

See Also

svcs(1), attributes(7), smf(7), fmadm(8), fmdump(8), fmstat(8), smtp-notify(8), snmp-notify(8), svccfg(8), syslogd(8)

http://support.oracle.com/msg/

Managing Faults, Defects, and Alerts in Oracle Solaris 11.4

Notes

The Fault Manager is managed by the service management facility, smf(7), under the service identifier:

 svc:/system/fmd:default

The service's status can be queried using the svcs(1) command. Administrators should not disable the Fault Manager service.