Ad Widget

Collapse

How to Discovery Systems with Zabbix Agent Installed and SSH within same Subnet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • firesh
    Junior Member
    • Aug 2021
    • 18

    #1

    How to Discovery Systems with Zabbix Agent Installed and SSH within same Subnet

    Hi ,

    I have such a scenario below, let me illustrate:

    1) I have systems that are managed, whereby i can have Zabbix Agent installed on it and reporting to the Zabbix Server via normal zabbix agent discovery (Note: This systems are also accessible via SSH, so SSH on this systems are available as well)
    2) In the same subnet, I have systems that are not manageable but they have SSH service with some set of standard credentials.

    Today, I am doing 2 different discovery on same subnet

    1) Zabbix agent discovery ---> This results into discovering only zabbix agent systems (thumbs up - good)
    2) SSH + ICMP Ping Discovery ---> This results into discovering both zabbix agent systems + unmanaged systems (thumbs down - bad) - still acceptable as next step "Actions" could help to filter

    In "Action - Discovery Rule" , I am setting 2 different "Auto Discovery Rules"

    [Works Perfect] Rule 1) Using Received Value to be certain something --> This works great, so systems with Zabbix agent gets filtered and added to correct pockets (host groups)

    Click image for larger version

Name:	2021-08-23_11h22_35.png
Views:	295
Size:	31.7 KB
ID:	430213


    [Dont Work] Rule 2) Is as below, i tried both "And" or "Or" both doesn't seem to work to filter -- > this results into my 2nd host groups containing both Zabbix Agent hosts and SSH hosts

    Click image for larger version

Name:	2021-08-23_11h17_59.png
Views:	372
Size:	14.0 KB
ID:	430212

    Any Idea on how can i solve this situation?
Working...