Terms used in this document

sargraph server:  The server where you are installing the sargraph package

sargraph client:   The server which you are adding to the sargraph control, in order to collect the sar reports to plot the graph


Prerequisite for sargraph server:


sargraph Client side requirements:

Installation of sargraph version 3u1:

Download sargraph_version3u1.tgz to /tmp. Unzip and untar it. And run the INSTALLER

#tar xzf sargraph_version3u1.tgz

#cd sargraph_version3u1


Browse to http://yourserver/sargraph, you should get a sargraph login page.

Default credentials:

Login name: admin 
password: admin123
Note: For install instructions for sargraph version2 and below, please click here

Sargraph user management:

A user acount is required to login to sargraph web portal

Adding user:

Go to sargraph scripts directory in sargraph server and run add_user


#cd /var/www/html/sargraph/scripts




Deleting User:


#cd /var/www/html/sargraph/scripts



Password reset:


#cd /var/www/html/sargraph/scripts



Sargraph client management:

Add a client server to sargraph

#cd /var/www/html/sargraph/scripts

#./addserver servername

Before adding server ensure sargraph user created in targeted client.

example: Adding linux server mario to sargraph

[root@sgserver .ssh]# /var/www/html/sargraph/scripts/addserver mario

Adding server......
/root/.ssh/ not found! Generating DSA key
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/
The key fingerprint is:
21:06:7c:69:3e:98:07:b5:57:54:f8:6f:bd:72:58:2e root@mario
sargraph@mario's password:                                                                                  100%  603     0.6KB/s   00:00
sargraph@mario's password:
Server reachable
Collecting performance matrix..

You are done, go to sargraph portal and view the performane graphs.

Modify Server

#cd /scripts

#./modify_server remove

#./modify_server disable

#./modify_server enable