Strategies for monitoring a generic batch script

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Feb 3 12:52:19 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/02/09 03:10 AM, Paolo Tealdi wrote:
> Dear all,
> 
> i'm searching for the best strategy in nagios for monitoring the 
> result of the execution for a generic batch (could be an rsync batch 
> or a backup or something else) that runs a few times in a day via 
> cron interface.
> I could create a file if all goes well and check for the existance of 
> the file and for it's creation/modification time, but this seems to 
> me a little awkward ...
> Anybody has a better idea ?

I use send_nsca and configure a passive check - the script returns OK of
no error occurred or an error status if anything went wrong. This also
has the advantage of reducing the load on your monitoring server.

You can also use freshness checking to send an alert when no results
come in after some time.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJiC/z6dZ+Kt5BchYRAu8BAJ0X89B3P7kgAiN5IAfl43IAbXa9wQCeMJ+k
FVJ7ZfYLEFyEhorO4PW80Ho=
=ESlf
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list