Ad Widget

Collapse

trapper, sender, and host names

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rts
    Member
    • May 2007
    • 54

    #1

    trapper, sender, and host names

    Hi,

    I monitor a number of sets of servers. They're named as follows:

    DC1-web01
    DC1-web02
    DC1-web03
    DC2-web01
    DC2-web02
    DC2-web03

    and each have an IP address, and a hostname. The hostname is of the form web01.dc1.company.com

    I have found that it's not possible to zabbix_send with the -s flag being either the IP address or hostname. Instead, I have to use the "Name" of the host. This is a bit inconvenient as I can't use `hostname` in my call to zabbix_sender to specify the destination host.

    I also don't really want to rename Zabbix's name for each host, as Monitoring:Overview lists host alphabetically, so I currently can see DC1*3 then DC2*3 in columns, whereas if I were to rename them, I'd see alternating DC1, DC2, DC1, DC2 etc which isn't easy to quickly examine.

    Has anyone got a neat solution to this? Is there a reason why the zabbix_server can't use the hostname to receive sender updates?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by rts
    Is there a reason why the zabbix_server can't use the hostname to receive sender updates?
    This is because name of a host is the only unique identifier. Several different hosts may exist with the same DNS name or IP address.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...