1- İlk adım olarak sunucu üzerinde plugin dizinine gidiyoruz.
1 |
[root@localhost ~]# cd /var/www/html/cacti/plugins |
2 – Bu dizine geldikten sonra aşağıdaki komut ile plugini makinaya çekiyoruz.
1 2 3 4 5 6 7 |
[root@localhost plugins]# wget http://docs.cacti.net/_media/plugin:thold-v0.5.0.tgz --2017-03-17 13:44:25-- http://docs.cacti.net/_media/plugin:thold-v0.5.0.tgz Resolving docs.cacti.net... 173.225.179.10 Connecting to docs.cacti.net|173.225.179.10|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 118252 (115K) [application/octet-stream] Saving to: “plugin:thold-v0.5.0.tgz” 100%[=======================================================>] 118,252 154K/s in 0.7s 2017-03-17 13:44:26 (154 KB/s) - “plugin:thold-v0.5.0.tgz” saved [118252/118252] |
3 – plugin dosyasını indirdikten sonra kontrol ediyoruz.
1 2 3 4 |
[root@localhost plugins]# ll total 124 -rw-rw-r--. 1 cacti 1000 44 Feb 27 2012 index.php -rw-r--r--. 1 root root 118252 Mar 17 16:05 plugin:thold-v0.5.0.tgz |
4 – Dosyanın sağlıklı şekilde indiğini gördükten sonra bu dosyayı bu dizin altına çıkarıyoruz.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
[root@localhost plugins]# tar -xvzf /var/www/html/cacti/plugins/plugin\:thold-v0.5.0.tgz thold/ thold/notify_lists.php thold/includes/ thold/includes/polling.php thold/includes/database.php thold/includes/index.php thold/includes/tab.php thold/includes/settings.php thold/thold.php thold/images/ thold/images/graph_create_thold.png thold/images/edit_object.png thold/images/view_log.gif thold/images/disable_thold.png thold/images/view_graphs.gif thold/images/reddot.png thold/images/tab_thold.gif thold/images/enable_thold.png thold/images/index.php thold/images/tab_thold_down.gif thold/cli_thresholds.php thold/README thold/thold_functions.php thold/extras/ thold/extras/apply_realms.php thold/extras/upgrade.php thold/thold_add.php thold/thold_templates.php thold/thold_graph.php thold/LICENSE thold/general_header.php thold/listthold.php thold/index.php thold/setup.php |
5 – plugin dosyalarını buraya çıkardıktan sonra aşağıdaki komutlar yardımı ile kontrol edebilirsiniz.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
[root@localhost plugins]# ll total 124 -rw-rw-r--. 1 cacti 1000 44 Feb 27 2012 index.php -rw-r--r--. 1 root root 118252 Mar 17 16:05 plugin:thold-v0.5.0.tgz drwxr-xr-x. 5 root root 4096 Jun 10 2013 thold [root@localhost plugins]# cd thold [root@localhost thold]# ll total 536 -rw-r--r--. 1 root root 5321 Oct 4 2011 cli_thresholds.php drwxr-xr-x. 2 root root 4096 Jun 10 2013 extras -rw-r--r--. 1 root root 6236 Nov 8 2011 general_header.php drwxr-xr-x. 2 root root 4096 Jun 10 2013 images drwxr-xr-x. 2 root root 4096 Jun 10 2013 includes -rw-r--r--. 1 root root 43 Oct 4 2011 index.php -rw-r--r--. 1 root root 26925 Oct 4 2011 LICENSE -rw-r--r--. 1 root root 22351 Jan 24 2012 listthold.php -rw-r--r--. 1 root root 89729 Nov 8 2011 notify_lists.php -rw-r--r--. 1 root root 12356 Jun 21 2012 README -rw-r--r--. 1 root root 34280 Jun 21 2012 setup.php -rw-r--r--. 1 root root 20557 Jan 2 2012 thold_add.php -rw-r--r--. 1 root root 125087 Oct 24 2012 thold_functions.php -rw-r--r--. 1 root root 58134 Dec 20 2011 thold_graph.php -rw-r--r--. 1 root root 41353 Jun 21 2012 thold.php -rw-r--r--. 1 root root 60700 Dec 20 2011 thold_templates.php |
6 – bu işlemlerden sonra yapmanız gereken tek işlem cacti web üzerinden kurmuş olduğumuz plugini aktif etmek.