Ad Widget

Collapse

SNMP item extract values from text/string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Forseti
    Junior Member
    • Apr 2014
    • 9

    #1

    SNMP item extract values from text/string

    Hi,

    I have some QNAP NAS Systems and want to monitor some Temperature values. But the QNAPs gave the values in a OctectString Format like "26 C/51 F". Now I want to extract with an regex my value from the text on-the-fly in the item itself.
    I saw in an old Forumsthread an posting from somebody, he wrote thats not possible right now (2011). Only with an external script and an sed/awk thing.

    Is there a new or a better solution on the way or implemented, right now?

    Thanks!
  • maxxer
    Member
    • Oct 2010
    • 80

    #2
    hi. did you ever solve this? I need to do the same for a Iomega NAS.

    thanks

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      Take a look on the thread https://www.zabbix.com/forum/showthr...777#post159777, especially my post


      Yes, I used external script to convert the text string to numeric value, because I didn't find any other ways to do it.
      Sincerely yours,
      Aleksey

      Comment

      • viktorkho
        Member
        • Jul 2013
        • 90

        #4
        Originally posted by aib
        I used external script to convert the text string to numeric value ...
        We should stop it, vote here: https://support.zabbix.com/browse/ZBXNEXT-1443

        Comment

        Working...