A resource monitoring agent for Windows Server
giraffi-powershell-agent
is an agent for monitoring Windows Server
.
The agent installed in your server environment can collect and post data (memory usage and CPU load average)
to the specific Giraffi API over SSL.
The agent is designed to work with the Windows Task Scheduler
so you can set up the agent to run whenever
you like (once a day, every 5 minutes, etc.).
The agent is a Windows PowerShell
script. You’re free to examine and change its source code.
Requirements
- PowerShell 2.0 or later.
- Giraffi APIKEY. *Giraffi is a monitoring service.
Installation
- Download this repository as a zip file from https://github.com/giraffi/giraffi-powershell-agent/zipball/master
- Extract the zip file.
- Execute
install.bat
to open a command prompt. - Enter your Giraffi APIKEY and RETURN at the command prompt.
- It enables you to insert the APIKEY into the file
C:\opt\agent\apikey.txt
and schedule the launch ofC:\opt\agent\agent.ps1
with Task Scheduler. The default setting is to enable an agent to run every 5 minutes.
Notes
- The agent records an error in the
Event Log
. - The default
Custom Key
value is aMAC Address
dynamically detected from the NIC used as the default gateway .
Sample Image
License
Copyright © 2011 Firstserver,Inc. Licensed under the Apache License, Version 2.0.