Re: [Bacula-users] client address in RunAfter Script
2011-02-06 06:25:18
On 2/6/2011 2:03 AM, Jan Lentfer wrote:
> Hi,
>
> I am in the need to know the client address / hostname (as configured
> in the Client definition) in a "Run After Job" script. According to the
> manual there are only these place holders:
>
> %c = Client's name
> %d = Director's name
> %e = Job Exit Status
> %i = JobId
> %j = Unique Job id
> %l = Job Level
> %n = Job name
> %s = Since time
> %t = Job type (Backup, ...)
> %v = Volume name (Only on director side)
>
>
> Anyone has already done something like that?
>
You should be able to parse the client address from the job name/desc
and/or grep from the .conf files, right?
Randy
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|