check_swap quirk on Solaris
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Tue Jan 14 23:36:44 CET 2003
It's been brought to my attention that check_swap on Solaris8 reports in
bytes, whereas the 'swap -l' command reports in blocks. Either the output
should be changed to 'blocks', or the math should be done so that the
numeric value is actually in bytes.
Example:
Nagios reports:
Swap ok - Swap used: 0% (0 bytes out of 1049312)
swap -l reports:
swapfile dev swaplo blocks free
/dev/vx/dsk/swapvol 228,7 16 1049312 1049312
HTH.
jc
-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving
your online business a competitive advantage. Test-drive a Thawte SSL
certificate - our easy online guide will show you how. Click here to get
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
More information about the Users
mailing list