Wrap up basic shinken pack
This commit is contained in:
parent
8b8c33dad6
commit
2db6a85b51
6 changed files with 132 additions and 7 deletions
6
pack/commands.cfg
Normal file
6
pack/commands.cfg
Normal 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
5
pack/rattail.pack
Normal 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
7
pack/templates.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: nagios -*-
|
||||
|
||||
define host {
|
||||
name rattail
|
||||
use linux
|
||||
register 0
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue