Hi, You may use the below API to get the alerts from ECS using the tool svc_rest_cmd
Example: svc_rest_cmd /vdc/alerts
You may run the above command from any ECS node and it will list all alerts.
Another tool available in recent xdoctor (current version as of 24th APril 2023 is Xdoctor 4.8-90.1) is svc_alert.
admin@ecsnode1:~> svc_alerts -h
usage: svc_alerts [-v] [-h] [-xh] {list,summary,clear,test,mail,mail_kpi,snmp_kpi,mail_hc} ...
svc_alerts v1.0.29
positional arguments:
{list,summary,clear,test,mail,mail_kpi,snmp_kpi,mail_hc} sub-command help
list List latest alerts
summary Display a summary of alerts only
clear Clear unacknowledged alerts
test Create a test alert
mail Check for alerts and generate an email notification if found
mail_kpi Generate an email notification for KPI details
snmp_kpi Generate an snmp alert for KPI details
mail_hc Generate an email notificaiton for commands in the file
optional arguments:
-v, --version show program's version number and exit
-h, --help show this help message and exit
Global Options (Not Shown):
-xh Display all help including global options (REST options, global dtquery options,
MACHINES file usage, etc)
admin@ecsnode1:~>
Thanks for your question.I don’t see any documentation on a command like that. Here is the rest api guide https://dell.to/3jkyn7n and here is the rest of the documentation. https://dell.to/3hzlMg5
Let us know if there is anything else we can help you with.
Sooraj
1 Message
0
April 24th, 2023 00:00
Hi,
You may use the below API to get the alerts from ECS using the tool svc_rest_cmd
Example:
svc_rest_cmd /vdc/alerts
You may run the above command from any ECS node and it will list all alerts.
Another tool available in recent xdoctor (current version as of 24th APril 2023 is Xdoctor 4.8-90.1) is svc_alert.
DELL-Josh Cr
Moderator
•
9.5K Posts
1
December 20th, 2022 06:00
Hi,
Thanks for your question. I don’t see any documentation on a command like that. Here is the rest api guide https://dell.to/3jkyn7n and here is the rest of the documentation. https://dell.to/3hzlMg5
Let us know if there is anything else we can help you with.
DiegoRZen
1 Rookie
•
9 Posts
0
April 25th, 2023 07:00
Hello Sooraj!!
Thank you very much for the information, that is of great help to me.
Finally, do you know if there is a similar command to obtain the status of the capacity in use?