...
Code Block |
---|
# Provides UDP syslog reception $ModLoad imudp.so $UDPServerRun 514 # Provides TCP syslog reception $ModLoad imtcp.so $InputTCPServerRun 514 #slave#poller NMIS servers use local1 by default, capture that into slave_event.log local1.* /usr/local/nmis8/logs/slave_event.log |
...
Code Block |
---|
service rsyslog restart |
...
Poller Configuration
Now configure NMIS slaves pollers to send their logs through syslog to your master server. To run events through syslog check this config setting:
'syslog_events' => 'true'
...
This will use the Common-events model to determine which events should be sent as syslogs, by default all events will be sent, except for some of those events for deleted interfaces, etc.
Testing
On the slave poller run:
Code Block |
---|
[root@slaveroot@poller nmis8]#/usr/local/nmis8/admin/testsyslog.pl |
...