- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2017 10:59 PM
Hello!
I want to parse command output and create a new variable for each line.
How to mark lines and link it to nesussary variable?
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 08:08 AM
I have found solution.
If command output has a few rows, you have to use $cpu_name[n] in the value field, where n is a number of the line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2017 11:55 PM
Create Table and using filter condition you can store required information in each row of that table. Bottom of this window there are two fields through which you can do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 01:02 AM
Hello, thanks for reply.
I have created necessary table earlier(u_cmdb_ci_freebsd on my screen). Data are recording to my table correct, but some command results have 3 or more rows and I want to parse them inside "Discovery pattern".
What two fields are you talking about and where is filter condition situated on? Can you show me screen of this fields or linked me to any setup guide?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2017 08:08 AM
I have found solution.
If command output has a few rows, you have to use $cpu_name[n] in the value field, where n is a number of the line.