0.4.00.4.10.4.2stable
|
Last change
on this file since 1eef1ee was
1eef1ee,
checked in by Michael Medin <michael@…>, 8 years ago
|
|
*OBS* This might no longer work! (expect updated code in the next few days if things are broken)
- Fundamental API changes (due to NRPE compatibility)
- HandleCommand? has changed
- Inject has changed
- Most API calls have new "return codes" (typedef:ed INT to allow for return code compiler checks)
- A lot of the old return codes have changed
- Preliminary NRPE support (can parse and execute incoming requests, cant return data yet, and no encryption)
- New SimpleSocket? in include/ will be used as base class for Listeners
- A lot of rewrite to the NSC API
|
-
Property mode set to
100644
|
|
File size:
587 bytes
|
| Line | |
|---|
| 1 | NSC_WRAPPERS_MAIN(); |
|---|
| 2 | |
|---|
| 3 | class CheckDisk { |
|---|
| 4 | private: |
|---|
| 5 | |
|---|
| 6 | public: |
|---|
| 7 | CheckDisk(); |
|---|
| 8 | virtual ~CheckDisk(); |
|---|
| 9 | // Module calls |
|---|
| 10 | bool loadModule(); |
|---|
| 11 | bool unloadModule(); |
|---|
| 12 | std::string getModuleName(); |
|---|
| 13 | NSCModuleWrapper::module_version getModuleVersion(); |
|---|
| 14 | bool hasCommandHandler(); |
|---|
| 15 | bool hasMessageHandler(); |
|---|
| 16 | NSCAPI::nagiosReturn handleCommand(const std::string command, const unsigned int argLen, char **char_args, std::string &message, std::string &perf); |
|---|
| 17 | |
|---|
| 18 | // Check commands |
|---|
| 19 | NSCAPI::nagiosReturn CheckFileSize(const unsigned int argLen, char **char_args, std::string &message, std::string &perf); |
|---|
| 20 | }; |
|---|
Note: See
TracBrowser
for help on using the repository browser.