homebrew supplies
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 507
KSpline 0.31
Spline is a three parts library which supplies spline functions. more>>
KSpline is a three parts library which supplies spline functions.
The library contains three parts:
A spline class. This class is invisible, it is used to store the coords and calculates the spline polynoms. Theoretical it can be used outside of KDE.
A visual Editor. This editor requires an initialisized spline class and works as an interface to this spline. Nearly all spline functions can be adjusted with this editor.
A demo program. This program creates two splines. They can be modified either manually (directy calls to the spline functions) or visuell with the editor.
System requirements:
- V 0.31 : KDE 3.0x (not tested with KDE 3.1x)
- qt 3 or newer
<<lessThe library contains three parts:
A spline class. This class is invisible, it is used to store the coords and calculates the spline polynoms. Theoretical it can be used outside of KDE.
A visual Editor. This editor requires an initialisized spline class and works as an interface to this spline. Nearly all spline functions can be adjusted with this editor.
A demo program. This program creates two splines. They can be modified either manually (directy calls to the spline functions) or visuell with the editor.
System requirements:
- V 0.31 : KDE 3.0x (not tested with KDE 3.1x)
- qt 3 or newer
Download (0.61MB)
Added: 2006-09-20 License: GPL (GNU General Public License) Price:
1129 downloads
Mudpit 1.5
Mudpit is an intelligent, modular, and reliable spool processor for Snorts unified format. more>>
Mudpit is an intelligent, modular, and reliable spool processor for Snorts unified format.
Enhancements:
- This release adds per-spool configuration variables for SID/Gen map, reference, and class files.
- It improves the logging system, which will log at appropriate priorities.
- It improves autoconf MySQL detection code, and has support for custom plugins supplied at configure time.
<<lessEnhancements:
- This release adds per-spool configuration variables for SID/Gen map, reference, and class files.
- It improves the logging system, which will log at appropriate priorities.
- It improves autoconf MySQL detection code, and has support for custom plugins supplied at configure time.
Download (0.38MB)
Added: 2005-10-19 License: GPL (GNU General Public License) Price:
1466 downloads
Nemesis Pascal 0.1
Nemesis Pascal is an Pascal interpreter. more>>
Nemesis Pascal is an Pascal interpreter that is:
Free
Open Source (GPL)
Cross-platform (currently Windows and Linux)
Nemesis Pascal is written in Delphi and Kylix. Borland CLX libraries supplies the cross-platform features.
The Nemesis Pascal applications runs on Windows using native controls, and Linux using the CLX Library (a binding to Qt Trolltech).
Exemple:
unit test1;
interface
implementation
procedure main;
begin
ShowMessage(Hello World!);
end;
end.
<<lessFree
Open Source (GPL)
Cross-platform (currently Windows and Linux)
Nemesis Pascal is written in Delphi and Kylix. Borland CLX libraries supplies the cross-platform features.
The Nemesis Pascal applications runs on Windows using native controls, and Linux using the CLX Library (a binding to Qt Trolltech).
Exemple:
unit test1;
interface
implementation
procedure main;
begin
ShowMessage(Hello World!);
end;
end.
Download (MB)
Added: 2005-09-20 License: GPL (GNU General Public License) Price:
1504 downloads
PHPXref 0.7
PHPXref is a developer tool thats designed to ease the process of working on large PHP projects. more>>
PHPXref is a developer tool thats designed to ease the process of working on large PHP projects by making it very fast and easy to browse the code documentation along with the code itself.
PHPXref project works by scanning a project directory and translating the files it finds into readable cross-referenced HTML, simultaneously utilizing comments in the code to produce documentation to accompany it.
The result is a collection of plain HTML files that can be read using any browser, with no supporting software required.
PHPXref has very minimal requirements to run; just having a copy of Perl installed is all you need (and the Windows binary supplies that for you). Getting started requires editing two or three lines in the configuration file and running the program.
Main features:
- Minimal requirements, minimal setup.
- No web server required to view output.
- Cross-references PHP classes, functions, variables, constants and require/include usage.
- Extracts phpdoc style documentation from source files.
Javascript enhanced output provides:
- Mouse-over information for classes and functions in the source view.
- Hot-jump to the source of any class/function definition.
- Instant lookup of classes, functions, constants and tables by name.
- Search/lookup history.
- Pretty-prints PHP files from the browser.
- Stays crunchy in milk.
Enhancements:
- Parse static and final methods correctly
- Add support for PHP Interfaces
- Ignore functions defined in HTML comments ()
- Compress plain text view of source files if COMPRESS=1 in the cfg file
- Added new config option LINK_URI - Turning this on links email addresses and URLs used in documentation @tags
- Added new config option EXPLORE_SOURCE - Setting this to 1 makes links in the file explorer open the php source, rather than the summary page
- Added support for changing the content-type used on pages to support other character sets - Thanks to uno@venus.dti.np.jp - Configured using the CHARSET config parameter
- Fix javascript bug causing rollover links to function, class and constant directions to link to an invalid url
- Added a project stats page that contains the same information printed at the end of a phpxref run (_stats.html) - Linked from the project summary pages
<<lessPHPXref project works by scanning a project directory and translating the files it finds into readable cross-referenced HTML, simultaneously utilizing comments in the code to produce documentation to accompany it.
The result is a collection of plain HTML files that can be read using any browser, with no supporting software required.
PHPXref has very minimal requirements to run; just having a copy of Perl installed is all you need (and the Windows binary supplies that for you). Getting started requires editing two or three lines in the configuration file and running the program.
Main features:
- Minimal requirements, minimal setup.
- No web server required to view output.
- Cross-references PHP classes, functions, variables, constants and require/include usage.
- Extracts phpdoc style documentation from source files.
Javascript enhanced output provides:
- Mouse-over information for classes and functions in the source view.
- Hot-jump to the source of any class/function definition.
- Instant lookup of classes, functions, constants and tables by name.
- Search/lookup history.
- Pretty-prints PHP files from the browser.
- Stays crunchy in milk.
Enhancements:
- Parse static and final methods correctly
- Add support for PHP Interfaces
- Ignore functions defined in HTML comments ()
- Compress plain text view of source files if COMPRESS=1 in the cfg file
- Added new config option LINK_URI - Turning this on links email addresses and URLs used in documentation @tags
- Added new config option EXPLORE_SOURCE - Setting this to 1 makes links in the file explorer open the php source, rather than the summary page
- Added support for changing the content-type used on pages to support other character sets - Thanks to uno@venus.dti.np.jp - Configured using the CHARSET config parameter
- Fix javascript bug causing rollover links to function, class and constant directions to link to an invalid url
- Added a project stats page that contains the same information printed at the end of a phpxref run (_stats.html) - Linked from the project summary pages
Download (0.060MB)
Added: 2007-01-04 License: GPL (GNU General Public License) Price:
1024 downloads
check_writable 1.0
check_writable is a Nagios plugin that checks if one or more directories are writable. more>>
check_writable is a Nagios plugin that checks if one or more directories are writable by checking that the supplied directory is indeed a directory, checking if the the filesystem permissions are OK, creating a temporary file, writing random data to the temporary file, and reading it back.
It returns a critical status if one of the tests fails.
<<lessIt returns a critical status if one of the tests fails.
Download (0.012MB)
Added: 2007-07-31 License: GPL (GNU General Public License) Price:
815 downloads
check_topoplogy 1.0
check_topology checks whether the last hop in the network path corresponds to the defined parent. more>>
check_topology checks whether the last hop in the network path corresponds to the defined parent, for each defined host in the supplied hosts.cfg (Nagios configuration file).
Enhancements:
- A complete rewrite in Perl.
- Parallel traceroute queries.
- RPM packaging.
- Less sensitive to errors.
<<lessEnhancements:
- A complete rewrite in Perl.
- Parallel traceroute queries.
- RPM packaging.
- Less sensitive to errors.
Download (0.009MB)
Added: 2007-04-28 License: GPL (GNU General Public License) Price:
910 downloads
BrowserLauncher2 1.1
BrowserLauncher2 is a library that facilitates opening a browser from a Java application. more>>
BrowserLauncher2 is a library that facilitates opening a browser from a Java application and directing the browser to a supplied URL.
In most cases, the browser opened will be the users default browser.
BrowserLauncher2 is free software and it is being released under the GNU Lesser General Public License.
<<lessIn most cases, the browser opened will be the users default browser.
BrowserLauncher2 is free software and it is being released under the GNU Lesser General Public License.
Download (0.24MB)
Added: 2007-06-13 License: LGPL (GNU Lesser General Public License) Price:
864 downloads
Mount.app 3.1
Mountapp is a dockapp for mounting and unmounting filesystems. more>>
Mountapp is a dockapp for mounting and unmounting filesystems. Mount.app is especially useful for removable volumes like CD-ROMs, ZIP(tm) disks, and floppies.
One click to mount, unmount, eject. GUI configuration, automatically configures "user" and "owner" mounts from /etc/fstab.
Enhancements:
- The source has been moved from CVS to Mercurial.
- Some user-supplied patches have been applied.
<<lessOne click to mount, unmount, eject. GUI configuration, automatically configures "user" and "owner" mounts from /etc/fstab.
Enhancements:
- The source has been moved from CVS to Mercurial.
- Some user-supplied patches have been applied.
Download (0.096MB)
Added: 2007-02-08 License: GPL (GNU General Public License) Price:
990 downloads
pam_realm 0.2
pam_realm checks the user name against being of form user@realm, where realm is supplied as an argument. more>>
pam_realm checks the user name against being of form user@realm, where realm is supplied as an argument. In case the check succeeds, this @realm part is stripped, and the control is passed to the following module.
OPTIONS:
debug
does not do anytning at the moment
realm=realm
specify the realm to check against
allowbare
also allows the user name to be of form just user without any @realm
nostrip
in certain cases, it may be of use to just check if the user name is of proper form
EXAMPLE
auth requisite pam_realm.so realm=mail.example.com
auth require pam_unix.so
<<lessOPTIONS:
debug
does not do anytning at the moment
realm=realm
specify the realm to check against
allowbare
also allows the user name to be of form just user without any @realm
nostrip
in certain cases, it may be of use to just check if the user name is of proper form
EXAMPLE
auth requisite pam_realm.so realm=mail.example.com
auth require pam_unix.so
Download (0.002MB)
Added: 2006-04-18 License: GPL (GNU General Public License) Price:
1284 downloads
Chromium B.S.U. 0.9.12
Chromium B.S.U. is a fast paced, arcade-style, top-scrolling space shooter. more>>
Chromium B.S.U. is a fast paced, arcade-style, top-scrolling space shooter.
You are captain of the cargo ship Chromium B.S.U., responsible for delivering supplies to our troops on the front line. Your ship has a small fleet of robotic fighters which you control from the relative safety of the Chromium vessel.
Your Mission:
- Do not let ANY enemy ships get past your fighters! Each enemy ship that makes it past the bottom of the screen will attack the Chromium, and you lose a fighter.
- Use your fighters as weapons! Crash into enemies to destroy them before they can get past you.
- Strategic suicide is a powerful tactic! When the Chromium launches a new fighter, it releases a high energy burst which destroys all enemies in range.
- Self-destruct to preserve your ammunition! A double-right-click will cause your current fighter to self-destruct. Before the ship blows up, it ejects its ammunition so that the next fighter can pick it up.
Ammunition:
MACHINE GUN
Otherwise known as the pea shooter. But youll miss em when theyre gone.
ION CANNON
This gun slices through your enemies and keeps on going.
PLASMA REPEATER
Your most powerful weapon. The plasma ammunition runs out quickly, however.
Items:
BIG RED BUTTON
The ultimate weapon. Double right-click or press the 0 key twice to eject the fighters ammunition and self-destruct.
Power ups:
SHIELD REPLENISH
The penguin protects you. Grab this power up to restore shields to 100%.
Let it pass through for big points.
DAMAGE REPAIR
The penguin gives you life. Grab this power up to repair all damage to your fighter.
Let it pass through for big points.
SUPER SHIELDS / EXTRA LIFE
Restores shields to 100% and gives you temporary invulnerability.
TIP: If you let it pass through the bottom of the screen, you will be rewarded with an extra fighter.
Chromium B.S.U. command line options:
-f/--fullscreen : run in fullscreen mode
-w/--window : run in windowed mode
-v/--vidmode : mode 0 = 512 x 384
: 1 = 640 x 480
: 2 = 800 x 600
: 3 = 1024 x 768
: 4 = 1280 x 1024
-na/--noaudio : do not initialize audio
<<lessYou are captain of the cargo ship Chromium B.S.U., responsible for delivering supplies to our troops on the front line. Your ship has a small fleet of robotic fighters which you control from the relative safety of the Chromium vessel.
Your Mission:
- Do not let ANY enemy ships get past your fighters! Each enemy ship that makes it past the bottom of the screen will attack the Chromium, and you lose a fighter.
- Use your fighters as weapons! Crash into enemies to destroy them before they can get past you.
- Strategic suicide is a powerful tactic! When the Chromium launches a new fighter, it releases a high energy burst which destroys all enemies in range.
- Self-destruct to preserve your ammunition! A double-right-click will cause your current fighter to self-destruct. Before the ship blows up, it ejects its ammunition so that the next fighter can pick it up.
Ammunition:
MACHINE GUN
Otherwise known as the pea shooter. But youll miss em when theyre gone.
ION CANNON
This gun slices through your enemies and keeps on going.
PLASMA REPEATER
Your most powerful weapon. The plasma ammunition runs out quickly, however.
Items:
BIG RED BUTTON
The ultimate weapon. Double right-click or press the 0 key twice to eject the fighters ammunition and self-destruct.
Power ups:
SHIELD REPLENISH
The penguin protects you. Grab this power up to restore shields to 100%.
Let it pass through for big points.
DAMAGE REPAIR
The penguin gives you life. Grab this power up to repair all damage to your fighter.
Let it pass through for big points.
SUPER SHIELDS / EXTRA LIFE
Restores shields to 100% and gives you temporary invulnerability.
TIP: If you let it pass through the bottom of the screen, you will be rewarded with an extra fighter.
Chromium B.S.U. command line options:
-f/--fullscreen : run in fullscreen mode
-w/--window : run in windowed mode
-v/--vidmode : mode 0 = 512 x 384
: 1 = 640 x 480
: 2 = 800 x 600
: 3 = 1024 x 768
: 4 = 1280 x 1024
-na/--noaudio : do not initialize audio
Download (0.62MB)
Added: 2006-02-22 License: Artistic License Price:
1340 downloads
check_hpasm 1.6
check_hpasm project is a plugin for Nagios which checks the hardware health of Hewlett-Packard Proliant Servers. more>>
check_hpasm project is a plugin for Nagios which checks the hardware health of Hewlett-Packard Proliant Servers. To accomplish this, you must have installed the hpasm package. The plugin checks the health of
- Processors
- Power supplies
- Memory modules
- Fans
- CPU- and board-temperatures
and alerts you if one of these components is faulty or operates outside its normal parameters.
Enhancements:
- Performance data (temperature and fan speeds) was added to the output.
- Minor bugs were fixed.
<<less- Processors
- Power supplies
- Memory modules
- Fans
- CPU- and board-temperatures
and alerts you if one of these components is faulty or operates outside its normal parameters.
Enhancements:
- Performance data (temperature and fan speeds) was added to the output.
- Minor bugs were fixed.
Download (0.094MB)
Added: 2007-08-02 License: GPL (GNU General Public License) Price:
821 downloads
Chart::Plot::Canvas 0.02
Chart::Plot::Canvas is a Perl module to plot two dimensional data in an Tk Canvas. more>>
Chart::Plot::Canvas is a Perl module to plot two dimensional data in an Tk Canvas.
SYNOPSIS
use Chart::Plot::Canvas;
my $img = Chart::Plot::Canvas->new();
my $anotherImg = Chart::Plot::Canvas->new ($image_width, $image_height);
$img->setData (@dataset) or die( $img->error() );
$img->setData (@xdataset, @ydataset);
$img->setData (@anotherdataset, red_dashedline_points);
$img->setData (@xanotherdataset, @yanotherdataset,
Blue SolidLine NoPoints);
my ($xmin, $ymin, $xmax, $ymax) = $img->getBounds();
$img->setGraphOptions (horGraphOffset => 75,
vertGraphOffset => 100,
title => My Graph Title,
horAxisLabel => my X label,
vertAxisLabel => my Y label );
print $img->draw();
$img->canvas($toplevel)->pack();
This package overloads Chart::Plot and supplies a new method canvas that returns a Tk Canvas equivalent to GD::Image returned by the method draw of Chart::Plot.
The graphs are descripted by same way as for Chart::Plot.
With Chart::Plot::Canvas, the method draw works like with Chart::Plot.
USAGE
See Chart::Plot for all over methods.
Create the canvas: canvas()
$img->canvas(toplevel);
This method creates the canvas and returns it.
use Chart::Plot::Canvas;
my $img = Chart::Plot->new();
$img->setData (@xdataset, @ydataset);
my $cv = $img->canvas($toplevel);
$cv->pack();
<<lessSYNOPSIS
use Chart::Plot::Canvas;
my $img = Chart::Plot::Canvas->new();
my $anotherImg = Chart::Plot::Canvas->new ($image_width, $image_height);
$img->setData (@dataset) or die( $img->error() );
$img->setData (@xdataset, @ydataset);
$img->setData (@anotherdataset, red_dashedline_points);
$img->setData (@xanotherdataset, @yanotherdataset,
Blue SolidLine NoPoints);
my ($xmin, $ymin, $xmax, $ymax) = $img->getBounds();
$img->setGraphOptions (horGraphOffset => 75,
vertGraphOffset => 100,
title => My Graph Title,
horAxisLabel => my X label,
vertAxisLabel => my Y label );
print $img->draw();
$img->canvas($toplevel)->pack();
This package overloads Chart::Plot and supplies a new method canvas that returns a Tk Canvas equivalent to GD::Image returned by the method draw of Chart::Plot.
The graphs are descripted by same way as for Chart::Plot.
With Chart::Plot::Canvas, the method draw works like with Chart::Plot.
USAGE
See Chart::Plot for all over methods.
Create the canvas: canvas()
$img->canvas(toplevel);
This method creates the canvas and returns it.
use Chart::Plot::Canvas;
my $img = Chart::Plot->new();
$img->setData (@xdataset, @ydataset);
my $cv = $img->canvas($toplevel);
$cv->pack();
Download (0.005MB)
Added: 2007-04-24 License: Perl Artistic License Price:
913 downloads
Devel::Peek 0.96
Devel::Peek is a Perl module that acts as a data debugging tool for the XS programmer. more>>
SYNOPSIS
use Devel::Peek;
Dump( $a );
Dump( $a, 5 );
DumpArray( 5, $a, $b, ... );
mstat "Point 5";
Devel::Peek contains functions which allows raw Perl datatypes to be manipulated from a Perl script. This is used by those who do XS programming to check that the data they are sending from C to Perl looks as they think it should look. The trick, then, is to know what the raw datatype is supposed to look like when it gets to Perl. This document offers some tips and hints to describe good and bad raw data.
It is very possible that this document will fall far short of being useful to the casual reader. The reader is expected to understand the material in the first few sections of perlguts.
Devel::Peek supplies a Dump() function which can dump a raw Perl datatype, and mstat("marker") function to report on memory usage (if perl is compiled with corresponding option). The function DeadCode() provides statistics on the data "frozen" into inactive CV. Devel::Peek also supplies SvREFCNT(), SvREFCNT_inc(), and SvREFCNT_dec() which can query, increment, and decrement reference counts on SVs. This document will take a passive, and safe, approach to data debugging and for that it will describe only the Dump() function.
Function DumpArray() allows dumping of multiple values (useful when you need to analize returns of functions).
The global variable $Devel::Peek::pv_limit can be set to limit the number of character printed in various string values. Setting it to 0 means no limit.
Download (0.015MB)
Added: 2007-05-02 License: Perl Artistic License Price:
905 downloads
ICS::Simple 0.06
ICS::Simple is a simple interface to CyberSource ICS2. more>>
ICS::Simple is a simple interface to CyberSource ICS2.
SYNOPSIS
Here is some basic code. Hopefully Ill come back through soon to document it properly.
use ICS::Simple;
my $ics = ICS::Simple->new(
ICSPath => /opt/ics,
MerchantId => v0123456789, # CyberSource supplies this number to you
Mode => test,
Currency => USD,
Grammar => UpperCamel, # defaults to raw ICS responses, so you might want to set this
#ErrorsTo => all-errors@some.fun.place.com,
CriticalErrorsTo => only-critical-errors@some.fun.place.com,
);
my $request = {
OrderId => order19857219,
FirstName => Fred,
LastName => Smith,
Email => fred.smith@buyer-of-stuff.com,
CardNumber => 4111111111111111,
CardCVV => 123,
CardExpYear => 2008,
CardExpMonth => 12,
BillingAddress => 123 Main St,
BillingCity => Olympia,
BillingRegion => WA,
BillingPostalCode => 98501,
BillingCountryCode => US,
ShippingAddress1 => 6789 Industrial Pl,
ShippingAddress2 => Floor 83, Room 11415,
ShippingCity => Olympia,
ShippingRegion => WA,
ShippingPostalCode => 98506,
ShippingCountryCode => US,
ShippingFee => 25.05,
HandlingFee => 5.00,
Items => [
{ Description => Mega Lizard Monster RC,
Price => 25.00,
SKU => prod15185 },
{ Description => Super Racer Parts Kit,
Price => 15.30,
SKU => prod23523 },
{ Description => Uber Space Jacket,
Price => 72.24,
SKU => prod18718 },
],
};
my $response = $ics->requestBill($request);
if ($response->{success}) {
print "Woo! Success!n";
$response = $response->{response};
print "Thanks for your payment of $$response->{BillAmount}.n";
}
else {
print "Boo! Failure!n";
print "Error: $response->{error}->{description}n";
}
<<lessSYNOPSIS
Here is some basic code. Hopefully Ill come back through soon to document it properly.
use ICS::Simple;
my $ics = ICS::Simple->new(
ICSPath => /opt/ics,
MerchantId => v0123456789, # CyberSource supplies this number to you
Mode => test,
Currency => USD,
Grammar => UpperCamel, # defaults to raw ICS responses, so you might want to set this
#ErrorsTo => all-errors@some.fun.place.com,
CriticalErrorsTo => only-critical-errors@some.fun.place.com,
);
my $request = {
OrderId => order19857219,
FirstName => Fred,
LastName => Smith,
Email => fred.smith@buyer-of-stuff.com,
CardNumber => 4111111111111111,
CardCVV => 123,
CardExpYear => 2008,
CardExpMonth => 12,
BillingAddress => 123 Main St,
BillingCity => Olympia,
BillingRegion => WA,
BillingPostalCode => 98501,
BillingCountryCode => US,
ShippingAddress1 => 6789 Industrial Pl,
ShippingAddress2 => Floor 83, Room 11415,
ShippingCity => Olympia,
ShippingRegion => WA,
ShippingPostalCode => 98506,
ShippingCountryCode => US,
ShippingFee => 25.05,
HandlingFee => 5.00,
Items => [
{ Description => Mega Lizard Monster RC,
Price => 25.00,
SKU => prod15185 },
{ Description => Super Racer Parts Kit,
Price => 15.30,
SKU => prod23523 },
{ Description => Uber Space Jacket,
Price => 72.24,
SKU => prod18718 },
],
};
my $response = $ics->requestBill($request);
if ($response->{success}) {
print "Woo! Success!n";
$response = $response->{response};
print "Thanks for your payment of $$response->{BillAmount}.n";
}
else {
print "Boo! Failure!n";
print "Error: $response->{error}->{description}n";
}
Download (0.010MB)
Added: 2007-03-21 License: Perl Artistic License Price:
949 downloads
Mon::Client 0.11
Mon::Client is a Perl module with methods for interaction with Mon client. more>>
Mon::Client is a Perl module with methods for interaction with Mon client.
SYNOPSIS
use Mon::Client;
Mon::Client is used to interact with "mon" clients. It supports a protocol-independent API for retrieving the status of the mon server, and performing certain operations, such as disableing hosts and service checks.
METHODS
new
Creates a new object. A hash can be supplied which sets the default values. An example which contains all of the variables that you can initialize:
$c = new Mon::Client (
host => "monhost",
port => 2583,
username => "foo",
password => "bar",
);
password (pw)
If pw is provided, sets the password. Otherwise, returns the currently set password.
host (host)
If host is provided, sets the mon host. Otherwise, returns the currently set mon host.
port (portnum)
If portnum is provided, sets the mon port number. Otherwise, returns the currently set port number.
username (user)
If user is provided, sets the user login. Otherwise, returns the currently set user login.
prot
If protocol is provided, sets the protocol, specified by a string which is of the form "1.2.3", where "1" is the major revision, "2" is the minor revision, and "3" is the sub-minor revision. If protocol is not provided, the currently set protocol is returned.
protid ([protocol])
Returns true if client and server protocol match, false otherwise. Implicitly called by connect. If protocol is specified as an integer, supplies that protocol version to the server for verification.
version
Returns the protocol version of the remote server.
error
Returns the error string from set by the last method, or undef if there was no error.
connected
Returns 0 (not connected) or 1 (connected).
connect (%args)
Connects to the server. If host and port have not been set, uses the defaults. Returns undef on error. If $args{"skip_protid"} is true, skip protocol identification upon connect.
disconnect
Disconnects from the server. Return undef on error.
login ( %hash )
%hash is optional, but if specified, should contain two keys, username and password.
Performs the "login" command to authenticate the user to the server. Uses username and password if specified, otherwise uses the username and password previously set by those methods, respectively.
checkauth ( command )
Checks to see if the specified command, as executed by the current user, is authorized by the server, without actually executing the command. Returns 1 (command is authorized) or 0 (command is not authorized).
disable_watch ( watch )
Disables watch.
disable_service ( watch, service )
Disables a service, as specified by watch and service.
disable_host ( host )
Disables host.
enable_watch ( watch )
Enables watch.
enable_service ( watch, service )
Enables a service as specified by watch and service.
enable_host ( host )
Enables host.
set ( group, service, var, val )
Sets var in group,service to val. Returns undef on error.
get ( group, service, var )
Gets variable var in group,service and returns it, or undef on error.
quit
Logs out of the server. This method should be followed by a call to the disconnect method.
list_descriptions
Returns a hash of service descriptions, indexed by watch and service.
<<lessSYNOPSIS
use Mon::Client;
Mon::Client is used to interact with "mon" clients. It supports a protocol-independent API for retrieving the status of the mon server, and performing certain operations, such as disableing hosts and service checks.
METHODS
new
Creates a new object. A hash can be supplied which sets the default values. An example which contains all of the variables that you can initialize:
$c = new Mon::Client (
host => "monhost",
port => 2583,
username => "foo",
password => "bar",
);
password (pw)
If pw is provided, sets the password. Otherwise, returns the currently set password.
host (host)
If host is provided, sets the mon host. Otherwise, returns the currently set mon host.
port (portnum)
If portnum is provided, sets the mon port number. Otherwise, returns the currently set port number.
username (user)
If user is provided, sets the user login. Otherwise, returns the currently set user login.
prot
If protocol is provided, sets the protocol, specified by a string which is of the form "1.2.3", where "1" is the major revision, "2" is the minor revision, and "3" is the sub-minor revision. If protocol is not provided, the currently set protocol is returned.
protid ([protocol])
Returns true if client and server protocol match, false otherwise. Implicitly called by connect. If protocol is specified as an integer, supplies that protocol version to the server for verification.
version
Returns the protocol version of the remote server.
error
Returns the error string from set by the last method, or undef if there was no error.
connected
Returns 0 (not connected) or 1 (connected).
connect (%args)
Connects to the server. If host and port have not been set, uses the defaults. Returns undef on error. If $args{"skip_protid"} is true, skip protocol identification upon connect.
disconnect
Disconnects from the server. Return undef on error.
login ( %hash )
%hash is optional, but if specified, should contain two keys, username and password.
Performs the "login" command to authenticate the user to the server. Uses username and password if specified, otherwise uses the username and password previously set by those methods, respectively.
checkauth ( command )
Checks to see if the specified command, as executed by the current user, is authorized by the server, without actually executing the command. Returns 1 (command is authorized) or 0 (command is not authorized).
disable_watch ( watch )
Disables watch.
disable_service ( watch, service )
Disables a service, as specified by watch and service.
disable_host ( host )
Disables host.
enable_watch ( watch )
Enables watch.
enable_service ( watch, service )
Enables a service as specified by watch and service.
enable_host ( host )
Enables host.
set ( group, service, var, val )
Sets var in group,service to val. Returns undef on error.
get ( group, service, var )
Gets variable var in group,service and returns it, or undef on error.
quit
Logs out of the server. This method should be followed by a call to the disconnect method.
list_descriptions
Returns a hash of service descriptions, indexed by watch and service.
Download (0.023MB)
Added: 2007-04-17 License: Perl Artistic License Price:
920 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above homebrew supplies search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed