sargraph.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation

Documentation

E-mail Print

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:

  • Sargrpah is collecting the sar reports from clients using ssh. Ssh should available in sargraph server and client servers.
  • Sargraph is a web based application, Apache web server should be installed and running.
  • PHP 5.4 and above

 

sargraph Client side requirements:

  • Sar pakage should be installed and configrured on client servers. Please see About SAR section for installion and configuration.
  • SSH should be installed and configured on Client servers
  • User ID which you have mentioned in sargraph.conf should be created, default user is sargraph

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

# ./INSTALLER

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

#./add_user

 

 

Deleting User:

 

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

#./del_user

 

Password reset:

 

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

#./pass_user

 

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/id_dsa.pub 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/id_dsa.pub.
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:
id_dsa.pub                                                                                  100%  603     0.6KB/s   00:00
sargraph@mario's password:
Linux
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

 

 

 

 

Comments   

 
-1 #52 push up bra inserts 2017-06-07 04:19
Awesome job over again. Thank you;)

My homepage: push up bra inserts: http://clitus516.typepad.com/blog/2011/09/chicken-fillet-breast-enhancer-do-they-work.html
Quote
 
 
-1 #51 PedroManifol 2017-05-31 00:43
I see your page needs some unique content. Writing manually is time consuming, but
there is solution for this hard task. Just search for; Miftolo's tools rewriter
Quote
 
 
0 #50 Geoffrey 2017-05-15 23:25
As the admin of this site is working, no doubt very soon it will
be well-known, due to its quality contents.
Quote
 
 
0 #49 Steven Urban 2017-05-10 21:45
Pretty cool app.

Is there a way to see the iostat info?
Quote
 
 
0 #48 Administrator 2017-03-13 06:12
Hi,

We are testing it on PHP7, we will update you.
Quote
 
 
0 #47 SteveD 2017-03-12 12:04
Is sargraph development dead? It doesn't work on PHP7
Quote
 
 
0 #46 Gerry 2016-10-22 17:15
Quoting Gerry:
I have installed all but I receive the message "Note: /etc/sargraph.conf not found!". And on the error page there are some tips. I have checked all and my configurations are ok.
sargraph.conf IS in the directory /etc

What I am doing wrong?? Thanks for helping me


I have installed version 3u1
Quote
 
 
0 #45 Gerry 2016-10-22 17:13
I have installed all but I receive the message "Note: /etc/sargraph.c onf not found!". And on the error page there are some tips. I have checked all and my configurations are ok.
sargraph.conf IS in the directory /etc

What I am doing wrong?? Thanks for helping me
Quote
 
 
+2 #44 Anthony K 2016-09-09 11:07
I've install but cannot login. When I enter admin for username and admin123 for password (also tried admin, password) it just refreshes the page and clears my entries.

I've simply untar'd the files and run the installer script - ./INSTALLER.

Pointers, please.
ak.
Quote
 
 
+2 #43 ChrisO 2016-05-12 15:29
Hi,

Is there away to overlay all hosts? For example I want to see all the hosts CPU, this will allow me to see what servers have high load compered to the rest of the machines.

Thanks

Chris
Quote
 

Add comment


Security code
Refresh

More info