01-19-2016
Nagios is primarily a monitoring tool. Of course you can (mis-)use it for an inventory.
Maybe facter from Puppet Labs is more appropriate...
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I find out what software is installed on the machine, other than ls? Is there a registry program like in Windows? The os is Sun 2.5.
Thanks (1 Reply)
Discussion started by: ViperD
1 Replies
2. UNIX for Advanced & Expert Users
how to obtain/ collect a list of all the applications installed in the system.. is there a configuration file(like the one which exists for hardware ) which holds all this information?? if no is there any command/shell script or utility that we can use for the same ??
I am using Red hat linux... (2 Replies)
Discussion started by: superghost
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I am looking for a way to inventory the hardware and software components of many Solaris 8 servers/workstations. I would like to script this to run against a list of IP's in a text file.
For Windows there are many such programs available (like Belarc)
Is there anything similar for... (4 Replies)
Discussion started by: limey
4 Replies
4. Shell Programming and Scripting
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)
Discussion started by: whizkidash
5 Replies
5. UNIX for Advanced & Expert Users
we create a HP-UX software depot with a new perl-modul. after installation of the software depot, the perl module
i can't find with instmodsh in the inventory for installed Perl modules.
- i have learned of using instmodsh command : i find out what modules are already installed on my system.
... (0 Replies)
Discussion started by: bora99
0 Replies
6. Solaris
Hi Experts,
we are planning to upgrade the End of life servers to new servers and from solaris 8/9 to 11. Server loads are minimum and not heavily loaded. After analysis we came to conclusion
to use the below. Can experts out there please let me know whether it make sense or any way we can... (3 Replies)
Discussion started by: sundba
3 Replies
7. Solaris
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)
Discussion started by: baddy
8 Replies
LEARN ABOUT DEBIAN
puppet-doc
PUPPET-DOC(8) Puppet manual PUPPET-DOC(8)
NAME
puppet-doc - Generate Puppet documentation and references
SYNOPSIS
Generates a reference for all Puppet types. Largely meant for internal Puppet Labs use.
USAGE
puppet doc [-a|--all] [-h|--help] [-o|--outputdir rdoc-outputdir] [-m|--mode text|pdf|rdoc] [-r|--reference reference-name] [--charset
charset] [manifest-file]
DESCRIPTION
If mode is not 'rdoc', then this command generates a Markdown document describing all installed Puppet types or all allowable arguments to
puppet executables. It is largely meant for internal use and is used to generate the reference document available on the Puppet Labs web
site.
In 'rdoc' mode, this command generates an html RDoc hierarchy describing the manifests that are in 'manifestdir' and 'modulepath' configu-
ration directives. The generated documentation directory is doc by default but can be changed with the 'outputdir' option.
If the command is run with the name of a manifest file as an argument, puppet doc will output a single manifest's documentation on stdout.
OPTIONS
--all Output the docs for all of the reference types. In 'rdoc' mode, this also outputs documentation for all resources.
--help Print this help message
--outputdir
Used only in 'rdoc' mode. The directory to which the rdoc output should be written.
--mode Determine the output mode. Valid modes are 'text', 'pdf' and 'rdoc'. The 'pdf' mode creates PDF formatted files in the /tmp direc-
tory. The default mode is 'text'. In 'rdoc' mode you must provide 'manifests-path'
--reference
Build a particular reference. Get a list of references by running 'puppet doc --list'.
--charset
Used only in 'rdoc' mode. It sets the charset used in the html files produced.
--manifestdir
Used only in 'rdoc' mode. The directory to scan for stand-alone manifests. If not supplied, puppet doc will use the manifestdir from
puppet.conf.
--modulepath
Used only in 'rdoc' mode. The directory or directories to scan for modules. If not supplied, puppet doc will use the modulepath from
puppet.conf.
--environment
Used only in 'rdoc' mode. The configuration environment from which to read the modulepath and manifestdir settings, when reading
said settings from puppet.conf. Due to a known bug, this option is not currently effective.
EXAMPLE
$ puppet doc -r type > /tmp/type_reference.markdown
or
$ puppet doc --outputdir /tmp/rdoc --mode rdoc /path/to/manifests
or
$ puppet doc /etc/puppet/manifests/site.pp
or
$ puppet doc -m pdf -r configuration
AUTHOR
Luke Kanies
COPYRIGHT
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License
Puppet Labs, LLC June 2012 PUPPET-DOC(8)