i can't run well with cactid 0.8.6g

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
matt0041
Posts: 10
Joined: Tue Feb 07, 2006 4:47 am

i can't run well with cactid 0.8.6g

Post by matt0041 »

i just build cactid 0.8.6g on my linux (centos 4.2), and my cacti is 0.8.6h

when i running cacti with cactid 0.8.6g, the poller.php will timeout, when i change to 0.8.6e (yum installed from dag) , everything is ok...

someone can tell me what happen with this issue ?

that is my log below

stop cactid 0.8.6g, start with cactid 0.8.6e, the process time is fast than newest version of cactid
02/07/2006 05:41:21 PM - SYSTEM STATS: Time:24.5619 Method:cactid Processes:10 Threads:10 Hosts:28 HostsPerProcess:3 DataSources:332 RRDsProcessed:224
02/07/2006 05:40:43 PM - SYSTEM STATS: Time:41.5472 Method:cactid Processes:10 Threads:10 Hosts:28 HostsPerProcess:3 DataSources:332 RRDsProcessed:224
02/07/2006 05:35:24 PM - SYSTEM STATS: Time:22.4240 Method:cactid Processes:10 Threads:10 Hosts:28 HostsPerProcess:3 DataSources:332 RRDsProcessed:210
running with cactid 0.8.6g
02/07/2006 05:31:41 PM - SYSTEM STATS: Time:99.0566 Method:cactid Processes:10 Threads:10 Hosts:28 HostsPerProcess:3 DataSources:332 RRDsProcessed:224
02/07/2006 05:26:27 PM - SYSTEM STATS: Time:85.6286 Method:cactid Processes:10 Threads:10 Hosts:28 HostsPerProcess:3 DataSources:332 RRDsProcessed:218
02/07/2006 05:26:01 PM - SYSTEM STATS: Time:294.6512 Method:cactid Processes:10 Threads:10 Hosts:31 HostsPerProcess:4 DataSources:366 RRDsProcessed:229
02/07/2006 05:26:01 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
02/07/2006 05:26:01 PM - CACTID: Poller[0] Host[1] DS[107] WARNING: SNMP timeout detected [500 ms], ignoring host '127.0.0.1'
02/07/2006 05:26:01 PM - CACTID: Poller[0] Host[1] DS[106] WARNING: SNMP timeout detected [500 ms], ignoring host '127.0.0.1'
02/07/2006 05:26:01 PM - CACTID: Poller[0] Host[1] DS[105] WARNING: SNMP timeout detected [500 ms], ignoring host '127.0.0.1'
02/07/2006 05:26:01 PM - CACTID: Poller[0] Host[1] DS[298] WARNING: SNMP timeout detected [500 ms], ignoring host '127.0.0.1'
02/07/2006 05:26:01 PM - CACTID: Poller[0] Host[1] DS[298] WARNING: SNMP timeout detected [500 ms], ignoring host '127.0.0.1'
02/07/2006 05:24:52 PM - SYSTEM STATS: Time:293.1445 Method:cactid Processes:10 Threads:10 Hosts:31 HostsPerProcess:4 DataSources:366 RRDsProcessed:331
02/07/2006 05:24:52 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
02/07/2006 05:22:27 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
02/07/2006 05:22:27 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

when using cactid 0.8.6g, did you modify your data input methods like this : http://www.cacti.net/cactid_download.php ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
matt0041
Posts: 10
Joined: Tue Feb 07, 2006 4:47 am

Post by matt0041 »

fmangeant wrote:Hi

when using cactid 0.8.6g, did you modify your data input methods like this : http://www.cacti.net/cactid_download.php ?
sorry....but i don't know which one i need to modify

my data input methods :
Image

is there ?
Image

or here ?
Image
Attachments
1.PNG
1.PNG (13.71 KiB) Viewed 1415 times
2.PNG
2.PNG (15.58 KiB) Viewed 1415 times
3.PNG
3.PNG (15.42 KiB) Viewed 1415 times
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

You need to replace "perl" by "/bin/perl", and then clear your poller cache (Console -> System Utilities -> Clear Poller Cache).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
matt0041
Posts: 10
Joined: Tue Feb 07, 2006 4:47 am

Post by matt0041 »

ok.

i changed perl to /usr/bin/perl and clear poller cache...
but when i clear poller cache, i still can see my poller cache

but the red part still not change...
View Poller Cache [455 Items]

Data Source: Localhost - Free Space - /dev/mapper/VolGroup00-LogVol0
RRD: /var/www/cacti/rra/localhost_hdd_free_297.rrd
Action: 1, Script: perl /var/www/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00
Data Source: Localhost - Free Space - /dev/mapper/VolGroup00-LogVol0
RRD: /var/www/cacti/rra/localhost_hdd_free_297.rrd
Action: 1, Script: perl /var/www/cacti/scripts/query_unix_partitions.pl get used /dev/mapper/VolGroup00-LogVol00
Data Source: Localhost - Load Average
RRD: /var/www/cacti/rra/localhost_load_1min_5.rrd
Action: 1, Script: /usr/bin/perl /var/www/cacti/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: /var/www/cacti/rra/localhost_users_6.rrd
Action: 1, Script: /usr/bin/perl /var/www/cacti/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: /var/www/cacti/rra/localhost_proc_7.rrd
Action: 1, Script: /usr/bin/perl /var/www/cacti/scripts/unix_processes.pl
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
matt0041
Posts: 10
Joined: Tue Feb 07, 2006 4:47 am

Post by matt0041 »

thank you for your help..... :D

my problem solved !
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests