I have different readings for the total swap when using the snmp value vs the OS value as follows.
this is the plugin used and the output:
Code: Select all
$USER1$/check_snmp_storage_wizard.pl -H $HOSTADDRESS$ -C public --v2c -m 'Swap' -w 80 -c 90 -f
Swap Space: 48%used(12955MB/27271MB) (<80%) : OK | 'Swap_Space'=12955MB;21817;24544;0;27271Code: Select all
#swap -s; swap -l;df -kh ; top -b
total: 11423752k bytes allocated + 3649744k reserved = 15073496k used, 11893848k available
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 256,1 16 16777200 16777200
Filesystem size used avail capacity Mounted on
rpool/ROOT/s10s_u9wos_14a
134G 93G 31G 76% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 11G 424K 11G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1
124G 93G 31G 76% /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
124G 93G 31G 76% /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 11G 728K 11G 1% /tmp
swap 11G 48K 11G 1% /var/run
rpool/export 134G 23K 31G 1% /export
rpool/export/home 134G 69M 31G 1% /export/home
rpool 134G 97K 31G 1% /rpool
10.201.64.34:/export/RCD
123G 53G 69G 44% /RCD/backup
load averages: 3.21, 3.74, 3.74; up 164+12:41:58 15:34:13
215 processes: 212 sleeping, 3 on cpu
CPU states: 95.2% idle, 2.5% user, 2.3% kernel, 0.0% iowait, 0.0% swap
Memory: 32G phys mem, 9013M free mem, 8192M total swap, 8192M free swap
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
2107 rcd 56 0 0 1514M 1486M cpu/37 2152.8 1.53% java
24225 rcd 1 0 0 5928K 2536K sleep 21.7H 0.39% cs_updater_daem
29744 rcd 1 24 0 6280K 5328K cpu/56 0:00 0.20% ssh
213 daemon 15 59 0 9160K 4944K sleep 144.0H 0.10% kcfd
22381 rcd 423 59 0 10G 8645M sleep 41.1H 0.09% java
29644 rcd 1 51 0 3664K 2600K cpu/28 0:00 0.03% top
24206 rcd 1 34 0 3368K 1752K sleep 24:38 0.02% cs_sync_daemon
29796 rcd 1 0 0 1736K 1456K sleep 0:00 0.01% hostname
4518 rcd 92 59 0 317M 280M sleep 43.7H 0.01% java
184 root 39 59 0 20M 15M sleep 38.1H 0.00% nscd
8552 rcd 35 53 2 101M 16M sleep 14:28 0.00% java
5960 rcd 35 53 2 101M 16M sleep 14:28 0.00% java
16254 rcd 35 53 2 101M 16M sleep 14:33 0.00% java
11063 rcd 35 53 2 101M 16M sleep 14:27 0.00% java
15261 rcd 35 53 2 101M 16M sleep 14:36 0.00% java