Ad Widget

Collapse

multiline support for item type text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hipikll
    Junior Member
    • Dec 2008
    • 12

    #1

    multiline support for item type text

    I have a problem to show/get multiline output from External scripts.
    I defined the item of type Text, but when it collects the data, only first line is always presented.
    Does the zabbix support multi-line values? Is there any guide how to handle with this situation?

    I can always replace the 'new line character' with other character inside the external script, but it is not the right way as it can cause the returned output less readable.
    (for example, when returning the sql query with multiple rows)
  • danrog
    Senior Member
    • Sep 2009
    • 164

    #2
    Interesting. I don't have this issue. We send a ton of SNMP traps into Zabbix and all of them are multiline (and even show so in the GUI). Type: Trapper and Info: Text.

    What version are you on? I have 1.8.1

    Edit: Maybe you are not looking at the history???? What page do you only see one line on?

    Comment

    • hipikll
      Junior Member
      • Dec 2008
      • 12

      #3
      I have External check

      But for others items, it is good to know, that trapper can receive more then one-line text.
      In my case, it's late to recreate the script for using zabbix_sender.
      I do not want to .

      Comment

      Working...