Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loadhosts command doesn't load nodes

Status
Not open for further replies.

adige2005

Technical User
Mar 22, 2005
6
IT
NNM 6.2 on a Solaris 2.8.
I execute a loadhosts command and apparently it works correctly, but when I run an "ovtopodump" command, I don't find the loaded node.
See the following commands:

step 1: node in dns

root@srvgs01:/tmp/cisiamo# nslookup gs-mpls-iper-massa-r1.gs.it
Server: srvgs01.gs.it
Address: 10.10.11.2

Name: gs-mpls-iper-massa-r1.gs.it
Address: 192.168.193.13

step 2: loadhosts command apparently works correctly.

root@srvgs01:/tmp/cisiamo# loadhosts -v << EOF
> 192.168.193.13 gs-mpls-iper-massa-r1.gs.it
> EOF
1) Created gs-mpls-iper-massa-r1.gs.it (id = 103529)
1) Added 192.168.193.13 (id = 103530) to gs-mpls-iper-massa-r1.gs.it

1 new nodes added
1 new interfaces added


step 3: node doesn't appear in nnm db

root@srvgs01:/tmp/cisiamo# ovtopodump -RISC gs-mpls-iper-massa-r1.gs.it
OBJECT ID(S) OBJECT STATUS IP ADDRESS STATION
ERROR: Could not find object named gs-mpls-iper-massa-r1.gs.it.
root@srvgs01:/tmp/cisiamo# ovtopodump -RISC 192.168.193.13
OBJECT ID(S) OBJECT STATUS IP ADDRESS STATION
ERROR: Could not find object named 192.168.193.13.
root@srvgs01:/tmp/cisiamo# ovobjprint -o 103529

****** NO SUCH OBJECT ID ******

Of course, I run many time "ovtopofix -a" command, "ovw -mapcount -ruvD", "xnmsnmpconf -clearC", "ovstop -v" and "ovstart -v", and further I open many times map to let synchronization.

Any suggestion, please?
Thanks a lot
 
adige2005. try these steps:

# ovstop netmon
# loadhosts -m device's mask (255.255.255.0 for example)
ip-address FQDN-hostname
CTRL-C
#ovstart netmon

Go to NNM map and find this device by IP address or Hostname. Perform a demandpoll.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top