Argos_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# status( string $service = NULL )
Get monitored service status
public
# restart( string $service )
Restart service
public
# unmonitor( string $service )
Stop service monitoring
public
# monitor( string $service )
Resume service monitoring
public
# list_monitored( )
List monitored items
public
# headcount( bool $down = true )
Get a count of failed processes
public
# validate_all( )
Validate all services are active
public
# config( string $backend , array $newparams )
public
# config_relay( string $backend , array $newparams )
Set configuration relay backend for Argos
public
# get_config_relay( string $backend , null $param = NULL )
Get Argos configuration relay
public
# set_default_relay( $backend )
Set default backend
public
# get_backends( )
Get configured Argos backends
public
# create_backend( string $name , string $driver )
Create a new backend
public
# get_backend_relays( )
Get relays for backend
public
# test( string $backend = NULL )
Test Argos configuration
public
# send( string $msg , string $backend = NULL, string $title = NULL )
Relay a message through Argos
public
# active( )
Argos monitor active
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants Summary
public string DEFAULT_BACKEND
# 'default'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $exportedFunctions
# array ( '*' => 8, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id