Fixlet generic question

(imported topic written by rkneal91)

We are wanting to do something on each endpoint that requires us to write a service. basically if acronis true image is present in registry, we want to do things like send the log files to our sftp server for archiving, send the machine id to the sftp server, grab files from the sftp server to place back on the endpoint, etc, etc.

originally was going to be a new service in c# to do this, but now wondering if it’s possible i could build a fixlet script that could check for presence of acronis, and if so it runs some scripts that will send what we need to the BES server or run some sftp scripts? i guess my whole point is to avoid having to build yet another agent running on the machine and instead let a fixlet do this. I’m brand new to fixlet scripts so if this is not possible then don’t want to look into it further, but i can see us needing more and more things like the above and leveraging what we have already would be nice. This way we could also manage the script should it need to be modified from BES versus having to go visit all those endpoints if ever change something.

can anyone give me some advice where to start. We have some pretty good programmers and downloaded the API manual and such. but is there a fixlet scripting manual that would be more useful than looking into the API to do things like this? this would also get our feet wet on learning the basics on fixlet messages, they look pretty straighforward when we look at them, but also look to be really powerful.

any help would be appreciated, thanks!

(imported comment written by BenKus)

Hi rkneal,

Yep. This is actually pretty easy…

The relevance to see if their agent is running is something like:

exists service “agent”

Detecting the log files will look something like this:

exists files whose (name of it contains “.log”) of folder “C:\program files\acronis\logs”

Then you can use the Upload Manager to collect your files:

http://support.bigfix.com/product/documents/Upload_Archive_Manager_80_101211.pdf

(Note that we will likely have an “Upload Manager wizard” coming to BigFix Labs soon that would help you craft your Upload Manager action… but it isn’t that hard if you want to look at it… there are other examples on the forum…)

Ben

(imported comment written by rkneal91)

thanks BEN!!!