Ad Widget

Collapse

Convert string from a SNMPWALK in a discovery rule

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arthur BOSSEAUX
    Junior Member
    • Oct 2024
    • 2

    #1

    Convert string from a SNMPWALK in a discovery rule

    Hi,

    I need assistance on how to convert hex strings that are the result of a discovery rule into text strings

    My discovery rule is a SNMP Agent query that looks like this : discovery[{#SIGGROUPNAME},.1.3.6.1.4.1.177.15.1.5.4.1.2]

    And the result looks like that : [{"{#SNMPINDEX}":"1","{#SIGGROUPNAME}":"HEX STRING THAT I WANT TO CONVERT"}

    How coudl i do that ? I've tried to use preprocessing steps but I can't get it working

    Best regards,
  • Arthur BOSSEAUX
    Junior Member
    • Oct 2024
    • 2

    #2
    Anyone would know how to do that ?

    Please

    Comment

    • ISiroshtan
      Senior Member
      • Nov 2019
      • 324

      #3
      Never had a need for this specific scenario, so can not answer from personal experience. But checkout this thread. If nothing else, you can use it as basis for drafting your own solution.

      Comment

      Working...