-----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
[email protected]
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

Reply via email to