Author Archives: itdoctor - Page 7
Guardicore: the last stand
I recently upgraded my python to newer version and realized that my script to connect one Mongo DB server not are some of the steps that i did:
PHP8: LDAP SSL failed
Upgrading my container image from PHP7 to , all the ext library seems the same, but when my ldap_bind function failed on php8 .Warning: ldap_bind(): Unable to bind...
Azure Monitor: List all action groups having pagerduty integration
resources| where type contains "actiongroups" | where contains "pagerduty"
Splunk: sendemail command send search result to email
I have some troubles with email sent from Splunk with some Alerts, debugging this takes a lot of time, i have to wait for the alert to trigger and...
Docker: can’t run some services using /etc/init.d/script ,”-x” flag in bash
I build a docker image, everything runs well on my dev machine. But when i deploy the images to my other machine, some services in the container was not...
Telegraf: inputs.exec exit code
When we configure , your program/bash script must have exit code 0. If it’s not 0 , telegraf will not send the metrics. This is an example ,...
Python: Setting Timeout in Oracle function – cx_Oracle.connect
= ( , , ) To fix this , create an environment TNS_ADMIN and save file , add these line to control the timeout ms
Cloudflare bots detection
Cloudflare use several methods to detect if it’s a human or a bot:– SSL order – there is a different in the SSL library between a normal browser like...
Telegraf-ActiveMQ-Artemis
ActiveMQ has 2 version: AciveMQ and (Apache or Redhat ActiveMQ) The configuration below is for Apache ActiveMQ
Docker Curl error
Fix;– Adding seccomp=unconfined to your docker run commandor add this in your docker-compose security_opt:– seccomp:unconfined