Networker

Re: [Networker] generating a bootstrap file and email report

2004-12-09 15:15:03
Subject: Re: [Networker] generating a bootstrap file and email report
From: "Gates, Robert L ." <robert.l.gates AT PFIZER DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 9 Dec 2004 15:12:46 -0500
Yep,
That's what we do.
Bob

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Allan Nelson
Sent: Thursday, December 09, 2004 2:08 PM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] generating a bootstrap file and email report

As your scripts collected the info to a file for archival purposes,
can't you just add a line to it and get it to mail you the file?
Allan.

>>> robert.l.gates AT PFIZER DOT COM 09/12/04 14:23:37 >>>
Everyone,
Thanks for the many inputs that I received concerning my problem.
The problem turns out to be my own configuration. I was attempting to
add another notification (in addition to the default bootstrap
notification) that I called "bootstrap email". The notification was
set
up exactly like the default but the action line pointed to a script
that
would capture the input and generate a file (for archival purposes) as
well as send an email with the bootstrap report.
Legato informs me that we cannot do that. Only one bootstrap
notification can be set up. I deleted my "bootstrap email"
notification
and modified the default "bootstrap" notification to point to my
script.
This works. Too bad we cannot have more that one notification set up
for
bootstrap.
Thanks again,
Bob

-----Original Message-----
From: Roberta Butcher [mailto:rbutcher AT llnl DOT gov]
Sent: Tuesday, December 07, 2004 5:49 PM
To: Legato NetWorker discussion; Gates, Robert L .
Subject: Re: [Networker] generating a bootstrap file and email report


I have a perl script called send_bootstrap which begins:

#!/usr/bin/perl
@Bootstrap_Info = <>;           # This line gets bootstrap info


In the Action Field of Bootstrap notification:

/usr/local/admin/scripts/send_bootstrap

*** This seems to work ...

>Darren,
>My message should have read, it is attempting to fire up the script.
>I have not verified that it does so successfully. I'll give your
>suggestions below a try.
>Thanks,
>Bob
>
>-----Original Message-----
>From: Legato NetWorker discussion
[mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
>On Behalf Of Darren Dunham
>Sent: Tuesday, December 07, 2004 2:34 PM
>To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
>Subject: Re: [Networker] generating a bootstrap file and email report
>
>>
>>  Hi Darren,
>>
>>  It looks like my action field in the notification script is just
not
>>  working. It is firing up a perl script (yes we are on HP/UX).
>>  The action field seems to me to be the problem.
>
>It *is* firing up the script?  How are you detecting that?
>
>>  /usr/bin/sh -c '/usr/bin/cat | /opt/adm/scripts/Bootstrap_Notify'
>>  Is this out of line?
>
>It might work, but I always worry about quotes and stuff in the
action
>field itself.  Simply calling the script itself seems to be safer.  I
>can't remember when to escape the quotes.
>
>Does something like this work?
>
>Verify your perl script is executable.
>
>#!/usr/bin/perl
>open (OUT, ">/tmp/bootstrap");
>print OUT <>;
>
>action: /tmp/executable_perl_script
>
>Assuming you get the data in /tmp/bootstrap, then it's just a matter
of
>refining what the script does.
>
>--
>Darren Dunham
ddunham AT taos DOT com
>Senior Technical Consultant         TAOS
http://www.taos.com/
>Got some Dr Pepper?                           San Francisco, CA bay
area
>          < This line left intentionally blank to confuse you. >
>
>--
>Note: To sign off this list, send a "signoff networker" command via
>email
>to listserv AT listmail.temple DOT edu or visit the list's Web site at
>http://listmail.temple.edu/archives/networker.html where you can
>also view and post messages to the list. Questions regarding this
list
>should be sent to stan AT temple DOT edu
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
>--
>Note: To sign off this list, send a "signoff networker" command via
email
>to listserv AT listmail.temple DOT edu or visit the list's Web site at
>http://listmail.temple.edu/archives/networker.html where you can
>also view and post messages to the list. Questions regarding this
list
>should be sent to stan AT temple DOT edu
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=


--
Roberta Butcher
Lawrence Livermore National Laboratory
ICC/HPSD - Security Technologies Group
rbutcher AT llnl DOT gov
(925) 422-0167

--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via
email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=