Using cactid, no graphs, no rrdfiles (poller.php=ok)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Bas16v
Posts: 4
Joined: Mon Mar 01, 2004 7:59 am

Using cactid, no graphs, no rrdfiles (poller.php=ok)

Post by Bas16v »

Hi,

I am using cactid 0.8.6.f-1 (compiled from source) and:

cacti 0.8.6g
php 4.3.9
mysql 4.1.12
net-snmp* 5.1.2
rrdtool 1.0.50

I'm using Centos 4.2 which is 100% compatible with RHEL4.

When using cactid, data is being gathered according to the cacti.log file. RRD files are not created however and graphs show (duh) nothing.

When using the poller.php, it all works...

Anybody any idea?

Tia

Bas
elnino
Cacti User
Posts: 205
Joined: Tue Mar 08, 2005 9:51 pm

Post by elnino »

Is your cacti user the owner of /usr/bin/cactid (or wherever you installed it)? I had luck on my CentOS box using Cacti and Cactid from the Dag repository, so that when new updates come out, they'll be updated via yum.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please switch to DEBUG mode (see: Settings -> General -> Poller Logging Level). Run your cacti poller for at least one polling cycle. Then have a look at <path_cacti>/log/cacti.log to see what's going wrong.
Optionally delete the cacti.log before if it's too huge.
Reinhard
Bas16v
Posts: 4
Joined: Mon Mar 01, 2004 7:59 am

Post by Bas16v »

Here's a post of a cactid run; I believe this is normal logging for a successfull run?

Code: Select all

12/12/2005 09:16:34 AM - CACTID: Poller[0] Host[144] SNMP Result: Host responded to SNMP
12/12/2005 09:16:34 AM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='3',status_event_count='0', status_fail_date='0000-00-00 00:00:00',status_rec_date='0000-00-00 00:00:00',status_last_error='',min_time='4.981990',max_time='48.410000',cur_time='6.860970',avg_time='11.241599',total_polls='36',failed_polls='0',availability='100.0000' where id='144'

12/12/2005 09:16:34 AM - CACTID: Poller[0] Host[144] RECACHE: Processing 1 items in the auto reindex cache for '10.4.32.20'
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3653] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 3095862675
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3662] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, value: 8170474
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3663] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.11, value: 253329
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3664] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.12, value: 951774732
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3665] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.13, value: 638205030
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3666] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.14, value: 58846851
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3667] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, value: 60942540
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3668] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, value: 17062839
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3669] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, value: 3937548143
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3670] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.18, value: 160797627
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3671] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.19, value: 13335310
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3654] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 4054310508
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3672] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.20, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3673] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.21, value: 13833
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3674] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.22, value: 14220
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3675] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.23, value: 112035
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3676] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.24, value: 1221673790
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3677] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.25, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3678] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.26, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3655] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, value: 33136812
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3656] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, value: 11866
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3657] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, value: 2848848492
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3658] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, value: 279549270
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3659] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, value: 2940251
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3660] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3661] SNMP: v1: 10.4.32.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: 60842
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3653] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 3140425071
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3662] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, value: 213330447
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3663] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.11, value: 243803591
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3664] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.12, value: 3501654049
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3665] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.13, value: 942926630
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3666] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.14, value: 362216078
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3667] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.15, value: 260931031
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3668] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16, value: 320240492
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3669] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.17, value: 2039369268
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3670] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.18, value: 3075733031
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3671] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.19, value: 212637079
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3654] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1099280012
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3672] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.20, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3673] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.21, value: 220954638
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3674] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.22, value: 220953554
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3675] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.23, value: 94109
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3676] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.24, value: 1336467754
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3677] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.25, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3678] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.26, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3655] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 297754541
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3656] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, value: 269107236
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3657] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, value: 2851026178
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3658] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, value: 76728541
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3659] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, value: 245132486
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3660] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, value: 64
12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DS[3661] SNMP: v1: 10.4.32.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, value: 126562
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: SQLCMD: INSERT INTO poller_output (local_data_id,rrd_name,time,output) VALUES (3653,'traffic_in','2005-12-12 09:16:12','3095862675'),(3662,'traffic_in','2005-12-12 09:16:12','8170474'),(3663,'traffic_in','2005-12-12 09:16:12','253329'),(3664,'traffic_in','2005-12-12 09:16:12','951774732'),(3665,'traffic_in','2005-12-12 09:16:12','638205030'),(3666,'traffic_in','2005-12-12 09:16:12','58846851'),(3667,'traffic_in','2005-12-12 09:16:12','60942540'),(3668,'traffic_in','2005-12-12 09:16:12','17062839'),(3669,'traffic_in','2005-12-12 09:16:12','3937548143'),(3670,'traffic_in','2005-12-12 09:16:12','160797627'),(3671,'traffic_in','2005-12-12 09:16:12','13335310'),(3654,'traffic_in','2005-12-12 09:16:12','4054310508'),(3672,'traffic_in','2005-12-12 09:16:12','64'),(3673,'traffic_in','2005-12-12 09:16:12','13833'),(3674,'traffic_in','2005-12-12 09:16:12','14220'),(3675,'traffic_in','2005-12-12 09:16:12','112035'),(3676,'traffic_in','2005-12-12 09:16:12','1221673790'),(3677,'traffic_in','2005-12-12 09:16:12','12/12/2005 09:16:35 AM - CACTID: Poller[0] Host[144] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: The Value of Active Threads is 0
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: SQLCMD: replace into settings (name,value) values ('date',NOW())
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: SQLCMD: insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: Thread Cleanup Complete
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: PHP Script Server Pipes Closed
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: Allocated Variable Memory Freed
12/12/2005 09:16:35 AM - CACTID: Poller[0] CACTID: Shutting down Net-SNMP API
12/12/2005 09:16:35 AM - CACTID: Poller[0] DEBUG: MYSQL Free & Close Completed
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What does your crontab run? Does it run cactid explicitely? This would not be correct. crontab always runs poller.php. Cacti's Settings -> Poller switches between cmd.php or cactid.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest