Ad Widget

Collapse

Monitoring CPU eating processes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yatesco
    Junior Member
    • May 2010
    • 23

    #1

    Monitoring CPU eating processes

    Hi,

    I occasionally get an email from Zabbix stating that the CPU is wigging out on one of my machines - it would be really neat if there was a way in zabbix to see the process list for that machine at that time. At the moment I am having to go use splunk, which is a bit of a heavy weight beast just for this.

    What do you do to solve this fairly common usecase?

    Thanks,

    Col
  • Wonderer
    Member
    Zabbix Certified Specialist
    • May 2010
    • 53

    #2
    I think there is no direct way of doing this.

    One possible tricky solution that I have in my mind, is to have a "RemoteCommand" with some special script in the action list for the corresponding trigger. (And the RemoteCommand support enabled on the host)
    And the RemoteCommand script itself will use zabbix_sender to put a list of processes into the separate ZabbixTrapper item, and a separate trigger watching this item.
    So after you receive notification about high CPU usage, you should receive another one with the process list.

    Tricky, is not it?

    Comment

    • yatesco
      Junior Member
      • May 2010
      • 23

      #3
      Originally posted by Wonderer
      I think there is no direct way of doing this.

      One possible tricky solution that I have in my mind, is to have a "RemoteCommand" with some special script in the action list for the corresponding trigger. (And the RemoteCommand support enabled on the host)
      And the RemoteCommand script itself will use zabbix_sender to put a list of processes into the separate ZabbixTrapper item, and a separate trigger watching this item.
      So after you receive notification about high CPU usage, you should receive another one with the process list.

      Tricky, is not it?
      I see - fair enough

      Comment

      • jerrylenk
        Member
        Zabbix Certified Specialist
        • May 2010
        • 62

        #4
        Here is my suggestion:


        Jerry

        Comment

        • yatesco
          Junior Member
          • May 2010
          • 23

          #5
          Nice one - thanks, I shall have a look.

          Comment

          Working...