Skip to content

OCSInventory-NG/greenit_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCS Inventory Service - Green IT

Banner

Service GreenIT

Some Links :
Ask question | Website | OCS Professional

Description

Currently supported on Windows, this service is made to gather power consumption information.

IMPORTANT NOTE : This service is required if you use GreenIT Plugin downloadable here

Prerequisites

NOTE : Every agents which have the service installed can return GreenIT data.

  • Windows 10

Installation

To install the service on your agents :

  • Download the service here to get the executable and start it.

  • Go to the config page :

Config Page

  • Configuration :

    • The period between collecting information is a time in seconds that will allow the service to start colecting information.

      Example : if you put it to 5, it will collect information every 5 seconds.

    • The period between upload is a time in minutes that will allow the service to write information collected into the data file (C:\ProgramData\GreenIT\data.json)

      Example : if you put it to 5, it will write information into data file every 5 minutes. If you put it to 0, it will write information in data file each data collect.

      NOTE : "C:\ProgramData" is an unvisible folder.

    • The period between saves is a time in hours that will allow the service to create a ".bak" file next to data file to don't lose your last data.

      Example : if you put it to 5, it will create/update the backup file every 5 hours.

  • Click on install and don't forget to check "Run GreenIT Service 1.0" at the end.

IMPORTANT NOTE : It is important to check "Run GreenIT Service 1.0" to install the software as a Windows service !

  • If you haven't checked the box, you can install it manually after the install of the software :
    • Open a terminal and go in the software installation folder path.
    • Run the command .\GreenIT.exe install and wait until the plugin is installed.

And yes, that's all :-)

For developers

All the documentation for developers can be found here