Description of problem:
Currently, JON will only inventory local and network file systems. For local file systems, the Solaris native library only identifies file system types of ufs as being local. From the output for /var, /opt, etc, the file system type is lsof which is a loopback file system type on Solaris. These file systems will be ignored by JON as the underlying type is not known or guaranteed.
Customer would like the ability to manually add filesystems to JON.
ips - does sigar support this?
Please run the below commands on a Solaris box and paste the output into this BZ:
java -jar sigar.jar df
This will help me add support for autodiscovering lsof filesystems.
I'd do it myself, but I don't have a Solaris box handy.
Here's an example for you... This is using the agent provided with JON 2.4.0GA
/opt/jboss/rhq-agent/lib$ java -jar sigar-126.96.36.199.jar df
Filesystem Size Used Avail Use% Mounted on Type
/ 6.0G 4.3G 1.6G 73% / vxfs/local
/dev 6.0G 4.3G 1.6G 73% /dev lofs/none
/opt 25G 2.0G 22G 9% /opt lofs/none
/var 4.0G 1.5G 2.3G 40% /var lofs/none
proc 0 0 0 - /proc proc/none
ctfs 0 0 0 - /system/contract ctfs/none
mnttab 0 0 0 - /etc/mnttab mntfs/none
objfs 0 0 0 - /system/object objfs/none
swap 114G 320K 114G - /etc/svc/volatile tmpfs/none
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1 6.0G 4.3G 1.6G 73% /platform/sun4u-us3/lib/libc_psr.so.1 lofs/none
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1 6.0G 4.3G 1.6G 73% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 lofs/none
fd 0 0 0 - /dev/fd fd/none
swap 114G 210M 114G 1% /tmp tmpfs/none
swap 114G 32K 114G - /var/run tmpfs/none
ppust1:/vol/media/solaris_software 500G 307G 193G 62% /mnt nfs/remote
It turns out support for autodiscovering lofs and tmpfs filesystems has already been added in RHQ HEAD and so will debut in RHQ 4.0.
*** This bug has been marked as a duplicate of bug 553034 ***