Disk Usage monitoring on Solaris through Telnet SSH
I've searched the forums and have found topics which are related, but don't seem to answer this question.
I /think/ i have my snmpd.conf file set correctly, but still could not get snmp based monitoring to work. So I gave up, and went with telnet based monitoring.
CPU/ Memory seem to work fine. Disk monitoring just shows all space as free. A big pink pie chart is all i see. This is incorrect.
As mentioned, I am using the Telnet based disk usage monitor for Solaris. The test results come back good:
Test results
The Monitor responded to the test request
Summary
Device Name 10.120.9.1
Monitor Name DiskUtilization
Protocol CLI
Command /usr/bin/df -F ufs -k | awk '{x+=$2}{y+=$3}{z+=$4}END{print x,y,z}'
Monitor value
Instance Value
-1
0
Units Percentage
The command it is using displays accurate information when entered manually:
# /usr/bin/df -F ufs -k | awk '{x+=$2}{y+=$3}{z+=$4}END{print x,y,z}'
312219562 215673560 93423807
# df -k
ファイルシステム kbytes 使用済み 使用可能 capacity マウント先
/dev/dsk/c1t0d0s0 54065727 2716909 50808161 6% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 19651536 16 19651520 1% /var/run
swap 19683512 31992 19651520 1% /tmp
/dev/dsk/c3t3d0s7 258153835 212956651 42615646 84% /export/home1
# /usr/bin/df -F ufs -k
ファイルシステム kbytes 使用済み 使用可能 capacity マウント先
/dev/dsk/c1t0d0s0 54065727 2716909 50808161 6% /
/dev/dsk/c3t3d0s7 258153835 212956651 42615646 84% /export/home1
Any feed back would be appreciated.
Thank you very much, really dig the product.
New to ADSelfService Plus?