• nginx日志查看

    A:找出nginx日志里访问次数最多的IP,降序排列 cat test-access.log |grep nginx |awk '{print $1}'| sort | uniq -c | sort -nr -k1 | head -n 10 |awk -F ' ' ...

    2020-06-25
  • shell 监控域名到期时间

    #!/bin/bash # by Rohin # site:blog.982013.xyz #################################### #检测是否存在whois命令,不存在则安装jwhois包 which whois &>/dev/null || ...

    2023-01-25
  • python监控SSL证书到期时间

    import ssl import socket import datetime def getcertificateexpiry(domain): try: context = ssl.createdefaultcontext() ...

    2024-06-25
  • zabbix打通ldap认证

    zabbix打通ldap认证https://images.982013.xyz/file/924b5c8d8695b509879ec.pnghttps://images.982013.xyz/file/ad2682a41c7dac4eb2ad6.pnghttps://images.982013.xy ...

    2024-06-19