by masoibc
Checkmk notification plugin for Freshservice. Automatically creates or updates Freshservice tickets based on the state transitions of host and service notifications. It is not perfect, but it works. Recommendation for payload mapping within Freshservice webhook: Subject > subject; Description > description; Node > object_type; Metric name > metric_name; Metric value > metric_value (for Action URL, else "perf_data"); Resource > hostname; Severity > severity; Created on > event_date; Aggregation > Resource + Metric name With this mapping you'll see the Event summary within the subject of the alarm and the created ticket and the state change of the host/service within the description. If you want it to behave like within mail notifications, you can swap the mapping to Subect > description and Description > subject, but personally I prefer it like mentioned above. When the base Checkmk URL is provided, the script generates a link to the alert page. I mapped this link to the Metric Value in Freshservice because the perf_data is rather hard to read without accessing the Checkmk API, and I felt the link would be more useful there. **Changelog: ** Version 1.1.0: Changed the Auth key parameter from string to more robust and secure password-function.
by masoibc
Written for Aruba ClearPass Monitoring. Based on "Clearpass API Monitoring" originally created by Benjamin Hoch at pronexon GmbH (https://exchange.checkmk.com/p/checkmk-mkp-clearpass) My version (2.4.0) cleaned the code a bit and added monitoring for the last 20 log lines of all discovered ClearPass extensions. I did this, because I've found out that some extensions may be in a running state, but won't function in the correct way, because there are unresolved erros within the log file which need attention and/or a extension restart. SETUP: 1. create clearpass api user: - navigate to the clearpass server via browser and login - ClearPass Guest > Administration > API Services > API Clients > Create API client (Operating mode > ClearPass REST API; Grant Types > client_credentials; Operator Profile > Read-only Administrator) 2. api documentation: - https://developer.arubanetworks.com/aruba-cppm/reference/tokenendpointpost 3. Integration: - Configure API credentials under Setup > Agents > Other integrations > Aruba ClearPass 4. Host configuration: - Monitoring agents > Checkmk agent /API integrations > Configured API integrations