This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* Custom SQL check (invoked using check_by_ssh) to ensure app server can query | |
* the database. Used with Groovy 1.5.6 on Debian Lenny against SQL Server. | |
* | |
* Opsview users should use check_sql_advanced for MySQL/PostgreSQL/Oracle or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copying and distribution of this file, with or without modification, | |
* are permitted in any medium without royalty provided the copyright | |
* notice and this notice are preserved. This file is offered as-is, | |
* without any warranty. | |
* | |
* Aggregate Opsview checks. | |
* @author Robin Bramley, Opsera Limited (c) 2010 | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use LWP::UserAgent; | |
use JSON; | |
# | |
# Check Hudson job status using the JSON API | |
# | |
# (c) 2009 Robin Bramley, Opsera Ltd. | |
# Copying and distribution of this file, with or without modification, |
NewerOlder