Ad Widget

Collapse

Variable check of Processes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manue
    Junior Member
    • May 2022
    • 1

    #1

    Variable check of Processes

    Hi all,
    i am new to this forum because i just started ti use Zabbix a few weeks ago. I already have a basic setup and some custom checks and Zabbix is fun i think. But as i come from Icinga/check_mk i have to learn and try out a lot. That's why i would like to ask what would be the best approach for a specific monitoring task because i would like to use the best way Zabbix is offering. I read about Macros and stuff but i still might miss something.

    I have a couple of server who run different number of services. The services always consist of 2 processes. The number of services on each host are different.

    The first service has two commandlines:
    /path/to/{$NAME1}/process1
    /path/to/{$NAME}1/process2

    The second service also has two commandlines:
    /path/to/{$NAME2}/process1
    /path/to/{$NAME21/process2

    and so on.

    Of course i could define the checks for each proc.num[commandline] by hand for each service and host but there might be a much better way which a Zabbix Pro would use.

    So, i would like to know of there is a elegant way by using Macros, Template, Discovery or whatever i don't know yet to minimize the configuration work.

    Thanks in advance!

    Rregards,
    Martin
Working...