Generic File reader
Couple of things you need make sure before integrating new feed through generic file reader integration ...
1. Configure a new file reader in "Manage File Reader" option.
2. Write a custom device XML to support your file content you want to monitoor
3. Now you are ready to write alerts and reports.
go to system configuration->services->universal device collection->manage file reader
now click "add"
Choose a name for example Linux_History the new device
Choose an unique Device Tag - now this is important since you'll need it when you'll write tour UDS
so put again somthing like Linux_History
if there are headers in the data files than put up the number of the 1st line where the data can be found
hdr1 hdr2 hdr3
bla, bla, bla
than the Data start line will be 2
choose what are the delimiters between the data if we'll look at the example i gave than comma would be the field delimiter
and line delimiter would be LF (because this is linux file)
now click apply
congrat. you have defined a new file reader type now go to: system configuration-.services->device services->manage file reader service
put up the ip address of the new device and choose the new file reader type that you have just created.
now go to %_envision%\ftpfiles
there should be a new directory called: Linux_History_18.104.22.168 (accourding to my example)
if it's not created restart the file reader service.
you can configure FTP/SFTP agent to send the logfiles to this directory, envision from now on will monitor this directory and "suck" the files in every time it receives new one.
a new unknown device will be added now if not make sure that if this device already monitored as a diffrent type check the multi device property.
now all you need to do is to create a custom UDS for this new device and 'walla' you have created a genreic file reader custom device