Ad Widget

Collapse

agent not working in freebsd 5 or 6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cipix
    Junior Member
    • Sep 2006
    • 1

    #1

    agent not working in freebsd 5 or 6

    Hi all !

    I installed zabbix_server + agent on a linux machine and that works well but I tried installing agent from ports on a fbsd 6 machine and besides the fact that the default port on the fbsd6 is 10000 instead of 10050 and the zabbix_agent.sh startup script is bad, when I finally managed to start it, it shows in logs that it listens but the server get any data from it.

    In server config page it shows the added host as Active and Monitoring but can't get any data out of it.

    I tried installing agent on a fbsd 5.4 machine and situation is the same.

    I enabled debug mode in agent on freebsd 5.4 and after a while I get alot of messages like:
    062354:20060905:103112 In check_security()
    062354:20060905:103112 Connection from [xxxxxxx]. Allowed servers [89.34.72.46]
    062354:20060905:103112 Before read()
    062354:20060905:103112 After read() 2 [23]
    062354:20060905:103112 Got line:vfs.fs.size[/var,used]
    062354:20060905:103112 Sending back:ZBX_NOTSUPPORTED

    Now I suspect the fbsd zabbix agent and linux server don't get along very well, so I'll start debugging the source code but still anyone has seen this error before and knows how to fix it ?


    Thanks
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Are you sure that agent you installed is version 1.1.x? Note that key naming was different in pre-1.1 agents, that's obviously why you've got vfs.fs.size[/var,used] unsupported.

    Please try to compile FreeBSD agent from official ZABBIX 1.1.1 and report any problems if any.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...