diff options
author | Steve 'Ashcrow' Milner <stevem@gnulinux.net> | 2008-01-16 10:23:29 -0500 |
---|---|---|
committer | Steve 'Ashcrow' Milner <stevem@gnulinux.net> | 2008-01-16 10:23:29 -0500 |
commit | 0556acbe5ed39c36d38b99dd3ae455691964a1e1 (patch) | |
tree | ac87a6b65abc2032fdf685811f4c6299f59e7a7e /func/minion/modules/nagios-check.py | |
parent | 1420dbfbb699bbe969228173924bfa92ba7f7ce2 (diff) | |
download | func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.tar.gz func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.tar.xz func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.zip |
added in the desc/version/api items in the modules.
Diffstat (limited to 'func/minion/modules/nagios-check.py')
-rw-r--r-- | func/minion/modules/nagios-check.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/func/minion/modules/nagios-check.py b/func/minion/modules/nagios-check.py index 80889ce..f1c0714 100644 --- a/func/minion/modules/nagios-check.py +++ b/func/minion/modules/nagios-check.py @@ -18,6 +18,10 @@ import sub_process class Nagios(func_module.FuncModule): + version = "0.0.1" + api_version = "0.0.1" + description = "Runs nagios checks." + def run(self, check_command): """ Runs a nagios check returning the return code, stdout, and stderr as a tuple. |