This file contains hidden or 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
| input { | |
| http_poller { | |
| urls => { | |
| node => { | |
| method => get | |
| url => "http://localhost:9200/_cluster/health" | |
| headers => { | |
| Accept => "application/json" | |
| } | |
| } |
This file contains hidden or 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
| package monit | |
| type Monit struct { | |
| Monit struct { | |
| Platform struct { | |
| CPU string `json:"cpu"` | |
| Machine string `json:"machine"` | |
| Memory string `json:"memory"` | |
| Name string `json:"name"` | |
| Release string `json:"release"` |
NewerOlder