Why is the rsp probe failing to discover all of the drives on some of our Unix machines.

Document ID : KB000009260
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When setting up new profiles for RSP probe we are seeing some drives not showing properly in the RSP probe.
We can see in the logs all of the drives are seen and when we run the RSP disk discovery command  df -P -k -l
we can see the drives but the rsp probe is still not displaying them all.
We can not figure out why...

Environment:
*UIM 8.51Monitored devices are HPUX v11Hub Server with rsp probe is Linux v3.6.32RSP probe version: 5.30*Robot version 7.93Note: * items should not be a factor.
Cause:

The problem is when we  run the command  df -P -k -l that all of the drive information is not listed with
each drive in a single line.

expected output format:

/usr/bin/df -P -k -l
Filesystem          1024-blocks  Used  Available Capacity Mounted on
/dev/vg00/lvol5       2094392  1706216   388176    82%   /tmp
/dev/vg03/lvu01       10158196     3430 10154766     1%   /u01
/dev/vg03/lvu02       10158196     3430 10154766     1%   /u02
/dev/vg03/lvu03       10167880   311388  9856492     4%   /u03
/dev/vg00/lvol6       4175624  1729928  2445696    42%   /usr


Format problem seen in this case:
/usr/bin/df -P -k -l
Filesystem          1024-blocks  Used  Available Capacity Mounted on
/dev/vg01/ctmagent    3932384     2551  3929833     1%   /software/ctmagent
/dev/vg01/oracle10g
                      7315206  6620574   694632    91%   /software/oracle10g
/dev/vg01/oracle8i    5077621  2598012  2479609    52%   /software/oracle8i
/dev/vg01/oracle9i    5136094  3306728  1829366    65%   /software/oracle9i
/dev/vg00/lv_syscfg
                      1968354    36235  1932119     2%   /syscfg

Resolution:

To correct this problem we changed the default disk command
from:
df -P -k -l
To:
/usr/bin/df -P -k -l | awk '{if (NF==1) {line=$0;getline;sub(" *"," ");print line$0} else {print}}'
 
the following steps were done to correct in the probe:

1. Open RSP configurations using probe GUI
2. Go to LUA Editor
3. Open “Map functions”
4. Select appropriate Script File, Type and OS name from drop down
5. Write new command in Command box that we want to modify,
6. Click Map button.
7. Click save icon . (beside Map functions icon)
8. Apply changes.

SS1.png

Do the same steps for disk Type also

SS2.png