All Projects → sensu-plugins → Sensu Plugins Process Checks

sensu-plugins / Sensu Plugins Process Checks

Licence: mit
This plugin provides native process instrumentation for monitoring and metrics collection, including: process status, uptime, thread count, and others.

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Sensu Plugins Process Checks

Snmp exporter
SNMP Exporter for Prometheus
Stars: ✭ 705 (+3425%)
Mutual labels:  monitoring, metrics
Prometheus
Kubernetes Setup for Prometheus and Grafana
Stars: ✭ 824 (+4020%)
Mutual labels:  monitoring, metrics
Opentelemetry Js
OpenTelemetry JavaScript Client
Stars: ✭ 700 (+3400%)
Mutual labels:  monitoring, metrics
Appmetrics
Node Application Metrics provides a foundational infrastructure for collecting resource and performance monitoring data for Node.js-based applications.
Stars: ✭ 864 (+4220%)
Mutual labels:  monitoring, metrics
Logmonitor
Monitoring log files on windows systems.
Stars: ✭ 23 (+15%)
Mutual labels:  monitoring, metrics
Sensu Go
Simple. Scalable. Multi-cloud monitoring.
Stars: ✭ 625 (+3025%)
Mutual labels:  monitoring, metrics
Opstrace
Secure observability, deployed in your own network. An open source alternative to SaaS solutions like Datadog, SignalFx, ...
Stars: ✭ 743 (+3615%)
Mutual labels:  monitoring, metrics
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (+2695%)
Mutual labels:  monitoring, metrics
Wobserver
Web based metrics, monitoring, and observer
Stars: ✭ 900 (+4400%)
Mutual labels:  monitoring, metrics
Graylog Plugin Metrics
Graylog output plugin for Graphite and Ganglia
Stars: ✭ 16 (-20%)
Mutual labels:  monitoring, metrics
Pgmetrics
Collect and display information and stats from a running PostgreSQL server
Stars: ✭ 612 (+2960%)
Mutual labels:  monitoring, metrics
Devdash
🍱 Highly Configurable Terminal Dashboard for Developers and Creators
Stars: ✭ 939 (+4595%)
Mutual labels:  monitoring, metrics
Metrictank
metrics2.0 based, multi-tenant timeseries store for Graphite and friends.
Stars: ✭ 574 (+2770%)
Mutual labels:  monitoring, metrics
Opencensus Java
A stats collection and distributed tracing framework
Stars: ✭ 640 (+3100%)
Mutual labels:  monitoring, metrics
Opennms
Enterprise-Grade Open-Source Network Management Platform
Stars: ✭ 568 (+2740%)
Mutual labels:  monitoring, metrics
Pcp
Performance Co-Pilot
Stars: ✭ 716 (+3480%)
Mutual labels:  monitoring, metrics
Influxdb
Scalable datastore for metrics, events, and real-time analytics
Stars: ✭ 22,577 (+112785%)
Mutual labels:  monitoring, metrics
Inspectit
inspectIT is the leading Open Source APM (Application Performance Management) tool for analyzing your Java (EE) applications.
Stars: ✭ 513 (+2465%)
Mutual labels:  monitoring, metrics
Django Prometheus
Export Django monitoring metrics for Prometheus.io
Stars: ✭ 823 (+4015%)
Mutual labels:  monitoring, metrics
Postgresql exporter
A Prometheus exporter for some postgresql metrics
Stars: ✭ 26 (+30%)
Mutual labels:  monitoring, metrics

Sensu-Plugins-process-checks

Build Status Gem Version Sensu Bonsai Asset

Sensu Asset

The Sensu assets packaged from this repository are built against the Sensu ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu ruby runtime asset in the list of assets needed by the resource. The current ruby-runtime assets can be found here in the Bonsai Asset Index.

Functionality

check-processs and check-process-restart will check processes on a system and alert if specific conditions exist based upon a set of filters that each has implemented.

check-cmd will run a specific user designated command and parse the output with a regex or check for a specific status code. If either of these conditions is not what is expected it will alert.

Files

  • bin/check-cmd.rb
  • bin/check-process-restart.rb
  • bin/check-process.rb
  • bin/check-threads-count.rb
  • bin/metrics-per-process.py
  • bin/metrics-per-process.rb
  • bin/metrics-process-status.rb
  • bin/metrics-process-uptime.rb
  • bin/metrics-process-uptime.sh
  • bin/metrics-processes-threads-count.rb

Usage

Check if an arbitrary process seems to be running or not. Our arbitrary process in this example is called gutrot. Usage of check-process.rb would look something similar to the following:

$ /opt/sensu/embedded/bin/ruby /opt/sensu/embedded/bin/check-process.rb -p gutrot
CheckProcess OK: Found 3 matching processes; cmd /gutrot/

The -p argument is for a pattern to match against the list of running processes reported by ps.

Example configuration at /etc/sensu/conf.d/check_gutrot_running.json:

{
  "checks": {
    "check_gutrot_running": {
      "command": "check-process.rb -p gutrot",
      "standalone": true,
      "interval": 60,
      "handlers": ["default"]
    }
  }
}

The check is named check_gutrot_running and it runs check-process.rb -p gutrot every 60 seconds (interval) then lets the default handler handle the result.

Installation

Installation and Setup

Quick install after following the steps above:

$ sensu-install process-checks

The checks will be installed at:

/opt/sensu/embedded/bin/

Notes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].