stor2rrd 2.50 free and hitachi

Hi expert
I configured in the storage-list.cfg the hitachi connection in this way
VSPG-200-01:VSPG:10.209.xx.xx:stor2:PASSWORD:/etc/horcm1.conf::::10.209.xx.xx:2c:161::SGS-MGMT-01

I also installed the patch to solve the problem with san_verify.pl

"No such file or directory/home/stor2rrd/stor2rrd/bin/SNMP_lib.pm:474 : No such file or directory"


The config_check.sh work well but I stor2rrd doent' collect data

In the log file
error.log-VSPG-200-01 I found these error
COMMAND ERROR : EUserId for HORC[1] : stor2rrd (4001) Mon Apr 1 13:57:05 2019
CMDLINE : raidcom -logout -I1
13:57:05-6a7ff-00062769- [raidcom][exit(202)]
[EX_ENAUTH] Authentication failed with User
[Cause ]:Authentication for using the RAID has failed with User name or Password.
[Action]:Please confirm if User name or Password are correct, or confirm expiration date.
raidcom: [EX_ENAUTH] Authentication failed with User
Mon Apr  1 13:57:05 2019: command failed: raidcom -logout -I1 /home/stor2rrd/stor2rrd/bin/vspgconf.pl:3286 :

The error seems due to bad user/password

I suspect that the test config_check.sh uses the user and password specified in the storage-list.cfg
while vspgconf.pl use the user/password specified in the stor2rrd.cfg where I got
# User for storage access
# Valid only for SVC/Storwize/FlashSystem, XIV, HUS, DS8000, 3PAR storages
# Rest of storages have users defined per storage in etc/storage-list.cfg
  STORAGE_USER=stor2rrd

Am I in right ???

Thanks for the help
Emilio







Comments

  • Hello,

    1. you are not right. Scripts vspgconf.pl and vspgperf.pl uses the user and password specified in the storage-list.cfg.

    2. You will check user and password in etc/storage-list.cfg. Use encrypted password.

    https://www.stor2rrd.com/Hitachi-VSPG-VSP-HUS-AMS-monitoring.htm

    3. You will send us outputs from the commands

    cd /home/stor2rrd/stor2rrd

    ./bin/config_check.sh VSPG-200-01

    crontab -l | grep vspg


    Thank you



  • here the answer

    =========================
    STORAGE: VSPG-200-01: VSPG
    =========================
      TCP connection to "10.209.50.98" on port "1099" is ok
      TCP connection to "10.209.50.98" on port "51099" is ok
      TCP connection to "10.209.50.98" on port "51100" is ok
      WARNING : TCP connection to "10.209.50.98" on port "51101" has failed! It might need to be open on the firewall.

    Health status test
      UDP connection to "10.209.50.96" on port "161" is ok

    san_verify.pl:
    snmpwalk -v 2c -c SGS-MGMT-01 10.209.50.96 1.3.6.1.4.1.116.5.11.4.1.1
    SNMP version  : 2c (default)
    Port          : 161 (default)
    Timeout       : 5 seconds
    Community     : SGS-MGMT-01
    Storage name  : VSP Gx00

    Health status for VSPG-200-01 : ok

    Loading ExportTool...
    Export tool start [Version 83-05-29-FF/00]
    command file = /opt/hds/hds_test/command.txt
    [  1] ip 10.209.50.98        ; Specifies IP adress of SVP
    [  2] dkcsn 480074           ; Specifies Serial Number of SVP
    [  3] login User = [stor2], Passwd = [****************]
    [MPC Software Version] 83-05-29-20/00
    [ExportTool version] 83-05-29-FF/00
    [ExportTool IF version] 83-00-00
    Unable to get time range for monitoring
    [  4] show                  ; output storing period
    Monitoring time range
    From : 2019/03/31 15:57 - To : 2019/04/01 15:57 Interval : 1min.
    [  5] group Port ; Port usage
    [  6] range -0001:
            range [2019/04/01 15:56:00]:[2019/04/01 15:57:00], count = 1
    [  7] outpath "/opt/hds/hds_test/performance"  ; specifies the sub-directory in which files will be saved
    [  8] option nocompress
    [  9] apply
    Start gathering port data
    Target = 8, Total = 8
    +----+----+----+----+----+----+----+----+----+----+
    ...................................................
    End gathering port data
    Start gathering Initiator port data
    Target = 8, Total = 8
    +----+----+----+----+----+----+----+----+----+----+
    ...................................................
    End gathering Initiator port data
    Export tool end
    raidcom : User on Serial#(480074) was removed.
      connection ok



    crontab -l | grep vspg
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_vspgperf.sh > /home/stor2rrd/stor2rrd/load_vspgperf.out

  • Hello,

    It looks good. Do you see data in the GUI? If no send us logs pls.

     
    Note a short problem description in the text field of the upload form.

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    tar cvhf logs.tar logs tmp/*txt

    gzip -9 logs.tar

    Send us logs.tar.gz via https://upload.stor2rrd.com

    You might even attach screenshots when it helps in understanding of the issue.

    Thank you
Sign In or Register to comment.