Monitoring NTFS diskspace with Nagios
After struggling for a while on how to get alerts from nagios when the diskspace on a Microsoft Windows server runs low, i decided to write a simple shell script.
Requirements:
- A server running linux with Nagios installed (tested on Ubuntu 10.4.3 LTS with Nagios 3.3.1)
- snmputils installed (the script uses snmpwalk and snmpget)
Archiving IIS Logs with Powershell
A commonly asked question about IIS I read many times is: is there an easy way to archive IIS logs. After reading many forums and blogs I couldn’t find something that does this job for me.
This script uses 7zip to compress the files, and since logfiles are plain-text only, the compress-ratio is pretty good.
Requirements:
- Windows Powershell modules installed
- 7zip installed (http://www.7-zip.org/)
Welcome to my new Blog !
Hello world !
I assume that when you’re reading this post, you have found your way to my personal blog!
On this blog I’ll try to keep you informed about what I do in daily life, and share some easy tricks with you that could make the life of a sysadmin a lot easier !
Have fun reading !