Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Absent Member.. TrentLay Absent Member..
Absent Member..
100 views

Discover file contents with DDMI?

Jump to solution
Hi I would like to populate an attribute of discovered hosts with a value discovered in a file.

e.g. poppulate the descrioption attribute with a value found in the /etc/motd file i.e. the banner recevied at login to describ e a system's purpose.

Can DDMI do this?
0 Likes
1 Solution

Accepted Solutions
Highlighted
Matthew Darwin Absent Member.
Absent Member.

Re: Discover file contents with DDMI?

Jump to solution
Yes.

1. Open Scanner Generator
2. Get to the Asset Data tab
3. Pick the field you want to populate
4. Double click that entry
5. Change the type to "Text File Extract"
6. Put the filename as /etc/motd
7. Put a search string of what you want to find
8. Save the scanner and run it

View solution in original post

2 Replies
Highlighted
Matthew Darwin Absent Member.
Absent Member.

Re: Discover file contents with DDMI?

Jump to solution
Yes.

1. Open Scanner Generator
2. Get to the Asset Data tab
3. Pick the field you want to populate
4. Double click that entry
5. Change the type to "Text File Extract"
6. Put the filename as /etc/motd
7. Put a search string of what you want to find
8. Save the scanner and run it

View solution in original post

Absent Member.. TrentLay Absent Member..
Absent Member..

Re: Discover file contents with DDMI?

Jump to solution
Thanks! Works perfectly.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.