The Assimilation Project  based on Assimilation version
resourcenagios.c File Reference

Implements the ResourceNAGIOS class. More...

#include <projectcommon.h>
#include <string.h>
#include <resourcecmd.h>
#include <resourcenagios.h>
Include dependency graph for resourcenagios.c:

Go to the source code of this file.




FSTATIC void _resourcenagios_finalize (AssimObj *aself)
 Finalize function for ResourceNAGIOS objects. More...
FSTATIC void _resourcenagios_execute (ResourceCmd *cmdself)
 Do the deed, dude! More...
FSTATIC void _resourcenagios_child_notify (ChildProcess *child, enum HowDied exittype, int rc, int signal, gboolean core_dumped)
 We get called when our child exits, times out and is killed, or times out and can't be killed. More...
FSTATIC char ** _resourcenagios_create_argv (char *argv0,GSList *argv_in)
 Create command line arguments for our child process. More...
FSTATIC void _resourcenagios_init_environ (ResourceNAGIOS *self)
ResourceCmdresourcenagios_new (guint structsize, ConfigContext *request, gpointer user_data, ResourceCmdCallback callback)
 Constructor for ResourceNAGIOS class. More...

Detailed Description

Implements the ResourceNAGIOS class.

Constructs a NAGIOS Plugins resource agent object (aka ResourceNAGIOS object).

Carrie Oswald Copyright © 2015 - Assimilation Systems Limited
This file is part of the Assimilation Project. The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

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

Definition in file resourcenagios.c.

Macro Definition Documentation


Definition at line 25 of file resourcenagios.c.