mperham edited this page Sep 15, 2014
·
4 revisions
By default, Inspeqtor should be run as root and I know this can make people nervous. There's nothing in Inspeqtor that insists it run as root but it needs to be able to perform a few actions:
- Read its global config file in /etc/inspeqtor/inspeqtor.conf which usually contains passwords.
- Gather service status via
initctl
,systemctl
, runit, etc. - Gather process and host metrics from /proc
- (optionally) Restart a misbehaving service
- Create a Unix socket in /var/run/inspeqtor.sock for runtime control
Typically one or more of these actions will require root access. If you can carefully configure your system so it doesn't require root for these actions, you should find that Inspeqtor will work as non-root also.
- TERM, INT - shut down immediately
- HUP - reload configuration, this does have the side effect of losing all historical metric data