Tivoli::Endpoints - Perl Extension for Tivoli
use Tivoli::Endpoints;
v0.02
Copyright (c) 2001 Robert Hase. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This Package will handle about everything you may need for Endpoints. If anything has been left out, please contact me at tivoli.rhase@muc-net.de so it can be added.
still in work
Description of Routines
Execute Unix Command with system
$Var = &ExecuteSys(<Command>);
$Var = &ExecuteSys('ls'); $Var = returncode from the Command
Subscribe Endpoint to ProfileManager
$Var = &SubscrEP(<ProfileManager, Endpoint>);
$Var = &SubscrEP("all-inv-HW_DIFF-ca-pm", "WBK0815"); $Var = 1 = ok, 0 = Failure
Unsubscribe Endpoint from ProfileManager
$Var = &UnsubscrEP(<ProfileManager, Endpoint>);
$Var = &UnsubscrEP("all-inv-HW_DIFF-ca-pm", "WBK0815"); $Var = 1 = ok, 0 = Failure
Check, if Endpoint in TMR
$Var = &CheckEPinTMR(<Endpoint>);
$Var = &CheckEPinTMR(""WBK0815"); $Var = 1 = ok, 0 = Failure
Supported Plattforms and Requirements
tested on:
- aix4-r1 (AIX 4.3)
requires Perl v5 or higher
VERSION DATE AUTHOR WORK ---------------------------------------------------- 0.01 2001-07-06 RHase created 0.01 2001-07-09 RMahner ExecuteSys 0.01 2001-07-09 RMahner SubscrEP 0.01 2001-07-09 RMahner UnsubscrEP 0.01 2001-07-09 RMahner CheckEPinTMR 0.02 2001-08-04 RHase POD-Doku added
Robert Hase ID : RHASE eMail : Tivoli.RHase@Muc-Net.de Web : http://www.Muc-Net.de
CPAN http://www.perl.com