summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michael Peters [Wed, 5 Aug 2015 18:24:48 +0000 (14:24 -0400)]
Merge branch 'collab/stompro/monitoring' of git.evergreen-ils.org:working/random into nagios-plugins
Michael Peters [Wed, 5 Aug 2015 18:15:08 +0000 (14:15 -0400)]
Nagios/Icinga: Check existance of daily PostgreSQL backup file
A Nagios plugin (also works with NRPE and Icinga) written in Perl
which checks for the existance of a daily PostgreSQL backup file.
To use, install to your nagios-plugins folder (usually /usr/lib/nagios/plugins)
and make sure the script has executable permissions by the nagios user.
This script will return one of three statuses to Nagios/Icinga;
OK - File does not exist, because it has not yet been created by cron.
OK - File exists.
CRITICAL File does not exist.
Follow the comments in the script to configure the first hour, on
a new day, that you want to begin checking for existance of the file.
A function is included so that you won't recieve a critical alert
when the clock hits 00:00 and no backup file exists because your
backup cron job has not yet run.
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Michael Peters [Wed, 5 Aug 2015 18:15:08 +0000 (14:15 -0400)]
Nagios/Icinga: Check existance of daily PostgreSQL backup file
A Nagios plugin (also works with NRPE and Icinga) written in Perl
which checks for the existance of a daily PostgreSQL backup file.
To use, install to your nagios-plugins folder (usually /usr/lib/nagios/plugins)
and make sure the script has executable permissions by the nagios user.
This script will return one of three statuses to Nagios/Icinga;
OK - File does not exist, because it has not yet been created by cron.
OK - File exists.
CRITICAL File does not exist.
Follow the comments in the script to configure the first hour, on
a new day, that you want to begin checking for existance of the file.
A function is included so that you won't recieve a critical alert
when the clock hits 00:00 and no backup file exists because your
backup cron job has not yet run.
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Josh Stompro [Wed, 5 Aug 2015 16:23:44 +0000 (11:23 -0500)]
Initial Commit for Monitoring script
Signed-off-by: Josh Stompro <github@stompro.org>
Josh Stompro [Thu, 18 Jun 2015 19:32:56 +0000 (14:32 -0500)]
Added "remote" to example git command for adding the remote repo.
Signed-off-by: Josh Stompro <github@stompro.org>
Thomas Berezansky [Thu, 22 Mar 2012 17:06:59 +0000 (13:06 -0400)]
Add quick README to the master branch
Otherwise the default clone branch will be empty.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>