- Community Home
- >
- Servers and Operating Systems
- >
- HPE Synergy
- >
- HPE Synergy
- >
- lifecycle of a oneview alert
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2020 12:32 PM - edited тАО10-05-2020 12:36 PM
тАО10-05-2020 12:32 PM - edited тАО10-05-2020 12:36 PM
Hi all
from curiosity Im asking my self if teh alert is generated with an uri ex. /rest/alerts/2 and its in state Active or Locked. Once the condition that generated alert will be resolved the alert goes to state Cleared and the uri remains the same /rest/alerts/2 ?
The idea is to get alerts that are active or locked - after a while get alerts that have been cleared - and pair this information. Or the uri is always the same and there is another way how to identify eg. pair the cleared alert with the active/locked alert.
Reading from docu alertState - The system will automatically set the state of an alert to Cleared if the severity of alert is OK.
https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.0/cicf-api/en/index.html#rest/alerts
Thanks a lot for hints
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2020 03:11 PM - edited тАО10-05-2020 03:12 PM
тАО10-05-2020 03:11 PM - edited тАО10-05-2020 03:12 PM
Re: lifecycle of a oneview alert
Essentially, the URI of an alert will perpetually be the URI. While the unique ID is a numerical value, it would end at 9223372036854775807, and then roll over back to 1. So needless to say, no one should ever get close to that number.
Slight edit here: I should say that the alert URI should always be the assigned URI, unless the alert can be deleted. Not all alerts can be deleted. But if it does, the numerical value isn't assigned again until roll over. Which I have already established should never happen.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2020 10:32 PM - edited тАО10-06-2020 03:46 AM
тАО10-05-2020 10:32 PM - edited тАО10-06-2020 03:46 AM
Re: lifecycle of a oneview alert
Hi
thanks for insight.
S its my understanding that:
1. some alert will be generated ( shortened and simlified )
with:
some problem AAA
uri /rest/alerts/2
alertstate: active
2. situation that generated the alert will pass - will the uri remain the same ? ( in between there was another alert generated with /rest/alert/3 some problem BBB )
some problem AAA
uri /rest/alert/2
alertstate cleared
or it will be
some problem AAA
uri /rest/alert/4
alertstate cleared
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2020 07:20 AM
тАО10-06-2020 07:20 AM
SolutionThe state of the alert does not change the URI of the alert. If there is an external source that is indicating the change of state, a new alert would be generated to indicate the status of that external resource has changed, and the correlated alert is cleared. This is mostly when there is a physical problem with a server.
I am an HPE employee