[Ovirt-devel] [PATCH node] RSyslog configuration for standalone mode.
Bryan Kearney
bkearney at redhat.com
Fri Nov 7 20:40:00 UTC 2008
Thank you for reviewing
Jim Meyering wrote:
> Bryan Kearney <bkearney at redhat.com> wrote:
>> +# check if we were called to attempt to default
>> +# to remote logging
>> +if [[ "$1" = "default" ]] ; then
>> + printf "\nAttempting to locate remote syslog server..."
>> + DEFAULT_SERVER=$(host -N 3 -t srv _syslog._udp | rev | awk '/VRS/ {print $1}' | cut -d. -f2- | rev)
>> + DEFAULT_PORT=$(host -N 3 -t srv _syslog._udp | rev | awk '/VRS/ {print $2}' | cut -d. -f2- | rev)
>
> What does the output of that host command look like
> when there is such a record?
Here is an example:
[bkearney at faceoff ~]$ host -N 3 -t srv _ipp._tcp
_ipp._tcp.rdu.redhat.com has SRV record 10 0 631 cups.rdu.redhat.com.
-- bk
More information about the ovirt-devel
mailing list