Installation

Mike Perham edited this page Oct 15, 2016 · 26 revisions

Ubuntu 12.04, 14.04 and 16.04

(really any Debian system using Upstart)

curl -L https://bit.ly/InspeqtorDEB | sudo bash
sudo apt-get install inspeqtor

CentOS 6.5 and 7

curl -L https://bit.ly/InspeqtorRPM | sudo bash
sudo yum install -y nc inspeqtor

Inspeqtor requires a 64-bit install of Linux 3.0+ (CentOS 6.5's pre-3.0 kernel is supported as a special case). Inspeqtor binaries are available via packagecloud.io. Many thanks to them for running a great, free service for Open Source projects!

Inspeqtor runs as root:adm. Add your user to the adm group and you won't need to use sudo to communicate with Inspeqtor:

sudo usermod -a -G adm $USER

Control

To start or stop Inspeqtor:

CentOS 6.5 / Ubuntu with Upstart

initctl start inspeqtor
initctl stop inspeqtor
initctl restart inspeqtor

Inspeqtor logs to stdout. It's up to the operating system and init system to send that output somewhere. In Ubuntu 14.04 LTS, Inspeqtor's log output goes to /var/log/upstart/inspeqtor.log.

CentOS 7 with systemd

systemctl start inspeqtor
systemctl stop inspeqtor
systemctl restart inspeqtor

Inspeqtor logs to syslog. It's up to the operating system and init system to send that output somewhere. In CentOS 7, Inspeqtor's syslog output goes to /var/log/messages.

Customize

Once installed, you'll now need to customize Inspeqtor:

  1. Update Inspeqtor's /etc/inspeqtor/inspeqtor.conf config file so it can send you alerts.
  2. Add *.inq files in /etc/inspeqtor/services.d to monitor your services.