I like this API as its free, offers a simple way of generating decent looking charts and it doesn't require an API key.Īlso in order get access to the model in the javascript I had to use some inline script in the views which I think is not the ideal way of doing things. In order to create visually pleasing charts I used the Google charts API. However a full list of available classes are available on MSDN here. For my gadget I decided to stick with some basic monitoring. Also WMI is a huge area, its possible to collect information about your system in eye watering detail. Fortunately for me Shakti Singh Tanwar had already written a post of how to do this: so I extend my gratitude to him. Therefore I needed to temporarily elevate the permissions to those of the user credentials collected when first starting the gadget. However the default ASP.net account does not have the required permissions to access some of the counters (such as CPU load) locally. Windows Management Instrumentation (WMI) is used to retrieve the system information (either locally or remotely). There are a couple of interesting points about the gadget. ![]() Users can set through configuration the critical threshold which is used when deciding what colour to use for memory and disk usage.īy supplying the appropriate credentials it possible to monitor remote machines (The screen shot shows the gadget running on my local machine but monitoring a remote machine (highlighted)): The gadget allows users to specify what to monitor and where to monitor it:īy adding a couple of instances of my gadget its possible to build up a simple dashboard that allows users to see what is going on with their server: A visually pleasing way of presenting core system information (CPU load, memory usage and disk space).A gadget that gave the user control of what they wanted to monitor on a local or remote system.My entry for the EPiServer gadget contest is a system monitor. I wanted to provide administrators/developers a quick way of checking the health of a local or remote server at a glance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |