- Cacti 0.8 Beginner's Guide
- Thomas Urban
- 220字
- 2021-04-09 21:42:00
- To create a Cacti system user called
cactiuser
, issue the following command as root:adduser cactiuser
- Navigate to the
cacti
directory:cd /var/www/html/cacti
- Change the ownership of the
rra
andlog
directory to the newly created user:chown –R cactiuser rra/ log/
- Add the poller cron entry. Edit the file
cacti
in/etc/cron.d
:vi /etc/cron.d/cacti
- Add the following line to the file:
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
- Save the file.
You just created a system user which runs the Cacti poller and scheduled the poller to run every 5 minutes. Five minutes is the default interval, but it can be changed to 1 minute if needed. For more information on how to do so, go the following post in the Cacti forums: http://forums.cacti.net/viewtopic.php?p=116403.
By default, Cacti comes with a poller written in PHP. For small-to-medium installations, this poller does its job just fine, but for larger installations, an alternative poller, spine, needs to be used. It is written in C and is much faster than the original poller, as it makes use of the multi-tasking capabilities of modern operating systems and hardware.
Here we will deep-dive into installing and configuring the spine poller.
- Photoshop日系少女寫真后期解密
- Photoshop CS6中文版從入門到精通(核心技法卷):摳圖、修圖、Camera Raw、調(diào)色、銳化、合成
- Cinema 4D電商美工與視覺(jué)設(shè)計(jì)案例教程(培訓(xùn)教材版)
- Photoshop圖形圖像處理實(shí)用教程
- Photoshop+CorelDRAW平面設(shè)計(jì)實(shí)例教程(第4版)
- AutoCAD 2020從入門到精通
- BackTrack 5 Wireless Penetration Testing Beginner's Guide
- Learning Ext JS
- Cinema 4D/After Effects印象 影視包裝技法精解基礎(chǔ)篇
- Oracle Web Services Manager
- 中文版CorelDRAW X7完全自學(xué)教程(實(shí)例培訓(xùn)教材版)
- Instant MDX Queries for SQL Server 2012
- 計(jì)算機(jī)圖形學(xué)編程(使用OpenGL和C++)
- Mastercam軟件應(yīng)用技術(shù)基礎(chǔ)(X2版)
- Grails 1.1 Web Application Development