Archive

Archive for the ‘VbScripts’ Category

Enumerate exchange mailboxes script

October 17th, 2009 No comments

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.

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

Enumerate all IIS websites script

October 15th, 2009 No comments

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
getAllWebSistesIIS.vbs WEB2
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

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

NRPE_NT Plugins

July 14th, 2009 No comments

There are quite a few nice nagios nrpe_nt plugins (vbs scripts) released by GroundWork, since 2006 they have
been working and improving these set of plugins.
Those scripts are very well written and they can be enhanced for your own platform.
I list here the functionality:

Read more…

VN:F [1.7.5_995]
Rating: 4.0/5 (2 votes cast)

Exchange MailBox Count nagios plugin

July 13th, 2009 No comments

A simple Nagios plugin to get the total number of current mailboxes exists in Exchange 2003 sever.
requires NRPE_NT to be installed and command must be defined. more info how to setup here.

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)
Tags:

Get Local Admins

May 18th, 2009 No comments

Remotely Get Local Admins Users inside Administrators group, for Workstations
Also tests the connectivity, it gets computers from AD object type “computer”
and it prints out a nice report.
download

VN:F [1.7.5_995]
Rating: 4.0/5 (1 vote cast)

Service Desk ticket automatization script

February 24th, 2009 1 comment

I wrote yet another plugin for Nagios that allow the dynamic and automtization of ticket creation.
The script is still under development but it does work, at least on my test with Unicenter Service Desk 11.

Read more…

VN:F [1.7.5_995]
Rating: 5.0/5 (2 votes cast)

Check Exchange Mailbox Size

November 28th, 2008 10 comments

Check_mboxsize.ws
Another Nagios plugin. One of my hardest to write.
Note that this will require the Nagios Plugin Service to run as a Administrator Account (local system account) will
not work!
Script example:
…nagios/libexec# ./check_nrpe -H SERVER114 -t 90 -u -c get_top_mbox -a SERVER114 3 2000 4000
WARNING – Full Name, Mona , 2.517,00 MB – San Pil, Eric , 1.175,00 MB – Cabo Boiola, Manul , 991,00 MB

Read more…

VN:F [1.7.5_995]
Rating: 4.0/5 (2 votes cast)

Change the Service Account

November 25th, 2008 No comments
Well as I posted bellow about the bug in NRPE_NT, it result I will have to change all my Nagios Plugins service set to a different account,

Read more…

VN:F [1.7.5_995]
Rating: 5.0/5 (1 vote cast)

NRPE_NT remote installation

October 28th, 2008 No comments

.
.
If you ever had to manage a multi Domain where every time you need to execute even a batch file you would have to authenticate…
Well I do use psexec.exe but since I had many problems where it does not copy the local file to remote then execute, i wrote this
script. In this specific case I was installing the Nagios Agent NRPE_NT to over 80 servers each server in a different Domain, at
least they all had the same admin password and I was able to dynamic get the domain names.

Read more…

VN:F [1.7.5_995]
Rating: 5.0/5 (1 vote cast)

Nagios Check BackupExec

October 23rd, 2008 4 comments

I wrote a new way of checking Exchange Backups, simple just needed to check the in AD the “Last time backup” of the Storage Group.  I wrote the much simpler and much more precise script to monitor Exchange Servers Backup. It reports Warning if the backup is > 2 < 5 days, if its over 5 days old it reports CRITICAL.

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)