Newer
Older
[PACKAGE]: ../../raw/master/checkpoint_log_exporter-0.0.5-20230529.mkp "Download latest version checkpoint_log_exporter-0.0.5-20230529.mkp"
This is a agent plugin to monitor the statrus of the Check Point log exporter `cp_log_export`.
You can install the package by uploading it to your CheckMK site and as site user run `mkp install checkpoint_log_exporter.mkp`.
In the Enterprise/Free edition of CheckMK you can use the GUI to install the package (_Setup_ -> _Extension Packages_ -> _Upload package_)
After you have installed the plugin you need to copy the agent plugin (`agents/plugins/checkpoint_log_exporter.sh`) to your checkmk agent plugins directory.
---
### Want to Contribute?
Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing")
---
### Check Info
The plugin creates the service **_Log exporter_** with the **_name of the log exporter_** as item.
<details><summary>Montoring states</summary>
| State | condition | WATO |
| ------ | ------ | ------ |
| WARN | if the exporter is not running | yes |
| WARN/CRIT | if the exporter is running, but has not read the log for 60/120 seconds | yes |
</details>
---
### WATO
<details><summary>Service monitoring rule</summary>
| Section | Rule name |
| ------ | ------ |
| Maximum seconds not read | 60/120 seconds |
| State not running | WARN |
</details>
<details><summary>Discovery rule</summary>
</details>
---
### Sample Output
Sample output
![sample output details](/img/sample-details.png?raw=true "sample output details")
<details><summary>Sample agent output</summary>
```
<<<checkpoint_log_exporter:sep(0)>>>
status: Not running
last log read at: 20 Jul 9:19:35
debug file: /opt/CPrt-R81.10/log_exporter/targets/<REMOVED>/log/log_indexer.elg
status: Running (77996)
last log read at: 13 Oct 14:40:54
debug file: /opt/CPrt-R81.10/log_exporter/targets/<REMOVED>/log/log_indexer.elg