check_ping vs. check_icmp? Unexpected output.

Andreas Ericsson ae at op5.se
Fri Oct 14 16:10:02 CEST 2005


Andreas Ericsson wrote:
>>
>> I have the check_host link in place and with the 1.4.2 release of the
>> plugins, with cvs id:
>>
>>    * $Id: check_icmp.c,v 1.5 2005/02/01 07:33:13 stanleyhopcroft Exp $
>>
> 
> This isn't anywhere near the latest version and I believe I've added 
> quite a few patches to it since then. For the latest version you'll need 
> the plugin-pack from http://oss.op5.se/nagios.
> 
> Quite a lot of bugs has been fixed since february.
> 

Although this one wasn't, now that I've checked it up (sorry about 
that). Using check_host mode against a resolvable hostname allocates a 
host-table that may be too small to hold all targets. Writing to the 
table works nicely, since it's just shuffling of pointers taken care of 
on the heap but when it tries to access any of the structs variables it 
crashes with SIGSEGV. This is read access only, so it's not a security 
problem, but annoying all the same.

http://oss.op5.se/nagios/op5plugins-2005-10-14.tar.gz holds an updated 
version, which also fixes a less annoying bug in check_hpjd along with 
some minor stuff in check_users (for instance).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list