MrCirca / zabbix-routeros-bgp

Monitoring Mikrotik BGP peer name state & uptime
MIT License
13 stars 12 forks source link

problem in api log #1

Open vyankatesh22 opened 6 years ago

vyankatesh22 commented 6 years ago

Hi,

Thanks for the script it worked fine but script creates number of login/logout api logs into mikrotik. I don't want to log only api login and logout log in mikrotik. How can i do this?

MrCirca commented 6 years ago

Hello, Yes, you are right. Thank you for the reference. I will fix it soon, making a mikrotik script. Thank you!

vyankatesh22 commented 6 years ago

Thanks for the reply. I will wait for your next comment.

/V.Reddy

On 10-Nov-2017 2:33 PM, "G. Tsirkas" notifications@github.com wrote:

Hello, Yes, you are right. Thank you for the reference. I will fix it soon, making a mikrotik script. Thank you!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MrCirca/zabbix-routeros-bgp/issues/1#issuecomment-343416604, or mute the thread https://github.com/notifications/unsubscribe-auth/ADMybGxd96u-hvIj_sVr-2WqdXgRwH8Fks5s1BFkgaJpZM4QZL4T .

MrCirca commented 6 years ago

Hello, Unfortunately, i didn't find a way to solve the problem ignoring login-logout logs or delete logs from Mikrotik router. To solve the problem, you have to set up a remote log-server where logs will be sent. So you could ignore useless logs. We hope mikrotik add the feature for better log management.

Thank you!

Rodrigoaguilar2015 commented 5 years ago

sempre que tento da erro Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'Traceback (most recent call last): File "/usr/lib/zabbix/externalscripts/apiros.py", line 158

direo no arquivo pode dar uma luz de como resolver?