Changes

Jump to navigation Jump to search
1,677 bytes added ,  21:07, 17 April 2021
no edit summary
Line 1: Line 1:  
{{Languages|OCS Inventory Tools}}
 
{{Languages|OCS Inventory Tools}}
 +
{{Outdated}}
 +
{{Warning box|This contribs is only available on SME7 and has not been updated since 2007. We ask you to rather use the upto date package on SME8 [[OCS_Inventory]]}}
 +
=Maintainer=
   −
=Maintainer=
+
'''Unmaintained'''
 +
formerly maintained by :
 
[[User:Cool34000|Sylvain Gomez]]<br/>
 
[[User:Cool34000|Sylvain Gomez]]<br/>
 
mailto:sylvaingomez@free.fr
 
mailto:sylvaingomez@free.fr
Line 7: Line 11:  
Special thanks to [http://remi.collet.free.fr/ Rémi Collet] who provided a working OCS Unified Agent Linux (and so much more!)
 
Special thanks to [http://remi.collet.free.fr/ Rémi Collet] who provided a working OCS Unified Agent Linux (and so much more!)
   −
Big thanks to Didier Liroulet and OCS team for this full documentated software (See '''''/opt/inventory/ocs/ocsreports/files/guide.pdf''''')
+
Big thanks to Didier Liroulet and OCS team for this full documented software (See '''''/opt/inventory/ocs/ocsreports/files/guide.pdf''''')
    
And last but not least, thanks to [[User:Snoble|Stefen Noble]] for testings, time spent and help provided!
 
And last but not least, thanks to [[User:Snoble|Stefen Noble]] for testings, time spent and help provided!
Line 15: Line 19:  
==OCS Inventory NG Description==
 
==OCS Inventory NG Description==
 
Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of the computers configuration and software that are installed on the network.
 
Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of the computers configuration and software that are installed on the network.
Information about Hardware and Operating System are collected.
+
 
 +
It is also able to detect all active devices on your network, such as switch, router, network printer and unattended devices. For each one, it stores MAC and IP addresses and allows you to classify them.
 +
 
 +
Last, but not least, OCS Inventory NG includes package deployment feature on client computers. From the central management server, you can upload packages (software setup, commands or only files to store on client computers) which will be downloaded through HTTP/HTTPS and launched by agent on client computer.
 +
 
 
Used with a IT and Asset Management Software such as open source tool GLPI, you will have a powerfull inventory and asset management software with automatic updates of computer configuration, license management, help desk and more.
 
Used with a IT and Asset Management Software such as open source tool GLPI, you will have a powerfull inventory and asset management software with automatic updates of computer configuration, license management, help desk and more.
   Line 27: Line 35:  
=Server Installation=
 
=Server Installation=
 
==Download==
 
==Download==
You can download this package ''[http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/smeserver-inventory-tools-1-7.i386.rpm  here]''. You will also need ''[http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz a few dependencies]''.
+
You will need ''[http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz a few dependencies]''.
 
If you want to save it directly on your SME Server, you can give these commands at the prompt:
 
If you want to save it directly on your SME Server, you can give these commands at the prompt:
 
  wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz
 
  wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/dependencies/ocs_perl_deps.tar.gz
wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/smeserver-inventory-tools-1-7.i386.rpm
      
==Install==
 
==Install==
Line 43: Line 50:  
  yum localinstall ./ocs_perl_deps/*.rpm
 
  yum localinstall ./ocs_perl_deps/*.rpm
 
Finally, you can install OCS Reports and GLPI with the following command:
 
Finally, you can install OCS Reports and GLPI with the following command:
yum localinstall smeserver-inventory-tools-1-7.i386.rpm
+
  yum install smeserver-inventory-tools --enablerepo=smecontribs
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
 
You can ignore the yum-comments ''signal event post-upgrade'' and ''signal-event reboot''.
   Line 64: Line 71:  
  yum localinstall ./ocs_perl_deps/*remi*.rpm
 
  yum localinstall ./ocs_perl_deps/*remi*.rpm
 
And then install the new version with
 
And then install the new version with
  yum localinstall smeserver-inventory-tools-1-7.i386.rpm
+
  yum install smeserver-inventory-tools --enablerepo=smecontribs
    
=== New RPM version===
 
=== New RPM version===
Line 70: Line 77:     
Use YUM to update:
 
Use YUM to update:
  yum localinstall smeserver-inventory-tools-1-'''x'''.i386.rpm
+
  yum update smeserver-inventory-tools --enablerepo=smecontribs
Where'' "'''x'''" ''is the new version number
+
 
 +
==Special commands==
 +
To view OCS and GLPI's configuration, you can type the following at the prompt:
 +
config show ocs
 +
config show glpi
 +
You can change a few parameters:
 +
    DB parameter  |    Options  | Default | Explanation
 +
# HTTPS          | on/off      | off    | Enable/Disable forced https mode of web interfaces
 +
# PublicAccess    | local/global | local  | Accessibility of web interfaces
 +
# MaxUpload      | xM          | 100M    | Max uploadable file size
 +
# InventoryAccess | local/global | global  | Accessibility of OCS Server (to receive inventories)
 +
# InventoryDelay  | >1          | 600    | Time to wait (sec) to avoid server overload (Agent cron)
 +
# URL            | new alias    |        | Optionnal aliases for ocs and glpi web interfaces
 +
After any change to OCS or GLPI configuration, you should apply modifications by typing the following at the prompt:
 +
signal-event domain-modify
 +
It will expand and restart needed templates and services in one command!
 +
 
 +
example:
 +
config setprop ocs  HTTPS on PublicAccess global
 +
config setprop glpi HTTPS on PublicAccess global
 +
signal-event domain-modify
    
==Uninstallation==
 
==Uninstallation==
Line 151: Line 178:  
For troubleshooting, look at the log file in ''C:\ocs-ng\COMPUTER_NAME.log''
 
For troubleshooting, look at the log file in ''C:\ocs-ng\COMPUTER_NAME.log''
 
----
 
----
====MySQL importation====
+
===Importing ''ocsagent.exe'' in MySQL===
 
The main advantage of this method is that you can send the standalone executable by Internet very quickly or even put the standalone executable on a floppy disk as it's only 65KB! How powerful looks your old floppy disk drive now?
 
The main advantage of this method is that you can send the standalone executable by Internet very quickly or even put the standalone executable on a floppy disk as it's only 65KB! How powerful looks your old floppy disk drive now?
   Line 182: Line 209:     
==OCS Agent for Linux==
 
==OCS Agent for Linux==
For a RPM based distro use the above rpms. For others download the generic linux tar.gz,
+
Download the generic linux tar.gz, unpack, read the README, and as root, run the setup script.  
unpack, read the README, and as root, run the setup script.  
      
You may required additional perl- packages, use you package management tools to search for the missing dependencies based on the README or the error messages. See Section 4.2 in the internal OCS help file.
 
You may required additional perl- packages, use you package management tools to search for the missing dependencies based on the README or the error messages. See Section 4.2 in the internal OCS help file.
Line 289: Line 315:  
for an overview see [http://www.ocsinventory-ng.org/index.php?page=package-deployment the ocs website]
 
for an overview see [http://www.ocsinventory-ng.org/index.php?page=package-deployment the ocs website]
 
for detail see section 8.3 of the help file,
 
for detail see section 8.3 of the help file,
for [http://alufis35.uv.es/OCS-Deployment-Tips-and-tricks.html Tips and tricks] see Pablo Iranzo's site]
+
for [http://alufis35.uv.es/OCS-Deployment-Tips-and-tricks.html Tips and tricks] see Pablo Iranzo's site
 
[[Image:OCS-buildpackage.png]]<br>
 
[[Image:OCS-buildpackage.png]]<br>
 
----
 
----
Line 339: Line 365:     
=GLPI Usage=
 
=GLPI Usage=
{{Incomplete}}
   
==Access==
 
==Access==
 
GLPI's web interface can be reached at http://your-server/glpi
 
GLPI's web interface can be reached at http://your-server/glpi
Line 348: Line 373:  
{{Warning box|For security-reasons, change admin's password after your first login!}}
 
{{Warning box|For security-reasons, change admin's password after your first login!}}
 
GLPI's web interface is only available from inside your network for security reasons by default.
 
GLPI's web interface is only available from inside your network for security reasons by default.
 +
==Basics==
 +
[http://glpi-project.org/wiki/doku.php?id=en:welcome GLPI Wiki]
   −
==Sync GLPI with OCS==
+
[http://glpi-project.org/wiki/doku.php?id=en:begin What's next?]
 +
{{Incomplete}}
 +
===External authentication===
 +
You can configure GLPI so that your SME users can login. For this, we will use SME integrated IMAP feature.
 +
 
 +
In GLPI interface, clic on ''Administration'' icon and open ''Setup'' menu. Then clic on ''External Authentications''.
 +
 
 +
Settings are on the screenshot:
 +
[[Image:GLPI-imap-auth.png]]<br>
 +
----
 +
Apply your changes. SME users can now connect with their existing user+password into GLPI interface!
 +
 
 +
Logout and login with an existing SME account:
 +
[[Image:GLPI-user-interface.png]]<br>
 +
----
 +
===Sync GLPI with OCS===
 
You can import OCS inventories into GLPI.
 
You can import OCS inventories into GLPI.
 
Simply clic on ''OCSNG'' in ''Tools'' menu.
 
Simply clic on ''OCSNG'' in ''Tools'' menu.
Line 358: Line 400:  
----
 
----
   −
=Special commands=
+
==Advanced==
To view OCS and GLPI's configuration, you can type the following at the prompt:
+
===Sync GLPI with LDAP===
config show ocs
+
[http://glpi-project.org/wiki/doku.php?id=en:ldap Related GLPI Wiki article]
config show glpi
+
{{Incomplete}}
You can change a few parameters:
+
===Sync GLPI with Active Directory===
    DB parameter  |    Options  | Default | Explanation
+
[http://glpi-project.org/wiki/doku.php?id=en:ldap Related GLPI Wiki article]
# HTTPS          | on/off      | off    | Enable/Disable forced https mode of web interfaces
+
{{Incomplete}}
# PublicAccess    | local/global | local  | Accessibility of web interfaces
+
==Plugins==
# MaxUpload      | xM          | 100M    | Max uploadable file size
+
[http://glpi-project.org/wiki/doku.php?id=en:plugins Related GLPI Wiki article]
# InventoryAccess | local/global | global  | Accessibility of OCS Server (to receive inventories)
+
{{Incomplete}}
# InventoryDelay  | >1          | 600    | Time to wait (sec) to avoid server overload (Agent cron)
  −
 
  −
After any change to OCS or GLPI configuration, you should apply modifications by typing the following at the prompt:
  −
signal-event domain-modify
  −
It will expand and restart needed templates and services in one command!
      
=Additional information=
 
=Additional information=
Line 384: Line 421:  
*[http://sme.firewall-services.com/spip.php?article42 Howto]
 
*[http://sme.firewall-services.com/spip.php?article42 Howto]
 
*[http://www.dlaoctet.com/index.php/2006/10/12/17-installer-ocs-next-generation-inventory-et-glpi Old version howto]
 
*[http://www.dlaoctet.com/index.php/2006/10/12/17-installer-ocs-next-generation-inventory-et-glpi Old version howto]
 +
 +
 +
''Stefen Noble (Snoble)''
    
''Sylvain Gomez (Cool34000)''
 
''Sylvain Gomez (Cool34000)''
    
----
 
----
[[Category: Contrib]]
+
[[Category: Deprecated Contrib]]
 +
[[Category: Administration:Monitoring]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu