Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
chriscamm
bychriscamm, March 24, 2014
This is a great script and works well apart from the -t sp_info. From the command line I get:
./check_emc_clariion.pl -H ***.***.***.*** --secfilepath /usr/local/nagios/libexec/auth/emc_auth_files -t sp_info
{SP ID:A} {Agent Revision:6.29.5 (0.55)} {FLARE Revision:04.29.000.5.006} {PROM Revision:4.80.00} {Model:CX4-120, Rackmount} {Memory:2.97GB} {Serial Number:****************}
When I look in Nagios I get this
Status Information: {SP ID:} {Agent Revision:} {FLARE Revision:} {PROM Revision:} {Model:, } {Memory:} {Serial Number:}
The returned items are being excluded in the output being parsed to Nagios.
Any thoughts? I am using the latest version of the script.
Thanks and keep up the great work
Chris
./check_emc_clariion.pl -H ***.***.***.*** --secfilepath /usr/local/nagios/libexec/auth/emc_auth_files -t sp_info
{SP ID:A} {Agent Revision:6.29.5 (0.55)} {FLARE Revision:04.29.000.5.006} {PROM Revision:4.80.00} {Model:CX4-120, Rackmount} {Memory:2.97GB} {Serial Number:****************}
When I look in Nagios I get this
Status Information: {SP ID:} {Agent Revision:} {FLARE Revision:} {PROM Revision:} {Model:, } {Memory:} {Serial Number:}
The returned items are being excluded in the output being parsed to Nagios.
Any thoughts? I am using the latest version of the script.
Thanks and keep up the great work
Chris
Great plugin
If you get the following error:
Insecure dependency in printf while running with -T switch at ./check_ups_alarm.pl line 266.
Edit the script and on Line 1 change
#!/usr/bin/perl -wT
to
#!/usr/bin/perl
Then above
use scrict;
Add the following line
use warnings;
use scrict;
This corrects the error and I can now run all of the checks.
Thanks
Chris
If you get the following error:
Insecure dependency in printf while running with -T switch at ./check_ups_alarm.pl line 266.
Edit the script and on Line 1 change
#!/usr/bin/perl -wT
to
#!/usr/bin/perl
Then above
use scrict;
Add the following line
use warnings;
use scrict;
This corrects the error and I can now run all of the checks.
Thanks
Chris