Ad Widget

Collapse

Direct shortcut to a zabbix network map

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rootus
    Junior Member
    • Oct 2007
    • 19

    #1

    Direct shortcut to a zabbix network map

    I want to start a network map from a script.
    Like: firefox -new-window http://zabbix.euramax.rmd/zabbix/map...=1&sysmapid=10
    It does not work however.

    Is there a way?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    how exactly does that not work ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • rootus
      Junior Member
      • Oct 2007
      • 19

      #3
      When I use that url it directs me to:

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        and if you try just http://zabbix.euramax.rmd/zabbix/maps.php?sysmapid=10 ?
        doe a map with that id exist ?
        Zabbix 3.0 Network Monitoring book

        Comment

        • rootus
          Junior Member
          • Oct 2007
          • 19

          #5
          That works.

          But I need full screen.

          I created a batch which starts several monitoring windows (maps) on a computer.
          When an error occurs (I check the DB) the appropriate screen will appear on the display.


          I want to start all this automatically.

          (or do you know another way?)

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            ok, and http://zabbix.euramax.rmd/zabbix/map...=1&sysmapid=10 ?
            Zabbix 3.0 Network Monitoring book

            Comment

            • rootus
              Junior Member
              • Oct 2007
              • 19

              #7
              no
              "Object not found!"

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #8
                wait, the same url (with same map id) works w/o fullscreen, but adding fullscreen results in "object not found" ? that sounds... unlikely
                Zabbix 3.0 Network Monitoring book

                Comment

                • rootus
                  Junior Member
                  • Oct 2007
                  • 19

                  #9
                  Your right.
                  It works perfectly.

                  I did copy paste instead of "copy link address".
                  (alzheimer)

                  Thank you very much.


                  The vars fullscreen=1 sysmapid=10 is that like a query to mysql?
                  sysmapid is a field i'm shure.
                  And fullscreen=1&sysmapid=10 are options for maps.php?

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    Originally posted by rootus
                    Your right.
                    "you're"
                    Originally posted by rootus
                    The vars fullscreen=1 sysmapid=10 is that like a query to mysql?
                    sysmapid is a field i'm shure.
                    And fullscreen=1&sysmapid=10 are options for maps.php?
                    they are GET variables for the page. in this cases sysmapid does coincide with database field, but that is not a requirement (for example, fullscreen does not correspond to database at all, of course)
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    • rootus
                      Junior Member
                      • Oct 2007
                      • 19

                      #11
                      Just did a mysqldump.
                      No fullscreen var.

                      It was a wrong conclusion.
                      When I start more network maps on a host they tend to influence each other.
                      Map 10 suddenly jumps to 14 and after a while it miraculously jumps back to 10.
                      So I thought it is something written in the database but it can also be a feature of the browser.
                      When I start the browsers with other usernames (su - user2 -c firefox --display...) the influencing is over.
                      I had it with firefox and chrome .


                      When I could do the influencing on purpose and let it jump to the map of my choice ....

                      Comment

                      Working...