I’m at a clients location but had a bit of downtime so I sent an email to EyezOn and they pushed out the latest firmware with syslog support. Ver 01.01.108
Here’s what I did to get it up and running until I get more time to go into detail. Again, I’m running a RPi3 with the latest Raspian Jessie. All commands are run from the ‘pi’ home directory. /home/pi
Let’s configue the rsyslog server by add/modify the file:
sudo nano /etc/rsyslog.conf
Uncomment the following lines by removing the # sign:
#$ModLoad imudp
#$UDPServerRun 514
#$ModLoad imtcp
#$InputTCPServerRun 514
Then, just below there, and before the GLOBAL DIRECTIVES section, add these lines:
$template RemoteLogs,"/var/log/%HOSTNAME%/%PROGRAMNAME%.log" *
*.* ?RemoteLogs
& ~
This will allow the rsyslog server to listen on UDP and TCP ports, just in case it’s needed. The template section will create and write to a log file based upon the hostname and application of the client. Make sure you have the hostname in /etc/hosts. In my case, it’s writing to:
/var/log/envisalink/ENVISALINK.log
Restart the rsyslog server by;
sudo systemctl restart rsyslog
You can test for the listening ports with:
sudo netstat -tulpn | grep rsyslog
Now log into your EVL-4 and configue the syslog client section. The IP subnet address should already be filled in and you only need to add the server number. For example, if the subnet is 192.168.125 and your alarmserver/rsyslog server is 15 then the full IP address would be 192.168.125.15. I set my facility number to 23, which I believe should be the debug severity, but I don’t have time right now to experiment.
Then click the ‘Change’ button and ‘reboot’ the EVL. I also rebooted my Rpi, just to be safe. I armed and disarmed my alarm system remotely and checked the log file for entries with the following command:
sudo cat /var/log/envisalink/ENVISALINK.log
Of course, while these instructions worked for me, your results may vary based upon your particular configuration. I hope I didn’t miss anything as I’m in a bit of a hurry, at the moment. Maybe it’s enough to get you all started and then you can help out with anything I missed.
Cheers!