Netdata, kuwunika mayendedwe a Ubuntu wathu munthawi yeniyeni

logo ya netdata

M'nkhani yotsatira tiwona Netdata. Ichi ndi chimodzi chida chowonera ndi kuwunika ma metric munthawi yeniyeni. Amapangidwa kuti apezere mitundu yonse yazidziwitso, monga kugwiritsa ntchito CPU, ntchito za disk, mafunso a SQL, kuchezera tsamba lanu, ndi zina zambiri. Chidachi chidapangidwa kuti chiwonetsetse "tsopano" mwatsatanetsatane momwe zingathere. Zilola wogwiritsa ntchito kuzindikira zomwe zikuchitika komanso zomwe zangochitika kumene m'dongosolo lawo kapena momwe amagwiritsidwira ntchito. Ndi njira yabwino yothetsera mavuto munthawi yeniyeni.

Netdata ndi pulogalamu yaulere (daemon) yomwe imasonkhanitsa magwiridwe antchito nthawi yeniyeni Machitidwe a Linux, mapulogalamu, ndi zida za SNMP, ndikuzipanga mu mawonekedwe owonekera pa intaneti. Ogwiritsa ntchito amatha kuwunika chilichonse ndi pulogalamu yowonjezera ya API komanso kuphatikiza mosavuta ma chart patsamba lililonse lakunja. Ili ndi seva yake yawebusayiti yosonyeza lipoti lomaliza mu mawonekedwe owonekera.

Iyi ndi daemon yomwe, ikamayendetsedwa, ili ndi udindo wopeza zidziwitso munthawi yeniyeni, pamphindi, ndikuziwonetsa patsamba lawebusayiti kuti muwone ndikusanthula. Monga ndikunenera, chiwonetserochi ndichophatikizika komanso munthawi yeniyeni. Ichi ndi chimodzi chida chopepuka chomwe gawo lalikulu lalembedwa mu C.

Zambiri za Netdata

Chitha thamangani pa kernel iliyonse ya GNU / Linux kuwunika dongosolo lililonse kapena kugwiritsa ntchito. Zitha kuyendetsedwa pa Linux PC, maseva kapena zida zophatikizidwa.

Daemon iyi idapangidwa kuti iikidwe pamakina, osasokoneza mapulogalamu omwe akuyenda. Imagwira molingana ndi zomwe ogwiritsa ntchito akufuna kukumbukira pogwiritsa ntchito ma CPU osagwira chabe.

net data network

Mwachikhazikitso icho chimakhala ndi mapulagini ena omwe amasonkhanitsa metrics kuchokera m'dongosolo. Khalidwe lake limakwaniritsidwa pogwiritsa ntchito API yake yama mapulagini.

Itha kuyendetsedwa paliponse pomwe kernel ya Gnu / Linux imathamangira ndipo Zithunzi zanu zitha kuphatikizidwa patsamba lanu.

Ili ndi mawonekedwe omwe amatipatsa fayilo ya mutu wosinthika. Mutuwu umasinthika kudzera mchilankhulo cha HTML.

Mwa zabwino zake ndi kuti si mdierekezi zimawononga chuma. Ili ndi vuto lochepa la RAM kapena CPU pomwe ikuyenda.

Ndani akufuna kuti athe kufunsa zambiri za polojekitiyi kapena mawonekedwe ake mu tsamba la webu.

Makhalidwe omwe Netdata amawongolera

Ndondomeko ya Netdata

Netdata amatenga masauzande masauzande angapo pachida chilichonse. Magawo onsewa amasonkhanitsidwa ndikuwonetsedwa munthawi yeniyeni.

  • CPU: kugwiritsa ntchito, kusokoneza, softirq (mapulogalamu a Linux kernel amasokoneza) ndi pafupipafupi (okwana komanso pachimake)
  • RAM, Kusinthana ndi kukumbukira komwe kumagwiritsidwa ntchito ndi kernel (ex: KSM)
  • Ma Disks: I / O, ntchito, kumbuyo, kugwiritsa ntchito.
  • Ma intaneti
  • IPv4
  • IPv6
  • Zowotchera moto (netfilter / iptables)
  • Kuteteza kwa Linux anti-Ddos (SYNPROXY metrics)
  • Zotsatira
  • Entropy
  • QoS Network
  • Mapulogalamu (akuwonetsa zofunikira monga CPU, kukumbukira kukumbukira, ulusi, ndi zina zambiri)
  • Kugwiritsa ntchito zida ndi gulu komanso ogwiritsa ntchito.
  • Zomvera zamagetsi (kutentha, magetsi, mphamvu ...)
  • Seva yama proxy
  • Ma seva a fayilo a NFS
  • Thupi la imelo la Postfix
  • Webusaiti ya intaneti ya Nginx
  • Zolemba zanga za MySQL
  • NUT UPSes
  • Apache intaneti
  • Zida za SNMP
  • ISC Bind dzina la seva

… Ndipo izi ndi zina mwa zinthu zomwe zitha kuyang'aniridwa ndi Netdata. Patsamba lanu GitHub Mutha kuwona ntchito zonse zomwe mungatumize limodzi ndi nambala yawo yoyambira.

Ikani Netdata pa Ubuntu

Kukhazikitsa Netdata mu Ubuntu wathu (ndidayiyesa ku Ubuntu 16.04) tiyamba ndi kukhazikitsa kudalira kofunidwa ndi kugwiritsa ntchito lamulo ili mu terminal (Ctrl + Alt + T):

sudo apt install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autogen automake pkg-config curl jq nodejs -y

Ngati zonse zakhala zolondola, ino ndi nthawi yoti mutsitse Netdata. Kuchokera pa terminal yomweyo tidzayenera kulemba:

git clone https://github.com/firehol/netdata.git --depth=1

cd netdata

sudo ./netdata-installer.sh

Pakukhazikitsa, uthenga udzawonekera, ingodinani Enter kuti mupitirize kukhazikitsa.

kukhazikitsa netdata

Mukamaliza kukonza, mudzatha kuwona malangizo oyenera kuti muyambe Netdata pa kompyuta yanu. Kuti tichite izi, timatsegula osatsegula (amene mumakonda kwambiri) komanso mu URL yomwe timalemba:

http://127.0.0.1:19999/

Izi zidzatsegula tsamba lomwe titha kuwona zidziwitso zonse zomwe pulogalamuyi ikutipatsa.

Chotsani Netdata

Kuti tichotse pulogalamuyi m'dongosolo lathu, titha kutero pogwiritsa ntchito fayilo kuti muchotse kuti tipeze mkati mwa chikwatu chomwe tidatsitsa kale. Kuchokera pa kontrakitala, mkati mwazomwe tikulemba:

sudo ./netdata-uninstaller.sh

Ngati tayamba ntchito ya Netdata tiyenera kuwonjezera - kugwira ntchito kuti tikwaniritse zochotsazo munjira yokhutiritsa.


Zomwe zili m'nkhaniyi zikutsatira mfundo zathu za malamulo okonzekera. Kuti mufotokoze cholakwika dinani Apa.

Ndemanga, siyani yanu

Siyani ndemanga yanu

Anu email sati lofalitsidwa. Amafuna minda amalembedwa ndi *

*

*

  1. Wotsogolera pazosankhazi: Miguel Ángel Gatón
  2. Cholinga cha deta: Control SPAM, kasamalidwe ka ndemanga.
  3. Kukhazikitsa: Kuvomereza kwanu
  4. Kulumikizana kwa zomwe zafotokozedwazo: Zomwezo siziziwululidwa kwa anthu ena kupatula pakukakamizidwa mwalamulo.
  5. Zosunga: Zosungidwa ndi Occentus Networks (EU)
  6. Ufulu: Nthawi iliyonse mutha kuchepetsa, kuchira ndikuchotsa zidziwitso zanu.

  1.   Jimmy olano anati

    Nkhani yabwino kwambiri, imayenera kuphunzira bwino; Tikangowerenga lamulo la «git-clone» logwiritsidwa ntchito, timayamba kuphunzira kuti: «–pakati = 1» salola KUTI utsitse zonse za «commits», ndiye kuti, OSATI kutsitsa mbiri yakusintha koma pulojekiti yapano, mfundo yabwino!