• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Performing Network Diagnostics in Solaris 11 with “network-monitor”

by admin

network-monitor is a fault manager daemon (fmd) transport module utility. The network-monitor module:

  • Monitors network resources
  • Reports conditions that might lead to limited or degraded network functionality
  • Generates an ireport on detecting an abnormal network condition
  • Does not diagnose the error condition
  • Does not perform any recovery actions

You can use the fmdump command to retrieve ireports.

Managing the network-monitor Module

You can use the fmadm command to report the current status of the network-monitor module, which is displayed as active when it is performing fault monitoring, as shown in the example below.

# fmadm config
MODULE              VERSION    STATUS    DESCRIPTION        
cpumem-retire       1.1        active    CPU/Memory Retire Agent      
disk-diagnosis      0.1        active    Disk Diagnosis engine     
...                  
network-monitor     1.0        active    Network monitor

You control the state of the network-monitor module by setting the enable property to true in the /usr/lib/fm/fmd/plugins/network-monitor.conf configuration file, as shown in the second example below. The monitor will be active upon reboot.

# vi /usr/lib/fm/fmd/plugins/network-monitor.conf
...
# enable
#
# Enable/disable the network-monitor. 
#
setprop enable true
...

Retrieving Reports That Are Generated by the network-monitor Module

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 module by using the fmdump command. These reports include the name of the datalink for which a potential problem was detected. Use the fmdump command to retrieve the ireports:

# fmdump –Ivp –c 'ireport.os.sunos.net.datalink.*'

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

Viewing Statistics of the network-monitor Fault Management Module

The fmstat command reports fault management module statistics. You can also use the fmstat command to view statistics for diagnosis engines and agents that are currently participating in fault management, which includes the network-monitor transport module utility. Use the fmstat command to view statistics that are kept by the network-monitor fault management module:

# fmstat –m network-monitor

                 NAME   VALUE   DESCRIPTION    
mtu-mismatch.allocerr   0       memory allocation errors     
 mtu-mismatch.enabled   true    operating status for mtu-mismatch 
 mtu-mismatch.nprobes   7       number of transmitted ICMP probes 
 mtu-mismatch.procerr   0       errors processing datalinks 
           sysev_drop   0       number of dropped sysevents 
vlan-mismatch.enabled   true    operating status for vlan-mismatch

Filed Under: Solaris, Solaris 11

Some more articles you might also be interested in …

  1. SVM : How to set boot device at OBP for mirrored root disk
  2. Solaris : How to increase the Inodes on UFS file system with newfs command
  3. Solaris Volume Manager (SVM) : How to Use Mirrors to Roll Back System Changes
  4. How to configure additional IP address on the same interface in solaris zones
  5. How to Backup and Restore ZFS root pool in Solaris 10
  6. Script to reset the iostat errors counters (hard/soft/trn) without reboot
  7. A beginners guide to Solaris performance monitoring and troubleshooting
  8. How to configure passwordless ssh in Solaris
  9. Solaris 10 boot process : x86/x64
  10. Solaris 11.2 : Adding new resources to a running zone online

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright