{"id":23338684,"url":"https://github.com/ocsinventory-ng/unixagent","last_synced_at":"2025-04-04T06:08:25.081Z","repository":{"id":33097464,"uuid":"36735050","full_name":"OCSInventory-NG/UnixAgent","owner":"OCSInventory-NG","description":"This is the OCS unified agent for Unix operating systems","archived":false,"fork":false,"pushed_at":"2024-10-21T09:10:55.000Z","size":30761,"stargazers_count":89,"open_issues_count":17,"forks_count":84,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-10-21T12:57:46.464Z","etag":null,"topics":["agent","deployment","ocs","ocs-deployment","ocs-inventory","ocsinventory","unix"],"latest_commit_sha":null,"homepage":"http://www.ocsinventory-ng.org/en/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OCSInventory-NG.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":".github/Contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-02T13:29:00.000Z","updated_at":"2024-10-15T06:49:20.000Z","dependencies_parsed_at":"2024-02-28T16:55:59.157Z","dependency_job_id":"2adb11f3-00aa-407e-9c86-f4d6048faf53","html_url":"https://github.com/OCSInventory-NG/UnixAgent","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCSInventory-NG%2FUnixAgent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCSInventory-NG%2FUnixAgent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCSInventory-NG%2FUnixAgent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCSInventory-NG%2FUnixAgent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OCSInventory-NG","download_url":"https://codeload.github.com/OCSInventory-NG/UnixAgent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128751,"owners_count":20888235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","deployment","ocs","ocs-deployment","ocs-inventory","ocsinventory","unix"],"created_at":"2024-12-21T03:15:13.379Z","updated_at":"2025-04-04T06:08:25.059Z","avatar_url":"https://github.com/OCSInventory-NG.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cdn.ocsinventory-ng.org/common/banners/banner660px.png\" height=300 width=660 alt=\"Banner\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eOCS Inventory UnixAgent\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eSome Links:\u003c/b\u003e\u003cbr\u003e\n  \u003ca href=\"http://ask.ocsinventory-ng.org\"\u003eAsk question\u003c/a\u003e |\n  \u003ca href=\"https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-the-UNIX-agent-manually-on-client-computers/\"\u003eSource installation\u003c/a\u003e | \n  \u003ca href=\"https://wiki.ocsinventory-ng.org/03.Basic-documentation/Setting-up-the-UNIX-agent-using-repository-on-client-computers/\"\u003eRPM/DEB installation\u003c/a\u003e |\n  \u003ca href=\"https://ocsinventory-ng.org/\"\u003eWebsite\u003c/a\u003e |\n  \u003ca href=\"https://ocsinventory-ng.org/?page_id=140\u0026lang=en\"\u003eOCS Professional\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"justify\"\u003e\n  Ocsinventory-Agent is an agent for ocsinventory NG. It supports Linux,\n  Solaris and AIX. *BSD support is in progress.\n\u003c/p\u003e\n\n\n\n\n\u003ch2 align=\"center\"\u003ePrerequisites\u003c/h2\u003e\n- Perl 5.8 minimum\n\n  #### The following modules are needed:\n    - Digest::MD5\n    - XML::Simple\n    - Net::IP optional, it is only needed to compute the network information\n    - LWP\n    - Mac::SysProfile 0.0.5 : this module is need on MacOSX to collect the device informations.\n    - To get SSL communications working (for packages deployment or HTTPS communications to OCS server), you need these modules:\n      - Crypt::SSLeay if you use LWP prior to version 6\n      - LWP::Protocol::https if you use LWP version 6 or more\n    - Net::CUPS is used to detect the printer\n    - Net::SNMP to scan network devices using SNMP\n    - To enhance SNMP feature with custom networks scans, you need these modules:\n      - Net::Netmask\n      - Net::Ping or Nmap::Parser\n    - Data::UUID is used to create a unique id for every machine\n    - Parse::EDID is used to inventory monitor and will replace monitor-edid from Mandriva.\n      \n  #### The following commands are needed:\n    - dmidecode on Linux and *BSD (i386, amd64, ia64) =\u003e dmidecode is required to read the BIOS stats.\n    - lspci on Linux and *BSD (pciutils package) =\u003e lspci is required to list PCI devices.\n    - 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)\n    - To get the serial number of the screen you will need one of these tools:\n      - 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\n      - get-edid from the read-edid package\n    - ipmitool if you want to collect information about IPMI\n    - Nmap (v3.90 or superior) to scan network devices for Ipdiscover\n    \n  #### The following PERL modules are optional:\n    - Proc::Daemon Daemon mode\n    - Proc::PID::File brings the pid file support if Proc::Daemon is installed\n    - Compress::Zlib\n\n  #### The following module is needed if you plan to prepare a tarball or install directly from the Bazaar devel branch. (See SOURCES below.):\n    - Module::Install\n\n\u003ch2 align=\"center\"\u003eBuild / Install\u003c/h2\u003e\n\nOnce the archive is unpacked, use these commands:\n\n```\nperl Makefile.PL\nmake\nmake install\n```\nIf you want to turn off the interactive post install script, just do (instead of perl Makefile.PL)\n```\nPERL_AUTOINSTALL=1 perl Makefile.PL\n```\n\nYou can also run the agent from the tarball directory. In this case, use the `--devlib` flag to load the library from the local directory.\n\n\nYou need to launch the agent with root privilege. For debugging you can try to launch it with the `-l` flag:\n\nEx: `ocsinventory-agent -l /tmp --debug`\n\nIt's also possible to run directly from the tarball directory:\n\n`sudo ./ocsinventory-agent --devlib --server http://foo/ocsinventory`\n\n\u003ch2 align=\"center\"\u003eNote\u003c/h2\u003e\n\nSolaris:\n  - Sun Studio seems to be needed to build the dependency.\n  - The generated Makefile needs gmake to be exectuted\n  - The default installation will install the binary in /usr/perl5/5.XXXXX/bin, set your $PATH variable according to that.\n\nCrontab:\n  - 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.\n\n\u003cbr /\u003e\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Add your changes: `git add folder/file1.php`\n4. Commit your changes: `git commit -m 'Add some feature'`\n5. Push to the branch: `git push origin my-new-feature`\n6. Submit a pull request !\n\n## License\n\nOCS Inventory is GPLv2 licensed\n\nThe memconf script is maintained by Tom Schmidt\nhttp://www.4schmidts.com/memconf.html\nCopyright © 1996-2017 Tom Schmidt\n\nmemconf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License \nas published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nOcsinventory::Agent::Backend::Virtualization::Vmsystem uses code from imvirt:\n\nAuthors:\n  Thomas Liske \u003cliske@ibh.de\u003e\n\nCopyright Holder:\n  2008 (C) IBH IT-Service GmbH [http://www.ibh.de/]\n\nLicense: 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.\n\nOcsinventory::Agent::Backend::OS::Linux::Storages::Adaptec uses code from Parse-Arcconf:\n\nhttps://github.com/kumy/Parse-Arcconf\n\nLicense and Copyright:\nCopyright (C) 2012 Mathieu Alorent\n\nThis 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focsinventory-ng%2Funixagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focsinventory-ng%2Funixagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focsinventory-ng%2Funixagent/lists"}