Ad Widget

Collapse

UserParameter Stops working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dcrandall
    Member
    • Apr 2006
    • 59

    #1

    UserParameter Stops working

    Hi,

    This is happening wth both zabbix-1.1beta8 and zabbix-1.1beta9.
    FreeBSD 5.4-STABLE, and FreeBSD 4.10-STABLE

    Basically, I login to my host that I'm monitoring, run my start script for zabbix_agentd. Watch the Zabbix web interface and see my hosts UserParameter Items come on line and get populated with data. Working perfectly. Then I log out..
    As soon as I log out, the server stops recieving updates from the agent for the items defined by a UserParameter. Other items continue working fine.
    I can log back in to the host and do a "zabbix_agentd -p" and see that the zabbix_agentd is collecting data from my user parameters. But zabbix_get on the server shows 0.
    If I restart zabbix_agentd, the server starts collecting again. zabbix_get gets a real value, in this case 39, and it shows up in the interface.
    Again, as soon as I log out of the host, the server stops retrieving values again.

    Help!

    Daniel
  • dcrandall
    Member
    • Apr 2006
    • 59

    #2
    Figured it out. Not a zabbix_agentd problem as I had originally though.
    Turns out the ps command on FreeBSD sets the display size to whatever your terminal window is set to. So when I would log out, ps would just simply stop outputing stuff.
    The solution is to put a -w or -ww with your ps command.

    Comment

    Working...