4 Replies Latest reply: Jul 22, 2009 7:01 AM by clee201110141 RSS

Not autodiscovering interfaces

onunez Hot Shot
Currently Being Moderated
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
  • 1. Re: Not autodiscovering interfaces
    vikyvik71 Hot Shot
    Currently Being Moderated
    Hello,
    I had the same problem and I've reproduced the workaround too and works fine switching up the agents. I've tried dubugging too, and looks like the NetworkDeviceDetector discoveryServices is never called and services (interfaces in my case) never show up. I did not found any open related bug. How may I raise the attention on this issue? Thanks
  • 2. Re: Not autodiscovering interfaces
    excowboy Master
    Currently Being Moderated
    I have a similiar problem with custom SNMP plugins and if I remove the platform and create it again, all services are being auto-discovered correctly.

    Do you see the device  properties (contact name, description) after you've created and configured it ?

    Cheers,
    Mirko
  • 3. Re: Not autodiscovering interfaces
    vikyvik71 Hot Shot
    Currently Being Moderated
    Hi Mirko,
    yes I am able to create the server and to see the device properties, in the cases in which I dont see properties I force the autodiscovery from the GUI and the server is created without any problem. The first autodiscovery fails and my interfaces and services never show up unless I change my underlying agent, deleting and creating the platform doesnt help, I am using jboss4.2.3 hyperic 4.1.2.
    But in my opinion this is just one side of the overall problem: not only the initial autodiscovery fails but after that if new interfaces or services are added they will never be discovered even switching up the underlying agents. Hope this helps.
    I will investigate myself more in detail on this and let you know if I make any progress.
    Cheers,
    Vittorio
  • 4. Re: Not autodiscovering interfaces
    clee201110141 Expert
    Currently Being Moderated
    Hi Vittorio,

    I don't think the issue is the same as http://jira.hyperic.com/browse/HHQ-2494, as that issue addressed a problem during creating of the platform.  But if you are able to work around it by switching agents, then it would mean that the underlying platform creation created the proper virtual servers.  Let us know if you make any progress on diagnosing this problem.  Thanks.

    Charles

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 6 points

Share This Page