-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<28>Jul 8 23:04:13 vmx01 alarmd[2449]: Alarm set: RE color=YELLOW, class=CHASSIS, reason=RE 0 /var partition usage is high |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"severity": 4, | ||
"timestamp": 1594249453, | ||
"os": "junos", | ||
"message_details": { | ||
"processName": "alarmd", | ||
"severity": 4, | ||
"tag": "Alarm set", | ||
"hostPrefix": null, | ||
"time": "23:04:13", | ||
"pri": "28", | ||
"message": "RE color=YELLOW, class=CHASSIS, reason=RE 0 /var partition usage is high", | ||
"facility": 3, | ||
"host": "vmx01", | ||
"date": "Jul 8", | ||
"processId": "2449" | ||
}, | ||
"yang_model": "ietf-hardware", | ||
"yang_message": { | ||
"hardware-state": { | ||
"component": { | ||
"RE": { | ||
"class": "CHASSIS", | ||
"name": "RE", | ||
"state": { | ||
"alarm-state": 4, | ||
"alarm-reason": "RE 0 /var partition usage is high" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"error": "SYSTEM_ALARM", | ||
"facility": 3, | ||
"host": "vmx01", | ||
"ip": "127.0.0.1" | ||
} |
1 change: 1 addition & 0 deletions
1
tests/config/junos/SYSTEM_ALARM_CLEARED/reason_nonalpha/syslog.msg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<28>Jul 8 23:04:13 vmx01 alarmd[2449]: Alarm cleared: RE color=YELLOW, class=CHASSIS, reason=RE 0 /var partition usage is high |
37 changes: 37 additions & 0 deletions
37
tests/config/junos/SYSTEM_ALARM_CLEARED/reason_nonalpha/yang.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"severity": 4, | ||
"timestamp": 1594249453, | ||
"os": "junos", | ||
"message_details": { | ||
"processName": "alarmd", | ||
"severity": 4, | ||
"tag": "Alarm cleared", | ||
"hostPrefix": null, | ||
"time": "23:04:13", | ||
"pri": "28", | ||
"message": "RE color=YELLOW, class=CHASSIS, reason=RE 0 /var partition usage is high", | ||
"facility": 3, | ||
"host": "vmx01", | ||
"date": "Jul 8", | ||
"processId": "2449" | ||
}, | ||
"yang_model": "ietf-hardware", | ||
"yang_message": { | ||
"hardware-state": { | ||
"component": { | ||
"RE": { | ||
"class": "CHASSIS", | ||
"name": "RE", | ||
"state": { | ||
"alarm-state": 4, | ||
"alarm-reason": "RE 0 /var partition usage is high" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"error": "SYSTEM_ALARM_CLEARED", | ||
"facility": 3, | ||
"host": "vmx01", | ||
"ip": "127.0.0.1" | ||
} |