Ad Widget

Collapse

Ip address

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Db0
    Junior Member
    • May 2006
    • 14

    #1

    Ip address

    Is there a way for Zabbix to show what the IP address of a host is, to a user that does not have permission to see the host configuration page or a way to show the host configuration to a user that only has read access on default permission (I tested a few permission settings but none allowed me to give read access to the configuration tab.)


    While on this subject, here's a wish list. A way to see the IP address and/or hostname of a label in a map when your mouse rolls over or you click on it.
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #2
    i don't know if zabbix has a built-in item. But you can do it yourself by
    creating a user item:
    UserParameter=system.ip,nslookup $HOSTNAME | grep Address | grep -v "#" | cut -d" " -f2

    (not tested)...

    You could also do it via ifconfig...
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

    Comment

    • Db0
      Junior Member
      • May 2006
      • 14

      #3
      ok, you lost me. How do I create this user parameter and how do I use it in zabbix?
      I can see what the command is supposed to be (and it also works) but I don't know how to use it in zabbix. Can you elaborate?

      Comment

      • just2blue4u
        Senior Member
        • Apr 2006
        • 347

        #4
        just add it to zabbix_agentd.conf (at the bottom, to the other (commented) userparameters).

        then run zappix_agentd -p and check key system.ip.
        If it exists, restart agentd and add key in zabbix_server.
        Big ZABBIX is watching you!
        (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

        Comment

        • Db0
          Junior Member
          • May 2006
          • 14

          #5
          Ah, so it requires a zabbix agent on the target?

          Comment

          Working...