Archive for the ‘VbScripts’ Category

nagios check events

August 1st, 2011 2 comments

This is a much usefull plugin that can verify the Windows Event Viewer via nagios remote check
I tested using the NC_NET on Windows 2003 and 2000. There is one tweek that needs to be done for
it to work under windows 2000.
After trying many of the available and complicated ways to do this, I decided to write my own
and share with everyone! 🙂

Read more…

Enumerate exchange mailboxes script

October 17th, 2009 1 comment

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…

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…

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…

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…

Categories: Exchange, Nagios, plugins, VbScripts 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.

Read more…

Categories: VbScripts Tags: , , , , , , , , ,

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…

Check Exchange Mailbox Size

November 28th, 2008 15 comments
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…

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…

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…