HELP 0.8.7c Clean install no CPU's and disks not read

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

HELP 0.8.7c Clean install no CPU's and disks not read

Post by mmartens »

Hi,

When i perform a clean install and add one or multiple hosts the poller does not get the CPU info:

Verbose query:
  • + Running data query [9].
    + Found type = '6 '[script query].
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
    + XML file parsed ok.
    + Executing script for list of indexes '/usr/bin/php5 -q /srv/www/htdocs/cacti/scripts/ss_host_cpu.php adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: index'
    + Executing script query '/usr/bin/php5 -q /srv/www/htdocs/cacti/scripts/ss_host_cpu.php adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: query index'
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
Does anyone have any idee?

I'm using cmd.php for the time being. Using spine doesn't change a thing.

Here my standard logfile:
  • 01/26/2009 08:53:03 PM - SYSTEM STATS: Time:1.3394 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:2
    01/26/2009 08:52:03 PM - SYSTEM STATS: Time:1.4272 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:2
    01/26/2009 08:51:03 PM - SYSTEM STATS: Time:1.3451 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:3
    01/26/2009 08:50:03 PM - SYSTEM STATS: Time:1.3804 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:1
    01/26/2009 08:50:00 PM - SYSTEM STATS: Time:299.2868 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:0 RRDsProcessed:0
    01/26/2009 08:50:00 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
Here a debug logfile:
  • 01/26/2009 08:54:36 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] Time: 0.7793 s, Theads: N/A, Hosts: 2
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (12, 'hdd_total', '2009-01-26 20:54:35', '0')"
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] Host[2] DS[12] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 6, output: 0
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "select field_value from host_snmp_cache where host_id=2 and field_name='hrStorageAllocationUnits' and snmp_index='='"
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (12, 'hdd_used', '2009-01-26 20:54:35', '0')"
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] Host[2] DS[12] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 6, output: 0
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "select field_value from host_snmp_cache where host_id=2 and field_name='hrStorageAllocationUnits' and snmp_index='='"
    01/26/2009 08:54:36 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update poller_reindex set assert_value='27591230' where host_id='2' and data_query_id='9' and arg1='.1.3.6.1.2.1.1.3.0'"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update poller_reindex set assert_value='27591223' where host_id='2' and data_query_id='8' and arg1='.1.3.6.1.2.1.1.3.0'"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update poller_reindex set assert_value='27591216' where host_id='2' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_reindex.data_query_id, poller_reindex.action, poller_reindex.op, poller_reindex.assert_value, poller_reindex.arg1 from poller_reindex where poller_reindex.host_id=2"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '9.99999', max_time = '94.51000', cur_time = '73.69', avg_time = '78.484', total_polls = '5', failed_polls = '0', availability = '100' where hostname = 'adsl.pdo.nl'"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (3, 'mem_buffers', '2009-01-26 20:54:35', '85444')"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /srv/www/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 85444
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_reindex.data_query_id, poller_reindex.action, poller_reindex.op, poller_reindex.assert_value, poller_reindex.arg1 from poller_reindex where poller_reindex.host_id=1"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '0.03000', max_time = '0.20000', cur_time = '0.1', avg_time = '0.11833333333333', total_polls = '6', failed_polls = '0', availability = '100' where hostname = '127.0.0.1'"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.1 ms)
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 08:54:35 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "select count(*) from poller_item where rrd_next_step<=0"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "UPDATE poller_item SET rrd_next_step=rrd_step-60 WHERE rrd_next_step < 0"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "UPDATE poller_item SET rrd_next_step=rrd_next_step-60"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) from poller_item WHERE action=2"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select * from host where disabled = '' order by id"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) from poller_item WHERE (action=2 AND rrd_next_step<=0)"
    01/26/2009 08:54:35 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT * FROM poller_item WHERE rrd_next_step<=0 ORDER by host_id"


Thanks in advance!

Marcel


More debug output:
  • 01/26/2009 09:02:58 PM - SYSTEM STATS: Time:1.1293 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:2 RRDsProcessed:2
    01/26/2009 09:02:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1233000177:79028
    01/26/2009 09:02:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/adsl_pdo_nl_hdd_used_12.rrd --template hdd_used:hdd_total 1233000177:0:0
    01/26/2009 09:02:58 PM - CMDPHP: Poller[0] Time: 0.6392 s, Theads: N/A, Hosts: 2
    01/26/2009 09:02:58 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    01/26/2009 09:02:58 PM - CMDPHP: Poller[0] Host[2] DS[12] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 6, output: 0
    01/26/2009 09:02:58 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 6'
    01/26/2009 09:02:58 PM - CMDPHP: Poller[0] Host[2] DS[12] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 6, output: 0
    01/26/2009 09:02:58 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 6'
    01/26/2009 09:02:57 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 09:02:57 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 09:02:57 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /srv/www/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 79028
    01/26/2009 09:02:57 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.08 ms)
    01/26/2009 09:02:57 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 09:02:57 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 09:02:57 PM - PHPSVR: Poller[0] DEBUG: FILENM: /srv/www/htdocs/cacti/script_server.php
    01/26/2009 09:02:57 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /srv/www/htdocs/cacti
    01/26/2009 09:02:57 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /srv/www/htdocs/cacti
    01/26/2009 09:02:57 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
    01/26/2009 09:02:57 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q "/srv/www/htdocs/cacti/cmd.php" 0 2]
    01/26/2009 09:01:58 PM - SYSTEM STATS: Time:1.1112 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:2 RRDsProcessed:2
    01/26/2009 09:01:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/localhost_proc_7.rrd --template proc 1233000117:148
    01/26/2009 09:01:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/adsl_pdo_nl_hdd_used_11.rrd --template hdd_total:hdd_used 1233000117:0:0
    01/26/2009 09:01:58 PM - CMDPHP: Poller[0] Time: 0.6455 s, Theads: N/A, Hosts: 2
    01/26/2009 09:01:58 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    01/26/2009 09:01:58 PM - CMDPHP: Poller[0] Host[2] DS[11] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 3, output: 0
    01/26/2009 09:01:58 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 3'
    01/26/2009 09:01:58 PM - CMDPHP: Poller[0] Host[2] DS[11] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 3, output: 0
    01/26/2009 09:01:58 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 3'
    01/26/2009 09:01:57 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 09:01:57 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 09:01:57 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /srv/www/htdocs/cacti/scripts/unix_processes.pl, output: 148
    01/26/2009 09:01:57 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.09 ms)
    01/26/2009 09:01:57 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 09:01:57 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 09:01:57 PM - PHPSVR: Poller[0] DEBUG: FILENM: /srv/www/htdocs/cacti/script_server.php
    01/26/2009 09:01:57 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /srv/www/htdocs/cacti
    01/26/2009 09:01:57 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /srv/www/htdocs/cacti
    01/26/2009 09:01:57 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
    01/26/2009 09:01:57 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q "/srv/www/htdocs/cacti/cmd.php" 0 2]
    01/26/2009 09:00:58 PM - SYSTEM STATS: Time:1.1362 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:2 RRDsProcessed:2
    01/26/2009 09:00:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/adsl_pdo_nl_hdd_used_10.rrd --template hdd_used:hdd_total 1233000057:0:0
    01/26/2009 09:00:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/localhost_users_6.rrd --template users 1233000057:4
    01/26/2009 09:00:58 PM - CMDPHP: Poller[0] Time: 0.6208 s, Theads: N/A, Hosts: 2
    01/26/2009 09:00:58 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    01/26/2009 09:00:58 PM - CMDPHP: Poller[0] Host[2] DS[10] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 2, output: 0
    01/26/2009 09:00:58 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 2'
    01/26/2009 09:00:58 PM - CMDPHP: Poller[0] Host[2] DS[10] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 2, output: 0
    01/26/2009 09:00:58 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 2'
    01/26/2009 09:00:57 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 09:00:57 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 09:00:57 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /srv/www/htdocs/cacti/scripts/unix_users.pl , output: 4
    01/26/2009 09:00:57 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.09 ms)
    01/26/2009 09:00:57 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 09:00:57 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 09:00:57 PM - PHPSVR: Poller[0] DEBUG: FILENM: /srv/www/htdocs/cacti/script_server.php
    01/26/2009 09:00:57 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /srv/www/htdocs/cacti
    01/26/2009 09:00:57 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /srv/www/htdocs/cacti
    01/26/2009 09:00:57 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
    01/26/2009 09:00:57 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q "/srv/www/htdocs/cacti/cmd.php" 0 2]
    01/26/2009 09:00:01 PM - POLLER: Poller[0] NOTE: Cron is configured to run too often! The Poller Interval is '60' seconds, with a minimum Cron period of '60' seconds, but only 4 seconds have passed since the poller last ran.
    01/26/2009 09:00:01 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '300', Time Since Last: '4', Max Runtime '298', Poller Runs: '5'
    01/26/2009 08:59:58 PM - SYSTEM STATS: Time:1.1265 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:2 RRDsProcessed:2
    01/26/2009 08:59:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/adsl_pdo_nl_proc_9.rrd --template proc 1232999997:78
    01/26/2009 08:59:58 PM - CMDPHP: Poller[0] Time: 0.3968 s, Theads: N/A, Hosts: 2
    01/26/2009 08:59:58 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: adsl.pdo.nl, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 78
    01/26/2009 08:59:57 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 08:59:57 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 08:59:57 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1232999997:0.04:0.11:0.09
    01/26/2009 08:59:57 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.09' [map 10min->load_15min]
    01/26/2009 08:59:57 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.11' [map 5min->load_5min]
    01/26/2009 08:59:57 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.04' [map 1min->load_1min]
    01/26/2009 08:59:57 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /srv/www/htdocs/cacti/scripts/loadavg_multi.pl, output: 1min:0.04 5min:0.11 10min:0.09
    01/26/2009 08:59:57 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.08 ms)
    01/26/2009 08:59:57 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q "/srv/www/htdocs/cacti/cmd.php" 0 2]
    01/26/2009 08:59:57 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 10, Data Sources: mem_buffers(DS[3]), mem_swap(DS[4]), proc(DS[7]), users(DS[8]), hdd_total(DS[11]), hdd_used(DS[11]), hdd_total(DS[12]), hdd_used(DS[12]), hdd_total(DS[13]), hdd_used(DS[13])
    01/26/2009 08:59:57 PM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '300', Time Since Last: '295', Max Runtime '298', Poller Runs: '5'
    01/26/2009 08:59:53 PM - CMDPHP: Poller[0] Time: 0.6588 s, Theads: N/A, Hosts: 2
    01/26/2009 08:59:53 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    01/26/2009 08:59:53 PM - CMDPHP: Poller[0] Host[2] DS[13] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 7, output: 0
    01/26/2009 08:59:53 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 7'
    01/26/2009 08:59:53 PM - CMDPHP: Poller[0] Host[2] DS[13] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 7, output: 0
    01/26/2009 08:59:53 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 7'
    01/26/2009 08:59:53 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: adsl.pdo.nl, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 9
    01/26/2009 08:59:53 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 08:59:53 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 08:59:52 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /srv/www/htdocs/cacti/scripts/linux_memory.pl SwapFree:, output: 318544
    01/26/2009 08:59:52 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.1 ms)
    01/26/2009 08:59:52 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 08:59:52 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 08:59:52 PM - PHPSVR: Poller[0] DEBUG: FILENM: /srv/www/htdocs/cacti/script_server.php
    01/26/2009 08:59:52 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /srv/www/htdocs/cacti
    01/26/2009 08:59:52 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /srv/www/htdocs/cacti
    01/26/2009 08:59:52 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
    01/26/2009 08:59:51 PM - CMDPHP: Poller[0] Time: 0.6933 s, Theads: N/A, Hosts: 2
    01/26/2009 08:59:51 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    01/26/2009 08:59:51 PM - CMDPHP: Poller[0] Host[2] DS[12] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 6, output: 0
    01/26/2009 08:59:51 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 6'
    01/26/2009 08:59:51 PM - CMDPHP: Poller[0] Host[2] DS[12] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 6, output: 0
    01/26/2009 08:59:51 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 6'
    01/26/2009 08:59:50 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 08:59:50 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 08:59:50 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /srv/www/htdocs/cacti/scripts/linux_memory.pl MemFree:, output: 84408
    01/26/2009 08:59:50 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.21 ms)
    01/26/2009 08:59:50 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 08:59:50 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 08:59:50 PM - PHPSVR: Poller[0] DEBUG: FILENM: /srv/www/htdocs/cacti/script_server.php
    01/26/2009 08:59:50 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /srv/www/htdocs/cacti
    01/26/2009 08:59:50 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /srv/www/htdocs/cacti
    01/26/2009 08:59:50 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Time: 0.6971 s, Theads: N/A, Hosts: 2
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Host[2] DS[11] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 3, output: 0
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get total = 3'
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Host[2] DS[11] SERVER: /srv/www/htdocs/cacti/scripts/ss_host_disk.php ss_host_disk adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 3, output: 0
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: INC: '/srv/www/htdocs/cacti/scripts/ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'adsl.pdo.nl 2 1:165:500:1:10:Public:::MD5::DES: get used = 3'
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'adsl.pdo.nl'.
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /srv/www/htdocs/cacti/scripts/unix_processes.pl, output: 145
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] Host[1] PING: UDP Ping Success (0.08 ms)
    01/26/2009 08:59:14 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: FILENM: /srv/www/htdocs/cacti/script_server.php
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /srv/www/htdocs/cacti
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /srv/www/htdocs/cacti
    01/26/2009 08:59:14 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
[/list]
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Anyone any idee yet???

Thanks in advance!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please peform an snmpwalk against this device using the OID .1.3.6.1.2.1.25.2.3.1 and return results
Reinhard
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Hi thanks for your respond!

Here the output:
web:/srv/www/htdocs/cacti # snmpwalk -v 1 -c Public "HOST" .1.3.6.1.2.1.25.2.3.1
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: A:\
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial Number 18489201
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: D:\ Label: Serial Number 4c8dab0d
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: E:\
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: F:\
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Physical Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 3146731
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 14709507
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 87615
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 49140
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 2725410
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 13504267
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 40834
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 44898
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.7 = Counter32: 0
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Do you use standard SNMP Ports? Your snmpwalk seems to do. But the cacti stuff was parametrized to use port 165 instead of 161. Was this done on purpose?
Reinhard
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Yes i've changes the snmp port to 165 at some of my customers because because my provider doen;t accept 161 to be open.

It has worked fine in earlier cacti versions.
Since i've tried to upgrade the cpu and disk aren't read so i tried a clean install. And here the same.

Allso a host on port 161 is giving me the same results:

web:/srv/www/htdocs/cacti # snmpwalk -v 1 -c Marcel marcel .1.3.6.1.2.1.25.2.3.1
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8
HOST-RESOURCES-MIB::hrStorageIndex.9 = INTEGER: 9
HOST-RESOURCES-MIB::hrStorageIndex.10 = INTEGER: 10
HOST-RESOURCES-MIB::hrStorageIndex.11 = INTEGER: 11
HOST-RESOURCES-MIB::hrStorageIndex.12 = INTEGER: 12
HOST-RESOURCES-MIB::hrStorageIndex.13 = INTEGER: 13
HOST-RESOURCES-MIB::hrStorageIndex.14 = INTEGER: 14
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.7 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.8 = OID: HOST-RESOURCES-TYPES::hrStorageCompactDisc
HOST-RESOURCES-MIB::hrStorageType.9 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.10 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.11 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.12 = OID: HOST-RESOURCES-TYPES::hrStorageRemovableDisk
HOST-RESOURCES-MIB::hrStorageType.13 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.14 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: A:\
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial Number 7c9d8a11
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: D:\ Label:DATA Serial Number 66d37b55
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: E:\ Label:RECOVERY Serial Number 2c027c72
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: F:\
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: G:\ Label:U3 System Serial Number 99ad9a44
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: H:\ Label: Serial Number e27e7a12
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: I:\ Label:CD_ROM Serial Number 2f2089c2
HOST-RESOURCES-MIB::hrStorageDescr.9 = STRING: J:\
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: K:\
HOST-RESOURCES-MIB::hrStorageDescr.11 = STRING: L:\
HOST-RESOURCES-MIB::hrStorageDescr.12 = STRING: M:\
HOST-RESOURCES-MIB::hrStorageDescr.13 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.14 = STRING: Physical Memory
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 32768 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 2048 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.9 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.11 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.12 = INTEGER: 0 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.13 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.14 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 155741695
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 244189951
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 524287
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 2788
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 62484
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 253779
HOST-RESOURCES-MIB::hrStorageSize.9 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.11 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.12 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.13 = INTEGER: 224508
HOST-RESOURCES-MIB::hrStorageSize.14 = INTEGER: 129995
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 48750960
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 206229500
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 177197
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 2788
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 62095
HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 253779
HOST-RESOURCES-MIB::hrStorageUsed.9 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.11 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.12 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.13 = INTEGER: 71861
HOST-RESOURCES-MIB::hrStorageUsed.14 = INTEGER: 96688
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.7 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.8 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.9 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.10 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.11 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.12 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.13 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.14 = Counter32: 0
web:/srv/www/htdocs/cacti #
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please drop attached ss_host_cpu.php as such into the scripts folder. I had to rename it to .txt due to phpBB, so do not forget to remove that
Reinhard
Attachments
ss_host_cpu.php.txt
updated script
(4.85 KiB) Downloaded 166 times
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Hi Gandalf,

Thanks for your reply!

I've replaced the file but still no CPU's found also not in a debug query:
  • + Running data query [9].
    + Found type = '6 '[script query].
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
    + XML file parsed ok.
    + Executing script for list of indexes '/usr/bin/php5 -q /srv/www/htdocs/cacti/scripts/ss_host_cpu.php 192.168.1.6 3 1:161:500:1:10:Marcel:::MD5::DES: index'
    + Executing script query '/usr/bin/php5 -q /srv/www/htdocs/cacti/scripts/ss_host_cpu.php 192.168.1.6 3 1:161:500:1:10:Marcel:::MD5::DES: query index'
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
    + Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_cpu.xml'
here a screenshot attached because it's still not working:

I hope you've got more ideas?

Thanks in advace[/list]
Attachments
cpu.jpg
cpu.jpg (195.42 KiB) Viewed 5223 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

My last resort would be to run a wireshark trace when performing a verbose query
Reinhard
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Thanks for the reply.

Can you please tell me how to perform one?

Thanks in advance.

MArcel
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Oh my. I can do it. But it's way too difficult to explain each and every step if you are not familiar with network tracing
Reinhard
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Ok thx again.

But what if we take it one step back...

The earlier version of Cacti was working fine including thold and monitoring.

Why is this version nog working?

Could there be a difference between them that makes this hapen?

Thanks in Advance.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sure. But it works here. So I wonder if e.g. SNMP specifics at your side are root cause. A trace would show that
Reinhard
User avatar
mmartens
Cacti User
Posts: 110
Joined: Tue May 24, 2005 6:23 pm

Post by mmartens »

Ok i've installed wireshark on my sles10 machine and performed an snmpget:

Code: Select all

snmpwalk -v 1 -c Marcel 192.168.1.6 .1.3.6.1.2.1.25.3.3.1
this is the output:
  • web:/srv/www/htdocs # snmpwalk -v 1 -c Marcel 192.168.1.6 .1.3.6.1.2.1.25.3.3.1
    HOST-RESOURCES-MIB::hrProcessorFrwID.14 = OID: SNMPv2-SMI::zeroDotZero
    HOST-RESOURCES-MIB::hrProcessorFrwID.15 = OID: SNMPv2-SMI::zeroDotZero
    HOST-RESOURCES-MIB::hrProcessorFrwID.16 = OID: SNMPv2-SMI::zeroDotZero
    HOST-RESOURCES-MIB::hrProcessorFrwID.17 = OID: SNMPv2-SMI::zeroDotZero
    HOST-RESOURCES-MIB::hrProcessorLoad.14 = INTEGER: 4
    HOST-RESOURCES-MIB::hrProcessorLoad.15 = INTEGER: 9
    HOST-RESOURCES-MIB::hrProcessorLoad.16 = INTEGER: 8
    HOST-RESOURCES-MIB::hrProcessorLoad.17 = INTEGER: 9
    web:/srv/www/htdocs #
I've attached the wireshark file as wireshark.cap in a zip file.

I can not find any errors so please advice what the next step is?

Thanks in advance
Attachments
wireshark.zip
(377.38 KiB) Downloaded 135 times
jcwelch
Posts: 7
Joined: Thu Jan 25, 2007 5:08 pm

Post by jcwelch »

I think the problem here is with the scripts, i.e. ss_host_cpu.php, and it happened between .8.7b and .8.7c

There's a change in the scripts that is creating massive snmp utility errors in those scripts. I'm seeing tons of the following when I run poller.php manually:

Invalid authentication protocol specified after -a flag: snmpv3password

Which tells me that either the protocol password OR the privacy password is getting shoved in the authentication protocol variable. this happens regardless of protocol setting.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests