HPE 3PAR StoreServ Storage
1845594 Members
2188 Online
110246 Solutions
New Discussion

I want to use createsralertcrit command to create a threshold alert for lun capacity usage

 
SOLVED
Go to solution
Ash5
Occasional Advisor

I want to use createsralertcrit command to create a threshold alert for lun capacity usage

Can someone please help me with the createsralertcrit full command to create threshold alert for lun capacity usage 75%, 85% 90%.

 

8 REPLIES 8
Sunitha_Mod
Honored Contributor

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

Hello @Ash5,

Thank you for writing to us! Could you please let us know what product are you referring to? So we can check and guide you to the relevant board. 

Ash5
Occasional Advisor

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

Hi Sunitha,

It is a 3par 8200 storage box.

 

Satish04
HPE Pro

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

Hi Ash5,

The "createsralertcrit" command is used to create an SRM (System Reporter Management) alert criterion.
It allows you to define the conditions for triggering alerts based on specific thresholds and criteria.

Please follow the below command to set the threshold alert for lun capacity usage.

Run the command: createsralertcrit -alertname "LUN Capacity Threshold" -subtype "LUN" -severity "Minor/Major/Critical" -operator "GreaterThan/Less Than" -value "<Enter the Threshold value>" -repeatdelay "<Enter the time in minuts>" -description "LUN capacity usage exceeds 75%" -enabled "True"

The options used in the example command include:

-alertname: Specifies the name of the alert.
-subtype: Specifies the alert subtype, in this case, "LUN" for LUN-related alerts.
-severity: Specifies the severity level of the alert.
-operator: Specifies the comparison operator for the threshold (in this case, "GreaterThan").
-value: Specifies the threshold value. - (Example: 75/85/90)
-repeatdelay: Specifies the delay between repeated alerts, in minutes. (Example: 1/2/3 ... etc)
-description: Specifies the description of the alert criterion. (Example: LUN capacity usage exceeds 75%)
-enabled: Specifies whether the alert criterion is enabled or not. (Example: True/False)

Note: Please note that the exact command syntax may vary depending on the version of the HPE 3PAR OS you are using.

Do get back to us, if you need further help.

Regards,
Satish



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ash5
Occasional Advisor

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

Hi @Satish04 ,

Below is the version of 3par and the command you've given is not compatible:

SS8400_H19U36 cli% showversion
Release version 3.3.1 (MU3)
Patches: P49,P50,P58,P77,P91,P92,P97,P109,P114,P120,P128

Component Name Version
CLI Server 3.3.1 (P114)
CLI Client 3.3.1
System Manager 3.3.1 (P128)
Kernel 3.3.1 (MU3)
TPD Kernel Code 3.3.1 (MU3)
TPD Kernel Patch 3.3.1 (P128)

I tried changing a few parameters and adding a few but I cannot run this command. Not sure if this command is obsolete.

 

Ash5
Occasional Advisor

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

Hi @Satish04 ,

 

I ran the below command :

SS8400_H19U36 cli% createsralertcrit vvspace -daily -major -vv * totalused_mb>8
0 threshold_lun_80

It ran without giving any error.  but I want more than 80% threshold but as per the field name totalused_mb is asking value in mb then that would be impossible for me.

 

 

Satish04
HPE Pro
Solution

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u


Hi Ash5,

I apologize, may I request you to try the below command to set the allocation warning for VV.

To set an allocation warning on a particular VV, run the command "setvv -usr_aw <Allocation warning threshold value> <Name of the VV>" (For example: setvv -user_aw 75 Test_VV)
Run the command to check the allocation warning is set to "showvv -s <Name of the VV>".

Hope this helps.

Regards,
Satish



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Ash5
Occasional Advisor

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

Hi @Satish04 ,

Thank you so much. This command works. 

 

Satish04
HPE Pro

Re: I want to use createsralertcrit command to create a threshold alert for lun capacity u

You are most welcome,  Ash5.

Regards,

Satish



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo