Ad Widget

Collapse

received value like regex?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r0k5t4r
    Member
    • Jun 2009
    • 91

    #1

    received value like regex?

    Hi,

    I want to do a bit more filtering on our host groups. E.g. have two groups for Solaris hosts. One group Solaris 5.8 and one Solaris 5.10 etc.

    I have tried the following in the Discovery Actions:

    received value like = SunOS 5.8 -> Hostgroup Solaris 5.8
    received value like = SunOS 5.10 -> Hostgroup Solaris 5.10

    Doesn't seem to work? I guess because the output of "zabbix_get -shelios -k "system.uname" is:

    SunOS helios 5.10 Generic_118833-22 sun4u sparc SUNW,Sun-Blade-100

    So there is a hostname in between. My question is does received value like take regex or variables like:

    received value like = SunOS $HOSTNAME 5.8

    or

    received value like = SunOS * 5.8

    Any help would be appreciated.

    Regards,
Working...