tsar2db存儲 tsar 數(shù)據(jù)到 MySQL
tsar2db用來收集一個cdn節(jié)點內(nèi)tsar的采集數(shù)據(jù),存到mysql數(shù)據(jù)庫,提供給其它應(yīng)用查詢 數(shù)據(jù)保留最近3個月的,各表字段含義和tsar采集定義相同 從mysql的tsar庫中可以看到整個cdn節(jié)點tsar采集到的數(shù)據(jù)
配置tsar向tsar2db傳送數(shù)據(jù)vi /etc/tsar/tsar.conf output_nagios_addr console2:56677 將console2替換成tsar2db的hostname
tsar2db的編譯依賴mysql-devel,運行依賴于httpd和mysql-server,其中httpd是用來提供cgi環(huán)境供查詢。
評論
圖片
表情
