All Projects → jackburton79 → ocs-agent

jackburton79 / ocs-agent

Licence: GPL-3.0 license
Lite OCSInventory-NG Agent for Linux (Unofficial)

Programming Languages

HTML
75241 projects
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Makefile
30231 projects

Projects that are alternatives of or similar to ocs-agent

Pubg mobile memory hacking examples
Pubg Mobile Emulator Gameloop Memory Hacking C++ code examples. Ex: Name, Coord, Bones, Weapons, Items, Box, Drop etc.
Stars: ✭ 224 (+1500%)
Mutual labels:  inventory
Binner
Open source parts inventory system for makers, electronics hobby, and professional engineers
Stars: ✭ 122 (+771.43%)
Mutual labels:  inventory
tinvedit
inventory editor for terraria game
Stars: ✭ 35 (+150%)
Mutual labels:  inventory
Fusioninventory For Glpi
FusionInventory plugin for GLPI
Stars: ✭ 241 (+1621.43%)
Mutual labels:  inventory
POS---Point-Of-Sales
Point of sales proof of concept developed using Asp.Net Core 2.2. Features: Customer, Vendor, Product, Purchase Order, Goods Receive, Sales Order, Inventory Transactions and POS form.
Stars: ✭ 120 (+757.14%)
Mutual labels:  inventory
django-graphql-graphene-example
A Django GraphQL API example with Django Graphene
Stars: ✭ 24 (+71.43%)
Mutual labels:  inventory
Storaji
📒 The light/responsive inventory management system available on Windows, macOS and Linux.
Stars: ✭ 222 (+1485.71%)
Mutual labels:  inventory
visansible
Visualization of Ansibel-Facts (Inventory-Data)
Stars: ✭ 13 (-7.14%)
Mutual labels:  inventory
GuiLib
Yet another bukkit inventory gui library
Stars: ✭ 18 (+28.57%)
Mutual labels:  inventory
nix bsd mac inventory
Collect Inventory data from *Nix, BSD and mac OS and upload to Device42
Stars: ✭ 17 (+21.43%)
Mutual labels:  inventory
Xtuple
This repository contains the source code for the database schema for the PostBooks edition of xTuple ERP and xTuple's REST API server. The REST API server is written in JavaScript running on Node.js. The database schema for PostBooks runs on a PostgreSQL database server.
Stars: ✭ 247 (+1664.29%)
Mutual labels:  inventory
bizbook-server
The repository of bizbook server web api project
Stars: ✭ 45 (+221.43%)
Mutual labels:  inventory
simple-ansible-inventory
A simple, clean and easily readable Ansible inventory
Stars: ✭ 25 (+78.57%)
Mutual labels:  inventory
Warehouse Inventory System
Open source inventory management system with php and mysql
Stars: ✭ 235 (+1578.57%)
Mutual labels:  inventory
ios-inventory-agent
Flyve MDM Inventory Agent
Stars: ✭ 27 (+92.86%)
Mutual labels:  inventory
Ledgersmb
Repository for the LedgerSMB project -- web app for accounting & ERP
Stars: ✭ 222 (+1485.71%)
Mutual labels:  inventory
PSP-Inventory
Inventorise your environment through PowerShell
Stars: ✭ 28 (+100%)
Mutual labels:  inventory
odoobooks
Odoo Best Practices - Online Book
Stars: ✭ 46 (+228.57%)
Mutual labels:  inventory
bizbook-client
The repository of bizbook client project
Stars: ✭ 28 (+100%)
Mutual labels:  inventory
apex
Apex is a self hosted sales, purchase, inventory and accounting solution for small businesses.
Stars: ✭ 55 (+292.86%)
Mutual labels:  inventory

build Codacy Badge CodeFactor Language grade: C/C++

Linux lite inventory agent

A couple of years ago, where I work, we started using OCS Inventory NG, which is a really useful application in enterprises. It allows system administrators to inventory servers and workstations, in order to plan obsolescenses and investments. In the last two years, we also started using Thinstation to recycle old computers as Citrix terminals, by booting them via PXE. Unfortunately, the OCS Inventory Agent for Unix is written in Perl. The Perl interpreter is quite big (~16MB) and can't be put into the Thinstation images without getting a performance hit on booting. Moreover, the agent doesn't work on a system with a read only filesystem (actually, the filesystem is read-write, but changes are lost when the terminal is powered off, since it's a in-RAM filesystem). So I decided to write a small agent in C++ to be able to inventory also those machines which I was not able to do with the official agent. The agent is not complete yet, but it can already produce an inventory of the machine and send it to the OCSInventory server, or save it locally. The compiled program weights around 500kb on disk, and only has zlib and openssl as dependency, which are already present on any Thinstation installation. It also uses tinyxml2, a very small and efficient XML parsing/writing library, linked statically into the executable. This is not the official OCSInventory NG agent, which can be found here: https://github.com/OCSInventory-NG/UnixAgent

Usage:
  -h, --help                         Print usage
  -c, --conf <config_file>           Specify configuration file
  -s, --server <server>              Specify OCSInventory server url
                                     If the server needs authentication, use the standard syntax <user>:<password>@<host>
  -l, --local <folder>               Don't send inventory, instead save a local copy in the specified file or folder
      --stdout                       Don't send inventory, print it to stdout
  -t, --tag <TAG>                    Specify tag. Will be ignored by server if a value already exists
      --nosoftware                   Do not retrieve installed software

      --agent-string <string>        Specify custom HTTP agent string

  -d, --daemonize                    Detach from running terminal
  -w, --wait <s>                     Wait for the specified amount of seconds before building the inventory

      --log <option>                 Specify error log output (STDERR / SYSLOG).
                                     Default is standard error if attached to a terminal, otherwise syslog. 
  -v, --verbose                      Verbose mode
      --version                      Print version and exit

    --use-current-time-in-device-ID  Use current time in the device ID, instead of the BIOS Date.
                                     No need to use this option unless you know why you need it.

The -l and -s option are mutually exclusive.
If no server or output file is specified, either via the -s/-l option or via configuration file (option -c), the program will exit without doing anything.

Examples:
  Print inventory to standard output :
    ocsinventory-agent --stdout

  Send inventory to server http://ocsinventory-ng/ocsinventory :
    ocsinventory-agent --server http://ocsinventory-ng/ocsinventory

  Use the configuration file /etc/ocsinventory-ng.conf :
    ocsinventory-agent --conf /etc/ocsinventory-ng.conf

  Send inventory to server https://ocsinventory-ng/ocsinventory which requires http basic authentication :
    ocsinventory-agent --server https://user:password@ocsinventory-ng/ocsinventory

  Save a local inventory to /var/tmp/inventoryFile.xml :
    ocsinventory-agent --local /var/tmp/inventoryFile.xml

  Save a local inventory to /var/tmp/<device_id>.xml :
    ocsinventory-agent --local /var/tmp/
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].