With the Guardian can monitor computers running Python 2.7 (above) installed. This feature allows monitoring of any operating system.
The source code of this module can be found on GitHub.
It uses the resource PSUtil for the machine information and send the data to the Cloud Guardian.
The installation and configuration process is simple, just have 'pip` installed and use the command to the side.
pip install guardiancl
Step One - Conf. early
When installing guardiancl run the command: guardiancl configure
After the serial number has been released, will be asked the e-mail and password of user, with this system will get the key of the project and user, in order to carry out the collection and transmission of information.
At the end will be asked how often data will be collected, the time will be second, by default the value is 5 seconds.
Setting up that Monitor
You can set what information will be monitored, for example, which drives and network interface if you want to collect the data.
Enabling / Disabling Network Interface
Run the command guardiancl configure inet, and will be asked which network interfaces whether to enable and / or disable the list of interfaces is based on interfaces that your computer has.
Enabling / Disabling Disk
Run the command: guardiancl configure disk, and will be asked what the disks you want to enable and / or disable the list of disks is based on disks that your computer has.
Listing the settings
To list what is enabled and / or disabled you can use the command: guardiancl list inet (for network interface) the guardiancl list disk (for disk).
What is as [enabled] is enabled for monitoring, and that is how [disabled] It is disabled for monitoring.
To start data collection, run the command guardiancl monitor, the system will perform the first collection, and you can view the data.
You can place the system in the background, so that it becomes ever collection by running the command next to *Inx.
guardiancl monitor &
For Windows use the following command next.
START /B guardiancl monitor
To better visualize the information, go to page Device-specific.
The system generates a log file that can be followed through the next command.
tail -f ~/.guardiancl/.guardiancl.log
To view the process PID, which the system is running, view the file: ~/.guardiancl/.guardiancl.pid
Through the PID can be
kill the process.