Ad Widget

Collapse

Is there a way to show/report what MAPs a host my be in ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tjones@cdatribe-nsn.gov
    Junior Member
    • Aug 2019
    • 15

    #1

    Is there a way to show/report what MAPs a host my be in ?

    Is there a way to show/report what MAPs a host may be in ?

    I have hundreds of hosts and dozens of maps and I am only have 1/10th of my network in Zabbix at this time - every day I am adding dozens of new hosts to Zabbix.
    I have been adding Zabbix-Hosts into multiple Zabbix-Maps. The different maps indicate different types of documentation my technicians can see/use to understand everything about a Zabbix-Host and what it is doing in my network.
    My question: Is there a way my network technicians can quickly identify what Zabbix-Maps have a Zabbix-Host ?
    Example: Monitoring-Problems is great for quickly showing a problem detected Zabbix-Host , but the Zabbix-Problems showing problem hosts do not indicate what Monitoring-Maps the host may be in.
    So, is there a to find what Maps a host is in , or do I need to create an external database to cross-reference Hosts to Maps (and Maps to Host) ?
    If this feature is not already available in Zabbix , then I would like to suggest this feature.

    North Idaho Tom Jones
    Last edited by [email protected]; 01-11-2019, 17:24. Reason: EDIT : changed word "my" to "may"
  • tjones@cdatribe-nsn.gov
    Junior Member
    • Aug 2019
    • 15

    #2
    Looking into how to locate maps that contain a host, to me, it appears there is currently no method/tool to identify/show/search what Maps have a Zabbix-Host.
    There is a Global search which works pretty well to find matching hosts containing part of the search pattern. However, when using the Global search and a specific host has been located/identified, there appears to be no search/report/indicator as to what Maps may contain the searched host.
    Global search(ed) host do indicate "Host - IP - DNS - Problems - Graphs - Screens - Web - Applications - Items - Triggers - Graphs - Discovery - Web" however there should also be a new field added to the Global search results named " Maps " , where the operator can click the " Maps " selection and then see/identify all Maps that contain the searched host. Then , there should be a link to go to a selected Map out of the list of all Maps containing the Global searched host.

    North Idaho Tom Jones

    Comment

    • tjones@cdatribe-nsn.gov
      Junior Member
      • Aug 2019
      • 15

      #3
      Well - I may of found a difficult lengthy procedure to identify/locate Zabbix-Maps that contain a specific host.
      This is a rough procedure , but it gets you what you need.
      - 1 , Navigate to Zabbix Maps where you can see all of the Maps available
      - 2 , Select all Maps
      - 3 , Select Export
      - 4 , Open the new file on your Windows workstation with Write.
      - 5 , Select everything from top to the bottom of the file
      - 6 , Select copy ( copy everything )
      - 7 , Open Notepad
      - 8 , Paste (past your copy from Write into the Notepad editor)
      - 9 , Search and locate your desired host. Note: Your searched host might be in the Notepad xml file in several locations.
      search for what you want in <label> - your search pattern - </label>
      -or-
      search for what you want in <host> - your search pattern - </host>
      -10 , Now , in your Notepad editor, click one time on the host
      -11 , Now search/find in the UP direction for <map>
      -12 , Possible map names containing your host will be after <map> <name> your-map-name
      -13 , repeat this process to locate all Map names that contain the host you are gathering information on

      I know this is a horrible crazy method to locate Maps that contain a host , but it works.

      Something like this would be a useful tool if it was built-into Zabbix.

      North Idaho Tom Jones

      Comment


      • Damian2022
        Damian2022 commented
        Editing a comment
        Indeed horrible crazy method but works, thanks. And I agree, such search function should be built-into Zabbix.
    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #4
      Maybe. this help you https://www.zabbix.com/forum/zabbix-...-global-search

      Comment

      Working...