Page 1 of 1
Monitor EVA SAN with NagiosXI
Posted: Thu Nov 08, 2012 9:34 am
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.
Re: Monitor EVA SAN with NagiosXI
Posted: Thu Nov 08, 2012 11:35 am
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?
Re: Monitor EVA SAN with NagiosXI
Posted: Fri Nov 09, 2012 3:40 am
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
Re: Monitor EVA SAN with NagiosXI
Posted: Fri Nov 09, 2012 9:16 am
by scottwilkerson
there should be a Linux binary sssu on the commandview CD
http://opensource.is/trac/wiki/check_eva
Re: Monitor EVA SAN with NagiosXI
Posted: Mon Nov 12, 2012 5:50 am
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)
Re: Monitor EVA SAN with NagiosXI
Posted: Mon Nov 12, 2012 11:41 am
by scottwilkerson
Thanks for sharing this back with us.