[Nagiosplug-devel] [ nagiosplug-Bugs-1386144 ] Bug in check_mrtg plug-in

SourceForge.net noreply at sourceforge.net
Tue Jun 5 14:28:15 CEST 2007


Bugs item #1386144, was opened at 2005-12-20 14:16
Message generated for change (Comment added) made by psychotrahe
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1386144&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James Turnbull (kartar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in check_mrtg plug-in

Initial Comment:
I get a segmentation fault when I run the check_mrtg
plugin on Red Hat Linux Enterprise 4.  The plug-in
version is 1.4.2.

I poked into the code of the plug-in and noticed this line:

int expire_minutes = 0;

I changed it to:

int expire_minutes = -1;

I recompiled the code and the segementation fault was
corrected.



----------------------------------------------------------------------

>Comment By: Matthias Eble (psychotrahe)
Date: 2007-06-05 14:28

Message:
Logged In: YES 
user_id=1694341
Originator: NO

Hi James,

could you please tell us if this problem persists in the latest version
(1.4.9 or cvs snapshot)? If so, we need the command line you used (i guess
verbose output isn't possible with check_mrtg).
I watched the source and can, up to now, hardly imagine how setting
expire_minutes to -1 can prevent the plugin from segfaulting. We'll see..

Matthias

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1386144&group_id=29880




More information about the Devel mailing list