This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:reseaux:services:monitcacti [2015/07/13 13:39] procacci@tem-tsp.eu [installation cacti 8.8c] |
docpublic:reseaux:services:monitcacti [2019/03/11 21:53] (current) procacci@tem-tsp.eu [postfix template for cacti] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== supervision cacti ====== | ====== supervision cacti ====== | ||
| + | |||
| + | ===== references ===== | ||
| + | |||
| + | ==== debug ==== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| ===== base systeme ===== | ===== base systeme ===== | ||
| Line 326: | Line 333: | ||
| make[1] : on quitte le répertoire « / | make[1] : on quitte le répertoire « / | ||
| </ | </ | ||
| + | |||
| + | ==== debug spine poller ==== | ||
| + | |||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | parfois un script a un pb de droit de fichier tmp dans /tmp apres debug en root , cela marche en shell root mais pas via spine / apache . | ||
| + | |||
| + | < | ||
| + | [cacti@mon ~]$ / | ||
| + | Could not open cache / | ||
| + | [cacti@mon ~]$ exit | ||
| + | déconnexion | ||
| + | [root@mon include]# ls -l / | ||
| + | -rw-r--r-- 1 root root 2045 18 avril 21:18 / | ||
| + | [root@monit include]# chown apache: | ||
| + | </ | ||
| + | |||
| + | |||
| ===== cacti 8.8c ===== | ===== cacti 8.8c ===== | ||
| Line 415: | Line 446: | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== postfix template for cacti ===== | ||
| + | |||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
| + | |||
| + | |||
| + | recopies depuis smtpO vers smtpF | ||
| + | |||
| + | < | ||
| + | [root@smtpO ~]# scp / | ||
| + | |||
| + | |||
| + | [root@smtpO ~]# scp -r / | ||
| + | spamd.pm | ||
| + | postfix-stats-local | ||
| + | |||
| + | |||
| + | [root@smtpO ~]# scp / | ||
| + | local-snmp | ||
| + | |||
| + | [root@smtpO ~]# scp -r / | ||
| + | postfix.pm | ||
| + | |||
| + | [root@smtpO ~]# scp / | ||
| + | uloganalyser | ||
| + | |||
| + | </ | ||
| + | |||
| + | sur la destination | ||
| + | |||
| + | < | ||
| + | [root@smtpF ~]# mkdir / | ||
| + | </ | ||
| + | |||
| + | puis apres 5-10 mn , le cron a joué son role et les stats pour cacti sont là : | ||
| + | |||
| + | < | ||
| + | [root@smtpF ~]# cat / | ||
| + | lastrun=1552322401 | ||
| + | lastline=16519 | ||
| + | lastposition=2213301 | ||
| + | repeatline=Mar 11 17:39:54 smtp4 postfix/ | ||
| + | lastinode=344479 | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | postfix: | ||
| + | </ | ||
| + | |||
| + | |||
| + | ajouter les extend a snmpd.conf | ||
| + | |||
| + | < | ||
| + | ## # | ||
| + | ## # # | ||
| + | # | ||
| + | extend postfixlocal | ||
| + | extend postfixlmtp | ||
| + | extend postfixpickup / | ||
| + | extend postfixqueue / | ||
| + | extend postfixsmtp | ||
| + | extend postfixsmtpstatus | ||
| + | extend postfixsmtptls | ||
| + | extend postfixsmtpwarn | ||
| + | extend postfixsmtpd | ||
| + | extend postfixsmtpdnq | ||
| + | extend postfixsmtpdnqrec | ||
| + | extend postfixsmtpdnqrel | ||
| + | extend postfixsmtpdnqsnd | ||
| + | extend postfixsmtpdnqclnt | ||
| + | extend postfixsmtpdqd | ||
| + | extend postfixsmtpdtls | ||
| + | extend postfixsmtpdwarn / | ||
| + | extend postfixcleanup | ||
| + | extend postfixpolicy / | ||
| + | extend postfixip / | ||
| + | extend clamav / | ||
| + | extend dkim / | ||
| + | extend spamd / | ||
| + | </ | ||