Ad Widget

Collapse

Zabbix Agent Userparameter not refreshing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kaste
    Junior Member
    • Apr 2015
    • 4

    #1

    Zabbix Agent Userparameter not refreshing

    Hello,

    i added a custom userparameter to my Zabbix Agent and created an item on our Zabbix Server. Since i made a mistake in the userparameter the created item became unsupported. Instead of a numeric value the item received a string. I corrected my mistake and created a second item that uses the same userparameter. Now i have a strange Problem:
    The second item receives the correct numeric values while the first item still receives only a string.
    Both use the same key and the zabbix-agent has been restarted.
    Does zabbix cache userparameters somewhere or why do the items seem to use different parameters?

    Thanks
  • kaste
    Junior Member
    • Apr 2015
    • 4

    #2
    Solved

    Hello again,

    solved the Problem.
    Was not a Problem with Zabbix but one of the parameters i passed to my user parameter includes "'#"

    curl -s "imaps://user[email protected]/INBOX/;UID=1;SECTION=HEADER.FIELDS%20(DATE)"

    didn't work because i could not escape the #

    curl -s --url "imaps://imap.url/INBOX/;UID=1;SECTION=HEADER.FIELDS%20(DATE)" --user "userassword"

    worked.

    Thanks.

    Comment

    Working...