source: nscp/modules/CheckHelpers/CheckHelpers.h @ 1e62ed5

0.4.00.4.10.4.2stable
Last change on this file since 1e62ed5 was 1e62ed5, checked in by Michael Medin <michael@…>, 8 years ago

2005-05-15 MickeM

+ Added NRPE support for checkCounter
+ Updated documentation

  • Make check commands ignore case + Added CheckHelpers module to alter the result of various check and similar things

2005-05-14 MickeM

+ Added support for Volumes (CheckDisk)
+ Added support for checking all drives of a certain kind
+ Added support for altering filter (makes it posible to check removale drives)
+ Created webpage and better documentation

  • Property mode set to 100644
File size: 639 bytes
Line 
1NSC_WRAPPERS_MAIN();
2#include <config.h>
3#include <strEx.h>
4
5class CheckHelpers {
6private:
7
8public:
9        CheckHelpers();
10        virtual ~CheckHelpers();
11        // Module calls
12        bool loadModule();
13        bool unloadModule();
14        std::string getModuleName();
15        NSCModuleWrapper::module_version getModuleVersion();
16        bool hasCommandHandler();
17        bool hasMessageHandler();
18        NSCAPI::nagiosReturn handleCommand(const strEx::blindstr command, const unsigned int argLen, char **char_args, std::string &message, std::string &perf);
19
20        // Check commands
21        NSCAPI::nagiosReturn checkMultiple(const unsigned int argLen, char **char_args, std::string &message, std::string &perf);
22};
Note: See TracBrowser for help on using the repository browser.