sampleconfig4.20.json 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "comment": "This is a sample configuration for EOS versions above 4.20",
  3. "subscriptions": [
  4. "/Smash/counters/ethIntf",
  5. "/Smash/interface/counter/lag/current/counter",
  6. "/Sysdb/environment/archer/cooling/status",
  7. "/Sysdb/environment/archer/power/status",
  8. "/Sysdb/environment/archer/temperature/status",
  9. "/Sysdb/hardware/archer/xcvr/status"
  10. ],
  11. "metricPrefix": "eos",
  12. "metrics": {
  13. "intfCounter": {
  14. "path": "/Smash/counters/ethIntf/FocalPointV2/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)"
  15. },
  16. "intfLagCounter": {
  17. "path": "/Smash/interface/counter/lag/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)"
  18. },
  19. "intfPktCounter": {
  20. "path": "/Smash/counters/ethIntf/FocalPointV2/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)"
  21. },
  22. "intfLagPktCounter": {
  23. "path": "/Smash/interface/counter/lag/current/(counter)/(?P<intf>.+)/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)"
  24. },
  25. "intfPfcClassCounter": {
  26. "path": "/Smash/counters/ethIntf/FocalPointV2/current/(counter)/(?P<intf>.+)/ethStatistics/(?P<direction>(?:in|out))(PfcClassFrames)"
  27. },
  28. "tempSensor": {
  29. "path": "/Sysdb/(environment)/archer/temperature/status/(?P<sensor>.+)/((?:maxT|t)emperature)"
  30. },
  31. "tempSensorAlert": {
  32. "path": "/Sysdb/(environment)/archer/temperature/status/(?P<sensor>.+)/(alertRaisedCount)"
  33. },
  34. "currentSensor": {
  35. "path": "/Sysdb/(environment)/archer/power/status/currentSensor/(?P<sensor>.+)/(current)"
  36. },
  37. "powerSensor": {
  38. "path": "/Sysdb/(environment)/archer/(power)/status/powerSupply/(?P<sensor>.+)/(input|output)Power"
  39. },
  40. "voltageSensor": {
  41. "path": "/Sysdb/(environment)/archer/power/status/voltageSensor/(?:cell/.+|system)/(?P<sensor>.+)/(voltage)"
  42. },
  43. "railCurrentSensor": {
  44. "path": "/Sysdb/(environment)/archer/power/status/voltageSensor/(?:cell/.+|system)/(?P<sensor>.+)/(current)"
  45. },
  46. "fanSpeed": {
  47. "path": "/Sysdb/(environment)/archer/(cooling)/status/(?P<fan>.+)/speed"
  48. },
  49. "qsfpModularRxPower": {
  50. "path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalRxPower)"
  51. },
  52. "qsfpFixedRxPower": {
  53. "path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/domRegisterData/lane(?P<lane>\\d)(OpticalRxPower)"
  54. },
  55. "sfpModularTemperature": {
  56. "path": "/Sysdb/hardware/archer/(xcvr)/status/slice/(?P<linecard>.+)/(?P<intf>.+)/lastDomUpdateTime/(temperature)"
  57. },
  58. "sfpFixedTemperature": {
  59. "path": "/Sysdb/hardware/archer/(xcvr)/status/all/(?P<intf>.+)/lastDomUpdateTime/(temperature)"
  60. }
  61. }
  62. }