EMC monitoring using check_emc_clariion.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: EMC monitoring using check_emc_clariion.pl

Post by Box293 »

You're not asking too much, don't worry about that :)

Download the latest version of the plugin from the Nagios Exchange.

A check was added recently with the help of a few users out there:
Storage Pool = Returns capacity usage information of the Storage Pool and reports the State, ID, RAID Type, Available Capacity, Consumed Capacity, Subscribed Capacity, Percentage Used and Percentage Free
As for querying file systems, I think you need to perform checks from within the hosts connected to the relevant luns. This would be just like querying a local disk to see how much is used/free.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

Thanks !!

I have downloaded the latest plugin , im not able to update either in manage monitoring wizard nor manage plugin.

Do I have to remove the existing plugin/Monitoring wizard along with that the services too and then re-install the latest one.

- Lan
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: EMC monitoring using check_emc_clariion.pl

Post by tmcdonald »

How are you uploading? Are you unzipping it first? You should not be trying to upload a plugin via the Manage Monitoring Wizards page. Does it give a specific error? Screenshots would be useful here.
Former Nagios employee
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: EMC monitoring using check_emc_clariion.pl

Post by Box293 »

Unzip the download and then upload it via the Manage Plugins page. All the existing services will continue to work as per normal.

NOTE: This does not update the Wizard. I no longer work for a company that has an EMC SAN so updates to the wizard has ground to a halt. However the plugin ocassionally gets update when users send me their bug fixes / new features.

To take advantage of the Storage Pool check in the updated plugin you would do the following:
  • Goto Core Configuration Mananger
    Find an existing EMC service like raid group
    Copy it
    Modify the copied service and change the relevant arguments so it becomes a storage pool check
I suggest you test the plugin at the CLI first.

Code: Select all

check_emc_clariion.pl -H emc_san -u readonly -p AStrongPassword -t storage_pool --storage_pool_id 33 --warn 80 --crit 90
Also, I suggest reading the included help as it explains all the checks that can be performed.

Code: Select all

check_emc_clariion.pl --help | more
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

HI ,

I have updated the plugin via GUI,
On CLI it says command not found though i have changed it with my creds.
Also no change has been observed in the services.

Infact one of the services SPA percentage busy says sync missed.

Also one more query is updating plugin and monitoring wizard 2 different entities?


Thnaks once again for your efforts and help.


- Lan
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: EMC monitoring using check_emc_clariion.pl

Post by tmcdonald »

lannister wrote:On CLI it says command not found though i have changed it with my creds.
You will of course need to give it the full path, as in:

Code: Select all

/usr/local/nagios/libexec/check_emc_clariion.pl --help | more
as opposed to just:

Code: Select all

check_emc_clariion.pl --help | more
which is the source of the "command not found" error.
lannister wrote:Infact one of the services SPA percentage busy says sync missed.
In the CCM this means that either the service is inactive, or has been changed, or you have a time difference between your system and PHP.
lannister wrote:Also one more query is updating plugin and monitoring wizard 2 different entities?
Plugins and wizards are two separate things with their own separate upload procedures.
Former Nagios employee
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: EMC monitoring using check_emc_clariion.pl

Post by Box293 »

lannister wrote:Also one more query is updating plugin and monitoring wizard 2 different entities?
Monitoring Wizards a unique to Nagios XI. They make it very easy to start monitoring a device on your network without having to jump through a heap of hoops first.

For example, if the EMC Wizard did not exist, you would need to have done the following:
  • Download the plugin
    Upload it into Nagios
    Understand how it works
    Create a command definition for the plugin
    Start creating service objects
Whereas when you upload the wizard, it also uploads the plugin and creates a few other objects like the command definition.

However the plugin that comes with the wizard remains at that version, so when newer versions of the plugin are released they need to be uploaded seperately. If the plugin contains new features that the wizard does not know about then the Wizard will need to be updated to make use of these. I created the EMC wizard when I worked a company that had an EMC SAN. Unfortunately I no longer have access to an EMC SAN that I can play with, so updating the wizard is not possible.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

Hello everyone ,

thanks that was very helpful, but its still not taking the command to update the plugin :(

Secondly Im trying to send snmp traps from the EMC host, how i can confirm that nagios is receiving or not receiving those trap.
Or least to know what error is it throwing.

Because I have configured the EMC host to send the traps to nagios.


- Lan
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: EMC monitoring using check_emc_clariion.pl

Post by Box293 »

You can delete the plugin and upload it again to see if that fixes the problem.

Goto Admin > Manage Plugins
Find the check_emc_clariion.pl plugin
In the Actions column click the X to delete the plugin
Now upload the plugin and see if that works.

If you are still having problems please post the command you are typing at the CLI along with the output.

As for the SNMP Traps, have you read through the help?

Help -> Administrator Guide
Under Advanced Topics select SNMP Trap Integration. There is a troubleshooting section in this guide that may help.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

HI Following the same guide -:

Code: Select all

2014-06-02 04:15:51 (36.4 MB/s) - “snmptrap-bins.tar.bz2” saved [8640/8640]


Updating snmptt.ini


Creating snmptrapd.conf


Adding the snmptt user to the nagios and nagcmd groups


Modifying permissions


Adding firewall rules

iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]

Set up the snmptt daemon to start automatically on boot
as well as starting it now

Stopping snmptt:                                           [FAILED]
Starting snmptt:                                           [  OK  ]

Set up the snmptrapd daemon to start automatically on boot
as well as starting it now

Stopping snmptrapd:                                        [FAILED]
Starting snmptrapd:                                        [  OK  ]

SNMP Trap Support Installation Complete!
IS this outcome is right ?
This is the outcome on nagios
SNMP TrapsPassive Only Check Ok 11h 39m 45s 1/1 2014-06-01 19:26:13 Waiting for trap...
I have also added the MIB of clariion on nagios, the snamp is also enabled on my vnx.
Locked