If a problem with your network occurs, or if you suspect degraded network performance, you can retrieve the ireports that are generated by the network-monitor by using the fmdump command. These reports include the name of the datalink for which a potential problem was detected.
For example, you can retrieve an ireport by running the following command:
# fmdump -IVp -c 'ireport.os.sunos.net.datalink.*'
Specifies to retrieve information reports.
Specifies to dump the contents of the report.
Specifies to print the report.
Specifies the type of event.
The –c class option can be used to output only those events that match a specific class. Events that are generated by the monitor use the 'ireport.os.sunos.net.datalink' class prefix.
For more information, see the fmdump(1M) man page.
The following example shows the output of an ireport that is posted by the network-monitor.
nvlist version: 0 class = ireport.os.sunos.net.datalink.mtu_mismatch version = 0x0 uuid = f3832064-e83b-6ce8-9545-8588db76493d pri = high detector = fmd:///module/network-monitor attr = (embedded nvlist) nvlist version: 0 linkname = net0 linkid = 0x3 mtu = 0x1b58 (end attr) __ttl = 0x1 __tod = 0x513a4f2e 0x279ba218
The output of this particular ireport includes the following information:
Specifies the type of error condition. The ireports that are posted by the network-monitor module are prefixed by ireport.os.sunos.net.datalink. This information is specified with the –c option, as shown in the previous example.
Specifies the name of the datalink for which the condition was detected.