Start a Conversation

Unsolved

This post is more than 5 years old

4113

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

14.3K Posts

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).

2 Posts

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.

14.3K Posts

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

1 Message

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

No Events found!

Top