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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering, Discovery and Naming Options... beyond the manual. 2

Status
Not open for further replies.

411

MIS
Jan 24, 2000
1
US
I currently have HP Openview NNM- NT version up and running. When I do a discovery, it discovers everything. I have looked through the manual at different ways of filtering. I want to use the sysName in SNMP, but it only seems to allow the OID or IP. Also, I am setting up regional sub-maps... and am not really sure of what I am doing, but if I can filter by sysName then it will be easy enough to separate into regions. I also want to use the sysName (which pulls from the set hostname in the router, as I understand) to make a consistent naming convention (non-ip based). Ideally I would like to use part of the descriptor in the router, but I think that may be stepping over the bounds of Openview.<br>
<br>
Has anyone out there successfully used these filters & set naming conventions in Openview, who can help me figure all of this out?<br>

 
If you want to limit NNM discovery by host names (DNS, Hosts), the best way is to put the fully qualified DNS name into a file, then use a filter set reference to that file.

For example;

Sets {
Servers2bMgd &quot;&quot; { /filtersets/servers.fs }
// File name and extension can be anything!
}

Filters {
Servers2bMgd_f &quot;&quot; { &quot;IP Address&quot; in Servers2bMgd }
}

This should work for SNMP SysName also. Refer to Guide to Distribution and Scalability for filter file format/syntax.
 
My best advice is to call HP support. Unfortunately, if they're having a bad day, they'll tell you that defining filters falls under a consulting-for-fee category. It's been a while since I was on the team, but I recall that certain fields are not filterable during discovery, as NNM only obtains a subset of the system MIB branch during discovery, prior to populating it's database with the node. I'm not sure if sysName is one of those. If it is, then you should have little problem using unix Regular Expressions in filters for sysNames. Do a search for &quot;RegEx quick reference&quot; on the net. These are like DOS wildcards (on steroids). Don't forget to both enclose them in quotes and escape them with the '\' char. Also, filters are inclusive, and all-or-nothing... if any single interface passes a filter, the entire network device passes as well.

Good luck!

jschmitt@neteffectcorp.com
 
I am more or less a beginner w/ NNM. I am trying to set up what I perceive is a straightforward OV-NNM setup: Monitor all our of WANs 200 routers. I have created a seed file with simply 5 of our core routers. However, the only ones that appears are local to the NNM server. I am not able to discover say a router from New York. I get a message to the effect of: Unable to add interface x.x.x.x from the seed file: unable to determine subnet mask for new network. My understanding is I can simply place the IP address of the router and away we go. Obviously not the case. I have tried loadhosts but I get an error to the effect ofC:\>loadhosts -m 255.255.255.255 c:\windows\system32\drivers\etc
ERROR: Could not open input file c:\windows\system32\drivers\etc: Permission denied". I have full rights to this box so I do not understand why I would get such an error.

Any help would be greatly appreciated.

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top