Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    kopano-monitor doesn't seem to be doing anything.

    Kopano Groupware Core
    3
    7
    399
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tiredofit
      tiredofit last edited by

      I’m running through some tests to understand how all the KC components are working and have now reached the point of looking at kopano-monitor.

      I have a user which I have set a very low quota for and was expecting to get a notification from kopano-monitor at least once to show that I was going over the limit.

      When I look at the logs (either sending to a file, or console) the only output is:

      [=======] Starting kopano-monitor version 10.0.6 (pid 25946 uid 0)
      [=======] Starting kopano-monitor version 10.0.6 (pid 25946 uid 998)
      

      My configuration file looks like so:

      server_socket = https://server:237
      sslkey_file = /certs/core/monitor.pem
      coredump_enabled = no
      log_level = 6
      log_file = /logs/kopano/monitor.log
      log_timestamp = yes
      quota_check_interval = 15
      mailquota_resend_interval = 1
      userquota_warning_template = /data/templates/quotas/companywarning.mail
      companyquota_warning_template = /data/templates/quotas/companywarning.mail
      

      I have also tried using a socket instead of the TCP connection with no success.

      I’m using KC compiled from master branch within the past 3 days.

      Solidus 1 Reply Last reply Reply Quote 0
      • tiredofit
        tiredofit last edited by

        Can someone provide me with some sample logs to what Kopano Monitor usually outputs? I am still seeing this issue with kopano-monitor not doing anything with mailboxes that are over quota.

        jacsa 1 Reply Last reply Reply Quote 0
        • jacsa
          jacsa @tiredofit last edited by jacsa

          @tiredofit Hello, I have the same problem with KC 11.0.2 : it runs, but nothing in the log, it doesn’t send out quota warning e-mails. Did you find any solution? Thanks.

          tiredofit 1 Reply Last reply Reply Quote 0
          • tiredofit
            tiredofit @jacsa last edited by

            @jacsa I did not find the solution after many installations and attempts.
            I had someone write a bash script that does the same thing, yet allows for excluding some users, and sends a report to an administrator daily.

            jacsa Solidus 2 Replies Last reply Reply Quote 0
            • jacsa
              jacsa @tiredofit last edited by

              @tiredofit Yes I I’ll do the same. Thank you for the answer.

              1 Reply Last reply Reply Quote 0
              • Solidus
                Solidus Kopano @tiredofit last edited by

                @tiredofit Hi! Thanks for reporting this issue. I am currently investigating it and will update when I have news

                1 Reply Last reply Reply Quote 0
                • Solidus
                  Solidus Kopano @tiredofit last edited by

                  @tiredofit Hello!

                  I have found the issue and fixed it. It has just been merged to master and also backported to older versions. You should now get proper logging and also get the right warnings when the set limits are passed. Please let me know if something else is still not working for you.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post