Wrap up basic shinken pack

This commit is contained in:
Lance Edgar 2016-12-01 20:50:21 -06:00
parent 8b8c33dad6
commit 2db6a85b51
6 changed files with 132 additions and 7 deletions

6
pack/commands.cfg Normal file
View file

@ -0,0 +1,6 @@
# -*- mode: nagios -*-
define command {
command_name check_rattail_daemon
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-rattail-daemon $ARG1$"
}

5
pack/rattail.pack Normal file
View file

@ -0,0 +1,5 @@
{
"name": "rattail",
"description": "Can check various Rattail daemons to ensure they're running. Performs checks using SSH.",
"path": "software/"
}

7
pack/templates.cfg Normal file
View file

@ -0,0 +1,7 @@
# -*- mode: nagios -*-
define host {
name rattail
use linux
register 0
}