nv-l
[Top] [All Lists]

Re: [nv-l] Loadhosts?

To: "Netview List" <nv-l@lists.tivoli.com>
Subject: Re: [nv-l] Loadhosts?
From: "John M Gatrell" <John.Gatrell@uk.ibm.com>
Date: Wed, 3 Sep 2003 09:20:13 +0100
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Wed, 03 Sep 2003 09:20:46 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-help@lists.tivoli.com>
List-post: <mailto:nv-l@lists.tivoli.com>
List-subscribe: <mailto:nv-l-subscribe@lists.tivoli.com>
List-unsubscribe: <mailto:nv-l-unsubscribe@lists.tivoli.com>
Mailing-list: contact nv-l-help@lists.tivoli.com; run by ezmlm

Try using the -m parameter to loadhosts

I use a script containing several loadhosts with different subnet masks
something like

loadhosts -a -p -m 255.255.252.0 <<EOF
10.14.1.1     Server1.mydomain.com
10.14.1.2     Server2.mydomain.com
EOF
loadhosts -a -p -m 255.255.255.0 <<EOF
10.15.1.1     ServerX.mydomain.com
EOF

John Gatrell, B.A. Physics, CCNA
RMSC - IBM UK's Remote Managed Services Centre
Tel:  0870-010-6284 Internal 814732
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web