OS monitoring application for performance and prediction of failure. OS's every information can be monitored and analzed with Pangdata.com
This application used Pangdata.com cloud service. Pangdata.com is cloud based monitoring and analysis SaaS platform. You can monitor your cloud infrstructure and applications using Pang SDK
Before you begin, you need an Pangdata.com account. Please visit https://pangdata.com and create an account and retrieve your user key in user profile.
To run the application you will need Java 1.5+.
- CentOS
Very easy to install ^^.
Download a OS monitoring application file and unzip it.
wget https://github.com/pang-apps/os-monitor/releases/download/v1.0/os-monitor.tar && tar -xvf os-monitor.tar
cd os-monitor/conf
#pangdata reserved properties
pang.username=_USERNAME
pang.userkey=_USER_KEY
pang.prefix=_PREFIX
pang.conf=centos7.properties
#Insert default period(seconds)
pang.period=15
Note: User key can be found in your profile of Pangdata.com
type "df"
[prever@localhost ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/centos-root 52403200 31136596 21266604 60% /
devtmpfs 3942648 0 3942648 0% /dev
tmpfs 3953076 0 3953076 0% /dev/shm
tmpfs 3953076 459740 3493336 12% /run
tmpfs 3953076 0 3953076 0% /sys/fs/cgroup
/dev/sda2 505580 204712 300868 41% /boot
/dev/sda1 204580 9640 194940 5% /boot/efi
/dev/mapper/centos-home 914972156 2223228 912748928 1% /home
tmpfs 790616 0 790616 0% /run/user/997
tmpfs 790616 0 790616 0% /run/user/1003
tmpfs 790616 0 790616 0% /run/user/1002
tmpfs 790616 0 790616 0% /run/user/1000
get filesystem unique name and config it
########################################
# Insert filesystem name
# ex)df.key.# = filesystem_name
########################################
df.key.1 = centos-root
df.key.2 = centos-home
########################################
Note: You can add multiple partitions using syntax 'df.key.[index]'.
ps -e -o cmd
########################################
# Insert process unique name
# ex)ps.key.# = process_name
########################################
ps.key.1 = centos-root
ps.key.2 = centos-home
########################################
Note: You can add multiple processes using syntax 'ps.key.[index]'.
os-monitor/pang.bat
Process will be launched in background.
os-monitor/pang.sh start
Check application's log
os-monitor/log.sh
See your device in Pangdata.com
Login your account. See main dashborad and you can find registered device. Create your own dashboard and you can see realtime of your data.
Wow!! all done. Enjoy and play with your device and your data.
Go to https://pangdata.com You can login using demo username 'pang-demo' with password 'panggood'.