Skip to content

Instantly share code, notes, and snippets.

View piotr1212's full-sized avatar

Piotr Popieluch piotr1212

  • The Netherlands
View GitHub Profile
@piotr1212
piotr1212 / collectd.spec
Created November 22, 2013 17:10
collectd.spec with dbi and memcachec plugins
Summary: Statistics collection daemon for filling RRD files
Name: collectd
Version: 4.10.9
Release: 2%{?dist}
License: GPLv2
Group: System Environment/Daemons
URL: http://collectd.org/
Source: http://collectd.org/files/%{name}-%{version}.tar.bz2
Source1: collectd-httpd.conf
@piotr1212
piotr1212 / collectd-gearman.spec
Last active December 21, 2015 20:39
rpm spec file for gearman-collectd plugin
Summary: Gearman plugin for collectd
Name: collectd-gearman
Version: 1
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Daemons
URL: https://github.com/powdahound/gearman-collectd-plugin
Source0: %{name}-%{version}.tar.gz
Source1: gearman.conf
@piotr1212
piotr1212 / check_chkconfig_status
Created August 6, 2013 11:05
nagios chkconfig check for red hat based os'es: checks which daemons should be running according to chkconfig, then checks status for each daemon
#!/bin/bash
# check_chkconfig_status
#
# Checks which services should be running according
# to chkconfig and check if they actually are.
#
# 2013-08-06: Piotr Popieluch
#
# for this to run from nrpe add the following line to /etc/sudoers: