Monitor EVA SAN with NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
staun
Posts: 17
Joined: Thu Oct 11, 2012 3:42 am

Monitor EVA SAN with NagiosXI

Post by staun »

Hi all,

Looking for a script to monitor our HP P6000 SAN (EVA) and hoped that someone in here did this already and could guide me to this.

I found a python script check_eva, but cannot make this work, so any assistance is appreciated.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitor EVA SAN with NagiosXI

Post by lmiltchev »

What exactly is the problem that you are having? What have you tried so far to troubleshoot it? Have you followed our documentation on Managing Plugins in Nagios XI? Did you make it work from the command line?
Be sure to check out our Knowledgebase for helpful articles and solutions!
staun
Posts: 17
Joined: Thu Oct 11, 2012 3:42 am

Re: Monitor EVA SAN with NagiosXI

Post by staun »

I "installed" the check_eva in /usr/local/nagios/libexe and executed the command and get this error

Code: Select all

[root@srv-nag-nsb1 libexec]# ./check_eva.py --host MyCommandViewServer--username ActiveDirectoryDomainUser--password MyPassword --mode check_systems
Error 127: /bin/sh: sssu: command not found
 command was: 'sssu "set option on_error=continue" "select manager MyCommandViewServerUSERNAME=ActiveDirectoryDomainUser PASSWORD=MyPassword " "ls system full" '
Current Path: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin
[root@srv-nag-nsb1 libexec]#
I was told to place the sssu.exe file (windows binary) on my nagios-server (I placed it in /usr/local/sbin) and gave it execute permission. I do not know how to make sure that nagios knows about this file since it errors with : Command not found
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor EVA SAN with NagiosXI

Post by scottwilkerson »

there should be a Linux binary sssu on the commandview CD
http://opensource.is/trac/wiki/check_eva
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
staun
Posts: 17
Joined: Thu Oct 11, 2012 3:42 am

Re: Monitor EVA SAN with NagiosXI

Post by staun »

With a lot of help from another user in this forrum I got it working now.

A little tip for other users.

1. Download the Linux-version of HP StorageWorks Command View EVA SSSU v 6 or newer (I used this one http://h20000.www2.hp.com/bizsupport/Te ... co-47019-1

2. copy the file to /usr/bin and rename it to SSSU
3. add execute rights on the file.

You may have to install a few extra modules (I installed libpam.so.0 and libstdc++.so.5)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor EVA SAN with NagiosXI

Post by scottwilkerson »

Thanks for sharing this back with us.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked