[Nagiosplug-devel] [ nagiosplug-Support Requests-853461 ] check_flexlm always reports OK

SourceForge.net noreply at sourceforge.net
Thu Dec 11 09:02:04 CET 2003


Support Requests item #853461, was opened at 2003-12-03 13:15
Message generated for change (Comment added) made by nkadel
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397598&aid=853461&group_id=29880

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nico Kadel-Garcia (nkadel)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_flexlm always reports OK

Initial Comment:
Under nagios 1.1, nagios-plugins-1.4.0alpha1 on RedHat 
9. the return result of the check_flexlm has no effect on 
nagios results. Turning off a license server entirely 
shows no failure in Nagios, with or without the patches 
I've been working on to more correctly report down 
servers.

Here's the output of the old check_flexlm:


 ./check_flexlm  -F /usr/local/flexlm/licenses/license.dat
License Servers NOT running:lmgrd is not running: 
Cannot connect to license server (-15,570
|flexlm::up:0;down:1

The new one that I've modified to better report quorum 
license servers also has the same result. But it just 
doesn't show up in Nagios as being down at all, and I 
don't understand the details of Nagios handling of 
the "$ERRORS" enough to debug it myself without 
investing a bunch of time.


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

>Comment By: Nico Kadel-Garcia (nkadel)
Date: 2003-12-11 10:33

Message:
Logged In: YES 
user_id=923047

This should have been put in as a bug report, not a feature
request. My apologies.

It turns out that if you have a '%' on the end of the
filename in for the check_flexlm service test in
services.cfg, the check_flexlm.pl does not detect or parse
it or the flexlm error messages correctly. The '%' gets
interpreted at various points by the Perl parser itself,
which leads to the confusion.

I'm working on some other new features, such as testing for
the existence of the license file in the check_flexlm.pl
itself and more correctly parsing lines that have multiple
':' characters in them, and will submit it when done.

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

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




More information about the Devel mailing list