Tuesday, October 20, 2015

Configuring Host Grapher in Windows

What is Host Grapher?
Host Grapher is a very light and effective program to gather Host Statistics like CPU, Memory and Processes. It has been written to be light and fast. One of the changes toward other programs is that instead of the server doing all the work of asking the clients for the information, its the client task to tell the server its own info. There will be clients for Linux, freeBSD , solaris ,Windows and Tru64. There will also a gateway program to include routers. Here is a Screenshot.

How does it work?
First install the server in one machine, install the client on the clients. On unix the client uses the crontab facility , on windows it will be installed as a service. Security has not been an issue yet , so there is a simple general password authentication. Before the records are kept the client has to issue an registration request.

For installing in Windows platform please download Server & Client Software from the site:
  • Configure the Host Grapher Server
1) After downloading the .zip file, extract it to C:\ (e.g. C :\GrapherServer)
2) Go to C:\GrapherServer\etc
     You have to edit the following two files:
          – apache.txt
          – password.txt
3) apache.txt contains the main data to put apache to work define the Port ServerAdmin Emailand ServerName. Please note that if you are already running a http server on the machine then you can not reuse port 80. Chose another port like 8080.
4) Password.txt contains a simple form text password for client authentication. Put a password for the clients to authenticate.
5) Now change back to c:\GrapherServer and double click on install.bat. The script will install following two services :
     -inetd
-hg2apache

6) If everything worked fine then you should be able to reach the following URL:http://localhost/ or
http://localhost:port/      (port number you have mentioned in apache.txt)
  • Configure the Clients
1) Uncompress downloaded files to C:\Grapher2
2) Edit the file C:\grapher2\grapher.conf











3) Save and Exit the file.
4) R un info.bat to find out which network cards you have on your machine.
5) Run install.bat
6) Run register.bat
N.B:
// register.bat -> will reset all information and register the client on the server, this has to be run at least one time.
// upgrade.bat  -> you should run this when you change anything in the config file
// info.bat     -> will give you information about the program.
Cheers!!!

No comments:

Restore Archived Log into VMware Aria Operations for Logs (formerly known as vRealize Log Insight - vRLI)

As we cannot keep all logs in searchable space in vRLI production system due to performance and slowness issue, it is always recommended to ...