[Nagiosplug-devel] [ nagiosplug-Bugs-1333956 ] check_log errors on non-Linux platforms

SourceForge.net noreply at sourceforge.net
Sat Oct 29 08:41:58 CEST 2005


Bugs item #1333956, was opened at 2005-10-21 05:46
Message generated for change (Comment added) made by seanius
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1333956&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: Release (specify)
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Ade Rixon (aderixon)
>Assigned to: M. Sean Finney (seanius)
Summary: check_log errors on non-Linux platforms

Initial Comment:
I am running check_log from the 1.4 release (unchanged
in 1.4.2) on Solaris 8. It gives shell errors and falis
to work correctly because:
a) chmod command is unrecognised (no path) in the case
where mktemp is not available;
b) tail command uses GNU-specific long option instead
of generic alternative.

The attached patch fixes these issues and also adds:
 - variable definitions for CHMOD and TOUCH to match
command usage in rest of script;
 - use of extended grep (egrep) in place of grep to
support full regex matching; assume this works on all
supported platforms.

Ade

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

Comment By: M. Sean Finney (seanius)
Date: 2005-10-29 11:39

Message:
Logged In: YES 
user_id=226838

this problem is now fixed in cvs.  thank you for your report.

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

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




More information about the Devel mailing list