localhost and device status

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

Moderators: Developers, Moderators

kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

localhost and device status

Post by kernelphr34k »

Ok, so after working with cacti for about a month now, I've got graphs up, but Im running into a weird issue with two devices on my network. One of the devices I've never seen get out of the "down" status state. Two other of my devices are jumping from down to up depending on a poller setting. I have 3 devices; localhost, cisco 3750, cisco 4605.

Now the monitor box is on the .107 subnet, and my other devices are on the .107 subnet and 2 others. A .108 and .103. IP's are as 10.9.xxx.xxx. I can ping every device no problem.

Currently my localhost device shows up. Poller is set to Ping and SNMP, with UDP ping. using cmd.php. Now if I select SNMP, save and run a manual poll. "php5 poller.php" in a term window my localhost device will go down, and my 3750 switch will be up. First the device will say down, then recovering, then Up. Any of the settings I've tried I have yet to see my localhost, and my cisco 3750 devices being up at the same time. One is down, while the other is up.

I can repeat the process by putting my poller back to PING and SNMP, save, then run "php5 poller.php" three times and my localhost device will show that it's back up and the switch is back down. Whats the deal?

Should I look to switching to cactid?

Thanks for all the help, and suggestions!

Logs:

Code: Select all

 08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (89, 'traffic_in', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[89] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10107, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (88, 'traffic_out', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[88] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10106, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (88, 'traffic_in', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[88] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10106, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (87, 'traffic_out', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[87] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10105, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (87, 'traffic_in', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[87] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10105, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (86, 'traffic_out', '2007-08-09 20:42:54', '3920847860')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[86] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10104, output: 3920847860
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (86, 'traffic_in', '2007-08-09 20:42:54', '3076589513')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[86] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10104, output: 3076589513
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (85, 'traffic_out', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[85] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10103, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (85, 'traffic_in', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[85] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10103, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (84, 'traffic_out', '2007-08-09 20:42:54', '7515')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[84] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10102, output: 7515
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (84, 'traffic_in', '2007-08-09 20:42:54', '3285')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[84] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10102, output: 3285
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (83, 'traffic_in', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[83] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10101, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (83, 'traffic_out', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[83] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10101, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (82, 'traffic_in', '2007-08-09 20:42:54', '1460201477')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[82] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.108, output: 1460201477
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (82, 'traffic_out', '2007-08-09 20:42:54', '2036816650')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[82] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.108, output: 2036816650
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (81, 'traffic_out', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[81] SNMP: v1: 10.9.108.250, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (81, 'traffic_in', '2007-08-09 20:42:54', '0')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[81] SNMP: v1: 10.9.108.250, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 0
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (80, 'mem_free', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[80] SNMP: v1: 10.9.108.250, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[80] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (79, 'mem_cache', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[79] SNMP: v1: 10.9.108.250, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[79] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (78, 'mem_buffers', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[78] SNMP: v1: 10.9.108.250, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[78] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (77, 'load_5min', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[77] SNMP: v1: 10.9.108.250, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[77] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (76, 'load_15min', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[76] SNMP: v1: 10.9.108.250, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[76] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (75, 'load_1min', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[75] SNMP: v1: 10.9.108.250, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[75] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (74, 'proc', '2007-08-09 20:42:54', 'U')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[74] SNMP: v1: 10.9.108.250, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: U
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[74] WARNING: Result from SNMP not valid. Partial Result:
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (73, '5min_cpu', '2007-08-09 20:42:54', '5')"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] DS[73] SNMP: v1: 10.9.108.250, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 5
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='2042282244' where host_id='7' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] RECACHE: Processing 1 items in the auto reindex cache for '10.9.108.250'.
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: 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=7"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '2007-08-09 05:07:03', status_rec_date = '2007-08-09 08:30:52', status_last_error = 'default', min_time = '2.89000', max_time = '7.14000', cur_time = '4.41', avg_time = '4.3296460714286', total_polls = '244', failed_polls = '216', availability = '11.475409836066' where hostname = '10.9.108.250'"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[7] SNMP: Host responded to SNMP
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 7 AND host_id <= 7))"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Time: 1.0142 s, Theads: N/A, Hosts: 1
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 7 AND host_id <= 7) ORDER by host_id"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '1', status_event_count = '3194', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'Host did not respond to SNMP', min_time = '9.99999', max_time = '0.00000', cur_time = '0.00000', avg_time = '0.00000', total_polls = '3195', failed_polls = '3195', availability = '0' where hostname = 'hf3demo-sup4-a.hf.intel.com'"
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
08/09/2007 08:42:54 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 7 AND id <= 7) ORDER by id"
08/09/2007 08:42:53 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 7 7]
08/09/2007 08:42:53 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 2 AND host_id <= 2))"
08/09/2007 08:42:53 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 2 AND host_id <= 2) ORDER by host_id"
08/09/2007 08:42:53 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 2 AND id <= 2) ORDER by id"
08/09/2007 08:42:52 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 2 2]
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] Time: 0.0085 s, Theads: N/A, Hosts: 1
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '1', status_event_count = '11', status_fail_date = '2007-08-09 08:30:51', status_rec_date = '2007-08-09 05:07:00', status_last_error = 'Host did not respond to SNMP', min_time = '0.04000', max_time = '0.25000', cur_time = '0.09000', avg_time = '0.05005', total_polls = '3200', failed_polls = '37', availability = '98.84375' where hostname = '127.0.0.1'"
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 1 AND host_id <= 1))"
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 1 AND host_id <= 1) ORDER by host_id"
08/09/2007 08:42:52 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 1 AND id <= 1) ORDER by id"
08/09/2007 08:42:51 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 1 1]
08/09/2007 08:42:51 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:42:51 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
08/09/2007 08:42:51 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 0 AND host_id <= 0))"
08/09/2007 08:42:51 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 0 AND host_id <= 0) ORDER by host_id"
08/09/2007 08:42:51 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 0 AND id <= 0) ORDER by id"
08/09/2007 08:42:50 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 0 0]
08/09/2007 08:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
08/09/2007 08:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/srv/www/htdocs/cacti-0.8.6j')"
08/09/2007 08:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
08/09/2007 08:42:50 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
08/09/2007 08:42:42 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/09/2007 08:42:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/09/2007 08:42:42 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'"
08/09/2007 08:42:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/09/2007 08:42:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/09/2007 08:41:40 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/09/2007 08:41:40 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/09/2007 08:41:40 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'"
08/09/2007 08:41:40 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/09/2007 08:41:40 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/09/2007 08:41:00 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1186630859 --end=1186717259 --title="Workstation Switch 37 - Traffic - Gi1/0/13" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2007/08/08 20\:40\:59 To 2007/08/09 20\:40\:59\c" COMMENT:" \n" --vertical-label="bits per second" --slope-mode DEF:a="/srv/www/htdocs/cacti-0.8.6j/rra/workstation_switch_37_traffic_in_95.rrd":traffic_in:AVERAGE DEF:b="/srv/www/htdocs/cacti-0.8.6j/rra/workstation_switch_37_traffic_in_95.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:""

Code: Select all

 08/09/2007 08:51:52 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/09/2007 08:51:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/09/2007 08:51:52 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'"
08/09/2007 08:51:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/09/2007 08:51:52 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/09/2007 08:51:51 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/09/2007 08:51:51 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/09/2007 08:51:51 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'"
08/09/2007 08:51:51 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/09/2007 08:51:51 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id,name from graph_tree order by name"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT host.id, host.disabled, host.status, host.hostname, host.description, host.min_time, host.max_time, host.cur_time, host.avg_time, host.availability FROM host where (host.hostname like '%%%%' OR host.description like '%%%%') ORDER BY description ASC LIMIT 0,30"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select COUNT(host.id) from host where (host.hostname like '%%%%' OR host.description like '%%%%')"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id,name from host_template order by name"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
08/09/2007 08:51:44 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='3'"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
08/09/2007 08:51:44 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_command"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_output"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('stats_poller','Time:4.0617 Method:cmd.php Processes:5 Threads:N/A Hosts:4 HostsPerProcess:1 DataSources:176 RRDsProcessed:7')"
08/09/2007 08:51:42 PM - SYSTEM STATS: Time:4.0617 Method:cmd.php Processes:5 Threads:N/A Hosts:4 HostsPerProcess:1 DataSources:176 RRDsProcessed:7
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_hdd_free_39.rrd --template hdd_free:hdd_used 1186717899:U:U
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_hdd_free_36.rrd --template hdd_used:hdd_free 1186717899:3304156:111809532
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_mem_swap_35.rrd --template mem_swap 1186717899:2048276
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_mem_buffers_34.rrd --template mem_buffers 1186717899:112644
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_users_27.rrd --template users 1186717899:5
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_proc_26.rrd --template proc 1186717899:122
08/09/2007 08:51:42 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /srv/www/htdocs/cacti-0.8.6j/rra/localhost_ddcnetmon_load_1min_25.rrd --template load_1min:load_5min:load_15min 1186717899:0.24:0.21:0.13
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='39' and rrd_name='hdd_used' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='39' and rrd_name='hdd_free' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='36' and rrd_name='hdd_free' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='36' and rrd_name='hdd_used' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='35' and rrd_name='mem_swap' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='34' and rrd_name='mem_buffers' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='27' and rrd_name='users' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='26' and rrd_name='proc' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "delete from poller_output where local_data_id='25' and rrd_name='' and time='2007-08-09 20:51:39'"
08/09/2007 08:51:42 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.13' [map 10min->load_15min]
08/09/2007 08:51:42 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.21' [map 5min->load_5min]
08/09/2007 08:51:42 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.24' [map 1min->load_1min]
08/09/2007 08:51:42 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=25"
08/09/2007 08:51:42 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) "
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] Time: 0.4116 s, Theads: N/A, Hosts: 1
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '1', status_fail_date = '2007-08-09 08:51:42', status_rec_date = '2007-08-09 08:30:52', status_last_error = 'SNMP not performed due to setting or ping result., default', min_time = '2.89000', max_time = '7.14000', cur_time = '3.87000', avg_time = '4.33867', total_polls = '247', failed_polls = '217', availability = '12.145748987854' where hostname = '10.9.108.250'"
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] Host[7] SNMP: SNMP not performed due to setting or ping result.
08/09/2007 08:51:42 PM - CMDPHP: Poller[0] Host[7] PING: default
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 7 AND host_id <= 7))"
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 7 AND host_id <= 7) ORDER by host_id"
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 7 AND id <= 7) ORDER by id"
08/09/2007 08:51:41 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 7 7]
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] Time: 0.4082 s, Theads: N/A, Hosts: 1
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '1', status_event_count = '3197', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'SNMP not performed due to setting or ping result., default', min_time = '9.99999', max_time = '0.00000', cur_time = '0.00000', avg_time = '0.00000', total_polls = '3198', failed_polls = '3198', availability = '0' where hostname = 'hf3demo-sup4-a.hf.intel.com'"
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] Host[2] SNMP: SNMP not performed due to setting or ping result.
08/09/2007 08:51:41 PM - CMDPHP: Poller[0] Host[2] PING: default
08/09/2007 08:51:40 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 2 AND host_id <= 2))"
08/09/2007 08:51:40 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 2 AND host_id <= 2) ORDER by host_id"
08/09/2007 08:51:40 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 2 AND id <= 2) ORDER by id"
08/09/2007 08:51:40 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 2 2]
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Time: 0.1083 s, Theads: N/A, Hosts: 1
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (39, 'hdd_used', '2007-08-09 20:51:39', 'U')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[39] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/query_unix_partitions.pl get used /dev/hdb, output: U
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[39] WARNING: Result from CMD not valid. Partial Result:
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (39, 'hdd_free', '2007-08-09 20:51:39', 'U')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[39] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/query_unix_partitions.pl get available /dev/hdb, output: U
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[39] WARNING: Result from CMD not valid. Partial Result:
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (36, 'hdd_free', '2007-08-09 20:51:39', '111809532')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[36] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/query_unix_partitions.pl get available /dev/sda1, output: 111809532
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (36, 'hdd_used', '2007-08-09 20:51:39', '3304156')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[36] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/query_unix_partitions.pl get used /dev/sda1, output: 3304156
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (35, 'mem_swap', '2007-08-09 20:51:39', '2048276')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[35] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl SwapFree:, output: 2048276
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (34, 'mem_buffers', '2007-08-09 20:51:39', '112644')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[34] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/linux_memory.pl MemFree:, output: 112644
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (27, 'users', '2007-08-09 20:51:39', '5')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[27] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/unix_users.pl , output: 5
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (26, 'proc', '2007-08-09 20:51:39', '122')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[26] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/unix_processes.pl, output: 122
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id, rrd_name, time, output) values (25, '', '2007-08-09 20:51:39', '1min:0.24 5min:0.21 10min:0.13')"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] DS[25] CMD: perl /srv/www/htdocs/cacti-0.8.6j/scripts/loadavg_multi.pl, output: 1min:0.24 5min:0.21 10min:0.13
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: 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"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '2', status_event_count = '1', status_fail_date = '2007-08-09 08:30:51', status_rec_date = '2007-08-09 08:51:39', status_last_error = 'Host did not respond to SNMP', min_time = '0.04000', max_time = '0.25000', cur_time = '0.045', avg_time = '0.05004840391909', total_polls = '3203', failed_polls = '39', availability = '98.782391507961' where hostname = '127.0.0.1'"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] Host[1] PING: Host is alive
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 1 AND host_id <= 1))"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 1 AND host_id <= 1) ORDER by host_id"
08/09/2007 08:51:39 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 1 AND id <= 1) ORDER by id"
08/09/2007 08:51:39 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 1 1]
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())"
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Cell: " SELECT count(*) FROM poller_item WHERE (action=2 AND (host_id >= 0 AND host_id <= 0))"
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * from poller_item WHERE (host_id >= 0 AND host_id <= 0) ORDER by host_id"
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: " SELECT * FROM host WHERE (disabled = '' AND id >= 0 AND id <= 0) ORDER by id"
08/09/2007 08:51:38 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php5, ARGS: -q /srv/www/htdocs/cacti-0.8.6j/cmd.php 0 0]
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/srv/www/htdocs/cacti-0.8.6j')"
08/09/2007 08:51:38 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
[/code]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Which version of cacti? Fully patched?
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

opps, left some details out.

Yes, current version, fully patched.

Suse 10 2.6.16 kernel

I'm happy to provide whatever you need to help troubleshoot this issue. I'll be adding more devices, and graphs as soon as I can get over this hurdle :)

Thank you for you're help!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Would a tryout on cacti 0.8.6k Beta2 be ok for you? We've been struggeling with downed host detection for a while ...
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

localhost is currently up, while the switch shows down. I'm still playing with settings, and limits. But I wanted to share more info.

The switch status shows down, but I get this info:

Code: Select all

 Workstation Switch 37 (10.9.108.250)
SNMP Information
System: Cisco Internetwork Operating System Software IOS (tm) C3750 Software (C3750-I9-M), Version 12.1(14)EA1a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Tue 02-Sep-03 05:15 by antonino
Uptime: 2042865844 (236 days, 10 hours, 37 minutes)
I get NO snmp info for my localhost, it currently gives me "SNMP error" yet all graphs are funcitional.

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

Post by gandalf »

Which graphs are you running? SNMP stuff or scripts stuff only? Did you already consider my debugging howto, linked as the second link in my signature
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

I'm running all normal localhost graphs. No scripts. Just SNMP stuff! I.E load average, memory usage, processes, and traffic.

The switch I'm using all traffic on every port. Went to new graphs, selected the switch form the pull down. Below under data query showed every port/iface.. Soo im graphing all of those.

I'll go back through the debugging page in your sig again..

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

Post by gandalf »

kernelphr34k wrote:I'm running all normal localhost graphs. No scripts. Just SNMP stuff! I.E load average, memory usage, processes, and traffic.
Please forgive me to lay pressure on this point. It has constantly be a source of pain. Do you use the "Local Linux Machine" Host Template or really the "ucd/net SNMP ..." stuff? Please post a screenshot of the list from Graph Management. Thank you
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

gandalf, No need to appologize.. Lay the pressure on me. Gotta get this solved. hahaha

I've been using the "Local Linux Machine" template for the host box, and using the cisco router template for my csico's.

I've swaped around and used the "Generic SNMP-enabled Host" template for my linux box, and the cisco switch.

Screenshots attached. Let me know what else you need.

Thank you!

*edited community string :) ty
Attachments
localhost-device.png
localhost-device.png (154.03 KiB) Viewed 3959 times
workstation-switch-device.png
workstation-switch-device.png (152.62 KiB) Viewed 3959 times
Last edited by kernelphr34k on Fri Aug 10, 2007 1:55 pm, edited 1 time in total.
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

And the graph management screen....
Attachments
graph_mgmnt.png
graph_mgmnt.png (195.79 KiB) Viewed 3965 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please remove all images with community strings in there. It's a security issue.
I would like to use SNMP stuff only. So let's stick with that settings for localhost. You seem to have used the same community string for localhost as for cisco. I'm quite sure that your localhost uses some other community string (at least, the red SNMP error suggests so). To cope with this issue, please refer to the very useful doc of fmangeant at http://docs.cacti.net/node/411. This should help setting up localhost for SNMP usage. I'm quite sure that you will be happy with it.
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

gandalf wrote:Please remove all images with community strings in there. It's a security issue.
I would like to use SNMP stuff only. So let's stick with that settings for localhost. You seem to have used the same community string for localhost as for cisco. I'm quite sure that your localhost uses some other community string (at least, the red SNMP error suggests so). To cope with this issue, please refer to the very useful doc of fmangeant at http://docs.cacti.net/node/411. This should help setting up localhost for SNMP usage. I'm quite sure that you will be happy with it.
Reinhard
Images have been edited! thanks

So I'll stick to generic snmp for localhost? Community string should all be the same. i assume..

For poller, should i leave to ping and snmp?

Will go thru the docs, thanks!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

kernelphr34k wrote:So I'll stick to generic snmp for localhost
This would be fine for the moment being
Community string should all be the same. i assume..
No. This is set on a per-target-basis. Of course, you may choose to set the all the same. But this has to be done explicitely in /etc/snmp/snmpd.conf as givenm in the SNMP docs I've linked above
For poller, should i leave to ping and snmp?
I would recommend SNMP in this case (ping has some nasty drawbacks that would make things more complicated)
Reinhard
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

gandalf, thank you for your wisdom and assistance!
kernelphr34k
Posts: 46
Joined: Tue Jul 24, 2007 6:23 pm
Location: Oregon

Post by kernelphr34k »

wohoo!

my localhost and 1 of my cisco's now show up!

I had to add "agentaddresws tcp:161" in my snmpd.conf and then added in my localhost tcp:127.0.0.1. yay

Now I have to see why the 4506 switch still shows down. thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest