Skip to content

Commit

Permalink
update properties
Browse files Browse the repository at this point in the history
  • Loading branch information
servelight committed Apr 14, 2017
1 parent d0d5086 commit e66c3df
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 21 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,11 @@
hs_err_pid*

# Eclipse settings
.settings/
.settings/
.classpath
.project
/build
/bin

# Gradle
.gradle/
42 changes: 26 additions & 16 deletions src/test/resources/centos7.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,40 @@ vmstat.value.13.devicename = cpu-sy
#vmstat.value.16.valueCol = 16
#vmstat.value.16.devicename = cpu-st

cmd.ps = ps -e -o pid,%cpu,%mem,rss,cmd
ps.period = 10
ps.key.2 = mysql1
ps.key.4 = mqtt-dev1
ps.key.5 = mqtt-dev2
ps.key.6 = cassandra
ps.key.7 = redis
ps.value.1.keyCol = 4
cmd.ps = ps -e -o pid,%cpu,%mem,rss,nlwp,cmd
#ps.period = 10
ps.maxCol = 6
########################################
# Insert process unique name
# ex)ps.key.# = process_name
########################################
ps.key.1 = _PROCESS_NAME
########################################
ps.value.1.keyCol = 5
ps.value.1.valueCol = 1
ps.value.1.devicename = ps-cpu-{}
ps.value.2.keyCol = 4
ps.value.1.devicename = {}-ps-cpu
ps.value.2.keyCol = 5
ps.value.2.valueCol = 2
ps.value.2.devicename = proc-memp-{}
ps.value.3.keyCol = 4
ps.value.2.devicename = {}-ps-memp
ps.value.3.keyCol = 5
ps.value.3.valueCol = 3
ps.value.3.devicename = proc-mem-{}
ps.value.3.devicename = {}-ps-mem
ps.value.4.keyCol = 5
ps.value.4.valueCol = 4
ps.value.4.devicename = {}-ps-thcnt

cmd.df = df --block-size=1M
df.period = 3600
df.key.1 = centos-home
########################################
# Insert filesystem name
# ex)df.key.# = filesystem_name
########################################
df.key.1 = _PARTITION_NAME
########################################
df.value.1.keyCol = 0
df.value.1.valueCol = 2
df.value.1.devicename = disk-used-{}
df.value.1.devicename = {}-disk-used
df.value.2.keyCol = 0
df.value.2.valueCol = 3
df.value.2.devicename = disk-available-{}
df.value.2.devicename = {}-disk-avail

6 changes: 3 additions & 3 deletions src/test/resources/pang.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pangdata reserved properties
pang.username=USERNAME
pang.userkey=USER_KEY
pang.prefix=PREFIX
pang.username=_USERNAME
pang.userkey=_USER_KEY
pang.prefix=_PREFIX
pang.conf=centos7.properties
#Insert default period(seconds)
pang.period=15
1 change: 0 additions & 1 deletion src/test/resources/window.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#cmd.dir = echo list disk | diskpart | findstr GB
cmd.dir = fsutil volume diskfree c:
dir.period = 10
dir.key.1 = KB
Expand Down

0 comments on commit e66c3df

Please sign in to comment.