Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels are missing for few alerts #3148

Closed
annapook-netapp opened this issue Sep 12, 2024 · 3 comments · Fixed by #3143
Closed

Labels are missing for few alerts #3148

annapook-netapp opened this issue Sep 12, 2024 · 3 comments · Fixed by #3143

Comments

@annapook-netapp
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please let us know in a comment

Problem

when the alert is raised through harvest few labels are seen missing for below alerts.

SnapMirror active sync Relationship Out of Sync ---- $labels.error_msg is not available in yaml
SnapMirror Relationship Out of Sync ---- $labels.error_message is not available in yaml
Shelf Fan Failed --- few lables are missing
Node Panic------ reason not displayed
Cloud Tier Unreachable-- config name and reason are not displayed
Disk Out of Service--- labels are not displaying
HA Interconnect Down-- subject and reason is not displayed
Ransomware Activity Detected- message is not displayed

Configuration

No response

Poller

10.195.15.41

Version

24.02

Poller logs

No response

OS and platform

(Ubuntu 22.04.4

ONTAP or StorageGRID version

9.12

Additional Context

No response

References

No response

@cgrinds
Copy link
Collaborator

cgrinds commented Sep 12, 2024

Related #3142

@Hardikl
Copy link
Contributor

Hardikl commented Sep 17, 2024

Validated with the dummy ems data:

  1. SnapMirror active sync Relationship Out of Sync
           "message": {
                "severity": "error",
                "name": "sms.status.out.of.sync.cg"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "srccgpath",
                    "value": "1"
                },
                {
                    "name": "dstcgpath",
                    "value": "2"
                },
                {
                    "name": "cg_relationship_id",
                    "value": "RaidLeftBehindAggrAlert"
                },
                {
                    "name": "error_msg",
                    "value": "4"
                }
               ]
  1. SnapMirror Relationship Out of Sync
            "message": {
                "severity": "error",
                "name": "sms.status.out.of.sync"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "srcpath",
                    "value": "1"
                },
                {
                    "name": "dstpath",
                    "value": "2"
                },
                {
                    "name": "relationship_id",
                    "value": "RaidLeftBehindAggrAlert"
                },
                {
                    "name": "error_msg",
                    "value": "4"
                }
               ]
  1. Shelf Fan Failed
           "message": {
                "severity": "emergency",
                "name": "ses.status.fanError"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "prodChannel",
                    "value": "1"
                },
                {
                    "name": "typeText",
                    "value": "2"
                },
                {
                    "name": "fanNumber",
                    "value": "3"
                },
                {
                    "name": "errorMsg",
                    "value": "4"
                },
                {
                    "name": "errorText",
                    "value": "5"
                },
                {
                    "name": "locationText",
                    "value": "6"
                }
               ]
  1. Node Panic
           "message": {
                "severity": "alert",
                "name": "sk.panic"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "reason",
                    "value": "1"
                }
            ],
  1. Cloud Tier Unreachable
          "message": {
                "severity": "emergency",
                "name": "object.store.unavailable"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "configname",
                    "value": "1"
                },
                {
                    "name": "node_uuid",
                    "value": "2"
                },
                {
                    "name": "reason",
                    "value": "3"
                }
            ],
  1. Disk Out of Service
           "message": {
                "severity": "notice",
                "name": "disk.outOfService"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "diskName",
                    "value": "1"
                },
                {
                    "name": "serialno",
                    "value": "2"
                },
                {
                    "name": "reason",
                    "value": "3"
                },
                {
                    "name": "powerOnHours",
                    "value": "4"
                },
                {
                    "name": "glistEntries",
                    "value": "5"
                },
                {
                    "name": "disk_information",
                    "value": "6"
                }
            ],
  1. HA Interconnect Down
        "message": {
                "severity": "alert",
                "name": "callhome.hainterconnect.down"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "subject",
                    "value": "balaji_node_1"
                },
                {
                    "name": "reason",
                    "value": "Node not pingable."
                }
            ],
  1. Ransomware Activity Detected
         "message": {
                "severity": "alert",
                "name": "callhome.arw.activity.seen"
            },
            "source": "notifyd",
            "parameters": [
                {
                    "name": "subject",
                    "value": "1"
                },
                {
                    "name": "volName",
                    "value": "2"
                },
                {
                    "name": "volUuid",
                    "value": "3"
                },
                {
                    "name": "vserverName",
                    "value": "4"
                },
                {
                    "name": "vserverUuid",
                    "value": "5"
                }
            ],

@cgrinds
Copy link
Collaborator

cgrinds commented Nov 4, 2024

Verified in 24.11 ddb97c5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants