HomePhabricator

ircd/ircecho: add icinga process monitoring
777c8ef262eaUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

ircd/ircecho: add icinga process monitoring

root@kraz:~# /usr/lib/nagios/plugins/check_procs -c 1:1 -C ircd --ereg-argument-array '/usr/bin/ircd -foreground'
PROCS OK: 1 process with command name 'ircd', regex args '/usr/bin/ircd -foreground' | procs=1;;1:1;0;

root@kraz:~# /usr/lib/nagios/plugins/check_procs -c 1:1 -C python --ereg-argument-array '/usr/local/bin/udpmxircecho.py'
PROCS OK: 1 process with command name 'python', regex args '/usr/local/bin/udpmxircecho.py' | procs=1;;1:1;0;

Yes, it's not enough, we also want to check if the bot
is actually connected to the server, but i think that to be in addition
to the basics like process check.

Bug:T135948
Change-Id: I3b03e178f1643ba74a254db5c42b0115c34f3b84

Details

Provenance
DzahnAuthored on May 22 2016, 6:34 PM
ChangeId
I3b03e178f1643ba74a254db5c42b0115c34f3b84

Commit No Longer Exists

This commit no longer exists in the repository.