Discussion:
[opennms-discuss] Resolving ip to host name once the node is discovered.
adam amith
2007-02-03 11:44:31 UTC
Permalink
Hello,

I have finally succeeded in installing opennms, but i have a problem.
I cannot get any SNMP info from the devices.
Here is the info -
Tomcat 4.1.x, Postgres, Opennms 2.8, O.S=Solaris 10
My discovery file logs:
007-02-03 05:13:17,485 INFO [PingManager--16657] PingManager: Starting the PingManager
2007-02-03 05:13:17,486 DEBUG [Discovery:SuspectEventGenerator] SuspectEventGenerator: run: Thread Started
2007-02-03 05:13:17,486 DEBUG [PingManager.Pinger-0] IPGenerator: doWait(initial): entry time 1170501197486
2007-02-03 05:13:17,487 DEBUG [PingManager.Pinger-0] IPGenerator: doWait(initial): maximum wait = 300613
2007-02-03 05:18:18,110 DEBUG [PingManager.Pinger-0] IPGenerator: doWait(initial): finished wait loop
2007-02-03 05:18:18,110 DEBUG [PingManager.Pinger-0] IPGenerator: doWait(initial): wait over, setting complete flag
2007-02-03 05:18:18,110 DEBUG [PingManager.Pinger-0] DatabaseConnectionFactory: reusing previous connection [id=***@b957ea]
2007-02-03 05:18:18,110 DEBUG [PingManager.Pinger-0] DatabaseConnectionFactory: stack bottom is 240792ms old
2007-02-03 05:18:18,111 DEBUG [PingManager.Pinger-0] DatabaseConnectionFactory: stack size is 3
2007-02-03 05:18:18,114 DEBUG [PingManager.Pinger-0] DatabaseConnectionFactory$CachedConnection: adding connection back into pool [id=***@b957ea]
2007-02-03 05:18:18,114 DEBUG [PingManager.Pinger-0] IPGenerator: remove: end of iterator reached, resetting iterator
2007-02-03 05:18:18,114 DEBUG [PingManager.Pinger-0] IPGenerator: doWait(restart): entry time 1170501498114
2007-02-03 05:18:18,114 DEBUG [PingManager.Pinger-0] IPGenerator: doWait(restart): maximum wait = 86400000
2007-02-03 05:32:37,001 DEBUG [Discovery:BroadcastEventProcessor] EventIpcManagerDefaultImpl$ListenerThread: run: calling onEvent on Discovery:BroadcastEventProcessor for event uei.opennms.org/nodes/nodeGainedInterface
2007-02-03 05:32:37,001 DEBUG [Discovery:BroadcastEventProcessor] BroadcastEventProcessor: Received event: uei.opennms.org/nodes/nodeGainedInterface
2007-02-03 05:32:37,001 DEBUG [Discovery:BroadcastEventProcessor] BroadcastEventProcessor: Added 172.25.6.210 as discovered

My capd.log:
2007-02-03 05:37:20,788 DEBUG [Capsd Suspect Pool-fiber0] SuspectEventProcessor: createAndSendNodeGainedInterfaceEvent: successfully sent NodeGainedInterface event for interface: 172.25.6.194
2007-02-03 05:37:20,788 DEBUG [Capsd Suspect Pool-fiber0] SuspectEventProcessor: sendInterfaceEvents: processing supported services for 172.25.6.194
2007-02-03 05:37:20,788 DEBUG [Capsd Suspect Pool-fiber0] SuspectEventProcessor: SuspectEventProcessor for 172.25.6.194 completed.
2007-02-03 05:37:20,804 DEBUG [Capsd:BroadcastEventProcessor] EventIpcManagerDefaultImpl$ListenerThread: run: calling onEvent on Capsd:BroadcastEventProcessor for event uei.opennms.org/nodes/nodeAdded
2007-02-03 05:37:20,804 DEBUG [Capsd:BroadcastEventProcessor] BroadcastEventProcessor: Received event: uei.opennms.org/nodes/nodeAdded
2007-02-03 05:37:20,804 DEBUG [Capsd:BroadcastEventProcessor] DatabaseConnectionFactory: reusing previous connection [id=***@b957ea]
2007-02-03 05:37:20,805 DEBUG [Capsd:BroadcastEventProcessor] DatabaseConnectionFactory: stack bottom is 283720ms old
2007-02-03 05:37:20,805 DEBUG [Capsd:BroadcastEventProcessor] DatabaseConnectionFactory: stack size is 4
2007-02-03 05:37:20,807 DEBUG [Capsd:BroadcastEventProcessor] Scheduler: scheduleNode: adding node 5 with last poll time 2007-02-03 05:37:20.775
2007-02-03 05:37:20,808 DEBUG [Capsd:BroadcastEventProcessor] DatabaseConnectionFactory$CachedConnection: adding connection back into pool [id=***@b957ea]
2007-02-03 05:38:17,180 DEBUG [Capsd Scheduler] Scheduler: Scheduler.run: iterating over known nodes list to schedule...
2007-02-03 05:39:17,190 DEBUG [Capsd Scheduler] Scheduler: Scheduler.run: iterating over known nodes list to schedule...
2007-02-03 05:40:17,200 DEBUG [Capsd Scheduler] Scheduler: Scheduler.run: iterating over known nodes list to schedule.

All i want OPENNMS to do is the discover a specific IP address and reterive information like -
the node/host name, IP adddress of node,system location.system IOS version, system uptime,system contact and system description.

i can't figure this one out. it discovers the specific ip address but does not resolve it to name.
Where can i set this resution?

Thanks in advance


---------------------------------
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
ayresw
2007-02-03 15:10:01 UTC
Permalink
Adam,

See "Data Collection Configuration How-To" at
http://www.opennms.org/index.php/Data_Collection_Configuration_How-To

Also check that DNS returns a host name for your discovered IP address.

--Bill--
Post by adam amith
Hello,
I have finally succeeded in installing opennms, but i have a problem.
I cannot get any SNMP info from the devices.
Here is the info -
Tomcat 4.1.x, Postgres, Opennms 2.8, O.S=Solaris 10
Starting the PingManager
2007-02-03 05:13:17,486 DEBUG [Discovery:SuspectEventGenerator]
SuspectEventGenerator: run: Thread Started
doWait(initial): entry time 1170501197486
doWait(initial): maximum wait = 300613
doWait(initial): finished wait loop
doWait(initial): wait over, setting complete flag
2007-02-03 05:18:18,110 DEBUG [PingManager.Pinger-0]
DatabaseConnectionFactory: reusing previous connection
2007-02-03 05:18:18,110 DEBUG [PingManager.Pinger-0]
DatabaseConnectionFactory: stack bottom is 240792ms old
2007-02-03 05:18:18,111 DEBUG [PingManager.Pinger-0]
DatabaseConnectionFactory: stack size is 3
2007-02-03 05:18:18,114 DEBUG [PingManager.Pinger-0]
DatabaseConnectionFactory$CachedConnection: adding connection back
remove: end of iterator reached, resetting iterator
doWait(restart): entry time 1170501498114
doWait(restart): maximum wait = 86400000
2007-02-03 05:32:37,001 DEBUG [Discovery:BroadcastEventProcessor]
EventIpcManagerDefaultImpl$ListenerThread: run: calling onEvent on
Discovery:BroadcastEventProcessor for event
uei.opennms.org/nodes/nodeGainedInterface
2007-02-03 05:32:37,001 DEBUG [Discovery:BroadcastEventProcessor]
uei.opennms.org/nodes/nodeGainedInterface
2007-02-03 05:32:37,001 DEBUG [Discovery:BroadcastEventProcessor]
BroadcastEventProcessor: Added 172.25.6.210 as discovered
2007-02-03 05:37:20,788 DEBUG [Capsd Suspect Pool-fiber0]
172.25.6.194
2007-02-03 05:37:20,788 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: sendInterfaceEvents: processing supported
services for 172.25.6.194
2007-02-03 05:37:20,788 DEBUG [Capsd Suspect Pool-fiber0]
SuspectEventProcessor: SuspectEventProcessor for 172.25.6.194
completed.
2007-02-03 05:37:20,804 DEBUG [Capsd:BroadcastEventProcessor]
EventIpcManagerDefaultImpl$ListenerThread: run: calling onEvent on
Capsd:BroadcastEventProcessor for event
uei.opennms.org/nodes/nodeAdded
2007-02-03 05:37:20,804 DEBUG [Capsd:BroadcastEventProcessor]
uei.opennms.org/nodes/nodeAdded
2007-02-03 05:37:20,804 DEBUG [Capsd:BroadcastEventProcessor]
DatabaseConnectionFactory: reusing previous connection
2007-02-03 05:37:20,805 DEBUG [Capsd:BroadcastEventProcessor]
DatabaseConnectionFactory: stack bottom is 283720ms old
2007-02-03 05:37:20,805 DEBUG [Capsd:BroadcastEventProcessor]
DatabaseConnectionFactory: stack size is 4
2007-02-03 05:37:20,807 DEBUG [Capsd:BroadcastEventProcessor]
Scheduler: scheduleNode: adding node 5 with last poll time 2007-02-03
05:37:20.775
2007-02-03 05:37:20,808 DEBUG [Capsd:BroadcastEventProcessor]
DatabaseConnectionFactory$CachedConnection: adding connection back
Scheduler.run: iterating over known nodes list to schedule...
Scheduler.run: iterating over known nodes list to schedule...
Scheduler.run: iterating over known nodes list to schedule.
All i want OPENNMS to do is the discover a specific IP address and
reterive information like -
the node/host name, IP adddress of node,system location.system IOS
version, system uptime,system contact and system description.
i can't figure this one out. it discovers the specific ip address but
does not resolve it to name.
Where can i set this resution?
Thanks in advance
______________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss
Loading...