0% found this document useful (0 votes)
126 views

Monitoring Cheat Sheet

This document provides a cheat sheet for monitoring tools including Graphite, Diamond, Munin, Nagios, Icinga, and some miscellaneous tools. It includes instructions for enabling and checking Diamond collectors, using Graphite and Munin for plugin testing and configuration, matching service definitions in Icinga 2, and using tools like Gearman and Jolokia for distributed checking and accessing JMX data over HTTP.

Uploaded by

Pankaj Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
126 views

Monitoring Cheat Sheet

This document provides a cheat sheet for monitoring tools including Graphite, Diamond, Munin, Nagios, Icinga, and some miscellaneous tools. It includes instructions for enabling and checking Diamond collectors, using Graphite and Munin for plugin testing and configuration, matching service definitions in Icinga 2, and using tools like Gearman and Jolokia for distributed checking and accessing JMX data over HTTP.

Uploaded by

Pankaj Sharma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Monitoring Cheat SheetEdit Cheat Sheet

For a product list check Solutions Monitoring

Graphite, Diamond

 Enabling Diamond collectors:

 echo "enabled = true" >> /etc/diamond/<name>Collector.conf

 Checking Diamond collectors:

 diamond-setup -p -C <name>Collector

 grafana - Graphite / InfluxDB dashboard


 Graphite Clustering
 Graphite Backends:
o Whisper (legacy): fixed-sized database
o Ceres: sparse data, arbitrary fixed-size resolutions

Munin

 Munin - Test Plugins:

 /usr/sbin/munin-run <plugin name> # for values


 /usr/sbin/munin-run <plugin name> config # for configuration

 Munin - Test available plugins

 /usr/sbin/munin-node-configure --suggest

 # and enable them using
 /usr/sbin/munin-node-configure --shell | sh

 Munin Server - Manual Update Run:

 sudo -u munin /usr/bin/munin-cron

Nagios, Icinga

 dmesg Nagios Plugin


 Icinga 1 - status.cgi Parameters
 Icinga 1 - Object Tricks: Negative hostgroup definitions

 define service {
 ...
 hostgroup_name all,!testing
 ...
 }
 Icinga 2 - Matching check definitions on hosts/hostgroups

 apply Service "MyService" {

# service definition...
assign where host.name == "MyHost1"
assign where match("hostprefix-*", host.name)
assign where "MyHostGroup" in host.groups
}

 Mod-Gearman: Nagios distributed checking (previously called Naemon)


 Gearman Debugging:

 gearman-top

Misc

 Jolokia JMX HTTP/JSON bridge + jxm4perl

You might also like