Naar content


Email notifications for Dell LifeCycle with Linux

So I got myself a fancy new server. It really is great, I really love it, it performs great and I noticed that there was an option to execute an executable when an event was generated by the LifeCycle manager (which checks the status of all the hardware for you), which is awesome. But I couldn’t find an application which sends the report to me. I searched, and searched, but found only solutions for windows or I needed to lay down money for a simple script. My solution: I will make my own simple script and share it.


Script examples

As promised in this post I will give some examples of script usage within a project. This allows for more customizable control which is easy to maintain and implement. I will give examples for C# with the ClearScript library and NodeJs with the vm module. But you are not limited to these two langauges, most languages have their own JavaScript engine module/library. So try it with your favourite language.


Scripts and their usages

Most people when you toss up the term scripts will automatically think of JavaScript running within a browser. Although this is indeed the mayor use of JavaScript, it also has other usages. Another example with which people are fairly familiar is bash. Bash is used within Linux and Windows as shell / terminal scripts. In this post I will explain a bit about script languages and explain why I think that scripts are underused as method of flow control.