[Nagiosplug-devel] check_swap mis-reporting values

Ton Voon tonvoon at mac.com
Thu Feb 19 15:49:17 CET 2004


Matt,

Can you try with the latest Nagios plugins? There's been a lot of work 
on check_swap in the 1.4 release. Also use the -v switch to see what 
commands check_swap is actually running.

Ton

On 19 Feb, 2004, at 23:28, Matt Pounsett wrote:

>
> I have a problem on a particular Solaris 7 box with check_swap 
> reporting
> incorrect values.   I'm pretty sure this is a problem with the machine 
> itself,
> rather than with check_swap, since the plugin is working correctly on 
> other
> Solaris machines, including other SunOS 5.7 boxes.  However, since I 
> don't
> really know what check_swap is doing in the background to get its 
> data, I
> thought I'd ask here for recommendations on where I should look for 
> problems.
>
> Here's the details...
>
> check_swap is
> check_swap (nagios-plugins 1.3.1) 1.9
>
> The only swap partition on the machine in question looks like this:
>
> % df -k /tmp
> Filesystem            kbytes    used   avail capacity  Mounted on
> swap                 2015408   55680 1959728     3%    /tmp
>
> And here's what check_swap reports:
>
> % ./check_swap -a
> CRITICAL - Swap used: 100% (164656 out of 164656)
>
> The "used" value varies slightly, from 164000 up to 164656.  However, 
> it never
> reports the correct value.  It's not even getting the correct 
> "available"
> value.
>
> Anyone have any thoughts on where I should look for problems?
>
> -- 
> Matt Pounsett                 CIRA - Canadian Internet Registration 
> Authority
> Technical Support Programmer                    350 Sparks Street, 
> Suite 1110
> matt.pounsett at cira.ca                                 Ottawa, Ontario, 
> Canada
> 613.237.5335 ext. 231                                      
> http://www.cira.ca
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any 
> issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>





More information about the Devel mailing list