diff options
| author | fumingwei <[email protected]> | 2024-06-27 15:47:09 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2024-06-27 15:47:09 +0800 |
| commit | 62b7e4f2a1cb840327438403033622c36704d966 (patch) | |
| tree | c8b3b064a42fd8df6d6a8b5b705a356fa7cbfd59 /NEZHA/master/AlertRule.json | |
| parent | 975a1b756ff8b55c6cf5fdd53bd62a3e3b7d8ec3 (diff) | |
modify packet io rx tx alert rule.
Diffstat (limited to 'NEZHA/master/AlertRule.json')
| -rw-r--r-- | NEZHA/master/AlertRule.json | 51 |
1 files changed, 38 insertions, 13 deletions
diff --git a/NEZHA/master/AlertRule.json b/NEZHA/master/AlertRule.json index 39d6358..34ac992 100644 --- a/NEZHA/master/AlertRule.json +++ b/NEZHA/master/AlertRule.json @@ -9,7 +9,7 @@ "Extension Label":"", "Unit":"short", "Duration":"1", - "Summary":"container {{ $labels.container }} restarted", + "Summary":"The container {{ $labels.container }} restarted.", "Description":"", "Receiver":"", "Notices":"", @@ -50,16 +50,16 @@ "Data link":"{\"dataLink\":[]}" }, { - "Name":"TSG-OS packet-io rx missed", + "Name":"TSG-OS packet io nic rx drops (missed)", "Type":"1", "Evaluation interval ":"60", "Timeout(s)":"300", - "Expression/OID":"rate(phy_rx_missed_total{service=\"packet-io-engine\",dev!~\"virtio_dign_(.*)\"}[5m])", + "Expression/OID":"irate(phy_rx_missed_total{service=\"packet-io-engine\",dev!~\"virtio_dign_(.*)\"}[5m])", "Condition":"[{\"id\":1,\"weight\":1,\"operator\":\">\",\"value\":\"1000\"},{\"id\":2,\"weight\":2,\"operator\":\">\",\"value\":\"100\"},{\"id\":3,\"weight\":3,\"operator\":\">\",\"value\":\"10\"}]", "Extension Label":"", "Unit":"packets/sec(IEC)", "Duration":"120", - "Summary":"Packet drops by NIC cards.", + "Summary":"The nic rx drops due to missed by packet io.", "Description":"", "Receiver":"", "Notices":"", @@ -75,7 +75,7 @@ "Data link":"{\"dataLink\":[]}" }, { - "Name":"TSG-OS packet-io rx error", + "Name":"TSG-OS packet io nic rx error", "Type":"1", "Evaluation interval ":"60", "Timeout(s)":"300", @@ -84,7 +84,7 @@ "Extension Label":"", "Unit":"packets/sec(IEC)", "Duration":"60", - "Summary":"Packet drops by CRC errors.", + "Summary":"The nic rx error by packet io.", "Description":"", "Receiver":"", "Notices":"", @@ -200,7 +200,7 @@ "Data link":"{\"dataLink\":[]}" }, { - "Name":"TSG-OS packet-io rx drop", + "Name":"TSG-OS traffic engines rx drops", "Type":"1", "Evaluation interval ":"60", "Timeout(s)":"300", @@ -209,7 +209,7 @@ "Extension Label":"", "Unit":"packets/sec(IEC)", "Duration":"180", - "Summary":"Packet drops by application for the poor performance.", + "Summary":"The packet rx drops by traffic engines.", "Description":"", "Receiver":"", "Notices":"", @@ -225,16 +225,16 @@ "Data link":"{\"dataLink\":[]}" }, { - "Name":"TSG-OS packet-io tx missed", + "Name":"TSG-OS packet io nic tx error", "Type":"1", "Evaluation interval ":"60", "Timeout(s)":"300", - "Expression/OID":"irate(phy_tx_error_total{service=\"packet-io-engine\"}[5m])", + "Expression/OID":"irate(phy_tx_error_total{service=\"packet-io-engine\", dev!~\"virtio_dign_(.*)\"}[5m])", "Condition":"[{\"id\":1,\"weight\":1,\"operator\":\">\",\"value\":\"500\"},{\"id\":2,\"weight\":2,\"operator\":\">\",\"value\":\"50\"},{\"id\":3,\"weight\":3,\"operator\":\">\",\"value\":\"0\"}]", "Extension Label":"", "Unit":"packets/sec(IEC)", "Duration":"60", - "Summary":"Packet I/O TX missed.", + "Summary":"The nic tx error by packet io.", "Description":"", "Receiver":"", "Notices":"", @@ -250,7 +250,7 @@ "Data link":"{\"dataLink\":[]}" }, { - "Name":"TSG-OS packet-io tx drops", + "Name":"TSG-OS traffic engines tx drops", "Type":"1", "Evaluation interval ":"30", "Timeout(s)":"300", @@ -259,7 +259,32 @@ "Extension Label":"", "Unit":"short", "Duration":"180", - "Summary":"Packet TX Drops by applicaton poor performance.", + "Summary":"The packet tx drops by traffic engines.", + "Description":"", + "Receiver":"", + "Notices":"", + "State":"1", + "Automatic expired":"1", + "Schedule":"0", + "Effective times":"1,2,3,4,5,6,7", + "Start time":"00:00", + "End time":"23:59", + "Active notification":"0", + "Expired notification":"0", + "Trouble shooting":"<div class=\"editor-core ql-container ql-snow\"><div class=\"ql-editor\"><p><br></p></div></div>", + "Data link":"{\"dataLink\":[]}" + }, + { + "Name":"TSG-OS packet io nic rx drops (nobuf)", + "Type":"1", + "Evaluation interval ":"60", + "Timeout(s)":"300", + "Expression/OID":"irate(phy_rx_nobuf_total{service=\"packet-io-engine\",dev!~\"virtio_dign_(.*)\"}[5m])", + "Condition":"[{\"id\":1,\"weight\":1,\"operator\":\">\",\"value\":\"1000\"},{\"id\":2,\"weight\":2,\"operator\":\">\",\"value\":\"100\"},{\"id\":3,\"weight\":3,\"operator\":\">\",\"value\":\"10\"}]", + "Extension Label":"", + "Unit":"packets/sec(IEC)", + "Duration":"120", + "Summary":"The nic rx drops due to nobuf by packet io.", "Description":"", "Receiver":"", "Notices":"", |
