Skip to content

maincoder/tsar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

* Introduce
Tsar is Taobao monitor tool for collect system activity status, and report it. It have a plugin system that is easy for collect plugin development. and may setup different output target such as local logfile and remote nagios host.

NAME
       tsar - Taobao System Activity Reporter

SYNOPSIS
       tsar [options] --tsar main function

       tsardevel [modname] --develop new mod

DESCRIPTION
       tsar is a monitor tool for collect system activity status and apps.

       tsar  reads  and  logs  messages to the log files,It support different output target such as local console or remote db/nagios host.It
       have a plugin system that is easy for collect plugin development.

OPTIONS
       -check , -check
              display last record for alert,it is just used for taobao inner alert

       -C , --check
              display last record for alert.example:tsar --check / tsar --check --cpu --io

       -c , --cron
              run in cron mode, output data to file,default is /var/log/tsar.data

       -l ,--live
              running print live mode which module will print

       -i , --interval
              specify intervals numbers, if not with --live,it is in minutes;if with --live, it is in seconds

       -m , --merge
              merge multiply item to one

       -L , --list
              list enabled modules

       -n , --ndays
              show the value for the past days (default: 1)

       -d , --date
              special one day to display,support formate YYYYMMDD or int for somedays ago

       -f , --file
              special tsar.data for tsar to read

       -n , --ndays
              show the value for the past days (default: 1)

       -d , --date
              special one day to display,support formate YYYYMMDD or int for somedays ago

       -f , --file
              special tsar.data for tsar to read

       -n , --ndays
              show the value for the past days (default: 1)

       -D ,--detail
              do not conver data to K/M/G

       -s ,--spec
              show spec field data, tsar --cpu -s sys,util

       -h , --help
              print help info

       DIAGNOSTICS
              It is expected that tsar will run as root

FILES
       /etc/tsar/tsar.conf
              Configuration file for tsar.output mod list for differnt type

       /etc/tsar/cron.d/*.conf
              extrat config file, usually tsar devel modules config

BUGS
       If you find any, please send email to the kongjian@taobao.com

* Get and deploy tsar

see: http://code.taobao.org/trac/tsar/wiki/ZhWikiStart

* Contribution

We are avtively looking for contributors so if you have any ideas, bug reports, or patchs you would like to contribute please do not hesitate to do so.

About

Taobao System Activity Reporter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published