<p>that this patch partially addresses (addresses points 2 to 4):<br>
1/ it requires the PATH_TO_LMSTAT variable to be setup in util.pm while this file is nnot a config file. Thus each time the package is upgraded, the config get lost<br>
2/ it doesn't support finding lmstat in PATH<br>
3/ it doesn't support getting lmstat binary path from command line switchs<br>
4/ usage is wrongly documented (needs the -F switch to provide the licence file PATH)<br>
5/ LM_LICENCE_FILE variable not supported<br>
6/ licence directory instead of licence path not supported.</p>

<p>The patch was proposed at <a href="https://github.com/nagios-plugins/nagios-plugins/issues/118" class="issue-link" title="check_flexlm patch to support lmstat in PATH and/or with -l cmd line switch">nagios-plugins/nagios-plugins#118</a> and I adjusted it to apply it to our code.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1387'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1387</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>check_flexlm has several design flaws</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1387/files#diff-0">plugins-scripts/check_flexlm.pl</a>
    (21)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1387.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1387.patch</a></li>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1387.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1387.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1387">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2cQRNG-HpiB7NDko6YWIkYGc0rp4ks5o96kPgaJpZM4GTE9R.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1387"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>