[RESOLVED] Problem with graph
Moderators: Developers, Moderators
[RESOLVED] Problem with graph
Hi,
I have configure cacti 0.8.7g on ubuntu 11.10 with rrdtool 1.4.3.
I have configure mysql with the "cactiuser" as describe in differents tutorials.
I use spine as poller.
but all the graphics that I try to create are not displayed.
When i make a snmpget manually, i have a good response from my windows host.
If someone has any idea of my problem, thank you for advance.
I have configure cacti 0.8.7g on ubuntu 11.10 with rrdtool 1.4.3.
I have configure mysql with the "cactiuser" as describe in differents tutorials.
I use spine as poller.
but all the graphics that I try to create are not displayed.
When i make a snmpget manually, i have a good response from my windows host.
If someone has any idea of my problem, thank you for advance.
Last edited by Bucca on Fri May 04, 2012 10:09 am, edited 2 times in total.
Re: Problem with graph
I have use the documentation for debugging cacti.
Spine receive good responses, but i don't see the mysql update in the log.
When i show on the poller_output table on mysql, the table is empty.
The right for cactiuser on the database is good.
The cron for the poller use the user "cactiuser".
Have you an idea?
Spine receive good responses, but i don't see the mysql update in the log.
When i show on the poller_output table on mysql, the table is empty.
The right for cactiuser on the database is good.
The cron for the poller use the user "cactiuser".
Have you an idea?
Re: Problem with graph
I show the owner of the spine file in /usr/sbin, and it's root.
When i add right to root to the cacti database and launch spine manually, the table poller_output receive datas from the poller.
Is what I need to change the owner of the file to cactiuser for the execution of the poller via cron can fill the table?
When i add right to root to the cacti database and launch spine manually, the table poller_output receive datas from the poller.
Is what I need to change the owner of the file to cactiuser for the execution of the poller via cron can fill the table?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problem with graph
You did use 2nd link of my sig? Fine, then. If not, please go thereBucca wrote:I have use the documentation for debugging cacti.
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problem with graph
The owner of the file is of no importance. It only is required to have execute permission on that file.Bucca wrote:I show the owner of the spine file in /usr/sbin, and it's root.
When i add right to root to the cacti database and launch spine manually, the table poller_output receive datas from the poller.
Is what I need to change the owner of the file to cactiuser for the execution of the poller via cron can fill the table?
It IS important to know, which user is used when running "poller.php" from crontab.
As 1st link of my sig suggests (installation manual), you SHOULD use a specific user to perform the polling. We suggest "cactiuser", some distros use different users. Only do NOT use root for that!!!
Make sure, that the user given in include/config.php has the required MySQL permissions.
R.
Re: Problem with graph
I have uninstall cacti, and install again with the same version.
The user that used when running the poller.php is cactiuser.
I give right to cactiuser to execute spine in this path: "/usr/local/spine/bin/spine".
I try to to copy the spine bin in the directory "/usr/sbin" and configure cacti with this path.
I give right to cactiuser to the database cacti in mysql.
When I execute manually the spine, it gives me some informations.
I have rrd file, but th poller_output for mysql is empty.
The graphs for my test hosts are here, but with no datas.
My logs:
The user that used when running the poller.php is cactiuser.
I give right to cactiuser to execute spine in this path: "/usr/local/spine/bin/spine".
I try to to copy the spine bin in the directory "/usr/sbin" and configure cacti with this path.
I give right to cactiuser to the database cacti in mysql.
When I execute manually the spine, it gives me some informations.
I have rrd file, but th poller_output for mysql is empty.
The graphs for my test hosts are here, but with no datas.
My logs:
04/26/2012 03:41:55 PM - RECACHE STATS: RecacheTime:4.7058 HostsRecached:1
04/26/2012 03:41:55 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache successful.
04/26/2012 03:41:55 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache for Host, data query #9
04/26/2012 03:41:55 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache successful.
04/26/2012 03:41:53 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'192.168.0.154', and OID:'.1.3.6.1.2.1.25.2.3.1.4'
04/26/2012 03:41:51 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache for Host, data query #8
04/26/2012 03:41:51 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache successful.
04/26/2012 03:41:51 PM - PCOMMAND: Poller[0] Host[2] RECACHE: Recache for Host, data query #1
04/26/2012 03:41:51 PM - PCOMMAND: Poller[0] Host[2] WARNING: Recache Event Detected for Host
04/26/2012 03:41:51 PM - SPINE: Poller[0] Time: 0.4792 s, Threads: 1, Hosts: 3
04/26/2012 03:41:51 PM - SPINE: Poller[0] DEBUG: MYSQL Free & Close Completed
04/26/2012 03:41:51 PM - SPINE: Poller[0] DEBUG: Allocated Variable Memory Freed
04/26/2012 03:41:51 PM - SPINE: Poller[0] DEBUG: PHP Script Server Pipes Closed
04/26/2012 03:41:50 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cacti/poller_commands.php"]
04/26/2012 03:41:50 PM - SYSTEM STATS: Time:0.4906 Method:spine Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:17 RRDsProcessed:11
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/2/8.rrd --template hdd_total:hdd_used 1335447710:U:U
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/2/9.rrd --template hdd_total:hdd_used 1335447710:U:U
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/2/10.rrd --template hdd_total:hdd_used 1335447710:U:U
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/2/11.rrd --template hdd_total:hdd_used 1335447710:U:U
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/2/12.rrd --template hdd_total:hdd_used 1335447710:U:U
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/2/13.rrd --template traffic_out:traffic_in 1335447710:U:U
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: SS[0] Script Server Shutdown Started
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Thread Cleanup Complete
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] Total Time: 0.059 Seconds
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[13] SNMP: v2: 192.168.0.154, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.17, value: 229773909
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[13] SNMP: v2: 192.168.0.154, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, value: 2373366485
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[9] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[12] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 7, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[9] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 7'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[8] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[12] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 7, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[8] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 7'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[7] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[11] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 6, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[7] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 6'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[6] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[11] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 6, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[6] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 6'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[5] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[10] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 3, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[5] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 3'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[4] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[10] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 3, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[4] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 3'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[3] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[9] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 2, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[3] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 2'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[2] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[9] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 2, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[2] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 2'
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[1] RESPONSE:'0'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[8] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 1, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[1] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get total 1'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] DS[8] SS[0] SERVER: /var/www/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 1, output: 0
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[0] RESPONSE:'0'
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap N:1963396
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/www/cacti/rra/localhost_mem_swap_4.rrd --step 300 DS:mem_swap:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:193216
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/www/cacti/rra/localhost_mem_buffers_3.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.02:0.06:0.05
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/www/cacti/rra/localhost_load_1min_5.rrd --step 300 DS:load_1min:GAUGE:600:0:500 DS:load_5min:GAUGE:600:0:500 DS:load_15min:GAUGE:600:0:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_users_6.rrd --template users N:3
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/www/cacti/rra/localhost_users_6.rrd --step 300 DS:users:GAUGE:600:0:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/localhost_proc_7.rrd --template proc N:194
04/26/2012 03:41:50 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool create /var/www/cacti/rra/localhost_proc_7.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: PID[13956] CTR[0] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: '192.168.0.154 2 2:161:500:1:10:nagios:::::: get used 1'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] NOTE: There are '12' Polling Items for this Host
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] NOTICE: Spike Kill in Effect for '192.168.0.154'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] ASSERT: '79088812' .lt. '121885' failed. Recaching host '192.168.0.154', data query #9
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] Recache DataQuery[9] OID: .1.3.6.1.2.1.1.3.0, output: 121885
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] NOTICE: Spike Kill in Effect for '192.168.0.154'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] ASSERT: '79088812' .lt. '121885' failed. Recaching host '192.168.0.154', data query #8
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] Recache DataQuery[8] OID: .1.3.6.1.2.1.1.3.0, output: 121885
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] NOTICE: Spike Kill in Effect for '192.168.0.154'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] ASSERT: '79088812' .lt. '121885' failed. Recaching host '192.168.0.154', data query #1
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] Recache DataQuery[1] OID: .1.3.6.1.2.1.1.3.0, output: 121885
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] TH[1] RECACHE: Processing 3 items in the auto reindex cache for '192.168.0.154'
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] SNMP Result: Host responded to SNMP
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] PING Result: TCP: Host is Alive
04/26/2012 03:41:50 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.05' [map 10min->load_15min]
04/26/2012 03:41:50 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.06' [map 5min->load_5min]
04/26/2012 03:41:50 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.02' [map 1min->load_1min]
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] DEBUG: Entering SNMP Ping
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] DEBUG: TCP Host Alive, Try Count:1, Time:0.9382 ms
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[2] DEBUG: Entering TCP Ping
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] Total Time: 0.13 Seconds
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] DS[7] SCRIPT: perl /var/www/cacti/scripts/unix_processes.pl, output: 194
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: The NIFTY POPEN returned the following File Descriptor 9
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] DS[6] SCRIPT: perl /var/www/cacti/scripts/unix_users.pl , output: 3
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: The NIFTY POPEN returned the following File Descriptor 9
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] DS[5] SCRIPT: perl /var/www/cacti/scripts/loadavg_multi.pl, output: 1min:0.02 5min:0.06 10min:0.05
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: The NIFTY POPEN returned the following File Descriptor 9
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] DS[3] SCRIPT: perl /var/www/cacti/scripts/linux_memory.pl MemFree:, output: 193216
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: The NIFTY POPEN returned the following File Descriptor 9
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] DS[4] SCRIPT: perl /var/www/cacti/scripts/linux_memory.pl SwapFree:, output: 1963396
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: The NIFTY POPEN returned the following File Descriptor 9
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] NOTE: There are '5' Polling Items for this Host
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] TH[1] Host has no information for recache.
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] PING: Result UDP: Host is Alive
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: UDP Host Alive, Try Count:1, Time:0.0429 ms
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[1] DEBUG: Entering UDP Ping
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
04/26/2012 03:41:50 PM - SPINE: Poller[0] Host[0] TH[1] Total Time: 0.0016 Seconds
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
04/26/2012 03:41:50 PM - SPINE: Poller[0] NOTE: Spine is behaving in a 0.8.7g+ manner
04/26/2012 03:41:50 PM - SPINE: Poller[0] NOTE: Spine will support multithread device polling.
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: SS[0] Confirmed PHP Script Server running using readfd[8], writefd[7]
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is spine
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/cacti/script_server.php
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/cacti
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/local/spine/bin
04/26/2012 03:41:50 PM - PHPSVR: Poller[0] DEBUG: SERVER: spine
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Child FORK Success
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server About to FORK Child Process
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: SS[0] PHP Script Server Routine Starting
04/26/2012 03:41:50 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
04/26/2012 03:41:50 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: Spine is running asroot.
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
04/26/2012 03:41:50 PM - SPINE: Poller[0] Version 0.8.7i starting
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 5
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Required
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: StartHost='0', EndHost='2', TotalPHPScripts='1'
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The script timeout is 60
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The threads variable is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 3
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 1
04/26/2012 03:41:50 PM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
04/26/2012 03:41:50 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/spine/bin/spine, ARGS: 0 2]
04/26/2012 03:41:50 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 351 seconds have passed since the last poll!
04/26/2012 03:41:50 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '351', Max Runtime '298', Poller Runs: '1'
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problem with graph
poller_output is likely to always be empty. It will be emptied during rrdtool file updates. So that is not a problem at all.
The debug shows, that there is data received from the targets and rrdtol create and updates performed.
It shows, that the disk data is NOT returned at all (I suppose that the snmp has NOT been configured to return that data!).
But I expect that the other graphs are NOT empty
R.
The debug shows, that there is data received from the targets and rrdtol create and updates performed.
It shows, that the disk data is NOT returned at all (I suppose that the snmp has NOT been configured to return that data!).
But I expect that the other graphs are NOT empty
R.
Re: Problem with graph
with a correction of permission of log dir and rrd, all works good.
One little thing:
Somes servers have all data graphed, some servers don't have Used Space and Memory grpahed.
My cacti server is a ubuntu, the servers there are monitored are under Windows.
I use the Generic SNMP-enable Host template, with SNMP-Get Mounted Partitions data query.
The querie in verbose mode gives me this log:
One little thing:
Somes servers have all data graphed, some servers don't have Used Space and Memory grpahed.
My cacti server is a ubuntu, the servers there are monitored are under Windows.
I use the Generic SNMP-enable Host template, with SNMP-Get Mounted Partitions data query.
The querie in verbose mode gives me this log:
I don't understand the difference with other servers where is good.+ Running data query [8].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/var/www/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for num of indexes '"/usr/bin/php" -q /var/www/cacti/scripts/ss_host_disk.php 192.168.0.1 13 2:161:500:1:5:nagios:::::: num_indexes'
+ Found number of indexes: 5
+ Executing script for list of indexes '"/usr/bin/php" -q /var/www/cacti/scripts/ss_host_disk.php 192.168.0.1 13 2:161:500:1:5:nagios:::::: index' Index Count: 5
+ Found index: 1
+ Found index: 2
+ Found index: 3
+ Found index: 4
+ Found index: 5
+ Executing script query '"/usr/bin/php" -q /var/www/cacti/scripts/ss_host_disk.php 192.168.0.1 13 2:161:500:1:5:nagios:::::: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='2'] index: 2
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='4'] index: 4
+ Found item [hrStorageIndex='5'] index: 5
+ Executing script query '"/usr/bin/php" -q /var/www/cacti/scripts/ss_host_disk.php 192.168.0.1 13 2:161:500:1:5:nagios:::::: query description'
+ Found item [hrStorageDescr=''] index: 1
+ Found item [hrStorageDescr=''] index: 2
+ Found item [hrStorageDescr=''] index: 3
+ Found item [hrStorageDescr=''] index: 4
+ Found item [hrStorageDescr=''] index: 5
+ Executing script query '"/usr/bin/php" -q /var/www/cacti/scripts/ss_host_disk.php 192.168.0.1 13 2:161:500:1:5:nagios:::::: query sau'
Re: [RESOLVED] Problem with graph
I have increase the timeout value, and it's good.
Who is online
Users browsing this forum: No registered users and 4 guests