Ad Widget

Collapse

Dynamic UserParameter not properly calculated until a restart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • plepot
    Junior Member
    • Oct 2013
    • 2

    #1

    Dynamic UserParameter not properly calculated until a restart

    Hello everyone,

    I encounter a weird behaviour on one of my zabbix agent. I am monitoring the CPU temperature. I get two value current an maximum. The two values are in the text output of the sensors command that is then passed onto an 'awk' script.

    Attached the 2 user parameters:

    Note: for the sake of conciseness, I removed the path in front of sensors and awk

    When the machine boots up and the agent is starting, all values are properly populated except temp.core.max that returns an empty string

    Surprisingly the workaround is to restart the agent and then everything works fine. I did try to start the agent after the proxy running on the same machine without any improvement.

    Did anyone encounter the same situation or have clean solution as restarting the agent after a reboot is not ideal?

    Phil
    Attached Files
Working...