Ad Widget

Collapse

Apache/tomcat and Mysql monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arajkuma
    Junior Member
    • Nov 2008
    • 4

    #1

    Apache/tomcat and Mysql monitoring

    What configuration changes are required on Agent config file to start monitoring Apache/tomcat/MySql running on windows server. I installed agent and Zabbix is monitoring windows server but when i go to monitoring -->overview and look all the triggers it does not even shows triggers for Mysql, apache and tomcat. Any help will be appreciated.
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    Four letters. RTFM.

    You can't just install it and expect it to work. You have to actually put some effort into making it work and configuring it.
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    • arajkuma
      Junior Member
      • Nov 2008
      • 4

      #3
      Any Documentation specific to windows

      Is there a documentation available which provides some detail for monitoring Apache/mysql/tomcat on windows system?

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        To get you going in the right direction regarding MySql monitoring on Windows -

        For any windows platform you can use performance counters, entered into Zabbix as "userparameters" to monitor a lot of metrics that are unique to each machine. To get a list of these, pop a DOS box on the windows machine you want to monitor and type: typeperf -qx > perflist.txt (Or whatever you want to call the text file). It will generate a large list containing parameter syntax that you can add into Zabbix for monitoring.

        An example: if you want to monitor MySqL latch waits per second, the syntax to use would be perf_counter[\SQLServer:Latches\Latch Waits/sec] (May be unique to my particular Windows machine)

        The easiest way to find the MySql performance counters in the list would be to search for all statements from the list you created containing "SQLServer" and select the ones you wish to use. I use Notepad++ which allows a multiple item search.

        Once you have the syntax you want to use, you have to add this into the Zabbix server through the GUI. That would be under Configuration --> Items for the appropriate server. That particular item would be entered as per the below screenshot. As far as triggers go, simple create triggers that are appropriate for your use.
        Attached Files
        Last edited by tchjts1; 15-01-2009, 19:44.

        Comment

        • Tractorboy
          Member
          • Oct 2010
          • 98

          #5
          I would like something like
          \Processor(*)\% Processor Time
          to work, so that each individual cpu's data is collected.

          Does this functionality exist? If not then do I need a separate item for each CPU (Some of my servers have lots of CPU's)

          Comment

          • marcel
            Senior Member
            Zabbix Certified Specialist
            • Oct 2010
            • 112

            #6
            check the perf_counter[] item Key in documentation

            Tomcat can also be monitored using JMX MBeans (I presume as it is a Java-based solution)

            marcel
            Last edited by marcel; 25-10-2010, 17:47.
            Zabbix Certified Specialist for Large Environments since 12/2010

            Comment

            • Tractorboy
              Member
              • Oct 2010
              • 98

              #7
              I have searched the documentation many times and nothing has come up to help.

              Can you supply the appropriate url please?

              Comment

              • marcel
                Senior Member
                Zabbix Certified Specialist
                • Oct 2010
                • 112

                #8
                http://www.zabbix.com/documentation/...ig/items#items - search for perf_counter[counter,<interval>]



                and

                http://www.zabbix.com/documentation/1.8/complete#jmx
                Zabbix Certified Specialist for Large Environments since 12/2010

                Comment

                Working...