Exclude backup volumes and LUNs from collection

Hi,

I have a similar problem as described in the following post

https://forum.xorux.com/discussion/487/exclude-backup-volumes-and-luns-from-collection#latest

Veeam creates a snapshot lun for each backup, I want to exclude it from the monitoring. 

All Veeam-Luns are named like :

VEEAM-StorageLUNClone-0b3ea9577b7340008d93e575b953a573

Prefix "VEEAM-StorageLUNClone-" followed by a unique identifier.

How can I set that up?

And how can I delete the recordings for this Luns I have made so far?

Greetings
Stefan

Comments

  • Hi Stefan,

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxr-xr-x 1 stor2rrd stor2rrd 105458 Nov 26 14:19 naperf.pl
    If your web browser gunzips it automatically then just rename it: mv naperf.pl.gz naperf.pl

    VEEAM backups matching the following regexp will be excluded:
    ^(VeeamAUX_|VEEAM-StorageLUNClone-).+





  • Hi,

    this OK for a netapp-array.
    I need a solution for a Pure FA-X50R2 Array.
    I think the change must be done in the file pureperf.pl.

  • sascha
    edited March 2020
    I think I solved it by changing pureperf.pl

    Add below line 31

    my $veeam = "^(VeeamAUX_|VEEAM-StorageLUNClone-|VEEAM-ExportLUNSnap-|VEEAM-StorageLUNSnap-).+";

    Change line 832

    if ( !defined $element->{name} || !defined $element->{time} || $element->{name} =~ /$veeam/ ) { next; }

    @Jirka/Pavel

    Maybe you can include this in future releases.

  • Hello,

    Can you try these scripts?

    https://download.stor2rrd.com/patch/pureperf.pl.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 54115 Mar  6 08:52 pureperf.pl

    If your web browser gunzips it automatically then just rename it: mv pureperf.pl.gz pureperf.pl


    https://download.stor2rrd.com/patch/pureconf.pl.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 29763 Mar  6 08:53 pureconf.pl

    If your web browser gunzips it automatically then just rename it: mv pureconf.pl.gz pureconf.pl


    after copy scripts to bin directory


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

    rm data/<STORAGE_ALIAS>/IOSTATS/configuration/config-*touch

    wait about 10 minutes then

    ./load.sh storage <STORAGE_ALIAS>

    ./load.sh html

    refresh GUI

    you should not see backup volumes in the GUI


    Let us know


    note: <STORAGE_ALIAS> is storage name in stor2rrd

    Thank you



  • Thanks Lukas! Highly appreciated.
  • Hello,

    I'm sorry. You're right. Can you please upgrade?

    https://www.stor2rrd.com/download/stor2rrd-2.80-1.tar

    after upgrade

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

    rm data/<STORAGE_ALIAS>/IOSTATS/configuration/config-*touch

    wait about 10 minutes then

    ./load.sh storage <STORAGE_ALIAS>

    ./load.sh html

    refresh GUI

    you should not see backup volumes in the GUI


    Let us know


    note: <STORAGE_ALIAS> is storage name in stor2rrd


    I apologize once again for the complications.


    Thank you
  • @Lukas
    Thanks for the super fast update! Highly appreciated.
Sign In or Register to comment.