Ad Widget

Collapse

How can I setup a url and ssh session to my hosts from within Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edlentz
    Member
    • Oct 2013
    • 31

    #1

    How can I setup a url and ssh session to my hosts from within Zabbix

    As the subject mentions I want a way to click on a link from the host info to either go to the url of the host or to open an ssh session to that host from the zabbix server. Is this possible?

    Thanks
  • solution
    Senior Member
    • Jun 2020
    • 269

    #2
    Inventory?
    Click image for larger version

Name:	image.png
Views:	1413
Size:	6.0 KB
ID:	473966

    Maps?
    Click image for larger version

Name:	image.png
Views:	1389
Size:	8.0 KB
ID:	473967

    Click image for larger version

Name:	image.png
Views:	1376
Size:	35.8 KB
ID:	473968

    Maybe it will help you.

    Wellington

    Comment

    • edlentz
      Member
      • Oct 2013
      • 31

      #3
      Thank you. I think that will work. I can't test for a couple of days.
      thanks again
      Ed

      Comment

      • edlentz
        Member
        • Oct 2013
        • 31

        #4
        Hi Wellington,

        I am trying to apply your suggestions. the one I am most interested in is the last one where the menu shows the links. My menu for a Host doesn't show that link option. How do I enable that and then where do I program the link for that host?

        Thanks

        Ed

        Comment

        • solution
          Senior Member
          • Jun 2020
          • 269

          #5
          The "link" option in the host menu only exists in Maps.
          Monitormaneot --> Maps

          You can create a map with your Hosts or edit an existing one.
          Here are some links for your reading.


          Learn how to create interactive Zabbix network maps that can show link traffic utilization and change the color of the link if there are some problems.


          Wellington

          Comment

          • edlentz
            Member
            • Oct 2013
            • 31

            #6
            I figured out how to create a url link in Maps. Is there a way to automatically create the same for each host. Right now I have 127 hosts already being monitored. Each one has a webpage for programming. How can I "Update" a map with the existing hosts and then when I add a new host automatically.

            Comment

            • solution
              Senior Member
              • Jun 2020
              • 269

              #7
              Regarding Hosts:
              MAPS:
              Use group instead of host and select "Host group elements".

              In label use the macro: {HOST.NAME}
              To display the correct name on each Host.
              In URLS:
              Name: enter a name, e.g. Open SSH
              in URL: Use macro {INVENTORY.URL.A}


              As for the URL:
              Host --> Inventory:
              Open the Host Inventory and fill in the "URL A" field

              This will expand all existing hosts in the selected group and you will only have URLs on hosts that have the "URL A" field filled in.​

              Macro List: https://www.zabbix.com/documentation...ed_by_location


              Wellington

              Click image for larger version

Name:	image.png
Views:	1388
Size:	45.7 KB
ID:	474193

              Comment

              Working...