Hi,

Brilliant!

I found the rc.conf file in /mnt/kd and added my syslog server:

## Remote Syslog Config
## The machine below will receive all logging messages from this machine via
## syslog's remote logging features.
SYSLOGHOST="192.168.1.10"

I tried it with, and without, quotes. Rebooting between attempts. But
nothing is reaching the syslog server.

Then I got your update, and edited the user.conf file via the GUI. It must
be the right one because the system says: File opened for editing:
/mnt/kd/rc.conf.d/user.conf

I added the line:

### user.conf - start ###
###
###  Advanced Configuration: User System Variables
###
###  Define variables here that are not otherwise set in the Network tab.
###
###  Variables defined here will override any value set elsewhere.
###
###


SYSLOGHOST="192.168.1.10"

### user.conf - end ###

Then I restarted syslogd which all went without a hitch:

Nov 12 10:06:16 ASTERISK auth.info login[733]: root login on 'pts/0'
Nov 12 10:06:56 ASTERISK syslog.info syslogd exiting
Nov 12 10:06:57 ASTERISK syslog.info syslogd started: BusyBox v1.19.4

Still nothing on the remote syslog server. So I tried a reboot (just to be
sure).

And then she kicked into life!

Thank you so much!!

Kind regards,
Bart.


On 12 November 2017 at 09:57, Lonnie Abelbeck <li...@lonnie.abelbeck.com>
wrote:

> Bart,
>
> Just to be clear, add
>
> SYSLOGHOST="10.1.2.3"
>
> to your /mnt/kd/rc.conf.d/user.conf file.
>
> service netsyslogd stop
> gen-rc-conf
> service netsyslogd init
>
>
> Lonnie
>
>
> On Nov 11, 2017, at 2:33 PM, Lonnie Abelbeck <li...@lonnie.abelbeck.com>
> wrote:
>
> > Hi Bart,
> >
> > The place to discover hidden features is in the /stat/etc/rc.conf file,
> or using the web interface ...
> >
> > System tab ->  View System Files: [ Default System Variables ] click {
> View Selected File }
> > --
> > ## Remote Syslog Config
> > ## The machine below will receive all logging messages from this machine
> via
> > ## syslog's remote logging features.
> > #SYSLOGHOST=""
> > --
> >
> > I can't say I have ever used it, and keep in mind the syslog stream is
> not encrypted.
> >
> > Lonnie
> >
> >
> >
> > On Nov 11, 2017, at 2:06 PM, Bart Teekman <bart.teek...@gmail.com>
> wrote:
> >
> >> Hi,
> >>
> >> I'm a bit of a novice but have been running Astlinux for some years.
> I'm OK at the Asterisk part, but pretty lame at the Linux side, especially
> in a minimalist environment that's flooded with optimizations to prevent or
> contain permanent changes. I'm currently running astlinux-1.3.1 x86_64 -
> Asterisk 13.17.2 on an APU2.
> >>
> >> I'm wondering how to redirect all logs to an external syslog server.
> The most obvious (and easiest) avenue was to look at the GUI for an option
> to specify a remote syslog server but no such setting exists. The next step
> was to look for syslogd.conf (or similar) to see if I could fiddle
> that...but I couldn't find that either....
> >>
> >> So the questions are:
> >>
> >> 1. Can you redirect/copy all logs to a remote syslog server?
> >> 2. And if so, how?
> >>
> >> Cheers,
> >> Bart.
> >
> >
> >
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Astlinux-users mailing list
> > Astlinux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/astlinux-users
> >
> > Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
> >
> >
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to