Since dim_STAT v.7.0, EasySTAT script make a part of STAT-service for Solaris. EasySTAT is designed to simplify BatchLOAD interfacing with stat collecting from "very remote" or "highly secured" hosts.
In few words all you need is:
- install STAT-service on the host
- run EasySTAT
- backup output directory
- restore output directory on your dim_STAT server
- execute 'LoadDATA.sh' script from output directory
EasySTAT Usage:
$ /etc/STATsrv/bin/EasySTAT.sh OutDIR Intreval NbHours [ Title Host Base Batch ]
options:
OutDIR - Output directory for stat collects (def: /var/tmp)
Interval - measurement interval for stat commands in sec. (def: 30)
NbHours - execution duration in hours (def: 8h)
Title - title to use during BatchLOAD processing
Host - hostname to use during BatchLOAD processing
Base - database name to use during BatchLOAD processing
Batch - full path to BatchLOAD binary on your server (def: /apps/ADMIN/BatchLOAD)
EasySTAT Config: bu default script collects 5 main stats
- VMSTAT (runqueue, memory, CPU)
- MPSTAT (per CPU usage, interrupts, mutex, etc.)
- IOSTAT-xn (per disk I/O stats)
- netLOAD (network per interface stats +nocanput)
- ProcLOAD (processes stats summarized by process name)
- you may add any other Add-On commands by editing /etc/STATsrv/bin/EasySTAT.sh file