Execute_Command_Model Class Reference
Sends external commands to Nagios command FIFO.
More...
Public Member Functions |
| get_comment_ids ($command_name= 'DEL_HOST_COMMENT') |
| Get ids of current comments.
|
| get_command_info ($cmd, $defaults=false, $dryrun=false) |
| Obtain command information Complete with information and data needed to request input regarding a particular command.
|
Static Public Member Functions |
static | get_setting ($setting) |
| Get the users/systems configured value for this option.
|
Protected Member Functions |
| get_object_list ($param_name) |
| Get all objects for this "param name" (which is almost object type, but not quite).
|
| get_downtime_ids ($command_name, $defaults=false) |
| Get all downtime IDs.
|
Protected Attributes |
| $dryrun = false |
| Set to true to make it not actually do anything.
|
Detailed Description
Sends external commands to Nagios command FIFO.
Member Function Documentation
Execute_Command_Model::get_command_info |
( |
$ |
cmd, |
|
|
$ |
defaults = false , |
|
|
$ |
dryrun = false | |
|
) |
| | |
Obtain command information Complete with information and data needed to request input regarding a particular command.
- Parameters:
-
| $cmd | string The name (or 'id') of the command |
| $defaults | array = false Default values for command parameters |
| $dryrun | boolean = false Testing variable. Ignore. |
- Returns:
- false|indexed array
Execute_Command_Model::get_comment_ids |
( |
$ |
command_name = 'DEL_HOST_COMMENT' |
) |
|
Get ids of current comments.
- Parameters:
-
| $command_name | Name of the command (determines which id's to get) |
- Returns:
- array(id => object_name);
static Execute_Command_Model::get_setting |
( |
$ |
setting |
) |
[static] |
Get the users/systems configured value for this option.
- Parameters:
-
The documentation for this class was generated from the following file: