2016-03-16 21:36:42 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Clicommands;
|
|
|
|
|
|
|
|
use Icinga\Module\Director\Cli\ObjectCommand;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Manage Icinga Endpoints
|
|
|
|
*
|
|
|
|
* Use this command to show, create, modify or delete Icinga Endpoint
|
|
|
|
* objects
|
|
|
|
*/
|
|
|
|
class EndpointCommand extends ObjectCommand
|
|
|
|
{
|
2017-01-24 11:09:37 +01:00
|
|
|
public function statusAction()
|
|
|
|
{
|
|
|
|
print_r($this->api()->getStatus());
|
|
|
|
}
|
2016-03-16 21:36:42 +01:00
|
|
|
}
|