Skip to content

Commit 0f6ca25

Browse files
committed
Merge pull request ganglia#199 from evanjfraser/master
Added HP 3PAR Storage module
2 parents 153a7dc + 11583da commit 0f6ca25

3 files changed

Lines changed: 524 additions & 0 deletions

File tree

hp_3par/README.mkdn

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
HP 3PAR Gmond Module
2+
===============
3+
4+
This is a new GMOND Python Module that gets metrics from HP 3PAR arrays via SSH.
5+
6+
Currently gathers per Volume:
7+
* Read/Write IOs
8+
* Read/Write Latency
9+
* Read/Write IO Size
10+
* Read/Write Throughput
11+
12+
Currently gathers per Node:
13+
* Total CPU:
14+
- idle, user, sys, intr/s, conts/s
15+
16+
Currently gathers per CPG:
17+
* User space used
18+
* Snap space used
19+
20+
## Compatibility
21+
* Compatible with 3PAR 7450C and OS 3.2.1 (tested)
22+
* Other versions of 3PAR / OS may work fine.
23+
24+
## DEPENDS
25+
* Python modules: paramiko ssh module
26+
- install with 'pip3 install paramiko'
27+
28+
## USAGE
29+
* Save the hp3par.pyconf into /etc/ganglia/conf.d directory.
30+
* Save the hp3par.py into your ganglia python module dir eg: /usr/lib/ganglia/python_modules. Update the Array Names, IP's, Usernames and passwords.
31+
* Restart gmond and the Arrays should appear in ganglia.
32+
33+
34+
## AUTHOR
35+
36+
Author: Evan Fraser <[email protected]>

hp_3par/conf.d/hp3par.pyconf

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Name: hp3par.pyconf
2+
# Author: Evan Fraser ([email protected])
3+
# Desc: Config file for the ganglia gmond HP 3PAR module.
4+
# Date: 14/05/2015
5+
# To use: Save this file in /etc/ganglia/conf.d/
6+
7+
modules {
8+
module {
9+
name = "hp3par"
10+
language = "python"
11+
}
12+
}
13+
#/* Collection groups for the
14+
# example python module */
15+
collection_group {
16+
collect_every = 20
17+
time_threshold = 50
18+
metric {
19+
name_match = "(.+)iops"
20+
}
21+
metric {
22+
name_match = "(.+)qlen"
23+
}
24+
metric {
25+
name_match = "(.+)throughput"
26+
}
27+
metric {
28+
name_match = "(.+)latency"
29+
}
30+
metric {
31+
name_match = "(.+)iosize"
32+
}
33+
metric {
34+
name_match = "(.+)used"
35+
}
36+
metric {
37+
name_match = "(.+)vvols"
38+
}
39+
metric {
40+
name_match = "(.+)cpu"
41+
}
42+
}
43+

0 commit comments

Comments
 (0)