Ad Widget

Collapse

userparameters and proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sballe73
    Junior Member
    • Jul 2015
    • 2

    #1

    userparameters and proxy

    Hi,
    I made a test custom userparameters that gets minutes from date.
    UserParameter=sb.gauges.fuel, date | cut -d ":" -f 2

    It works perfectly when host is connected directly to the server, but does not get any info when it is connected by proxy.

    On the other hand, I get SSHD service stats all the time from the same agent, no matter if it is connected directly of through the proxy.

    I checked my agentd config, it's the proxy address that is indicated for both server and serverActive.

    Is there an issue with proxy+UserParameter ?
  • acropia
    Junior Member
    • Mar 2015
    • 26

    #2
    There is an issue with UserParameters and Proxies, but in a slightly different situation. When a UserParameter is configured as Remote Command, then this will not work in a default setup with Zabbix Proxies.

    But using UserParameters just as Item Key, this definitely works behind Zabbix Proxies too. I monitor hundreds of items that way, and it's all working fine.

    Comment

    • sballe73
      Junior Member
      • Jul 2015
      • 2

      #3
      The problem was : Proxy was on the same machine as the agent and I had 127.0.0.1 as server address (and active). I changed config for the external address and it worked.

      Anyway, what was confusing was that in all cases it worked for the SSH stnadard template check. And it was working with the proxy, I unplugged the network to simulate communication failure then plugged it back to check data was kept.

      Comment

      Working...