News:

We really need your input in this questionnaire

Main Menu

HP EVA integration

Started by julien01, November 14, 2011, 08:01:45 PM

Previous topic - Next topic

julien01

Hello,

Since version 1.1.4, you add in changelog "Added integration script for HP EVA disk arrays".

I cannot find this script in 1.1.6 :(
I have an Fiber Channel SAN, HP EVA 4400 and I cannot monitor it by SNMP query.

Can you explain to me how is running your "script"..

Thanks a lot.

Victor Kirhenshtein

Hi!

Sorry, I forgot to add it to source distribution. Script is attached. It is very simple perl script which uses SSSU to get information from EVA, so you can use it on any machine with Perl and SSSU. Add the following line to your nxagentd.conf:

ExternalParametersProvider = <path>/hp_eva_collect_data.pl

and restart agent. After configuration poll, you should see additional parameters for each controller, disk shelf, and disk in EVA.

Best regards,
Victor


nauticar

#3
hi,
i config the perl script on windows 2003 like this:

$SSSU = "sssu.exe";
$DATADIR="c:\\WINDOWS\\TEMP";
$MANAGER="192.168.4.44";
$SYSTEM="EVA4400-1";
$USERNAME="admin";
$PASSWORD="";

is there any other configurations that i need to change? when i running the perl script ,there are 5 files created in the temp path with correct resaults.

but i open the node's "Data Collection Configuration",right click -->new, click "select",in the "Parameter Selection" box ,I can't find  additional parameters.

Can anyone help me ?  I have  restarted  agent and configuration poll .there is the nxagentd.conf :

MasterServers = 192.168.4.101
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
LogFile = {syslog}
FileStore = C:\NetXMS\var
SubAgent = ecs.nsm
SubAgent = ping.nsm
SubAgent = logwatch.nsm
SubAgent = portcheck.nsm
SubAgent = winperf.nsm
SubAgent = wmi.nsm
ExternalParametersProvider = D:\topsec\hp_eva_collect_data.pl


Victor Kirhenshtein

Hi!

If you run script from command line, you should get output similar to this:

root@netxms:~# /opt/netxms/bin/hp_eva_collect_data.pl
EVA.Disk[7].loops.loop[2].loopname=loopb
EVA.DiskShelf[1].diskslot[2].name=diskslot2
EVA.Disk[7].objecttype=disk
EVA.DiskShelf[1].diskslot[6].diskid=080720072004000CCA65B9400000000000000000
EVA.Controller[1].datablocksize=512
EVA.Disk[3].rssindex=6
EVA.Controller[1].controllername=Controller 1
EVA.Disk[1].disktype=fibre_channel_disk
EVA.DiskShelf[1].diskslot[11].name=diskslot11
EVA.DiskShelf[1].cooling.fan[2].firmware=80.1
EVA.DiskShelf[1].diskslot[5].diskwwn=2004-000c-ca2a-f588-0000-0000-0000-0000
EVA.Disk[8].operationalstate=attention
EVA.Disk[7].diskgroupname=Default Disk Group
EVA.Disk[3].operationalstatedetail=member_attention

... and so on. Do you get it?

Best regards,
Victor


nauticar

#5
yes.
the output on the cmd.exe  are the following :

D:\topsec>hp_eva_collect_data.pl |more
EVA.Disk[7].loops.loop[2].loopname=loopb
EVA.DiskShelf[1].diskslot[2].name=diskslot2
EVA.Disk[7].objecttype=disk
EVA.DiskShelf[1].diskslot[6].diskid=092007081D0000204E689E380000000000000000
EVA.Controller[1].datablocksize=512
EVA.Disk[3].rssindex=2
EVA.Controller[1].controllername=Controller 2
EVA.Controller[2].deviceports.deviceport[2].operationalstate=good
EVA.Disk[1].disktype=fibre_channel_disk
EVA.DiskShelf[1].diskslot[11].name=diskslot11
EVA.Disk[2].loops.loop[1].assignedlun=0
EVA.DiskShelf[1].cooling.fan[2].firmware=1.08
EVA.DiskShelf[1].diskslot[5].diskwwn=2000-001d-389e-64ae-0000-0000-0000-0000
EVA.Disk[8].operationalstate=good
....
and so on.

I found that the agent version is 1.1.6,but the server version is 1.1.7 .I Will update the Agent to 1.1.7 soon.


---------------------
the agent version changed to 1.1.7 already . I still can't find the additional parameters.


Victor Kirhenshtein

Hi!

The problem is that agent interprets last colon as a separator between script name and polling interval. It is not a problem on UNIX, but became a problem on Windows. Try to specify in config as:

ExternalParametersProvider = D:\topsec\hp_eva_collect_data.pl:60

(60 is a polling interval in seconds, you can change it to suit your needs). Then it should work.

Best regards,
Victor

nauticar


nauticar

Hi!
  The windows 2003 server is managed by agent .when I add properties for the node, in the "parameter selection" ,i select  EVA.Controller[1].controllername or other available parameters, the query return "Cannot get current parameter value:Requested data collection item is not supported by agent" .
  I run the "hp_eva_collect_data.pl" file on the server ,it return the right result like above.

how can i get the HP EVA 4400 parameters ?

Victor Kirhenshtein

Hi!

Looks like a bug. I was able to reproduce this on my system, so hopefully I'll come out with solution soon.

Best regards,
Victor