Ad Widget

Collapse

How to exclude service in Template Systemd by Zabbix agent2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • studero
    Member
    • Aug 2023
    • 84

    #1

    How to exclude service in Template Systemd by Zabbix agent2

    Hi all,

    I need hep to exclude the following list of service when I use the Template Systemd by Zabbix agent2.

    List :
    - systemd-fsck-root.service
    - systemd-pstore.service
    - e2scrub_reap
    - rsync.service

    I set the Macro named {$SYSTEMD.NAME.SERVICE.NOT_MATCHES} with the following value systemd-fsck-root.service|systemd-pstore.service|e2scrub_reap|rsync.service.

    But this configurationn does not take affect ! Why ?

    Thnaks for your help
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Try this:
    Code:
    (systemd-fsck-root|systemd-pstore|e2scrub_reap|rsync)\.service

    Comment

    Working...