Dear All
By using 0.8.8c with server 2008R2 64bits
Also using cmd.php / Net-snmp
Problem after change the devices from snmp V2 to V3 (sha+Aes128)
1) using Paessler snmp tester , can run test success from server to devices
2) Status "Down" but inside SNMP / Ping has success
3) Some of the devices can be sloved by "Rebuild poller cache"
4) Below are debug log (for SNMP Get Timeout message also tried increase time already)
03/02/2015 05:32:22 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '9', 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, ICMP Ping Success (17 ms)', min_time = '7.00000', max_time = '3122.24500', cur_time = '15.30000', avg_time = '16.17117', total_polls = '47743', failed_polls = '65', availability = '99.863854387031' where hostname = '10.158.96.60'"
03/02/2015 05:32:22 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.158.96.60', and OID:'.1.3.6.1.2.1.1.3.0'
03/02/2015 05:28:03 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '8', 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, ICMP Ping Success (20 ms)', min_time = '7.00000', max_time = '3122.24500', cur_time = '15.30000', avg_time = '16.17117', total_polls = '47742', failed_polls = '64', availability = '99.8659461271' where hostname = '10.158.96.60'"
03/02/2015 05:28:03 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.158.96.60', and OID:'.1.3.6.1.2.1.1.3.0'
03/02/2015 05:24:17 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '7', 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, ICMP Ping Success (15 ms)', min_time = '7.00000', max_time = '3122.24500', cur_time = '15.30000', avg_time = '16.17117', total_polls = '47741', failed_polls = '63', availability = '99.868037954798' where hostname = '10.158.96.60'"
03/02/2015 05:24:17 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.158.96.60', and OID:'.1.3.6.1.2.1.1.3.0'
03/02/2015 05:20:04 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '6', 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, ICMP Ping Success (14 ms)', min_time = '7.00000', max_time = '3122.24500', cur_time = '15.30000', avg_time = '16.17117', total_polls = '47740', failed_polls = '62', availability = '99.87012987013' where hostname = '10.158.96.60'"
03/02/2015 05:20:04 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.158.96.60', and OID:'.1.3.6.1.2.1.1.3.0'
03/02/2015 05:16:04 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '5', 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, ICMP Ping Success (15 ms)', min_time = '7.00000', max_time = '3122.24500', cur_time = '15.30000', avg_time = '16.17117', total_polls = '47739', failed_polls = '61', availability = '99.872221873102' where hostname = '10.158.96.60'"
03/02/2015 05:16:04 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.158.96.60', and OID:'.1.3.6.1.2.1.1.3.0'
03/02/2015 05:14:46 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT poller_item.*, data_template_data.name_cache, host.description FROM data_template_data RIGHT JOIN (poller_item LEFT JOIN host ON poller_item.host_id=host.id) ON data_template_data.local_data_id=poller_item.local_data_id WHERE poller_item.local_data_id=data_template_data.local_data_id AND (data_template_data.name_cache LIKE '%%10.158.96.60%%' OR host.description LIKE '%%10.158.96.60%%' OR poller_item.arg1 LIKE '%%10.158.96.60%%' OR poller_item.hostname LIKE '%%10.158.96.60%%' OR poller_item.rrd_path LIKE '%%10.158.96.60%%') ORDER BY data_template_data.name_cache ASC, action ASC LIMIT 0,30"
03/02/2015 05:14:46 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT COUNT(*) FROM data_template_data RIGHT JOIN (poller_item LEFT JOIN host ON poller_item.host_id=host.id) ON data_template_data.local_data_id=poller_item.local_data_id WHERE poller_item.local_data_id=data_template_data.local_data_id AND (data_template_data.name_cache LIKE '%%10.158.96.60%%' OR host.description LIKE '%%10.158.96.60%%' OR poller_item.arg1 LIKE '%%10.158.96.60%%' OR poller_item.hostname LIKE '%%10.158.96.60%%' OR poller_item.rrd_path LIKE '%%10.158.96.60%%')"
03/02/2015 05:12:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '4', 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, ICMP Ping Success (14 ms)', min_time = '7.00000', max_time = '3122.24500', cur_time = '15.30000', avg_time = '16.17117', total_polls = '47738', failed_polls = '60', availability = '99.874313963719' where hostname = '10.158.96.60'"
03/02/2015 05:12:01 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.158.96.60', and OID:'.1.3.6.1.2.1.1.3.0'
Device status "Down" but Snmp/Ping up on snmpv3
Moderators: Developers, Moderators
Device status "Down" but Snmp/Ping up on snmpv3
- Attachments
-
- Untitled.png (25.19 KiB) Viewed 5168 times
Re: Device status "Down" but Snmp/Ping up on snmpv3
1) are you able to perform an snmp query with Net-SNMP tools (like snmpwalk) using v3 against those problematic devices using 1.3.6.1.2.1.1.3.0?
2) have you disabled php snmp extension so cacti is forced to use net-snmp?
2) have you disabled php snmp extension so cacti is forced to use net-snmp?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Device status "Down" but Snmp/Ping up on snmpv3
Dear BSOD2600
Thanks for advise...I have disable php.ini with below step, however is get more devices having trouble
1)edit php.ini => ;extension=php_snmp.dll => restart Apache => rebuild poller cache as well
2)Setting => poller and path shown as screenshot
Now all snmpV3 devices and some of snmpV2 devices are "DOWN"
Is there any missing step by using Net-SNMP? (does it support AES128 as not show AES protocol at -x)
Turn on debug and many message as below
03/03/2015 11:45:50 AM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1146', SQL:"SELECT * FROM manage_host where id='957' limit 1"
03/03/2015 11:45:38 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/03/2015 11:44:43 AM - CMDPHP: Poller[0] Host[1164] Description[Hostname-xxxxxxxxxxxxxx] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP, ICMP Ping Success (0 ms)
03/03/2015 11:43:33 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select field_name,field_value from host_snmp_cache where host_id= and snmp_query_id= and snmp_index=''"
Thanks for advise...I have disable php.ini with below step, however is get more devices having trouble
1)edit php.ini => ;extension=php_snmp.dll => restart Apache => rebuild poller cache as well
2)Setting => poller and path shown as screenshot
Now all snmpV3 devices and some of snmpV2 devices are "DOWN"
Is there any missing step by using Net-SNMP? (does it support AES128 as not show AES protocol at -x)
Turn on debug and many message as below
03/03/2015 11:45:50 AM - CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1146', SQL:"SELECT * FROM manage_host where id='957' limit 1"
03/03/2015 11:45:38 AM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
03/03/2015 11:44:43 AM - CMDPHP: Poller[0] Host[1164] Description[Hostname-xxxxxxxxxxxxxx] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP, ICMP Ping Success (0 ms)
03/03/2015 11:43:33 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select field_name,field_value from host_snmp_cache where host_id= and snmp_query_id= and snmp_index=''"
- Attachments
-
- Untitled.png (16.45 KiB) Viewed 5155 times
-
- Untitled.png (61.6 KiB) Viewed 5155 times
-
- Untitled.png (55.47 KiB) Viewed 5155 times
Re: Device status "Down" but Snmp/Ping up on snmpv3
Well another weird problem.....Apache service could not start after re-enable ;extension=php_snmp.dll => extension=php_snmp.dll
Some unknow reason cause by Net-snmp (because unintsall net-snmp) the apache able to restart
Another happen.....all my devices are work fine suddenly with snmpv3 (SHA +AES128) or SNMPv2
MY question is .......does NET-SNMP are necessary needed ? or PHP5.6.3 already able snmpV3 (sha+aes) ?
Some unknow reason cause by Net-snmp (because unintsall net-snmp) the apache able to restart
Another happen.....all my devices are work fine suddenly with snmpv3 (SHA +AES128) or SNMPv2
MY question is .......does NET-SNMP are necessary needed ? or PHP5.6.3 already able snmpV3 (sha+aes) ?
Re: Device status "Down" but Snmp/Ping up on snmpv3
I dont use snmpv3 so cant speak from experience. however at least in the past php didnt have support for snmpv3, which is why net-snmp must be used instead. http://forums.cacti.net/viewtopic.php?f=6&t=33216
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Device status "Down" but Snmp/Ping up on snmpv3
hi im using cacti version 0.8.8c. device status still unknown. please tell me any solution for that.tq
Who is online
Users browsing this forum: No registered users and 0 guests