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
+-----+------------------------------------------------------------+----------------------------------------------------------+ | |
| # | Skenario | Hasil | | |
+-----+------------------------------------------------------------+----------------------------------------------------------+ | |
| 1. | Query sederhana | OK | | |
| 2. | Query sederhana dengan filter tag (where di SQL) | OK | | |
| 3. | Query downsample | OK | | |
| 4. | Query rate | OK : untuk satuan per-detik | | |
| | | NOK: untuk satuan waktu lainnya | |
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
+-----+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| # | Skenario | Keterangan | | |
+-----+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | |
| 1. | Query sederhana | Mengambil waktu relatif terhadap saat eksekusi query | | |
| | |
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
+-------------------------+------------+------------------------+-----------+ | |
| Metric | Timestamp | Tag | Value | | |
+-------------------------+------------+------------------------+-----------+ | |
| http.hits | 1234567890 | host=A | 2331 | | |
| | | | | | |
| ping.response_time_ms | 1577289224 | source=probe1 | 148 | | |
| | | target=8.8.8.8 | | | |
| | | | | | |
| iot.sensor.gate.counter | 1234567890 | site=SSS | 1654 | |
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
package main | |
import ( | |
"encoding/json" | |
"net/http" | |
"log" | |
"strconv" | |
"github.com/gorilla/mux" | |
"github.com/jinzhu/gorm" |
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
OID | Keterangan | |
---|---|---|
.1.3.6.1.2.1.1.1.0 | sysDescr atau Deskripsi dari Perangkat; biasanya digunakan untuk mengetahui vendor atau tipe dari perangkat | |
.1.3.6.1.2.1.1.3.0| | ysUptime atau Uptime dari Perangkat; biasanya digunakan untuk mengetahui sudah berapa lama perangkat tersebut hidup. | |
.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.4.2 | agentSwitchCpuProcessMemAvailable atau total memori yang dimiliki oleh perangkat jaringan Dell | |
.1.3.6.1.4.1.9.10.85.7 | cInetCidrRouteTable atau tabel rute yang ada di perangkat jaringan Cisco |
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
package main | |
import ( | |
"encoding/json" | |
"net/http" | |
"log" | |
"strconv" | |
"github.com/gorilla/mux" | |
) |
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
notificator: | |
- name: bot-startup-example | |
type: telegram-bot | |
configuration: | |
bot_token: <telegram-bot-token> | |
recipient_id: | |
- <telegram-room-id-1> | |
- <telegram-room-id-2> | |
http_server_port: :4444 |
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
version: "2.1" | |
networks: | |
api-monitoring: | |
volumes: | |
prom-storage: | |
graf-storage: | |
services: |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
NewerOlder