Ad Widget

Collapse

Zabbix JMX metrics gaps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vihari111
    Junior Member
    • Mar 2020
    • 2

    #1

    Zabbix JMX metrics gaps

    Hello,
    We are using Zabbix to monitor our Artifactory servers. On one of the Artifactory servers we are seeing lot of gaps in JMX metrics.
    I've restarted the Zabbix agent on the Artifactory server which didn't help.
    Artifactory server doesn't seems to be super busy as well.

    How to troubleshoot this problem?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Probably the first thing I would do would be to run 'jconsole' from a workstation and connect to the same server's JMX port, and then just leave jconsole connected. The goal is to see if jconsole shows messages about "disconnected" or such during the same period when Zabbix shows a gap in metrics. If it doesn't the problem is likely on the Artifactory server, and not with Zabbix.

    Comment

    • vihari111
      Junior Member
      • Mar 2020
      • 2

      #3
      Hello Tim,
      Thank you.
      I made a connection to the Artifactory server using JConsole. I can see the metrics now.
      So the problem seems to be the Zabbix agent I suspect now.

      How to troubleshoot from here?

      Comment

      • tim.mooney
        Senior Member
        • Dec 2012
        • 1427

        #4
        Assuming you're using the standard method to do JMX monitoring in Zabbix, then all connections are going through the Zabbix Java Gateway.

        I would look at the existing Java Gateway logs, and if there aren't any clues to what the problem might be, I would temporarily increase the logging, to see if that provides enough information to determine what the problem is.

        The log file and increasing logging is covered in the Debugging Java Gateway section of the Java Gateway documentation, https://www.zabbix.com/documentation...om_rhel_centos

        Comment

        Working...