Ad Widget

Collapse

Find two strings in a trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cjwallace
    Senior Member
    • Sep 2008
    • 126

    #1

    Find two strings in a trigger

    Guys.

    I have this str in one of my trigger commands but what i would like to do is check for two strings and if they match then alert on them.

    for example i would like to check for Security Group Changed And Europe SMS Administrators

    {LNDC02:eventlog[security].str(Europe SMS Administrators)}=1

    Any ideas how i can check for both?

    Cheers

    Craig
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    {LNDC02:eventlog[security].str(Europe SMS Administrators)}=1 & {LNDC02:eventlog[security].str(Security Group Changed)}=1
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • cjwallace
      Senior Member
      • Sep 2008
      • 126

      #3
      Thanks Alexei.

      Comment

      Working...