UNSOLVED

_jdl

updated

15 years ago

_

_jdl

1 Rookie

•

2 Posts

0

4643

October 31st, 2011 12:00

Howto configure networker for remote syslog server

Howdy folks,

I need help figuring out if EMC Networker is capable (I think it must but google and the docs does not give me firm answers) of sending all its logs (including daemon.log/raw) to an external syslog server for archiving/processing?

Also if anyone has a working configuration to show me or/and can point me in the right direction to supporting docs books explaining (in detail) how to do this it would be much appreciated.

Cheers

JDL

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    2210

    0

    Posted November 1st, 2011 02:00

    On UNIX/Linux NW will use logger to log events as per syslog.conf configuration.  To push this out you will need syslog which supports it (we use syslog-ng for that purpose).

  • _jdl

    1 Rookie

    •

    2 Posts

    2210

    0

    Posted November 1st, 2011 06:00

    Alright are you also able to send the daemon.raw/log file directly to syslog? If so could you share the config line for that? Would be much appriciated.

  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    2210

    1

    Posted November 2nd, 2011 03:00

    I can't share exact config as it belongs to customer site, but link which will get you going are:

    http://www.quietearth.us/articles/2006/09/27/Logging-remote-host-to-specific-logfile-with-syslogng

    http://oreilly.com/pub/h/1366

    http://www.syslog.org/wiki/Syslog-ng/HowToGuides

    There is also forum (not very active, but then sng is not that difficult) which can be found at:

    http://www.syslog.org/forum/index.php/board,12.0.html

  • schinu

    1 Message

    1009

    0

    Posted April 6th, 2022 02:00

    a quick and dirty solution:

     

    For Networker (running on linux) you need to configure rsyslog to forward logs to remote syslog server (linux-us5 in my case)

    # vi /etc/rsyslog.conf

    …

    ..

    .

    # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional

    #*.* @@remote-host:514

    *.* @@linux-us5:514

    # ### end of the forwarding rule ###

     

    Also an application conf needs to be created on NW Server to define which application log is required to forward:

     

    [root@nw-server1 etc]# vi /etc/rsyslog.d/networker.conf

    $ModLoad imfile

    $InputFilePollInterval 10

    $PrivDropToGroup adm

    $InputFileName /nsr/logs/daemon.log

    $InputFileTag APP

    $InputFileStateFile Stat-APP

    $InputFileSeverity app

    $InputFileFacility local7

    $InputRunFileMonitor

    $InputFilePersistStateInterval 1000