Problem Cacti (poller.php + grafik tidak muncul)

1,783 views
Skip to first unread message

Muhfi Asbin Sagala

unread,
Mar 27, 2012, 7:16:03 AM3/27/12
to Medanlinux Conference
Salam,

Maap kalo pertanyaan agak konyol :)

Distro : Debian Squeeze
Source : Cacti 0.8.7i-PIA-3.1.tar.gz

Cemana ya cara memastikan bahwa poller.php yang kita buat di crontab
berjalan atau tidak?

Kalo aku coba eksekusi dengan perintah "php ./poller.php" berhasil tapi
selalu ada pesan

"Cron is out of sync with the Poller Interval! The Poller Interval is
'300' seconds, with a maximum of a '300' second Cron, but 533937 seconds
is passed since the last poll!"

pada /etc/crontab aku tulis :
*/5 * * * * cacti php /var/www/cacti/poller.php

(symbolic link dari /opt/cacti ke /var/www/cacti)

Kemudian, setiap pertama sekali ekstrak cacti selalu ada default grafik
yang ditampilkan di cacti yaitu grafik localhost.

Tapi, grafik ini tidak muncul. Setelah periksa error.log apache muncul
pesan

"ERROR: opening 'opt/cacti/rra/localhost_proc_7.rrd': No such file or
directory"

periksa di direktori /opt/cacti file memang enggak ada. Apa file ini
bisa dibuat sendiri atau di generate aplikasi tertentu?

terima kasih atas perhatiannya.. :)

--
y! : ti_pa_tu
gtalk : muhfi.asbin
http://moehfi.blogspot.com | http://www.facebook.com/muhfiasbin
http://www.twitter.com/muhfiasbin | http://www.identi.ca/muhfiasbin

signature.asc

amslack

unread,
Apr 4, 2012, 11:22:23 PM4/4/12
to Medan Linux Community Conference
Maaf bang Muhfi lama reply...
aku pikir sudah ada yang tanggap ini :)
supaya naek ke "atas" aku coment yah , hhaha

ini bang setahu permasalahan yang pernah aku alami & aku tahu


mungkin masalah ada di poller interval di cacti, tidak sinkron dengan
poller yang di crontab
skarang cacti bisa menggambar dengan baik :)

#CMIIW "learning"
>  signature.asc
> < 1KViewDownload

Muhfi Asbin Sagala

unread,
Apr 6, 2012, 10:12:51 PM4/6/12
to conf-me...@googlegroups.com

Alhamdulillah udah berhasil install dan konfigurasi.
pada /etc/crontab aku tambahkan /usr/bin/php pada perintahnya. Lalu,
untuk grafik localhost, aku hapus abis itu aku buat lagi. :)

Terima kasih atas respon nya..

signature.asc
Reply all
Reply to author
Forward
0 new messages