All Projects → OCSInventory-NG → Unixagent

OCSInventory-NG / Unixagent

Licence: gpl-2.0
This is the OCS unified agent for Unix operating systems

Programming Languages

perl
6916 projects

Projects that are alternatives of or similar to Unixagent

Windowsagent
OCS Inventory NG Agent for Windows
Stars: ✭ 100 (+63.93%)
Mutual labels:  deployment, agent
Fusioninventory Agent
FusionInventory Agent
Stars: ✭ 177 (+190.16%)
Mutual labels:  deployment, agent
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (+18.03%)
Mutual labels:  unix, deployment
Luneta
command-line fuzzy finder
Stars: ✭ 49 (-19.67%)
Mutual labels:  unix
Painless
Painless parameter handling for easy exploration
Stars: ✭ 51 (-16.39%)
Mutual labels:  unix
Parsrs
CSV, JSON, XML text parsers and generators written in pure POSIX shellscript
Stars: ✭ 56 (-8.2%)
Mutual labels:  unix
Shx
Portable Shell Commands for Node
Stars: ✭ 1,111 (+1721.31%)
Mutual labels:  unix
Copycat Action
©️ GitHub Action for copying files to other repositories
Stars: ✭ 48 (-21.31%)
Mutual labels:  deployment
Rsync Deployments
GitHub Action for deploying code via rsync over ssh
Stars: ✭ 59 (-3.28%)
Mutual labels:  deployment
Laravel Caprover Template
Template to deploy a Laravel app in docker for CapRover
Stars: ✭ 56 (-8.2%)
Mutual labels:  deployment
Gpg Encrypt
Use GPG to encrypt a file using our best settings
Stars: ✭ 53 (-13.11%)
Mutual labels:  unix
Graceful Shutdown Spring Boot
Graceful Shutdown with Spring Boot (Demo)
Stars: ✭ 51 (-16.39%)
Mutual labels:  deployment
Newrelic Ruby Agent
New Relic RPM Ruby Agent
Stars: ✭ 1,096 (+1696.72%)
Mutual labels:  agent
Gym Minigrid
Minimalistic gridworld package for OpenAI Gym
Stars: ✭ 1,047 (+1616.39%)
Mutual labels:  agent
Bert In Production
A collection of resources on using BERT (https://arxiv.org/abs/1810.04805 ) and related Language Models in production environments.
Stars: ✭ 58 (-4.92%)
Mutual labels:  deployment
Nextjs With Lambda
Next.js example with deploying to AWS Lambda
Stars: ✭ 48 (-21.31%)
Mutual labels:  deployment
Skalibs
The skarnet.org C system programming library
Stars: ✭ 58 (-4.92%)
Mutual labels:  unix
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-13.11%)
Mutual labels:  unix
Rsync
In the process of being transitioned to a node.js action.
Stars: ✭ 53 (-13.11%)
Mutual labels:  deployment
Cmd
A simple package to execute shell commands on linux, windows and osx
Stars: ✭ 56 (-8.2%)
Mutual labels:  unix

Banner

OCS Inventory UnixAgent

Some Links:
Ask question | Installation | Website | OCS Professional

Ocsinventory-Agent is an agent for ocsinventory NG. It supports Linux, Solaris and AIX. *BSD support is in progress.

Prerequisites

- Perl 5.8 minimum

The following modules are needed:

- Digest::MD5
- XML::Simple
- Net::IP optional, it is only needed to compute the network information
- LWP
- Mac::SysProfile 0.0.5 : this module is need on MacOSX to collect the device informations.
- To get SSL communications working (for packages deployment or HTTPS communications to OCS server), you need these modules:
  - Crypt::SSLeay if you use LWP prior to version 6
  - LWP::Protocol::https if you use LWP version 6 or more
- Net::CUPS is used to detect the printer
- Net::SNMP to scan network devices using SNMP
- To enhance SNMP feature with custom networks scans, you need these modules:
  - Net::Netmask
  - Net::Ping or Nmap::Parser
- Data::UUID is used to create a unique id for every machine
- Parse::EDID is used to inventory monitor and will replace monitor-edid from Mandriva.

The following commands are needed:

- dmidecode on Linux and *BSD (i386, amd64, ia64) => dmidecode is required to read the BIOS stats.
- lspci on Linux and *BSD (pciutils package) => lspci is required to list PCI devices.
- sneep on Solaris/sparc, you must install sneep and record the Serial Number with it (download it from http://www.sun.com/download/products.xml?id=4304155a)
- To get the serial number of the screen you will need one of these tools:
  - monitor-edid from Mandriva is needed to fetch the monitor. A package is available in Fedora repository. information http://wiki.mandriva.com/en/Tools/monitor-edid
  - get-edid from the read-edid package
- ipmitool if you want to collect information about IPMI
- Nmap (v3.90 or superior) to scan network devices for Ipdiscover

The following PERL modules are optional:

- Proc::Daemon Daemon mode
- Proc::PID::File brings the pid file support if Proc::Daemon is installed
- Compress::Zlib

The following module is needed if you plan to prepare a tarball or install directly from the Bazaar devel branch. (See SOURCES below.):

- Module::Install

Build / Install

Once the archive is unpacked, use these commands:

perl Makefile.PL
make
make install

If you want to turn off the interactive post install script, just do (instead of perl Makefile.PL)

PERL_AUTOINSTALL=1 perl Makefile.PL

You can also run the agent from the tarball directory. In this case, use the --devlib flag to load the library from the local directory.

You need to launch the agent with root privilege. For debugging you can try to launch it with the -l flag:

Ex: ocsinventory-agent -l /tmp --debug

It's also possible to run directly from the tarball directory:

sudo ./ocsinventory-agent --devlib --server http://foo/ocsinventory

Note

Solaris:

  • Sun Studio seems to be needed to build the dependency.
  • The generated Makefile needs gmake to be exectuted
  • The default installation will install the binary in /usr/perl5/5.XXXXX/bin, set your $PATH variable according to that.

Crontab:

  • If you use crontab to launch the agent you'll probably have to redefine the PATH. For example, just add something like: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin At the beginning of the cron file.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Add your changes: git add folder/file1.php
  4. Commit your changes: git commit -m 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request !

License

OCS Inventory is GPLv2 licensed

The memconf script is maintained by Tom Schmidt http://www.4schmidts.com/memconf.html Copyright © 1996-2017 Tom Schmidt

memconf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Ocsinventory::Agent::Backend::Virtualization::Vmsystem uses code from imvirt:

Authors: Thomas Liske [email protected]

Copyright Holder: 2008 (C) IBH IT-Service GmbH [http://www.ibh.de/]

License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Ocsinventory::Agent::Backend::OS::Linux::Storages::Adaptec uses code from Parse-Arcconf:

https://github.com/kumy/Parse-Arcconf

License and Copyright: Copyright (C) 2012 Mathieu Alorent

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].