commit 8b8c33dad6cf39903e5e391466d6ce4b29ce62dd Author: Lance Edgar Date: Thu Dec 1 18:12:39 2016 -0600 Initial commit Not sure if the format etc. is right yet..but need to push to test diff --git a/commands.cfg b/commands.cfg new file mode 100644 index 0000000..efa4e5d --- /dev/null +++ b/commands.cfg @@ -0,0 +1,6 @@ +# -*- mode: nagios -*- + +define command { + command_name check_rattail_daemon + command_line $PLUGINSDIR$/check_by_ssh -H $HOSTADDRESS$ -C "check-rattail-daemon $ARG1$" --logname=rattail +} diff --git a/rattail.pack b/rattail.pack new file mode 100644 index 0000000..4d537bd --- /dev/null +++ b/rattail.pack @@ -0,0 +1,9 @@ +{ + "name": "rattail", + "types": ["pack"], + "version": "1.0", + "homepage": "https://rattailproject.org/", + "author": "Lance Edgar", + "description": "Can check various Rattail daemons to ensure they're running. Performs checks using SSH.", + "license": "AGPL" +} diff --git a/templates.cfg b/templates.cfg new file mode 100644 index 0000000..71270e1 --- /dev/null +++ b/templates.cfg @@ -0,0 +1,7 @@ +# -*- mode: nagios -*- + +define host { + name rattail + use linux + register 0 +}