cactid

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
scavenger67
Posts: 49
Joined: Fri Mar 18, 2005 7:33 am
Location: France

cactid

Post by scavenger67 »

Hi all,
just moved from cmd.php to cactid.
from the comand line, it works fine. good values are returned, but RRD files never updates !

the cactid.conf is
DB_Host 127.0.0.1
DB_Database cacti
DB_User cactiuser
DB_Pass cacti

and here an exemple of the cactilog files :
08/02/2005 05:28:23 PM - CACTID: Poller[0] Host[102] DS[2061] SNMP: v1: xxx.com, dsname: cmpq_temp, oid: .1.3.6.1.4.1.232.6.2.6.8.1.4.0.5, value: 33
08/02/2005 05:28:23 PM - CACTID: Poller[0] Host[102] DS[2063] SNMP: v1: xxx.com, dsname: cmpq_temp, oid: .1.3.6.1.4.1.232.6.2.6.8.1.4.0.3, value: 47
08/02/2005 05:28:23 PM - CACTID: Poller[0] Host[102] DS[2065] SNMP: v1: xxx.com, dsname: cmpq_temp, oid: .1.3.6.1.4.1.232.6.2.6.8.1.4.0.1, value: 38
08/02/2005 05:28:23 PM - CACTID: Poller[0] Host[102] DS[2055] SNMP: v1: xxx.com, dsname: hrSystemUptime, oid: .1.3.6.1.2.1.1.3.0, value: 173755449
08/02/2005 05:28:23 PM - CACTID: Poller[0] Host[102] DS[2067] SNMP: v1: xxx.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16777219, value: 765138052
08/02/2005 05:28:23 PM - CACTID: Poller[0] Host[102] DS[2067] SNMP: v1: xxx.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16777219, value: 3238736277

any idea of the problem ?
thanks :wink:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Are you running poller.php or cactid.exe?
scavenger67
Posts: 49
Joined: Fri Mar 18, 2005 7:33 am
Location: France

cactid didin't update rrd files

Post by scavenger67 »

poller.php is working fine but didin't release windows process such as php-win and perl.. but rrd files are updated.

With cactid, rrd file didn't updates ! but the lon on cacti shows that data can be returned. I prefer to use cactid : much faster with 4000 query !

Please help
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Right, I'm asking if your schedule task is running poller.php or cactid.exe. You should always be running poller.php, regardless of using cmd.php or cactid.exe.

Doesn't release the processes? what versions of stuff are you using?
Is the poller timging out?
scavenger67
Posts: 49
Joined: Fri Mar 18, 2005 7:33 am
Location: France

poller.php is now working..

Post by scavenger67 »

You'r right, the schedule task is always executing poller.php command. i only change the poller method into cacti ( settings )

cmd.php is now working again, i just delete some data to query and it workds now. Why ? good question.. more investigation must be done.

BUT... cactid still not working, no rrd files are updated.

i'm using :
cacti 0.8.6f - cactid 0.8.6e - php 5.0.3 - rrdtool 1.2.10 - Mysql 4.1 - Windows 2000 Wrks SP4
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Goto Settings->General and set Logging Level to DEBUG. Then open a command line and run the following one at a time.

"php <path_cacti>/cmd.php" -> post output
"php poller.php" -> post output
cactid -> post output
scavenger67
Posts: 49
Joined: Fri Mar 18, 2005 7:33 am
Location: France

log file

Post by scavenger67 »

Here are the log files on one zip.
Thanks for your help


cacti 0.8.6.f|PHP 5.0.3|Apache 2.0.53|RRD 1.2.10|MYSQL 4.1|
Attachments
log.zip
log file
(189.47 KiB) Downloaded 173 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Looking at poller.php.log, I see lots of entries with CACTI2RRD. This is where cacti updates the rrd files with the values returned by cactid. Since you say they are not getting updated, you might be affected with this bug.

Give rrdtool 1.2.11 a try, since it was suppose to fix that.

You double checked the permissions on the rrd folder and made sure they're set correctly?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests