Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
monitoring [2022/08/26 22:20] – [CheckMK.commands] admin | monitoring [2024/11/09 13:09] (current) – [monitoring] admin | ||
---|---|---|---|
Line 3: | Line 3: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | <WRAP left tip 60%> | ||
+ | https:// | ||
+ | </ | ||
+ | <WRAP clear/> | ||
- | ====== CheckMK ====== | ||
- | Monitoring software sucsessor of nagios - start in docker | ||
+ | |||
+ | ===== Monitoring metrics ===== | ||
+ | * Victoria Metrics, Mimir, Thanos https:// | ||
+ | |||
+ | ====== CheckMK ====== | ||
+ | Monitoring software sucsessor of nagios - start in docker https:// | ||
Info '' | Info '' | ||
===== CheckMK.links ===== | ===== CheckMK.links ===== | ||
- | * https:// | + | * debug check mk checks - https:// |
- | * https:// | + | * example of agent spool metrics - https:// |
- | * https:// | + | * create local check in checkmk - https:// |
- | * https:// | + | * piggy service example - https:// |
- | * https:// | + | * allow spooling plugin outputs via files - https:// |
+ | * send emails | ||
===== CheckMK Information ===== | ===== CheckMK Information ===== | ||
Line 32: | Line 41: | ||
==== LiveStatus ==== | ==== LiveStatus ==== | ||
+ | Get unixtime - < | ||
* Live status get statehist columns and description | * Live status get statehist columns and description | ||
'' | '' | ||
Line 40: | Line 50: | ||
* get gistory of state of service in period | * get gistory of state of service in period | ||
'' | '' | ||
+ | |||
+ | * get data for access matrix | ||
+ | '' | ||
Line 85: | Line 98: | ||
==== Agent spool example/ piggyback | ==== Agent spool example/ piggyback | ||
- | < | + | < |
# switch CMK-agent | # switch CMK-agent | ||
Line 109: | Line 122: | ||
</ | </ | ||
- | + | ==== Nagios migration metrics to piggyback ==== | |
- | < | + | < |
--------------------------- | --------------------------- | ||
+ | # Python performance process migration | ||
b=pd.split(' | b=pd.split(' | ||
if(len(b)> | if(len(b)> | ||
Line 118: | Line 132: | ||
| | ||
| | ||
+ | ---------------------------- | ||
+ | # Nagios passive | ||
+ | #f:fed-hw; | ||
+ | # | ||
+ | #ec:0; | ||
+ | #pd:PING OK - Packet loss = 0%, RTA = 1.72 ms|rta=1.722000ms; | ||
- | f:fed-hw; | + | # nagios metric exmaple to piggyback |
- | n: | + | |
- | ec:0; | + | |
- | pd:PING OK - Packet loss = 0%, RTA = 1.72 ms|rta=1.722000ms; | + | |
- | + | ||
- | + | ||
- | b=a.split(' | + | |
- | re.sub(r' | + | |
- | + | ||
1 <<<< | 1 <<<< | ||
2 <<< | 2 <<< | ||
Line 136: | Line 147: | ||
5 0 "test Call-center-router_188.17.152.47" | 5 0 "test Call-center-router_188.17.152.47" | ||
- | |||
- | |||
- | - get data | ||
- | lq "GET statehist\nColumns: | ||
- | |||
- | -- send emails | ||
- | https:// | ||
</ | </ | ||