Ad Widget

Collapse

zabbix with mrtgext (novell)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • limo
    Senior Member
    • Dec 2004
    • 192

    #1

    zabbix with mrtgext (novell)

    Hi all,

    I have this issue to strip more white characters from zabbix agent answers. Now my monitored novell server does not return values. I really do not know, what is char ^M (ascii 005). but I would to see it stripped. And other white chars too.

    Am I wrong ?

    019136:20061205:111828 Type of received value [284^M] is not sutable for [CONNMAX@nwserver] having type [0]
    019136:20061205:111828 Returning NOTSUPPORTED
  • Calimero
    Senior Member
    • Nov 2006
    • 481

    #2
    Looks like you have Windows line endings (\r\n) when Zabbix expects Unix line endings (\n).
    You can get rid of the carriage return (\r) by piping your command to "tr -d" for example.

    Comment

    • limo
      Senior Member
      • Dec 2004
      • 192

      #3
      That is quite inpossible. I can do this on linux, but not on novell. mrtgext is software for novell netware, I have no command tr there.. only mrtgext software..

      Comment

      • Calimero
        Senior Member
        • Nov 2006
        • 481

        #4
        Novell has no shell scripting (or any kind of scripting) ?

        Comment

        • limo
          Senior Member
          • Dec 2004
          • 192

          #5
          Yes, it does some kind of scripting, but mrtgext is same as zabbix agent, so daemon which has builtin commands. If I want to change something, I have to change source, not doing script.

          Comment

          Working...