Monitoring an EMC Celerra

Monitoring an EMC Celerra =========================

EMC Celerra Configuration

Download nagios-celerra.tar.gz

scp the tar ball to your EMC Celerra Control Station then untar as follows:

tar xvfz nagios-celerra.tar.gz -C /

Add the nagios group and user:

groupadd -g 101 nagios
useradd -u 100 nagios -g nagios

Install the nagios RPM's:

cd /home/nasadmin/Nagios
rpm -ivh fping-2.4-1.b2.1.el3.rf.i386.rpm nagios-nsca-2.7-2.rhel4.i386.rpm perl-Net-SNMP-5.2.0-1.rf.noarch.rpm nagios-nrpe-2.12-0.el4.i386.rpm nagios-plugins-1.4.1-1.1.el3.rf.i386.rpm

The tar ball includes the /etc/nagios directory and /etc/xinetd.d/nrpe

vi /etc/xinetd.d/nrpe

Add the IP Address of your nagios server to the "only_from" variable

Restart the xinetd service:

service xinetd restart

The tar ball includes a new copy of /home/nasadmin/.bash_profile with the following entry commented out:

 #/nascmd/.emc_login

The tar ball also includes the nagios scripts in the /home/nasadmin/bin directory

  
          o antivirus.sh

          o checkpoints.sh

          o cifs.sh

          o datamover.sh

          o fs.sh

          o hardware.sh

          o nfs.sh

          o quota.sh

          o replication.sh

          o savvol.sh

          o usermapper.sh

Nagios Configuration

Download nagios-config.tar.gz

scp the tar ball to your Nagios server then untar as follows:

tar xvfz nagios-config.tar.gz -C /tmp
cd /tmp/Celerra
cp celerra-services.cfg $NAGIOS_HOME/etc/objects/
vi $NAGIOS_HOME/etc/objects/celerra-services.cfg

Change the host_name and address variables for your EMC Celerra

cp ce $NAGIOS_HOME/libexec/
vi $NAGIOS_HOME/etc/nagios.cfg

Add the following entry:

cfg_file=/opt/nagios/etc/objects/celerra-services.cfg

Run the following command to check your Nagios configuration file for errors:

$NAGIOS_HOME/bin/nagios -v $NAGIOS_HOME/etc/nagios.cfg

If everything is ok, you may issue the following command to reload Nagios:

/etc/init.d/nagios reload