elastic_monit_cr

script to monitor elasticsearch indexes

elastic_monit_cr

tool to monitor elasticsearch indexes

Run

update your status_elastic.cr file with your server's ip and exec:

crystal status_elastic.cr

Yout output like this:


      SIZE: Warning!
      STAUTS: open
      NAME INDICE: your index
      SIZE: 949.1kb of 949.1kb


      SIZE: Good
      STAUTS: open
      NAME INDICE: your index
      SIZE: 94.4mb of 94.4mb


      SIZE: Good
      STAUTS: open
      NAME INDICE: your index
      SIZE: 54.6kb of 54.6kb


      SIZE: Warning!
      STAUTS: open
      NAME INDICE: your index
      SIZE: 3.5gb of 3.5gb


      SIZE: Warning!
      STAUTS: open
      NAME INDICE: your index
      SIZE: 1.1gb of 1.1gb

Data da ultima atualização => 2020-03-23 20:11:03 +00:00
Repository

elastic_monit_cr

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • over 4 years ago
  • March 23, 2020
License

Links
Synced at

Thu, 21 Nov 2024 03:12:59 GMT

Languages