I'm testing a single device, and when the poller runs, discovery runs but it thinks that the device it discovers isn't running SNMP. This was working prior on PIA 2.8/Discovery 1.1. I cranked up the logs to debug and here's what I see:
Code: Select all
07/17/2011 02:29:01 PM - POLLER: Poller[0] Network Discover is now running
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select id,description from host where disabled != 'on'"
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT hostname FROM host"
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT description FROM host"
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "SELECT plugin_discover_template.*, host_template.name FROM plugin_discover_template LEFT JOIN host_template on (plugin_discover_template.host_template = host_template.id)"
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "delete from plugin_discover_hosts where time < 1310923741"
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update plugin_discover_hosts set up = 0"
07/17/2011 02:29:01 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "REPLACE INTO plugin_discover_hosts (hostname, ip, hash, community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, sysName, sysLocation, sysContact, sysDescr, sysUptime, os, snmp, up, time) VALUES ('', '10.219.49.13', '182137101', '', '2', '', '', '', '', '', '', '', '', '', '', 0, '', 0, 1,1310927341)"
07/17/2011 02:29:01 PM - DISCOVER: Poller[0] 1 IPs Scanned, 1 IPs Responded to Ping, 0 Responded to SNMP, 0 Device Added, 0 Graphs Added to Cacti
Also, for completeness:
[root@monitor01 log]# snmpwalk -v2c -c * 10.219.49.13 sysDescr
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, IOS-XE Software (PPC_LINUX_IOSD-ADVIPSERVICES-M), Version 15.1(1)S1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Thu 10-Feb-11 23:49 by mcpre
[root@monitor01 log]#