monitor url response time apache access log by zabbix - zabbix

use zabbix version 5.0.2.
server centos 7
i would httpd access log and analysis response time for special url !
Is it possible to calculate the server response time to a request from the network card to the user?

Related

How to send json syslog messages to a remote host with ulogd2

I am working on a project to log connection tracking events with ulogd2. I want to know if there is any way to send messages to a remote host in JSON format. So far, I was able to save the message to a JSON file on the local server, but I don't want to save it in the local machine, I just want to send it. Or maybe if there is a way to send the file and after that delete it.
I would really appreciate your help.
Usually syslog logs are sent to remote servers via one of the syslog network protocols, rsyslog is often used for this purpose. On the receiving end you can also use rsyslog to collect it into the syslog of the remote server.
On the receiving side you can also use tools like fluentd to collect the syslog messages and write them to a file as JSON or do a number of other tings with them. An alternative tool to do this as well is called filebeat.
You can also install tools on the server creating the logs, instead of rsyslog which you can configure to send them via some method other than the syslog protocol if you so desire. Filebeat can do this and fluent bit(lightweight version of fluentd) as well.

VerneMQ MySQL authentication

I already have installed vernemq in my cloud server, everything seems running fine. But from any client, it is unable to connect the broker using username/password authentication. The authentication is based on MySQL, the Lua script is running fine. But strangely the authentication not working or something is wrong. I couldn't trace anything as nothing shows in Log. The only debug message I see is as follows:
[debug] <0.227.0>#plumtree_broadcast:schedule_lazy_tick:720 0ms mailbox traversal, schedule next lazy broadcast in 10000ms, the min interval is 10000ms
OS : Ubuntu 18.04
MySQL Version : 5.7.29
VerneMQ Version : 1.10
That debug log message is unrelated (it shows load information on the metadata exchange protocol).
Please make sure the password formats/hashing methods are compatible between VerneMQ and MySQL.

Zabbix 3.4: Is it possible for the agent to accumulate data if the connection with the APP is lost?

I have installed Zabbix 3.4 by Oracle Linux 7.4
Is it possible for the agent to accumulate data if the connection with the APP is lost?
If by "APP" you mean Zabbix server, this is possible if you use active items. Agent will buffer values in the memory for a while and send them to the server when the connection is restored.

Capture Apache httpclient transmitted data as part of TCP connections

In my application, I have used apache HttpClient. Now I would like to monitor the request and response from the capture data transmitted by the httpclient. Is it possible to know which ports are opened by the HttpClient. I am using Linux, so can I use netstat to see which ports are open by my java application process?
You can get detailed info about connection management by turning on context logging as described here

Intercepting MySQL packets in node.js

I have a mysql server running on the standard port which is having data fed into it. I would like to capture this information using node.js as it goes into the server so my plan is to set node.js up on the mysql port and proxy the requests.
How easy would this be to do and could I easily sniff for the data?
Thanks