cactid
Moderators: Developers, Moderators
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
cactid
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
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
Are you running poller.php or cactid.exe?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
cactid didin't update rrd files
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
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
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?
Doesn't release the processes? what versions of stuff are you using?
Is the poller timging out?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
poller.php is now working..
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
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
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
"php <path_cacti>/cmd.php" -> post output
"php poller.php" -> post output
cactid -> post output
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
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?
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?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests