BBWIN VB script for MySQL externals testing

On February 16, 2010, in How-to, Projects, Scripting, by Cubert aka (Cube Dweller)

Use BBWin to Monitor Your MySql Server
This little script allows you to quickly test your MySql server using BBWin .

It connects to MySql and queries SHOW STATUS from your server and returns the Stats.

[caption id="attachment_286" align="alignright" width="80" caption="www.AlertOnFailure.com"][/caption]

The script will alert if connection fails or records not returned.

You will need Continue reading

Tagged with:
 

PHP preg_match hostname and domain from FQDN

On February 11, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

How to get the hostname and the domain name from FQDN in PHP

This sound easy right? So easy that you would think it would be all over the internet as an example on how to parse host names from domain names. Wrong…. I spent a hour one day looking everywhere and all I found was parsing a URL. Well my needs go deeper I need to do a Continue reading

Tagged with:
 

More VBScript created for BBWin External testing for www.AlertOnFailure.com

On February 10, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

AOF adds VBScript created for BBWin External testing to it’s library

[ipconfig]

Microsoft Networking Information Overload
What a name! The MOAB of network information this jewel of a script dumps out all sorts of good information to have at your finger tips.

In this version there is only one status of green so you Continue reading

Tagged with:
 

I’ve created 2 new VB scripts to use with AOF and BBWin’s External test functions. These scripts were tested on BBwin 0.12 and AOF Beta and work great!

[RePing] Ping multiple internal host addresses

Provides the ability to ping multiple host behind a firewall or other device, Great is you need to test to see if a Wireless AP is up or if a network printer is Continue reading

Tagged with:
 

PHP Pagination with timestamp / timeline display

On February 3, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

Pagination with a timestamp as the center value

We provide a way to scroll page to page of data and show the time stamp of when the data was collected as part of the page navigations.

Here we setup the first query and findout how many pages we have.

$sql = “SELECT COUNT(*) FROM table where name = ‘” . $name . “‘ and type = ‘” Continue reading

Tagged with: