Rechercher une page de manuel
FusionInventory::Agent::RPC.3pm
Langue: en
Version: 2010-05-27 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
FusionInventory::Agent::RPC - the RPC interfaceDESCRIPTION
FusionInventory Agent can listen on the network through an embedded HTTP server. This server can only be used to wakeup the agent of download OcsDeploy cached files. The server uses port 62354.Every time the agent contact the server, it pushs a token, this token will be needed to identify the server who want to awake an agent.
Once an agent is awake, its agent will contact the server as usual to know the jobs it need to do.
SYNOPSIS
In this example, we want to wakeup machine ``aMachine'':use LWP::Simple; my $machine = "aMachine"; my $token = "aaaaaaaaaaaaaa"; if (!get("http://$machine:62354/now/$token")) { print "Failed to wakeup $machine\n"; }
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre