Announcement

Collapse
No announcement yet.

Is monitoring visible in the Apache domlogs on cPanel?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is monitoring visible in the Apache domlogs on cPanel?

    Hi,

    Presumably the slow site monitoring appears in a user's access logs with an Ip corresponding to localhost? Ie the monitoring is via Apache on port 80 etc

    Thanks

  • #2
    Hello,

    Centralized Monitoring is a tool that allows hosting administrators to monitor load for all their servers. It is accessible over https://cm.cloudlinux.com/ interface. It does not record itself in any user's access log files since the cl_plus_sender service is used to process data. The actual events can be found in /var/log/clplus_sender.log file.

    If I misunderstood you, please clarify what service you are talking about.

    Comment


    • #3
      Hi Bogdan

      I'm referring to this:

      https://blog.cloudlinux.com/cloudlin...20the%20server.

      Does this method still avoid the apache domlogs?

      I'd like to use it to monitor average response time of all domains on the server within the last minute, 5 minutes, 10 minutes and 24 hours.

      I've enabled it in whm via the cloud Linux manager. I'd like to get it working via the CLI though. So far I can get the configuration via CLI however the "domains" part of the report ia CLI is blank.

      Thanks

      Comment


      • #4
        Ah, sorry for misunderstanding, I was thinking about Centralized Monitoring since this forum section is about it. I will move this thread to the right place soon

        The website monitoring will appear in user's access log files with either localhost or server IP address from where some kind of 'curl' will be used. Just checked the test servers and here is the line for it:

        Code:
        192.168.1.2- - [09/Dec/2024:16:45:31 +0000] "GET / HTTP/1.1" 200 802 "-" "Python/3.11 aiohttp/3.9.2"

        Comment


        • #5
          Thanks Bogdan

          Using /usr/sbin/cloudlinux-ssa-manager set-config , is it possible to set the manager to monitor only one specific domain and report on it and ignore all the others? I'm looking for examples of set-config ideally.

          In addition there appears to be a wmt-api utility, which might be more suitable?

          Thanks

          Comment


          • #6
            Although I'm only interested in website response time

            Comment


            • #7
              The Website Monitoring is a tool which works for all domains on a server, but yes you can list all other domains in ignore list using command0line:

              Code:
              /usr/sbin/cloudlinux-ssa-manager set-config --ignore-list google.com,cloudlinux.com
              And yes, the report can actually be obtained by:
              Code:
              /usr/share/web-monitoring-tool/wmtbin/wmt-api --report-get

              Comment

              Working...
              X