Global Configuration

Mike Perham edited this page Apr 9, 2015 · 11 revisions

Global configuration resides in /etc/inspeqtor/inspeqtor.conf.

Alert Routes

An alert route tells Inspeqtor how to alert you. The generic syntax looks like this:

send alerts via $CHANNEL with $KEY $VALUE, $KEY $VALUE
  • CHANNEL - Inspeqtor supports two channels: email and gmail. gmail is just an alias for email which automatically fills in Google's SMTP setup for you.
  • KEY/VALUE - allow you to configure various elements of the email configuration

NB: Values with double quotes or commas in them should be quoted: with password "12jk1!,@#2\"123"

gmail

send alerts via gmail with 
  username mygmail@example.com, password foobarBaz, to_email ops@example.com

email

send alerts via email with 
  username bubba, password "correct horse battery staple", smtp_server smtp.example.com, to_email accounting@example.com, tls_port 587

Set tls_port if your mail server uses a non-standard TLS port.

You can also use plain SMTP on port 25 without authentication:

send alerts via email with 
  smtp_server localhost, to_email accounting@example.com

Miscellaneous

Use set $KEY $VALUE to twiddle various knobs that Inspeqtor exposes.

# a deploy will timeout after this many seconds
set deploy_length 300

# controls the log verbosity
set log_level info

Logging

Inspeqtor logs to STDOUT only. The output location is distro-dependent; on Ubuntu it is /var/log/upstart/inspeqtor.log. On CentOS 7, inspeqtor logging goes to /var/log/messages.

Next: INQ Configuration

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.