Problems with grapgics

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

Moderators: Developers, Moderators

Post Reply
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Problems with grapgics

Post by ceoby »

Hy i make a new install with last version of cacti. I add 4 device, for local machine I have graphics but for ather not .
for see http://www.ccitcomputer.ro/snmp/
user: ccitcomputer
pass: ccitcomputer
read only

This are log's
06/01/2007 04:20:16 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
06/01/2007 04:20:16 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
06/01/2007 04:20:16 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
06/01/2007 04:20:16 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
06/01/2007 04:20:16 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
06/01/2007 04:20:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
06/01/2007 04:20:12 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
06/01/2007 04:20:12 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
06/01/2007 04:20:12 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
06/01/2007 04:20:12 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
06/01/2007 04:20:10 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
06/01/2007 04:20:10 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
06/01/2007 04:20:10 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
06/01/2007 04:20:10 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
06/01/2007 04:20:10 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
06/01/2007 04:20:07 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
06/01/2007 04:20:07 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
06/01/2007 04:20:07 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
06/01/2007 04:20:07 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
06/01/2007 04:20:07 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:1.0948 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:74 RRDsProcessed:9')"
06/01/2007 04:20:02 PM - SYSTEM STATS: Time:1.0948 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:74 RRDsProcessed:9
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_hdd_free_18.rrd --template hdd_free:hdd_used 1180704001:2734640:4638960
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_hdd_free_17.rrd --template hdd_free:hdd_used 1180704001:21636860:2773152
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_hdd_free_16.rrd --template hdd_free:hdd_used 1180704001:798220:6037220
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_ping_15.rrd --template ping 1180704001:0.061
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_proc_7.rrd --template proc 1180704001:111
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_users_6.rrd --template users 1180704001:1
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1180704001:0.00:0.07:0.08
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_mem_swap_4.rrd --template mem_swap 1180704001:413728
06/01/2007 04:20:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /home/var/ccit/snmp/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1180704001:73300
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='18' and rrd_name='hdd_used' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='18' and rrd_name='hdd_free' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='17' and rrd_name='hdd_used' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='17' and rrd_name='hdd_free' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='16' and rrd_name='hdd_used' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='16' and rrd_name='hdd_free' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='15' and rrd_name='ping' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='7' and rrd_name='proc' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='6' and rrd_name='users' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='5' and rrd_name='' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='4' and rrd_name='mem_swap' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='3' and rrd_name='mem_buffers' and time='2007-06-01 16:20:01'"
06/01/2007 04:20:02 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.08' [map 10min->load_15min]
06/01/2007 04:20:02 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.07' [map 5min->load_5min]
06/01/2007 04:20:02 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select data_template_rrd.data_source_name, data_input_fields.data_name from (data_template_rrd,data_input_fields) where data_template_rrd.data_input_field_id=data_input_fields.id and data_template_rrd.local_data_id=5"
06/01/2007 04:20:02 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) "
Attachments
cacti setings.jpg
cacti setings.jpg (167.72 KiB) Viewed 6675 times
cacti device.jpg
cacti device.jpg (74.47 KiB) Viewed 6679 times
cacti device2.jpg
cacti device2.jpg (213.53 KiB) Viewed 6679 times
I'm from romania
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

rrdtool
RRDtool 1.0.45 Copyright 1997-2001 by Tobias Oetiker <tobi@oetiker.ch>

Usage: rrdtool [options] command command_options

Valid commands: create, update, graph, dump, restore,
last, info, fetch, tune, resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages


root@mexim:/var/www/htdocs/pc/a# /usr/bin/php /home/var/ccit/snmp/poller.php
06/01/2007 05:03:25 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces s [CMD: /usr/bin/php, ARGS: -q /home/var/ccit/snmp/cmd.php 0 8]
Waiting on 1/1 pollers.
06/01/2007 05:03:26 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.04' [map 1min->load_1min]
06/01/2007 05:03:26 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.13' [map 5min->load_5min]
06/01/2007 05:03:26 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.09 ' [map 10min->load_15min]
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1180706 605:31132
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_mem_swap_4.rrd --template mem_swap 1180706605:41 4100
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:l oad_15min 1180706605:0.04:0.13:0.09
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_users_6.rrd --template users 1180706605:1
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_proc_7.rrd --template proc 1180706605:99
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_ping_15.rrd --template ping 1180706605:0.058
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_hdd_free_16.rrd --template hdd_free:hdd_used 118 0706605:798208:6037232
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_hdd_free_17.rrd --template hdd_free:hdd_used 118 0706605:21629704:2780308
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:26 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /h ome/var/ccit/snmp/rra/localhost_hdd_free_18.rrd --template hdd_free:hdd_used 118 0706605:2507508:4866092
OK u:0.00 s:0.00 r:0.02
06/01/2007 05:03:27 PM - SYSTEM STATS: Time:2.0940 Method:cmd.php Processes:1 Th reads:N/A Hosts:6 HostsPerProcess:6 DataSources:74 RRDsProcessed:9
I'm from romania
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Hosts being detected as down will not be polled. Use "SNMP Only" as downed host detection (Settings)
Reinhard
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

Don't work
Attachments
Untitled.jpg
Untitled.jpg (216.47 KiB) Viewed 6583 times
I'm from romania
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

strange, for linux and windows work. On some machine i have a little old version of cacti and work :roll: http://snmp.ccitcomputer.ro
ccitcomputer user
ccitcomputer pass
I'm from romania
warnesj
Cacti User
Posts: 173
Joined: Sun May 29, 2005 7:34 pm

Post by warnesj »

Is the directory for your RRA files writeable? When the poller runs for new hosts it creates new RRA files for those hosts and if the directory isn't writable then you won't get graphs.
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

Yes it's writable host : 2003, vista, local host , working.
I'm from romania
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Does the failing host has IP access restrictions defined in its snmpd.conf?
Reinhard
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

Does the failing host has IP access restrictions defined in its snmpd.conf? .

Snmpd.conf on the target machine or just on server
I'm from romania
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

Strange, I install on new server an same problems, work with pc but not work with routers :(
I'm from romania
ceoby
Posts: 13
Joined: Thu Nov 24, 2005 5:39 am
Contact:

Post by ceoby »

http://86.34.238.166/snmp/
user ceoby
pass ceoby
it's guest ;)
Attachments
1
1
1.JPG (211.54 KiB) Viewed 5984 times
2
2
2.JPG (174.05 KiB) Viewed 5984 times
3
3
3.JPG (147.68 KiB) Viewed 5984 times
4
4
4.JPG (219.14 KiB) Viewed 5984 times
5
5
5.JPG (128.23 KiB) Viewed 5984 times
I'm from romania
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

ceoby wrote:Does the failing host has IP access restrictions defined in its snmpd.conf? .

Snmpd.conf on the target machine or just on server
On the target host
Reinhard
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ok, had a look at your system. Unless the red "SNMP Error" is resolved, you will not get any graphs, for sure. You may have a read at http://docs.cacti.net/node/411 for SNMP setup and/or in the windows forum, where BSOD2600 provides very valuable support.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest