Re: [Networker] generating a bootstrap file and email report
2004-12-07 15:35:13
>
> 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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Networker] generating a bootstrap file and email report, Gates, Robert L .
- Re: [Networker] generating a bootstrap file and email report, Gates, Robert L .
- Re: [Networker] generating a bootstrap file and email report, Gates, Robert L .
- Re: [Networker] generating a bootstrap file and email report,
Darren Dunham <=
- Re: [Networker] generating a bootstrap file and email report, Gates, Robert L .
- Re: [Networker] generating a bootstrap file and email report, Gates, Robert L .
- Re: [Networker] generating a bootstrap file and email report, Allan Nelson
- Re: [Networker] generating a bootstrap file and email report, Gates, Robert L .
|
|
|