When I add and configure a new Network Device or Cisco IOS it will not discover the network interfaces.
I did a little bit of digging and found this, it matches the problem I am having
http://jira.hyperic.com/browse/HHQ-2494
According to that, this problem has been fixed in 4.0.0 I think
But I am using HQ Version 4.1.0 build #1019 - Mar 04, 2009 - Release Build
and I get this problem
HQ Server/Agent 4.1.0 #1019 on Ubuntu 8.04 Server
I am able to get it working if I flip-flop agents in the configuration, lets say I set it up and select the local agent I will get all the problems below, I then switch to a different agent on the same LAN it will discover the interfaces, same thing will happen if I pick a different agent on the LAN at setup it will not work, it will work if I select the local host after. Once it discovers the interfaces I change it back to the agent I want.
I hope this helps some one
Log when item first created and configured correctly
2009-03-16 14:26:42,553 INFO [http-0.0.0.0-7080-3] [org.hyperic.hq.autoinventory.server.session.AIScheduleManagerEJBImpl@184] Scheduling job for immediate execution: JobDetail 'autoinventory.aiScan-10309-1-config-11825741-1237238802553': jobClass: 'org.hyperic.hq.autoinventory.server.session.AIScanJob isStateful: false isVolatile: true isDurable: false requestsRecovers: false
2009-03-16 14:26:42,642 INFO [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerEJBImpl@1253] Enabling default metrics for [1:10309]
2009-03-16 14:26:42,658 INFO [MeasurementEnabler1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:getMeasurements
2009-03-16 14:26:43,343 INFO [MeasurementEnabler1] [org.hyperic.hq.bizapp.server.session.EventsBossEJBImpl@1796] Inheriting type-based alert defs for 1:10309
2009-03-16 14:26:43,367 WARN [AgentScheduleSyncListener1] [org.hyperic.hq.measurement.server.session.AgentScheduleSynchronizer@84] Received eid=[1:10309] but was not found in cache
2009-03-16 14:26:43,401 INFO [AgentScheduleSyncListener1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:scheduleMeasurements
2009-03-16 14:27:01,149 INFO [AgentScheduleSyncListener1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:scheduleMeasurements
2009-03-16 14:27:02,753 INFO [AgentScheduleSyncListener1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:scheduleMeasurements
2009-03-16 14:27:11,454 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-5] [org.hyperic.hq.autoinventory.agent.client.LegacyAICommandsClientImpl@73] AICommandsClient.startScan for 127.0.1.1:2144
2009-03-16 14:27:11,456 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-5] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> autoinv:startScan
2009-03-16 14:27:12,487 INFO [Thread-2162] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@693] Received auto-inventory report from 10.102.0.1; IPs -> 10.102.0.1; CertDN -> CAM-AGENT-1237101907942-892538484463264382-4282005988992541130; (1 servers)
2009-03-16 14:27:12,510 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AI2AppdefDiff@105] Applying existing appdef attributes for device Cisco IOS=10.102.0.1
2009-03-16 14:27:12,592 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQSynchronizer@106] Queueing new platform: 10.102.0.1
2009-03-16 14:27:12,598 INFO [Thread-2162] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@758] Auto-approving inventory for 10.102.0.1
2009-03-16 14:27:12,623 INFO [Thread-2162] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> agent:ping
2009-03-16 14:27:12,967 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQRV_approve@86] Visiting platform: 10411 fqdn=10.102.0.1
2009-03-16 14:27:13,029 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQRV_approve@176] Appdef platform updated.
2009-03-16 14:27:13,119 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQRV_approve@423] Created server (null): {sortName=null runtimeAutodiscovery=false wasAutodiscovered=false autodiscoveryZombie=false configResponseId=null modifiedBy=hqadmin owner=hqadmin location=null name=10.102.0.1 Cisco 2600 RDV autoinventoryIdentifier=10.102.0.1 Cisco IOS installPath=/ description=null servicesAutomanaged=false id=null mTime=null cTime=null}
2009-03-16 14:27:13,138 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AI2AppdefDiff@105] Applying existing appdef attributes for device Cisco IOS=10.102.0.1
2009-03-16 14:27:13,179 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQSynchronizer@91] Removing unchanged Cisco 2600 RDV from queue.
Log when trying auto-dicovery on item
2009-03-16 14:29:23,908 INFO [http-0.0.0.0-7080-8] [org.hyperic.hq.autoinventory.server.session.AIScheduleManagerEJBImpl@184] Scheduling job for immediate execution: JobDetail 'autoinventory.aiScan-10309-1-config-8659667-1237238963907': jobClass: 'org.hyperic.hq.autoinventory.server.session.AIScanJob isStateful: false isVolatile: true isDurable: false requestsRecovers: false
2009-03-16 14:29:53,278 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-1] [org.hyperic.hq.autoinventory.agent.client.LegacyAICommandsClientImpl@73] AICommandsClient.startScan for 127.0.1.1:2144
2009-03-16 14:29:53,280 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> autoinv:startScan
2009-03-16 14:29:54,581 INFO [Thread-2167] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@693] Received auto-inventory report from 10.102.0.1; IPs -> 10.102.0.1; CertDN -> CAM-AGENT-1237101907942-892538484463264382-4282005988992541130; (1 servers)
2009-03-16 14:29:54,601 INFO [Thread-2167] [org.hyperic.hq.appdef.server.session.AI2AppdefDiff@105] Applying existing appdef attributes for device Cisco IOS=10.102.0.1
2009-03-16 14:29:54,666 INFO [Thread-2167] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@758] Auto-approving inventory for 10.102.0.1
2009-03-16 14:29:54,678 ERROR [Thread-2167] [org.hyperic.hq.appdef.server.session.AIQueueManagerEJBImpl@525] processQueue: platform with ID=null
Result of running java -jar pdk/lib/hq-product.jar -Dplugins.include=netdevice "-Dplatform.type=Network Device" -DsnmpIp=10.102.0.1 -DsnmpCommunity=****** -m discover
1 servers detected
Server: localhost localhost [/]
AIID.....localhost Cisco IOS
config...
product..{}
metric...{}
control..null
Runtime Resource Report...
Platform=Cisco IOS, fqdn=localhost (Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Tue 07-Dec-99 02:21 by phanguye)
config...
product..null
metric...null
control..null
cprops...{sysName=Rio_del_Valle_2600, sysLocation=, Version=12.0(7)T, sysContact=}
localhost localhost services:
localhost localhost Serial0/0 Interface (Se0/0)
config...
product..{interface=Serial0/0, interface.index=ifDescr}
metric...{}
control..null
cprops...{ifPhysAddress=0:0:0:0:0:0, ifSpeed=1536000, netmask=255.255.255.0, ifMtu=1500, ipaddress=10.99.0.2}
rt.......null
localhost localhost FastEthernet0/0 Interface (0:30:85:5d:fb:60) (Fa0/0)
config...
product..{interface=FastEthernet0/0, interface.index=ifDescr}
metric...{}
control..null
cprops...{ifPhysAddress=0:30:85:5d:fb:60, ifSpeed=100000000, netmask=255.255.0.0, ifMtu=1500, ipaddress=10.102.0.1}
rt.......null
localhost localhost Null0 Interface (Nu0)
config...
product..{interface=Null0, interface.index=ifDescr}
metric...{}
control..null
cprops...{ifPhysAddress=0:0:0:0:0:0, ifSpeed=4294967295, netmask=0.0.0.0, ifMtu=1500, ipaddress=0.0.0.0}
rt.......null
I did a little bit of digging and found this, it matches the problem I am having
http://jira.hyperic.com/browse/HHQ-2494
According to that, this problem has been fixed in 4.0.0 I think
But I am using HQ Version 4.1.0 build #1019 - Mar 04, 2009 - Release Build
and I get this problem
HQ Server/Agent 4.1.0 #1019 on Ubuntu 8.04 Server
I am able to get it working if I flip-flop agents in the configuration, lets say I set it up and select the local agent I will get all the problems below, I then switch to a different agent on the same LAN it will discover the interfaces, same thing will happen if I pick a different agent on the LAN at setup it will not work, it will work if I select the local host after. Once it discovers the interfaces I change it back to the agent I want.
I hope this helps some one
Log when item first created and configured correctly
2009-03-16 14:26:42,553 INFO [http-0.0.0.0-7080-3] [org.hyperic.hq.autoinventory.server.session.AIScheduleManagerEJBImpl@184] Scheduling job for immediate execution: JobDetail 'autoinventory.aiScan-10309-1-config-11825741-1237238802553': jobClass: 'org.hyperic.hq.autoinventory.server.session.AIScanJob isStateful: false isVolatile: true isDurable: false requestsRecovers: false
2009-03-16 14:26:42,642 INFO [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.MeasurementManagerEJBImpl@1253] Enabling default metrics for [1:10309]
2009-03-16 14:26:42,658 INFO [MeasurementEnabler1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:getMeasurements
2009-03-16 14:26:43,343 INFO [MeasurementEnabler1] [org.hyperic.hq.bizapp.server.session.EventsBossEJBImpl@1796] Inheriting type-based alert defs for 1:10309
2009-03-16 14:26:43,367 WARN [AgentScheduleSyncListener1] [org.hyperic.hq.measurement.server.session.AgentScheduleSynchronizer@84] Received eid=[1:10309] but was not found in cache
2009-03-16 14:26:43,401 INFO [AgentScheduleSyncListener1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:scheduleMeasurements
2009-03-16 14:27:01,149 INFO [AgentScheduleSyncListener1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:scheduleMeasurements
2009-03-16 14:27:02,753 INFO [AgentScheduleSyncListener1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> rtm:scheduleMeasurements
2009-03-16 14:27:11,454 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-5] [org.hyperic.hq.autoinventory.agent.client.LegacyAICommandsClientImpl@73] AICommandsClient.startScan for 127.0.1.1:2144
2009-03-16 14:27:11,456 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-5] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> autoinv:startScan
2009-03-16 14:27:12,487 INFO [Thread-2162] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@693] Received auto-inventory report from 10.102.0.1; IPs -> 10.102.0.1; CertDN -> CAM-AGENT-1237101907942-892538484463264382-4282005988992541130; (1 servers)
2009-03-16 14:27:12,510 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AI2AppdefDiff@105] Applying existing appdef attributes for device Cisco IOS=10.102.0.1
2009-03-16 14:27:12,592 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQSynchronizer@106] Queueing new platform: 10.102.0.1
2009-03-16 14:27:12,598 INFO [Thread-2162] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@758] Auto-approving inventory for 10.102.0.1
2009-03-16 14:27:12,623 INFO [Thread-2162] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> agent:ping
2009-03-16 14:27:12,967 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQRV_approve@86] Visiting platform: 10411 fqdn=10.102.0.1
2009-03-16 14:27:13,029 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQRV_approve@176] Appdef platform updated.
2009-03-16 14:27:13,119 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQRV_approve@423] Created server (null): {sortName=null runtimeAutodiscovery=false wasAutodiscovered=false autodiscoveryZombie=false configResponseId=null modifiedBy=hqadmin owner=hqadmin location=null name=10.102.0.1 Cisco 2600 RDV autoinventoryIdentifier=10.102.0.1 Cisco IOS installPath=/ description=null servicesAutomanaged=false id=null mTime=null cTime=null}
2009-03-16 14:27:13,138 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AI2AppdefDiff@105] Applying existing appdef attributes for device Cisco IOS=10.102.0.1
2009-03-16 14:27:13,179 INFO [Thread-2162] [org.hyperic.hq.appdef.server.session.AIQSynchronizer@91] Removing unchanged Cisco 2600 RDV from queue.
Log when trying auto-dicovery on item
2009-03-16 14:29:23,908 INFO [http-0.0.0.0-7080-8] [org.hyperic.hq.autoinventory.server.session.AIScheduleManagerEJBImpl@184] Scheduling job for immediate execution: JobDetail 'autoinventory.aiScan-10309-1-config-8659667-1237238963907': jobClass: 'org.hyperic.hq.autoinventory.server.session.AIScanJob isStateful: false isVolatile: true isDurable: false requestsRecovers: false
2009-03-16 14:29:53,278 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-1] [org.hyperic.hq.autoinventory.agent.client.LegacyAICommandsClientImpl@73] AICommandsClient.startScan for 127.0.1.1:2144
2009-03-16 14:29:53,280 INFO [org.hyperic.hq.scheduler.server.mbean.SchedulerService_Worker-1] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.1.1:2144 -> autoinv:startScan
2009-03-16 14:29:54,581 INFO [Thread-2167] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@693] Received auto-inventory report from 10.102.0.1; IPs -> 10.102.0.1; CertDN -> CAM-AGENT-1237101907942-892538484463264382-4282005988992541130; (1 servers)
2009-03-16 14:29:54,601 INFO [Thread-2167] [org.hyperic.hq.appdef.server.session.AI2AppdefDiff@105] Applying existing appdef attributes for device Cisco IOS=10.102.0.1
2009-03-16 14:29:54,666 INFO [Thread-2167] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl@758] Auto-approving inventory for 10.102.0.1
2009-03-16 14:29:54,678 ERROR [Thread-2167] [org.hyperic.hq.appdef.server.session.AIQueueManagerEJBImpl@525] processQueue: platform with ID=null
Result of running java -jar pdk/lib/hq-product.jar -Dplugins.include=netdevice "-Dplatform.type=Network Device" -DsnmpIp=10.102.0.1 -DsnmpCommunity=****** -m discover
1 servers detected
Server: localhost localhost [/]
AIID.....localhost Cisco IOS
config...
product..{}
metric...{}
control..null
Runtime Resource Report...
Platform=Cisco IOS, fqdn=localhost (Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IS-M), Version 12.0(7)T, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Tue 07-Dec-99 02:21 by phanguye)
config...
product..null
metric...null
control..null
cprops...{sysName=Rio_del_Valle_2600, sysLocation=, Version=12.0(7)T, sysContact=}
localhost localhost services:
localhost localhost Serial0/0 Interface (Se0/0)
config...
product..{interface=Serial0/0, interface.index=ifDescr}
metric...{}
control..null
cprops...{ifPhysAddress=0:0:0:0:0:0, ifSpeed=1536000, netmask=255.255.255.0, ifMtu=1500, ipaddress=10.99.0.2}
rt.......null
localhost localhost FastEthernet0/0 Interface (0:30:85:5d:fb:60) (Fa0/0)
config...
product..{interface=FastEthernet0/0, interface.index=ifDescr}
metric...{}
control..null
cprops...{ifPhysAddress=0:30:85:5d:fb:60, ifSpeed=100000000, netmask=255.255.0.0, ifMtu=1500, ipaddress=10.102.0.1}
rt.......null
localhost localhost Null0 Interface (Nu0)
config...
product..{interface=Null0, interface.index=ifDescr}
metric...{}
control..null
cprops...{ifPhysAddress=0:0:0:0:0:0, ifSpeed=4294967295, netmask=0.0.0.0, ifMtu=1500, ipaddress=0.0.0.0}
rt.......null