|
The Assimilation Monitoring Project
|
Class defining discovery objects that output JSON discovery information to stdout. More...
#include <projectcommon.h>#include <memory.h>#include <frameset.h>#include <configcontext.h>#include <cstringframe.h>#include <frametypes.h>#include <framesettypes.h>#include <jsondiscovery.h>#include <assert.h>#include <fsprotocol.h>
Go to the source code of this file.
Macros | |
| #define | DISCOVERY_SUBCLASS |
Functions | |
| FSTATIC guint | _jsondiscovery_discoverintervalsecs (const Discovery *dself) |
| Return how often we are scheduled to perform this particular discovery action. More... | |
| FSTATIC void | _jsondiscovery_finalize (AssimObj *dself) |
| Finalizing function for Discovery objects. More... | |
| FSTATIC gboolean | _jsondiscovery_discover (Discovery *dself) |
| Perform the requested discovery action. More... | |
| FSTATIC void | _jsondiscovery_childwatch (ChildProcess *child, enum HowDied status, int rc, int signal, gboolean core_dumped) |
| Watch our child - we get called when our child process exits. More... | |
| FSTATIC void | _jsondiscovery_send (JsonDiscovery *self, char *jsonout, gsize jsonlen) |
| Send what we discovered to the CMA - with some caching going on. More... | |
| FSTATIC void | _jsondiscovery_fullpath (JsonDiscovery *self) |
| JsonDiscovery * | jsondiscovery_new (const char *discoverytype, const char *instancename, gint intervalsecs, ConfigContext *jsoninst, NetGSource *iosource, ConfigContext *context, gsize objsize) |
| JsonDiscovery constructor. More... | |
Variables | |
| DEBUGDECLARATIONS | |
Class defining discovery objects that output JSON discovery information to stdout.
It is possible that code like this will wind up in the LRM.
This file is part of the Assimilation Project.
The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/
Definition in file jsondiscovery.c.
| #define DISCOVERY_SUBCLASS |
Definition at line 29 of file jsondiscovery.c.