OCS Inventory NG Server: Patch 1 for 1.02 RC3 available
OCS Inventory NG, Open Computers and Software Inventory Next Generation is an application designed to help administrator keep track of the computers configuration and installed software. Low network traffic HTTP communications between agents and server.
Hi,
do you know any good server inventory open source products?
I want information like, server hostnames, ram, cpu, os, filesystems, volume groups, disks, adapters, installed software versions, firmware levels and so on
os: aix, solaris, linux, hpux
data should be kept in a database, web... (7 Replies)
hi all,
i need to check the latest patch applied on my unix server. here is the server info:
bash-3.2$ uname -a
SunOS usa0300uz1226 5.10 Generic_148888-01 sun4u sparc SUNW,SPARC-Enterprise
please tell which is the command for checking patch? (1 Reply)
How can I get the hardware inventory details of the Sun Servers like T5220 running Solaris 10?
I would like to see the following details:
1. Chassis Information - Part Number, Serial Number etc.
2. Slots Present in the chassis
3. Modules/Cards equipped on the slots. Module details like Part... (8 Replies)
Hello all,
I have a script callled 'ABCstartup' setup under /etc/rc.d/init.d
Softlink 'S91ABCstartup' pointing to above script has been created under /etc/rc.d/rc3.d
The script is not being executed when the server restarts.
The script runs successfully via manual execution:... (5 Replies)
Dear Team,
I am very new to shell scripting & and presently monitoring unix boxes
I am looking for a shell script which will give me the below output
script should contain -
hostname,OS Version,CPU details, Physical Memory, Partitions Details, Network Details and Software Installed,... (5 Replies)
Hi there,
Please help, anyone know where to download latest Mod_SSL patch for Apache server v2.0.49 . Have tried www.apache.org but there is not latest patch available. (8 Replies)
Arch::Inventory(3pm) User Contributed Perl Documentation Arch::Inventory(3pm)NAME
Arch::Inventory - class representing a tree inventory
SYNOPSIS
use Arch::Inventory qw(:category :type);
my $inv = Arch::Inventory->new; # use cwd
print Arch::Inventory->to_string($inv->get_root_entry), "
";
print $inv->get_listing;
or (most commonly):
use Arch::Tree;
my $tree = Arch::Tree->new;
my $inv = $tree->get_inventory;
print $inv->get_listing;
DESCRIPTION
Arch::Inventory generates a tree inventory.
An inventory is a tree structure of elements, each representing a single directory entry of the source tree. Each inventory entry is
described by an hash with the following fields:
category
The classification of the tree element. category can be one of TREE, SOURCE, PRECIOUS, BACKUP or JUNK.
untagged
A boolean value indicating whether the element was first classified as SOURCE but lacked an inventory id.
type
The tree element type. type can be one of FILE, DIRECTORY or SYMLINK.
path
The complete path to the tree element relative to the inventory base directory.
id The elements inventory id. May be "undef".
children
A hash of the elements direct children, idexed by their last path element.
This field exists for elements of type DIRECTORY only.
The category and type constants can be conveniently imported using the tags ":category" and ":type".
use Arch::Inventory qw(:category :type);
METHODS
The following methods are available:
new, directory, get_root_entry, get_entry, get_listing, annotate_fs, foreach, dump, to_string.
new [$dir]
Create an inventory for $dir or the current directory if $dir is not specified.
directory
Returns the inventories base directory as passed to new.
get_root_entry
Returns the inventory element for the base directory.
The root entry always has the following properties:
$root = {
category => TREE, # if {arch} exists, SOURCE otherwise
untagged => 1,
type => DIRECTORY,
path => '',
id => undef,
children => { ... },
}
get_entry $path
get_entry @path_elements
Returns the inventory element for the specified path. The path may either be given as a single string or as a list of path elements.
If the element does not exist "undef" is returned.
Using an empty or no path is equivalent to calling get_root_entry.
get_listing
Generates a textual inventory listing equivalent to the output of
tla inventory -tspbju -B --kind --ids --untagged
Note: The output order is not equivalent to tla. Instead of strict ASCII order of path names, a directory entry is always directly
followed by its child entries. Entries with the same parent entry are ASCII ordered.
annotate_fs
annotate_fs $entry
Add filesystem information to $entry or every inventory entry if none is provided. This adds the fields stat and symlink to the
annotated entries which contain the output of lstat and readlink respectively.
foreach $coderef
Execute $coderef for every inventory entry, passing the entry as $_[0].
dump
Generates a dump of the inventory structure using Data::Dumper.
to_string $inventory_element
Generates an inventory line for the inventory element as produced by tla.
BUGS
Awaiting for your reports.
AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel).
Enno Cramer (uebergeek@web.de--2003/arch-perl--devel).
SEE ALSO
For more information, see tla, Arch::Util.
perl v5.10.1 2005-10-23 Arch::Inventory(3pm)