This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# based on: http://blog.kagesenshi.org/2007/06/fedora-repository-mirroring-script.html | |
# mirror root - the place you want the rpms to be downloaded | |
MROOT="/opt/storage/repository" | |
# processor architectures (space separated) | |
ARCHS="x86_64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: piwik | |
Version: 2.1.0 | |
Release: 1%{?dist} | |
Summary: Free Web Analytics Software | |
Group: Applications/Internet | |
License: GPLv3+ and Public Domain and BSD and (MIT or GPLv2) and (MIT or GPL) and MIT and (BSD or GPLv2) and LGPL and GPL and LGPLv3+ and (MIT or GPLv3) and CC-BY and LGPLv2.1 | |
URL: https://piwik.org/ | |
Source0: https://builds.piwik.org/%{name}-%{version}.tar.gz | |
Source1: %{name}-nginx.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## uncomment for https | |
#server { | |
# listen 80; | |
# server_name localhost; | |
# | |
# location / { | |
# return 301 https://$server_name; | |
# } | |
#} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# log_check_es | |
# | |
# Check ElasticSearch for recent exceptions from the live tomcat servers | |
##Debug | |
#set -x | |
# Exit on Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ rpmbuild fedora-review -b 1264546 | |
INFO: Processing bugzilla bug: 1264546 | |
INFO: Getting .spec and .srpm Urls from : 1264546 | |
INFO: --> SRPM url: https://github.com/solettaproject/soletta-packaging/releases/download/v3/soletta-0.0.1-beta5.fc22.src.rpm | |
INFO: --> Spec url: https://raw.githubusercontent.com/solettaproject/soletta-packaging/v3/rpm/soletta.spec | |
INFO: Using review directory: /home/piotr/rpmbuild/1264546-soletta | |
INFO: Downloading .spec and .srpm files | |
warning: bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5 | |
warning: bogus date in %changelog: Tue Sep 2 2015 Gustavo Lima Chaves <[email protected]> - 0.0.1-beta5 | |
INFO: No upstream for (Source2): config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 3, | |
"title": "perf_test", | |
"originalTitle": "perf_test", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"hideControls": false, | |
"sharedCrosshair": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /usr/share/grafana/grafana-backup.sh | |
#!/bin/bash | |
DB="/var/lib/grafana/grafana.db" | |
BACKUP="/data/backup/grafana/grafana.db-$(date +%Y%m%d).bck" | |
SQLITE=/usr/bin/sqlite3 | |
ZIP=/bin/gzip | |
${SQLITE} ${DB} ".backup ${BACKUP}" | |
${ZIP} ${BACKUP} |
OlderNewer