Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
drochecfri
bydrochecfri, November 17, 2016
LSI got bought out by Avago, and now you can't easily find a copy of the sas2ircu utility that this script relies on. I found a link to version 20.0.0.0 that's hosted by Supermicro after reviewing an example RPM spec file that I found online. This utility can also monitor Dell PERC H200i adapters which is nice. It requires being run as root, so you'll need to ensure you add a sudoers exception or selinux hash to allow passwordless running of the script by whatever user is running your nrpe process.
You may need to modify the following lines in the script to point to your sas2ircu path and utils.pm path. The lines to change are as follows and include changes I made for my own os CentOS7.
use lib qw(/usr/local/lib/nagios/plugins /usr/lib/nagios/plugins /usr/lib64/nagios/plugins);
my $sas2ircu = '/usr/sbin/sas2ircu';
You may need to modify the following lines in the script to point to your sas2ircu path and utils.pm path. The lines to change are as follows and include changes I made for my own os CentOS7.
use lib qw(/usr/local/lib/nagios/plugins /usr/lib/nagios/plugins /usr/lib64/nagios/plugins);
my $sas2ircu = '/usr/sbin/sas2ircu';