Try latest revision, this should be fixed.
if you find more syslog parse errors, also attach this debug lines for
example.
Simon Mousey Smith wrote:
> Hi
>
> Glad to be of help
>
> I have restarted the syslog-ng to refresh the syslog.php file is uses
>
> but same thing, every so often is just puts stuff in thats NOT even related to the actually entry?
>
> Looking forward to improvement :)
>
> Regards
>
> Simon
>
>> On 23 Mar 2018, at 09:15, Mike Stupalov <mike@observium.org> wrote:
>>
>> Tnx, I will fix this soon..
>>
>> Simon Mousey Smith wrote:
>>> Hi,
>>>
>>> I have the debug.log enabled for the syslog
>>>
>>> The lines for those entries show:
>>>
>>> [2018/03/23 07:48:39 +0000] syslog.php(30578):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 07:48:39||dhcp105
>>> assigned 192.168.58.84 to 80:BE:05:7A:73:6E||dhcp,info
>>> [2018/03/23 07:49:34 +0000] syslog.php(30578):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 07:49:34||dhcp105
>>> deassigned 192.168.58.77 from 1C:91:48:13:DE:A8||dhcp,info
>>> [2018/03/23 07:50:43 +0000] syslog.php(30578):
>>> 79.78.xx.117||user||5||notice||0d||2018-03-23 07:50:43||dhcp101
>>> assigned 192.168.101.14 to E4:7D:BD:BB:09:37||dhcp,info
>>> [2018/03/23 07:51:09 +0000] syslog.php(30578):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 07:51:09||dhcp105
>>> deassigned 192.168.58.62 from 58:48:22:84:AA:DD||dhcp,info
>>> [2018/03/23 07:51:48 +0000] syslog.php(30578):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 07:51:48||dhcp104
>>> assigned 192.168.48.4 to 70:DE:E2:80:50:22||dhcp,info
>>> [2018/03/23 07:51:52 +0000] syslog.php(30578):
>>> 79.78.xx.105||user||5||notice||0d||2018-03-23 07:51:52||dhcp1 assigned
>>> 192.168.1.152 to AC:5F:3E:2F:95:57||dhcp,info
>>>
>>> [2018/03/23 08:55:04 +0000] syslog.php(30578):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 08:55:04||dhcp104
>>> deassigned 192.168.48.59 from DC:41:5F:76:24:92||dhcp,info
>>> [2018/03/23 08:55:40 +0000] syslog.php(30578):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 08:55:40||dhcp105
>>> deassigned 192.168.58.79 from 40:98:AD:5C:23:B1||dhcp,info
>>> [2018/03/23 08:55:41 +0000] syslog.php(30578):
>>> 62.255.xx.138||user||5||notice||0d||2018-03-23 08:55:41||CompDHCP
>>> assigned 10.0.0.222 to 4C:32:75:90:69:33||dhcp,info
>>> [2018/03/23 09:01:00 +0000] syslog.php(11824):
>>> 217.149.xx.2||user||5||notice||0d||2018-03-23 09:01:00||dhcp104
>>> deassigned 192.168.48.5 from 00:CD:FE:8C:3B:D3||dhcp,info
>>>
>>> The equipment are also mikrotik switches
>>>
>>> Anything else you require?
>>>
>>> Regards
>>>
>>> Simon
>>>
>>>> On 23 Mar 2018, at 09:07, Adam Armstrong <adama@memetic.org
>>>> <mailto:adama@memetic.org>> wrote:
>>>>
>>>> Mike has been rejigging some of the syslog code.
>>>>
>>>> You probably need to be more specific about where these syslog
>>>> messages are coming from, though.
>>>>
>>>> Adam.
>>>>
>>>> Sent from BlueMail <http://www.bluemail.me/r?b=12512 >
>>>> On 23 Mar 2018, at 09:00, Simon Mousey Smith
>>>> <simonsmith5521@gmail.com <mailto:simonsmith5521@gmail.com >> wrote:
>>>>
>>>> Hi All
>>>>
>>>> Has anybody else seen this recently in an SVN update?
>>>>
>>>> For some reason the syslog is only show part of a syslog message
>>>> from our switches and inserting into observium?
>>>>
>>>> Also where has this [Program][Tags] appeared from?
>>>>
>>>> Regards
>>>>
>>>> Simon
>>>>
>>>> ------------------------------------------------------------ ------------
>>>>
>>>> observium mailing list
>>>> observium@observium.org <mailto:observium@observium.org >
>>>> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
>>>>
>>>> _______________________________________________
>>>> observium mailing list
>>>> observium@observium.org <mailto:observium@observium.org >
>>>> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
>>> _______________________________________________
>>> observium mailing list
>>> observium@observium.org
>>> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
>> --
>> Mike Stupalov
>> Observium Limited, http://observium.org
>> _______________________________________________
>> observium mailing list
>> observium@observium.org
>> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
>
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium
--
Mike Stupalov
Observium Limited, http://observium.org
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/ observium