NFShung and NFSstale stanzas do not populate in newly discovered disks
search cancel

NFShung and NFSstale stanzas do not populate in newly discovered disks

book

Article ID: 402517

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

In the cdm.cfg in the <fixed_default> section there are two new stanzas for nfs_hung and nfs_stale.

They look like:

       <nfs_hung>
         active = yes
         message = NFSHung
      </nfs_hung>
      <nfs_stale>
         active = yes
         message = NFSStale
      </nfs_stale>

The issue is that when a new filesystem is discovered these values are not used. They are in the fixed_default section but when the default is used to create the new monitoring stanza for the filesystems in the <fixed> section these sections do not appear in the configuration sections for those filesystems.

All the other defaults in the <fixed_default> section are being correctly included but these two sections are missing.

Environment

  • DX UIM - Any Version
  • CDM Probe 8.01 or higher

Cause

These stanzas will only be applied to filesystems detected as NFS filesystems.  This is determined by filesystem_type in the cdm.cfg for the disk in question.

example: filesystem_type = nfs4

If the filesystem type is detected as something different (e.g. "xfs") then these options do not apply and they will not be copied to that disk's configuration.

 

Resolution

Ensure the filesystems are actually NFS filesystems and not local device filesystems, as these sections will only appear underneath NFS filesystems.