Ad Widget

Collapse

Seeking Assistance with Zabbix Integration for LiteSpeed Real-Time Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ewerton Sanches
    Junior Member
    • Jan 2024
    • 13

    #1

    Seeking Assistance with Zabbix Integration for LiteSpeed Real-Time Monitoring

    Hello!

    We are facing challenges while attempting to monitor real-time data from LiteSpeed and integrate it into our Zabbix monitoring platform.

    We followed the demonstration guide on how to perform real-time searches: https: //docs.litespeedtech. com/lsws/ realtime/

    When making the query via curl, we can only retrieve the result of one report. However, we have two workers, .rtreport and .rtreport.2, resulting in outdated data.

    The command used is:

    curl -i -k -u username: password https ://localhost: 7080/ status?rpt=summary

    Internally, we can individually query the paths /tmp/lshttpd/.rtreport and /tmp/lshttpd/.rtreport.2. However, the Zabbix system cannot read these files due to directory permission restrictions. Even after changing these permissions, the folder reverts to the original rules.

    We are seeking a solution to query the .rtreport and .rtreport.2 files from both workers, allowing for accurate presentation in our monitoring platform and avoiding permission-related issues. Any guidance or suggestions would be greatly appreciated.

    Thank you for your assistance with this matter!
    Attached Files
  • egidux77
    Junior Member
    • Mar 2025
    • 1

    #2
    Maybe this script will help you?
    This is only for one worker, but maybe it possibe to adopt it to more workers
    Attached Files

    Comment

    Working...