Nagios to monitor custom shell scripts

Subhendu Ghosh sghosh at sghosh.org
Wed Sep 3 00:59:25 CEST 2003


On Tue, 2 Sep 2003, Alexander Rohde wrote:

> Hello,
> 
> I was searching for a monitoring tool to check if my jobs (shell scripts) 
> ran and with which state (successful, failed). Eventually I'd like to even 
> start them using Nagios.
> 
> I read in the FAQ about the plugins and thought it might be possible to 
> write one for that purpose.
> 
> I now want to ask if anybody has a similar requirement and what the 
> expirience with Nagios was.
> 
> Thanks in advance for any response.
> Alex
> 


Create passive services for the shell scripts and keep freshness to 
largest possible interval.

Have the shell script determin success/failure of the job and then submit 
a passive update to Nagios.

FYI - don't use Nagios as a replacement for cron - specially with smart 
scheduling.


-- 

-sg



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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