Ad Widget

Collapse

Get process list 6.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rapidiptxt
    Junior Member
    • Apr 2023
    • 5

    #1

    Get process list 6.4

    Glad to see that proc.get was added with the 6.4 release, but while the documentation highlights parameters, I am unable to find much of setting up a proper trigger. It also seemed that it this new key could have been added into a few templates by default such as the Windows by Zabbix Agent.

    I proceeded with creating the item manually to the template Windows by Zabbix Agent. I used the mode: summary, for the purpose of information needed in my use case.
    Click image for larger version

Name:	image.png
Views:	1914
Size:	24.6 KB
ID:	462715

    Performing a test against a host populates the information and is a trigger was made with the following:
    Click image for larger version

Name:	image.png
Views:	1810
Size:	31.3 KB
ID:	462716


    For the operational data I want to get the last 5 running processes. With this information I'd like to create a trigger action when the High Memory Utilization = 90% >5m also include the Process List.
    For testing I created a Trigger Action to only notify me of the Process List, but it seems even that does not have an event logged under Monitoring.

    Click image for larger version

Name:	image.png
Views:	1803
Size:	6.4 KB
ID:	462717

    Is anyone successfully using proc.get with a trigger action to report on processes? Based on my setup, does it appear right or did I miss something?
    Attached Files
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    If an item returns a json object, then what do think you get, if you make a trigger "last(/host/item)=0" ? Comparing oranges and apples? And following that, what do you think you get for {ITEM.LASTVALUE3} for example... (hint: it is not a 3rd process in your list)

    PS.. description of what is returned, is here https://www.zabbix.com/documentation...items/proc_get just a click away from https://www.zabbix.com/documentation...sercmdlinemode ...

    Comment

    Working...