Archives for Monitoring
n8n webserver failed, exiting
Initializing n8n process n8n webserver failed, exiting The fix is to add this line -e N8N_LISTEN_ADDRESS= In my case, the problem was that IPv6 was disabled in my kernel....
A simple cronjob to monitor and start your apache
*/10 * * * * curl -s http://localhost || (echo “Restarting apache” ; apachectl restart)
Splunk: The power of regular expression
Let’s walk through how to extract meaningful fields like IP address, port, error level, and message content from a raw PHP warning log using regular expressions and Splunk’s rex...
Monitoring and Alerting Best Practices
1. Avoid Relying Solely on Email for Alerts Email is not a reliable alerting mechanism. Alerts can be delayed, filtered as spam, or ignored due to cluttered inboxes. From...
Telegraf is unable to collect docker metrics with error inputs.docker] Error in plugin: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
If you got this error – Error in plugin: permission denied while trying to connect to the Docker daemon socket at unix:///var/ It’s because / is only accessible...
Issues when upgrading to Grafana v10.3.1
As you know we can use the variable in some of the format such as : ]$variable${variable} When upgrading to , i realize that the variable __interval_ms can’t...
Turning your Splunk log data into a timeseries database – InfluxDB
Let say you have a load balancer with few thousand sites, the load balancer keeps track the response time from the backend server. Your log is saved in Splunk....
A Splunk query to inventory all your saved search
| rest /servicesNS/-/-/saved/searches | search NOT author=nobody NOT disabled=1 The above query will list out all your saved search with their attributes. It’s pretty helpful when we want to...
Datadog – PHP – Adding client IP to your trace
When i use Datadog to collect tracer/span in our PHP , i realize that Datadog library does not collect the client IP address. I don’t know what the reason...
Azure: ARM templates
This is a good start to learn ARM
