Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

Paul.Haldane

Reviews(2)
byPaul.Haldane, June 18, 2014
2 of 2 people found this review helpful
We're getting

(AuxiliaryVoltage3: 0 mV), (IntelCPUVttPower: 0 mV), (AuxiliaryVoltage4: 0 mV), (-12.0VSupplyVoltage: 11903 mV), (AuxiliaryVoltage7: 0 mV), (AuxiliaryVoltage1: 0 mV), (VoltageSensor2: 3391 mV), (AuxiliaryVoltage2: 0 mV), (AuxiliaryVoltage6: 0 mV), (AuxiliaryVoltage0: 0 mV), (PowerSupply5vStandbyVoltage: 0 mV), (-5.0VSupplyVoltage: 0 mV), (CPU1CoreVoltage: 0 mV), (AuxiliaryVoltage5: 0 mV), (CPU1Temperature: 0 Celsius), : 6/20 voltage OK, 5 fan OK, 2/3 temp OK (HA State up, SSL Engine up) : CRITICAL

on a healthy MPX 5550 v10.1 which sounds similar to symptoms previous reviewer saw/fixed. Is there an updated version/patch available anywhere?
byPaul.Haldane, April 4, 2013
If used, for example, like this ...

/tmp/check_flexlm_perf_data -H assdlic01 -p 1055 -f aa_r_cfdd -w 80

and the specified feature doesn't exist the plugin returns OK (0% of 0 licences used). The patch below treats a missing feature as a critical error.

Index: production/apps/nagios/libexec/ncl/check_flexlm_perf_data
===================================================================
--- production/apps/nagios/libexec/ncl/check_flexlm_perf_data (revision 2161)
+++ production/apps/nagios/libexec/ncl/check_flexlm_perf_data (working copy)
@@ -148,12 +148,14 @@
my $current_use = 0;
my $tot_lic = 0;
my $perc_in_use = 0;
+ my $seen_feature = 0;
for (@lmstat_lines) {
if ($features eq 0) {
$red_flag ++ if ((/[Cc]annot/)||(/[Uu]nable/)||(/refused/)||(/down/)||(/[Ww]in[sS]ock/));
} else {
if (/Users of (.*): .* of ([0-9]+) .* issued; .* of ([0-9]+) .* use/) {
my $available_licenses = $2 - $3;
+ $seen_feature++;
$current_use = $3;
$tot_lic = $2;
$perc_in_use = ($current_use/$tot_lic)*100;
@@ -168,6 +170,9 @@
}
if ($red_flag > 0) {
$output = "FLEXlm CRITICAL: License Server Down or Unreachable.\n";
+ } elsif ($vendor && ($seen_feature == 0)) {
+ # We're looking for a feature and it's not there
+ $output = "FLEXlm CRITICAL: License Server for $vendor not available.\n";
} elsif ($yellow_flag > 0) {
$output = "FLEXlm WARNING: Reach Usage Warning for Features: ";
for my $feat (@$yellow_feats) {
@@ -190,7 +195,6 @@
$output .=int($perc_in_use);
$output .="% in use| user=";
$output .= $current_use;
-
$output .="\n";
}
return ($output);