Discovery_UNIX does not ignore /devices psuedo filesystems. (NETIQKB54810)

  • 7754810
  • 02-Feb-2007
  • 11-Oct-2007

Environment

AppManager 5.x
AppManager 6.0.x
Discovery_UNIX Knowledge Script

SuSE Linux
Sun Solaris
Red Hat Linux
IBM AIX
HP-UX
FreeBSD

Resolution

Modify Discovery_UNIX to search for "/dev/" instead of "/dev".  This can be done on approximately line 1180.  The original line reads:

my @listOfLogicalDisks = grep(/^\/dev/,

The modified line should read:

my @listOfLogicalDisks = grep(/^\/dev\//,

Cause

The Discovery_UNIX script has an incorrect regular expression.  It reads "grep(/^\/dev/,"  and thus will match /dev as well as /devices.

Additional Information

Formerly known as NETIQKB54810

Manually modifying Knowledge Scripts could render the KS unusable.  Please contact NetIQ Technical Support for any additional information or assistance.