ScanCore Agent - scan-server-resources

From Alteeve Wiki
Revision as of 19:46, 18 June 2016 by Digimer (talk | contribs) (Created page with "{{header}} {{note|1=This agent requires the '<span class="code">scan-server-resources</span>' tool to be installed and running on the target server.}} * Back to [[List of Sc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 AN!Wiki :: ScanCore Agent - scan-server-resources

Note: This agent requires the 'scan-server-resources' tool to be installed and running on the target server.

This agent runs a small tool on the target machine which listens for TCP connections on port 26845. When it receives the command GET, it reports back in XML the current hostname, UUID, operating system string, CPU count and load per core, RAM and swap total and used and each mounted drive, its size and used space.

Example:

telnet 10.255.0.10 26845
Trying 10.255.0.10...
Connected to 10.255.0.10.
Escape character is '^]'.
GET
<?xml version="1.0" encoding="UTF-8"?>
<server os="Windows-7-6.1.7601-SP1" host_name="letoy" uuid="ee7ff22b-2a81-4fa8-9710-1f375ab0a33a" boot_time="1466263455.0">
	<disks>
		<drive name="C:\" filesystem="NTFS" options="rw,fixed" size="479623647232" used="394543112192" />
	</disks>
	<memory>
		<ram total="34327662592" used="4072189952">
		<swap total="68653420544" used="4066205696">
	</memory>
	<cpu>
		<cores count=4>
		<cpu number="0" load="4.7"/>
		<cpu number="1" load="9.4"/>
		<cpu number="2" load="20.2"/>
		<cpu number="3" load="9.5"/>
	</cpu>
</server>
Note: The CPU loads are based on one second of load starting from the GET command being received.

This information is then stored in ScanCore.

Install scan-server-resources Tool

This is a basic tool that is set to run on boot. It has no installer and no dependencies. Installation is simply a matter of extracting to compressed directory and files and then telling the operating system to start it on OS boot. Removal is simply the reverse.

On Windows

Download the Windows tool.


On Linux


 

Any questions, feedback, advice, complaints or meanderings are welcome.
Alteeve's Niche! Enterprise Support:
Alteeve Support
Community Support
© Alteeve's Niche! Inc. 1997-2024   Anvil! "Intelligent Availability®" Platform
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions.