{"id":8475,"date":"2023-02-25T18:33:08","date_gmt":"2023-02-25T15:03:08","guid":{"rendered":"https:\/\/hostida.com\/blog\/?p=8475"},"modified":"2024-11-12T14:40:28","modified_gmt":"2024-11-12T11:10:28","slug":"cacti","status":"publish","type":"post","link":"https:\/\/hostida.com\/blog\/cacti\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},"content":{"rendered":"<p>Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<p>\u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 Cacti \u062a\u0648\u0633\u0637 \u067e\u0631\u0648\u062a\u06a9\u0644 SNMP \u0628\u0647 \u062f\u0633\u062a\u06af\u0627\u0647 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0634\u0645\u0627 \u0645\u062a\u0635\u0644 \u0648 \u0622\u0646\u0647\u0627 \u0631\u0627 \u0637\u06cc Interval \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637 \u0634\u0645\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc \u06a9\u0646\u062f. \u062c\u0627\u0644\u0628 \u0627\u0633\u062a \u0628\u062f\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u062c\u0647\u062a \u0627\u0631\u0627\u0626\u0647 \u06af\u0631\u0627\u0641 \u0647\u0627\u06cc \u062e\u0648\u062f \u0627\u0632 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u062e\u0648\u0628 RRDTool \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u06a9\u0631\u062f\u0646 \u0645\u0646\u0627\u0628\u0639 \u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u06cc\u0627 \u0645\u062c\u0627\u0632\u06cc\u00a0 \u0627\u0632 \u0631\u062e \u062f\u0627\u062f\u0646 \u062d\u0648\u0627\u062f\u062b\u06cc \u06a9\u0647 \u06a9\u0645\u0628\u0648\u062f \u0645\u0646\u0627\u0628\u0639 \u0645\u0648\u062c\u0628 \u0622\u200c\u0646\u200c\u0647\u0627 \u0645\u06cc\u200c\u0634\u0648\u062f \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc \u06a9\u0646\u062f.\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u062f\u06cc \u0631\u0627 \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u06a9\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u200c\u062a\u0631\u06cc\u0646 \u062a\u0648\u0632\u06cc\u0639\u200c\u0647\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0633\u062a \u0631\u0627 \u0628\u0627 \u0634\u0645\u0627 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0645\u06cc\u200c\u06af\u0630\u0627\u0631\u06cc\u0645 \u0627\u0645\u0627 \u0627\u06af\u0631 \u0647\u0633\u062a\u06cc\u062f \u0628\u0627 \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0627\u0645\u0644 \u0622\u0634\u0646\u0627 \u0634\u0648\u06cc\u062f\u060c \u067e\u06cc\u0634\u0646\u0647\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u062a\u0627\u0628 Cacti Beginner\u2019s Guide \u00a0\u0631\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u0641\u0631\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<h2 id=\"114473\"><b>\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 Cacti \u0631\u0648\u06cc Ubuntu 20.04<\/b><\/h2>\n<p>\u0631\u0648\u0646\u062f \u0627\u0646\u062c\u0627\u0645 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a \u0627\u0633\u062a:<\/p>\n<h3><span id=\"-1\">\u0645\u0631\u062d\u0644\u0647 1:\u00a0<\/span><\/h3>\n<p><span id=\"-1\">\u0633\u06cc\u0633\u062a\u0645 \u0631\u0627 \u0628\u0647 \u0631\u0648\u0632 \u06a9\u0646\u06cc\u062f \u0648 \u0647\u0645\u0647 \u067e\u06a9\u06cc\u062c \u0647\u0627 \u0631\u0627 \u0627\u0631\u062a\u0642\u0627 \u062f\u0647\u06cc\u062f <\/span>\u062a\u0627 \u0627\u0632 \u0628\u0631\u0648\u0632 \u0647\u0631\u06af\u0648\u0646\u0647 \u0645\u0634\u06a9\u0644 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0634\u0648\u062f:<\/p>\n<pre>sudo apt update\r\nsudo apt upgrade -y<\/pre>\n<p>\u062d\u0627\u0644\u0627 \u0633\u0631\u0648\u0631 \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo reboot<\/pre>\n<h3><span id=\"-2-php\">\u0645\u0631\u062d\u0644\u0647 2:\u00a0<\/span><\/h3>\n<p><span id=\"-2-php\">php \u0648 \u0645\u0627\u0698\u0648\u0644 \u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u06cc\u0627\u0632 \u0631\u0627 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f <\/span>\u062a\u0627 \u0647\u0645\u0647 \u0686\u06cc\u0632 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0648 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>sudo apt -y install apache2 php php-{mysql,curl,net-socket,gd,intl,pear,imap,memcache,pspell,tidy,xmlrpc,snmp,mbstring,gmp,json,xml,common,ldap}\r\n\r\nsudo apt install libapache2-mod-php<\/pre>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647\u00a0 \u0645\u0627\u0698\u0648\u0644 php-snmp \u0648 php-mysql \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0646\u062f:<\/p>\n<pre>$ <span class=\"has-inline-color has-pale-pink-color\">php -v<\/span><\/pre>\n<p>\u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc PHP \u0631\u0627 \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo vim \/etc\/php\/*\/apache2\/php.ini<\/pre>\n<p>\u062a\u0646\u0638\u06cc\u0645 \u0645\u0646\u0637\u0642\u0647 \u0632\u0645\u0627\u0646\u06cc \u0635\u062d\u06cc\u062d:<\/p>\n<pre>date.timezone = \"Asia\/Iran\"<\/pre>\n<p>\u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u062d\u0627\u0641\u0638\u0647:<\/p>\n<pre>memory_limit = <span class=\"has-inline-color has-luminous-vivid-orange-color\">512M<\/span><\/pre>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0632\u0645\u0627\u0646 \u0627\u062c\u0631\u0627\u06cc \u0647\u0631 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>max_execution_time = <span class=\"has-inline-color has-vivid-red-color\">300<\/span><\/pre>\n<p>\u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<h3><span id=\"-3\">\u0645\u0631\u062d\u0644\u0647 3:\u00a0<\/span><\/h3>\n<p><span id=\"-3\">\u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u0628\u0627 \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631:<\/span><\/p>\n<pre>sudo apt install apache2<\/pre>\n<p>\u0641\u0642\u0637 \u0628\u0627 Prod ServerTokens\u060c \u0627\u0645\u0646\u06cc\u062a \u0627\u0648\u0644\u06cc\u0647 \u0631\u0627 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>sudo vim\u00a0\/etc\/apache2\/conf-enabled\/security.conf<\/pre>\n<p>\u062a\u063a\u06cc\u06cc\u0631 \u062e\u0637 25:<\/p>\n<pre>ServerTokens Prod<\/pre>\n<p><strong>\u062a\u0646\u0638\u06cc\u0645 \u0646\u0627\u0645 \u0633\u0631\u0648\u0631:<\/strong><\/p>\n<pre>$ <span class=\"has-inline-color has-pale-pink-color\">sudo vim \/etc\/apache2\/apache2.conf\r\n<\/span>ServerName <span class=\"has-inline-color has-vivid-green-cyan-color\">cacti.example.com<\/span><\/pre>\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a \u0628\u0631\u0648\u0632 \u0645\u0634\u06a9\u0644 \u0628\u0627\u06cc\u062f \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0627\u0631\u0633\u0627\u0644 \u0634\u0648\u062f\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0645\u062f\u06cc\u0631 \u0631\u0627 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>$ <span class=\"has-inline-color has-pale-pink-color\">sudo vim \/etc\/apache2\/apache2.conf\r\n<\/span>ServerAdmin adminuser@example.com<\/pre>\n<p>\u062f\u0631 \u0635\u0648\u0631\u062a \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 ufw \u060c \u067e\u0648\u0631\u062a \u0647\u0627\u06cc http \u0648 https \u0631\u0627 \u0631\u0648\u06cc \u0641\u0627\u06cc\u0631\u0648\u0627\u0644 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>$ sudo ufw allow http\r\nRule added\r\nRule added (v6<\/pre>\n<pre>$ sudo ufw allow https\r\nRule added\r\nRule added (v6)<\/pre>\n<p>\u062d\u0627\u0644\u0627 \u0628\u0627\u06cc\u062f \u0648\u0628 \u0633\u0631\u0648\u06cc\u0633 apache \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo systemctl restart apache2<\/pre>\n<h3><span id=\"-4--MariaDB\">\u0645\u0631\u062d\u0644\u0647 4:\u00a0<\/span><\/h3>\n<p>\u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u062a\u00a0 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0633\u0631\u0648\u0631 MariaDB \u062f\u0631 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo apt install mariadb-server -y<\/pre>\n<p>\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 [mysqld] \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>$ sudo vim \/etc\/mysql\/mariadb.conf.d\/50-server.cnf\r\n[mysqld]\r\ninnodb_file_format=Barracuda\r\ninnodb_large_prefix=1\r\ncollation-server=utf8mb4_unicode_ci\r\ncharacter-set-server=utf8mb4\r\ninnodb_doublewrite=OFF\r\nmax_heap_table_size=128M\r\ntmp_table_size=128M\r\njoin_buffer_size=128M\r\ninnodb_buffer_pool_size=1G\r\ninnodb_flush_log_at_timeout=3\r\ninnodb_read_io_threads=32\r\ninnodb_write_io_threads=16\r\ninnodb_io_capacity=5000\r\ninnodb_io_capacity_max=10000\r\ninnodb_buffer_pool_instances=9<\/pre>\n<p>\u0633\u0627\u06cc\u0631 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a<\/p>\n<pre>#around line 116\r\n#character-set-server = utf8mb4\r\n#collation-server = utf8mb4_general_ci<\/pre>\n<p>\u062d\u0627\u0644\u0627 \u0633\u0631\u0648\u06cc\u0633 mariadb \u0631\u0627 \u0645\u062c\u062f\u062f\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>sudo systemctl restart mariadb<\/pre>\n<p>\u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0627\u06cc\u0646 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a\u060c \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 mysql select \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644:<\/p>\n<pre>$ sudo mysql -u root\r\nMariaDB [(none)]&gt; select @@tmp_table_size;\r\n+------------------+\r\n| @@tmp_table_size |\r\n+------------------+\r\n| 134217728 |\r\n+------------------+\r\n1 row in set (0.00 sec)\r\nMariaDB [(none)]&gt; exit\r\nBye<\/pre>\n<p>\u067e\u0633 \u0627\u0632 \u0646\u0635\u0628 \u0633\u0631\u0648\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633\u060c \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0628\u0631\u0627\u06cc cacti \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>$ <span class=\"has-inline-color has-pale-pink-color\">sudo mysql -u root -p<\/span><\/pre>\n<p>\u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 Database:<\/p>\n<pre>$ mysql -u cacti_user -p<\/pre>\n<p>\u062a\u0646\u0638\u06cc\u0645 \u0645\u0646\u0637\u0642\u0647 \u0632\u0645\u0627\u0646\u06cc mysql:<\/p>\n<pre>$ sudo su -\r\n$ mysql_tzinfo_to_sql \/usr\/share\/zoneinfo | mysql -u root -p mysql\r\nEnter password: \r\nWarning: Unable to load '\/usr\/share\/zoneinfo\/leap-seconds.list' as time zone. Skipping it.<\/pre>\n<h3><span id=\"-5-SNMP-Cacti-20041804\">\u0645\u0631\u062d\u0644\u0647 5:\u00a0<\/span><\/h3>\n<p>\u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc \u00a0Snmp \u0648 rrdtool \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo apt install snmp snmpd snmp-mibs-downloader rrdtool<\/pre>\n<p>\u0648\u0628 \u0633\u0631\u0648\u0631\u00a0 \u0622\u067e\u0627\u0686\u06cc \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f. \u067e\u0631\u0648\u0698\u0647 \u06a9\u0644\u0648\u0646 \u0627\u0632 github:<\/p>\n<pre>$ sudo apt install git\r\n$ git clone -b 1.2.x https:\/\/github.com\/Cacti\/cacti.git<\/pre>\n<p>\u067e\u0633 \u0627\u0632 \u0634\u0628\u06cc\u0647 \u0633\u0627\u0632\u06cc \u0645\u062e\u0632\u0646 \u06a9\u0627\u06a9\u062a\u06cc\u060c \u0641\u0627\u06cc\u0644 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u067e\u0648\u0634\u0647 \/var\/www\/html \u0645\u0646\u062a\u0642\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo mv cacti \/var\/www\/html<\/pre>\n<p>\u062d\u0627\u0644\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062a\u0648\u0633\u0637 \u06a9\u0627\u06a9\u062a\u06cc \u0631\u0627 \u0627\u0632 \u0642\u0628\u0644 \u067e\u0631 \u06a9\u0646\u06cc\u0645:<\/p>\n<pre>sudo mysql -u root cacti &lt; \/var\/www\/html\/cacti\/cacti.sql<\/pre>\n<p>\u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u067e\u0631 \u0634\u062f\u0647\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u0645 \u0627\u062f\u0627\u0645\u0647 \u062f\u0647\u06cc\u0645 \u0648 \u0641\u0627\u06cc\u0644 config.php \u0631\u0627 \u062f\u0631 \/var\/www\/html\/cacti\/include \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u0645:<\/p>\n<pre>sudo mv \/var\/www\/html\/cacti\/include\/config.php.dist \/var\/www\/html\/cacti\/include\/config.php<\/pre>\n<p>\u0641\u0627\u06cc\u0644 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0627\u06a9\u062a\u06cc \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n<pre>$ sudo vim \/var\/www\/html\/cacti\/include\/config.php\r\n$database_type = 'mysql';\r\n$database_default = 'cacti';\r\n$database_hostname = 'localhost';\r\n$database_username = 'cacti_user';\r\n$database_password = 'strongpassword';<\/pre>\n<h3><span id=\"-6-SNMP\">\u0645\u0631\u062d\u0644\u0647 6:\u00a0<\/span><\/h3>\n<p>\u0628\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0628\u0627\u0631\u06af\u06cc\u0631\u06cc MIB \u0647\u0627 \u0628\u0627 \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u062e\u0637 \u0632\u06cc\u0631 \u062f\u0631 \/etc\/snmp\/snmp.conf \u0634\u0631\u0648\u0639 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>sudo vim \/etc\/snmp\/snmp.conf<\/pre>\n<p>\u062a\u063a\u06cc\u06cc\u0631 \u062f\u0627\u062f\u0646:<\/p>\n<pre>mibs :<\/pre>\n<p>\u0628\u0647 :<\/p>\n<pre># mibs :<\/pre>\n<p>\u0646\u0627\u0645 \u0627\u0646\u062c\u0645\u0646 SNMP \u0631\u0627 \u0628\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \/etc\/snmp\/snmpd.conf \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<pre>sudo vim \/etc\/snmp\/snmpd.conf<\/pre>\n<p>\u062f\u0633\u062a\u0631\u0633\u06cc \u06a9\u0627\u0645\u0644 \u0627\u0632 \u0644\u0648\u06a9\u0627\u0644 \u0647\u0627\u0633\u062a \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>rocommunity <span class=\"has-inline-color has-pale-pink-color\">MyCacti<\/span> localhost<\/pre>\n<p>\u062f\u0633\u062a\u0631\u0633\u06cc \u0639\u0645\u0648\u0645\u06cc \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre># rocommunity public default -V systemonly\r\n# rocommunity6 public default -V systemonly<\/pre>\n<p>\u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f \u0633\u0631\u0648\u06cc\u0633 snmpd:<\/p>\n<pre>sudo systemctl restart snmpd<\/pre>\n<p>\u0627\u0639\u062a\u0628\u0627\u0631 \u0633\u0646\u062c\u06cc \u062a\u0646\u0638\u06cc\u0645\u0627\u062a snmp \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631 \u062e\u0637 \u0641\u0631\u0645\u0627\u0646 snmpwalk:<\/p>\n<pre>$ sudo snmpwalk -v 2c -c MyCacti localhost system<\/pre>\n<p>\u0646\u06a9\u062a\u0647: MyCacti \u0631\u0627 \u0628\u0627 \u0646\u0627\u0645 \u0631\u0634\u062a\u0647 \u0627\u0646\u062c\u0645\u0646 \u062e\u0648\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06a9\u0646\u06cc\u062f.<\/p>\n<h3><span id=\"-7--20041804\">\u0645\u0631\u062d\u0644\u0647 7:\u00a0<\/span><\/h3>\n<p>\u0645\u062c\u0648\u0632\u0647\u0627\u06cc \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc Cacti \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo chown -R www-data:www-data \/var\/www\/html\/cacti<\/pre>\n<p>\u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644 systemd unit \u0628\u0631\u0627\u06cc cacti:<\/p>\n<pre>sudo tee \/etc\/systemd\/system\/cactid.service&lt;&lt;EOF\r\n[Unit]\r\nDescription=Cacti Daemon Main Poller Service\r\nAfter=network.target\r\n\r\n[Service]\r\nType=forking\r\nUser=www-data\r\nGroup=www-data\r\nEnvironmentFile=\/etc\/default\/cactid\r\nExecStart=\/var\/www\/html\/cacti\/cactid.php\r\nRestart=always\r\nRestartSec=5s\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\nEOF<\/pre>\n<p>\u0645\u062d\u06cc\u0637 \u0644\u0645\u0633\u06cc:<\/p>\n<pre>sudo touch \/etc\/default\/cactid<\/pre>\n<p>\u0633\u0631\u0648\u06cc\u0633\u00a0 \u0631\u0627 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc \u0648 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre>sudo systemctl daemon-reload\r\nsudo systemctl enable cactid\r\nsudo systemctl restart cactid<\/pre>\n<p>\u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u0633\u0631\u0648\u06cc\u0633\u00a0<em>cactid<\/em>:<\/p>\n<pre>$ systemctl status cactid<\/pre>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u06a9\u0627\u0631 \u0646\u0635\u0628 cacti \u0628\u0647 \u067e\u0627\u06cc\u0627\u0646 \u0645\u06cc \u0631\u0633\u062f \u0648 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0648\u0631\u0648\u062f \u0628\u0647 \u0645\u0631\u0648\u0631\u06af\u0631 \u062e\u0648\u062f \u0648 \u062c\u0633\u062a\u062c\u0648\u06cc \u0639\u0628\u0627\u0631\u062a<\/p>\n<p>\u201c<strong>http:\/\/(Cacti server\u2019s hostname or IP address)\/cacti\/<\/strong>\u201d \u0627\u0632 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0645\u0634\u062a\u0631\u06cc \u0645\u062c\u0627\u0632 \u062f\u0631 \u0633\u0631\u0648\u0631 Cacti \u0628\u0631\u0648\u06cc\u062f.<\/p>\n<h4>\u0633\u062e\u0646 \u067e\u0627\u06cc\u0627\u0646\u06cc<\/h4>\n<p>\u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u06cc\u0645 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0645\u0641\u06cc\u062f \u0628\u0648\u062f\u0647 \u0628\u0627\u0634\u062f. \u0633\u0648\u0627\u0644\u0627\u062a \u062e\u0648\u062f \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0642\u0633\u0645\u062a \u0646\u0638\u0631\u0627\u062a \u06cc\u0627 \u0633\u06cc\u0633\u062a\u0645 \u062a\u06cc\u06a9\u062a\u06cc\u0646\u06af \u0628\u0627 \u0645\u0627 \u062f\u0631 \u0645\u06cc\u0627\u0646 \u06af\u0630\u0627\u0631\u06cc\u062f.<\/p>\n<aside class=\"link-preview\"><fieldset><legend>\u0628\u06cc\u0634\u062a\u0631 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f<\/legend><a target=\"_blank\" href=\"https:\/\/hostida.com\/blog\/how-to-monitor-linux-server-resource\/\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2021\/10\/monitoring-cover.jpg\" alt=\"\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631\" width=\"100\"\/><p>\u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0633\u0631\u0648\u0631 | \u0622\u0645\u0648\u0632\u0634 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0645\u0646\u0627\u0628\u0639 \u0633\u0631\u0648\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 - \u0647\u0627\u0633\u062a\u06cc\u062f\u0627<\/p><p><span><\/span><\/p><\/a><\/fieldset><\/aside>\n","protected":false},"excerpt":{"rendered":"<p>Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 Cacti \u062a\u0648\u0633\u0637 \u067e\u0631\u0648\u062a\u06a9\u0644 SNMP \u0628\u0647 \u062f\u0633\u062a\u06af\u0627\u0647 [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":8480,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[69,200],"tags":[],"class_list":["post-8475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-network","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.4 (Yoast SEO v24.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 - \u0647\u0627\u0633\u062a\u06cc\u062f\u0627<\/title>\n<meta name=\"description\" content=\"Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostida.com\/blog\/cacti\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\" \/>\n<meta property=\"og:description\" content=\"Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostida.com\/blog\/cacti\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0648\u0628\u0644\u0627\u06af \u0647\u0627\u0633\u062a\u06cc\u062f\u0627\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-25T15:03:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-12T11:10:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/\"},\"author\":{\"name\":\"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc\",\"@id\":\"https:\/\/hostida.com\/blog\/#\/schema\/person\/7d039ba4cbc200b19069532e6e3e6d35\"},\"headline\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\",\"datePublished\":\"2023-02-25T15:03:08+00:00\",\"dateModified\":\"2024-11-12T11:10:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/\"},\"wordCount\":83,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hostida.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg\",\"articleSection\":[\"\u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0648 \u0634\u0628\u06a9\u0647\",\"\u0644\u06cc\u0646\u0648\u06a9\u0633\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hostida.com\/blog\/cacti\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/\",\"url\":\"https:\/\/hostida.com\/blog\/cacti\/\",\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 - \u0647\u0627\u0633\u062a\u06cc\u062f\u0627\",\"isPartOf\":{\"@id\":\"https:\/\/hostida.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg\",\"datePublished\":\"2023-02-25T15:03:08+00:00\",\"dateModified\":\"2024-11-12T11:10:28+00:00\",\"description\":\"Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.\",\"breadcrumb\":{\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostida.com\/blog\/cacti\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#primaryimage\",\"url\":\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg\",\"contentUrl\":\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg\",\"width\":1920,\"height\":1080,\"caption\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostida.com\/blog\/cacti\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/hostida.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostida.com\/blog\/#website\",\"url\":\"https:\/\/hostida.com\/blog\/\",\"name\":\"\u0648\u0628\u0644\u0627\u06af \u0647\u0627\u0633\u062a\u06cc\u062f\u0627\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u0648\u0628 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af\",\"publisher\":{\"@id\":\"https:\/\/hostida.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostida.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hostida.com\/blog\/#organization\",\"name\":\"\u0647\u0627\u0633\u062a\u06cc\u062f\u0627\",\"url\":\"https:\/\/hostida.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hostida.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2020\/08\/logo-w-1.png\",\"contentUrl\":\"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2020\/08\/logo-w-1.png\",\"width\":885,\"height\":774,\"caption\":\"\u0647\u0627\u0633\u062a\u06cc\u062f\u0627\"},\"image\":{\"@id\":\"https:\/\/hostida.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostida.com\/blog\/#\/schema\/person\/7d039ba4cbc200b19069532e6e3e6d35\",\"name\":\"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/hostida.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8bb44acf4a13923c1c812b0f4fc62f19?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8bb44acf4a13923c1c812b0f4fc62f19?s=96&d=mm&r=g\",\"caption\":\"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 - \u0647\u0627\u0633\u062a\u06cc\u062f\u0627","description":"Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostida.com\/blog\/cacti\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648","og_description":"Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.","og_url":"https:\/\/hostida.com\/blog\/cacti\/","og_site_name":"\u0648\u0628\u0644\u0627\u06af \u0647\u0627\u0633\u062a\u06cc\u062f\u0627","article_published_time":"2023-02-25T15:03:08+00:00","article_modified_time":"2024-11-12T11:10:28+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg","type":"image\/jpeg"}],"author":"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"4 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostida.com\/blog\/cacti\/#article","isPartOf":{"@id":"https:\/\/hostida.com\/blog\/cacti\/"},"author":{"name":"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc","@id":"https:\/\/hostida.com\/blog\/#\/schema\/person\/7d039ba4cbc200b19069532e6e3e6d35"},"headline":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648","datePublished":"2023-02-25T15:03:08+00:00","dateModified":"2024-11-12T11:10:28+00:00","mainEntityOfPage":{"@id":"https:\/\/hostida.com\/blog\/cacti\/"},"wordCount":83,"commentCount":0,"publisher":{"@id":"https:\/\/hostida.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostida.com\/blog\/cacti\/#primaryimage"},"thumbnailUrl":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg","articleSection":["\u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0648 \u0634\u0628\u06a9\u0647","\u0644\u06cc\u0646\u0648\u06a9\u0633"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostida.com\/blog\/cacti\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostida.com\/blog\/cacti\/","url":"https:\/\/hostida.com\/blog\/cacti\/","name":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 - \u0647\u0627\u0633\u062a\u06cc\u062f\u0627","isPartOf":{"@id":"https:\/\/hostida.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostida.com\/blog\/cacti\/#primaryimage"},"image":{"@id":"https:\/\/hostida.com\/blog\/cacti\/#primaryimage"},"thumbnailUrl":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg","datePublished":"2023-02-25T15:03:08+00:00","dateModified":"2024-11-12T11:10:28+00:00","description":"Cacti \u06cc\u06a9\u06cc \u0627\u0632 \u0628\u0647\u062a\u0631\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af \u0634\u0628\u06a9\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0648\u0628 \u0628\u0648\u062f\u0647 \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0628\u0627\u0632 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0627\u0628\u0632\u0627\u0631 \u0627\u0632 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647\u200c\u0646\u0648\u06cc\u0633\u06cc PHP \u0628\u0647\u0631\u0647 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0627\u0632 MySQL \u0628\u0647\u200c\u0645\u0646\u0638\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0648 \u0645\u0642\u062f\u0627\u0631\u062f\u0647\u06cc \u0628\u0647 \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.","breadcrumb":{"@id":"https:\/\/hostida.com\/blog\/cacti\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostida.com\/blog\/cacti\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hostida.com\/blog\/cacti\/#primaryimage","url":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg","contentUrl":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2023\/02\/fvgfg.jpg","width":1920,"height":1080,"caption":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},{"@type":"BreadcrumbList","@id":"https:\/\/hostida.com\/blog\/cacti\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/hostida.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631\u06cc\u0646\u06af cacti \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"}]},{"@type":"WebSite","@id":"https:\/\/hostida.com\/blog\/#website","url":"https:\/\/hostida.com\/blog\/","name":"\u0648\u0628\u0644\u0627\u06af \u0647\u0627\u0633\u062a\u06cc\u062f\u0627","description":"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0622\u0645\u0648\u0632\u0634 \u0647\u0627\u06cc \u0648\u0628 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af","publisher":{"@id":"https:\/\/hostida.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostida.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/hostida.com\/blog\/#organization","name":"\u0647\u0627\u0633\u062a\u06cc\u062f\u0627","url":"https:\/\/hostida.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hostida.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2020\/08\/logo-w-1.png","contentUrl":"https:\/\/hostida.com\/blog\/wp-content\/uploads\/2020\/08\/logo-w-1.png","width":885,"height":774,"caption":"\u0647\u0627\u0633\u062a\u06cc\u062f\u0627"},"image":{"@id":"https:\/\/hostida.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostida.com\/blog\/#\/schema\/person\/7d039ba4cbc200b19069532e6e3e6d35","name":"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/hostida.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8bb44acf4a13923c1c812b0f4fc62f19?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8bb44acf4a13923c1c812b0f4fc62f19?s=96&d=mm&r=g","caption":"\u0634\u0631\u0627\u0631\u0647 \u062a\u0627\u062c \u062f\u06cc\u0646\u06cc"}}]}},"my_custom_field":"","_links":{"self":[{"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/posts\/8475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/comments?post=8475"}],"version-history":[{"count":9,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/posts\/8475\/revisions"}],"predecessor-version":[{"id":12745,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/posts\/8475\/revisions\/12745"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/media\/8480"}],"wp:attachment":[{"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/media?parent=8475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/categories?post=8475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostida.com\/blog\/wp-json\/wp\/v2\/tags?post=8475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}