Ad Widget

Collapse

Problem with Solaris Agent auto-registration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeffreys
    Junior Member
    • Mar 2014
    • 8

    #1

    Problem with Solaris Agent auto-registration

    First post on the forums - and please bear with me a bit as I'm only recently into Zabbix.

    We're trying to get a number of Solaris systems into our Zabbix server (2.2.1 agents and server).

    Auto-registration seems to work just perfectly for Linux variants and Windows systems (though as a UNIX admin, I'm not as concerned about the Windows boxes).

    My issue comes with the solaris hosts we're trying to register. Regardless if I try to name match a system or metadata match the system.uname string like "SunOS" - none of our Solaris hosts are able to auto-register with the server. Any thoughts as to something that might be not setup correctly with either the agent configs or the server?

    #### server side auto-registration action ####
    Auto Host Registration (Solaris) Host name like accuxdb10
    Host name like aceuxpds1
    Host name like iruxmb10
    Add host
    Add to host groups: Solaris Servers
    Add to host groups: Discovered hosts
    Link to templates: Template OS Solaris
    Enabled

    #### client side zabbix_agentd.conf ####
    Hostname=<contains hostname>
    Server=<IP Address of our zabbix server>
    Include=/etc/zabbix/conf.d/
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix_agentd.log
    LogFileSize=100
    Timeout=30

    On the systems that I tested metadata, I had added this into the file as well:

    HostMetadataItem=system.uname


    Any help or direction you can provide would be appreciated.

    Thanks in advance!
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    I'm sorry, I pretty sure that you already check it, but do you remember how that part of documentation named?
    Active agent auto-registration

    And one more citation from that "manual"
    Code:
     Make sure you have the Zabbix server identified in the agent configuration file - zabbix_agentd.conf
    
    [B]ServerActive[/B]=10.0.0.1
    Instead of that you described keyword Server which is work only for Passive checks.
    Sincerely yours,
    Aleksey

    Comment

    • jeffreys
      Junior Member
      • Mar 2014
      • 8

      #3
      did the trick

      adding in that ServerActive allowed it to register on either a name match - and when I put in the metadata - simply based on OS.

      TYVM - it just saved me having to duplicate 60 hosts by hand versus letting them all register into the Discovered Hosts group. At least there, they're base monitored until I put them into a better group definition.

      Thanks again and have a great weekend

      Comment

      • aib
        Senior Member
        • Jan 2014
        • 1615

        #4
        You too!
        Sincerely yours,
        Aleksey

        Comment

        Working...