nv-l

Re: Modifying status from script

1999-08-12 08:43:34
Subject: Re: Modifying status from script
From: Svend Bergmann <bergmann AT DK.IBM DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Thu, 12 Aug 1999 14:43:34 +0200

Mikael,
a possible solution could be that you make a collection containing all your
ISDN interfaces and make them unmanged causing Netview to stop pinging
them. Then you write a script that does a ping (during low-cost hours) to
your ISDN interfaces and sends a trap, writes an errorlog etc. when
something is wrong.

PS: I've tried to write a C program doing a managed/unmanaged from
commandline. It doesn't work! Unless it's started from the Netview GUI
(need pointer to map) - but that's not really a commandline...

Best regards,
Svend Bergmann
IBM Global Services,  Denmark



James Shanks <James_Shanks AT TIVOLI DOT COM> on 12-08-1999 14:28:07

Please respond to Discussion of IBM NetView and POLYCENTER Manager on
      NetView <NV-L AT UCSBVM.UCSB DOT EDU>

To:   NV-L AT UCSBVM.UCSB DOT EDU
cc:    (bcc: Svend Bergmann/Denmark/IBM)
Subject:  Re: Modifying status from script







What you are looking for doesn't exist.  There are no command line
utilities to
chnage an object from managed to unmanaged.

Perhaps some other user with ISDN lines will respond with how they handle
them.

James Shanks
Tivoli (NetView for UNIX) L3 Support



Mikael Dalsgard <mdalsgar AT sdata DOT no> on 08/12/99 06:36:39 AM

Please respond to Mikael Dalsgard <mdalsgar AT sdata DOT no>

To:   NV-L AT UCSBVM.UCSB DOT EDU
cc:    (bcc: James Shanks/Tivoli Systems)
Subject:  Modifying status from script




Hi!

Since we are using an ISDN-line, which we do not want to be open during
non-working hours (telephone charges here is high!), we want to be able to
stop
Netview from polling those devices on the other end of the link between say
16hrs and 8hrs. Is it possible to switch the status of specific nodes in
the
database from managed to unmanaged and v.v. from the commandline or a
script ?

The manuals are almost entirely describing GUI commands, and I can't find
that
any of the provided utilities (in /usr/OV/bin) are up to the job.

Sorry if this is a FAQ, but since I can't find an answer anywhere...!

--

Mikael Dalsgard
    ___ ___
   /  /\\  |
  /  /  /  | Phone  +4722185800  (+4722186426)
 /  / // /\|
/__/ // / \  Ark Norge AS
\__\// // /  Div. Skrivervik Data
 \--\  / /   P.o.box 3885  Ullev


ål Stadion
  \  \  /    0805 OSLO
   \__\/     Norway




<Prev in Thread] Current Thread [Next in Thread>