Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster.
To find out if your Microsoft cluster did a failover is a boring task to go in the eventviewer or logs. Well I wrote a script that does just that
all it needs is check_nt NC_NET plugin on the server and nagios.
I tested with Windows Server 2008 and 2003 and NC_NET 4.x
Hope its helpfull for everyone.
Well if you have the mission to keep multiple webservers IIS 6.0 with exactly same setup its not an easy job!
I was faced with this challenge and ended up writing yet another vbs script.
I played with Microsoft tool web deploy
I had already written a simillar script, that would go thru an entire Cluster and SGs, these one implements same theory but it is more flexible and easy to use.
Basically you will get 3 types of info and all easily imported to excel, so you can show your boss a nice report.
These script can be usefull when we want to know or map where are all our websites located. It is also capable of querying remote servers like
I did like
getAllWebSistesIIS.vbs WEB2 >> web2sites.txt and then I imported to an excel. It makes life easier to know all websites our servers have.
My ideas to improve the script are:
get port bind, get home directory location, better print UP/DOWN, nagios plugins to monitor websites