shell script in nagios

Melanie Pfefer melanie_pfefer at yahoo.co.uk
Mon Sep 7 18:13:37 CEST 2009


Hi,

I have a shell script that greps for error in a log file and returns the entries if any.

Now I want to run this shell script in nagios so that the check runs periodically.

I expect nagios to do ssh and execute the shell script. If errors appear, the subject returns error in its subject and send the errors in attachement.

any idea please? thanks for sharing your ideas and experience


      


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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