Nagios as Cron (fwd)

Jason Martin jhmartin at toger.us
Fri Apr 16 17:55:49 CEST 2004


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

Now that is an idea; have the script update the file at a successful 
completion and have a plugin that verifies that the file has been updated 
properly in the correct timeframe. The script could even write out an 
error message there if it fails in place of the timestamp which the plugin 
could return.

Thanks,
- -Jason Martin


> One thing to do, would be to add a status file to the application to the 
> application, then build a custom plug-in for Nagios to check the status 
> file. If you include the date in the status file, then the plug-in could 
> check the status file for "todays" data. 
> ----
> Peter Gutmann
> Peter.Gutmann at db.com
> 
> 
> 
> 
> 
> Jason Martin <jhmartin at toger.us>
> Sent by: nagios-users-admin at lists.sourceforge.net
> 04/16/2004 11:32 AM
> 
>  
>         To:     nagios-users at lists.sourceforge.net
>         cc: 
>         Subject:        Re: [Nagios-users] Nagios as Cron (fwd)
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Just to clarify, on this point I am looking for recommendations on how to 
> monitor events that occur just once a day. Log rotation is just an 
> example; there are other events (nightly shutdown of the application, 
> other maintenance activies). 
> 
> Thanks,
> - -Jason Martin
> 
> > > That would work for the hourly job. What do you recommend for the 
> daily 
> > > logrotation job? 
> > 
> > logrotate works quite well.
> Sorry, I should have said that I want to monitor that the log rotation
> script (and other nightly maintenance jobs) worked properly. I could have
> it send a passive alert or write a plugin to check that it did what it was
> supposed to do.  Which is more appropriate?
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.3.5 (GNU/Linux)
> Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/
> 
> iD8DBQFAf/yXl2ODWuqVSBMRAqYxAJ9zzKSGfar/dgGUaaoOsL1rv1uC1QCeMK0X
> 5RKToqACbvbCApoFB4XvE9o=
> =8v/J
> -----END PGP SIGNATURE-----
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> 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
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQFAgAIIl2ODWuqVSBMRAqlYAJ0cSfCapz/8CTrnPUd4metdg9UOtgCgkHyC
mN1RiR0qKN3UaXgb60T33ow=
=qBzG
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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