Monitoring Individual Programs

Joe Giles jgiles at joeman1.com
Thu Aug 15 18:11:59 CEST 2002


Actually, I did find a .pl script for this on sourceforge called REL check_process. I tested this on CL and it works... Now to impliment it into nagos... Any thoughts on how to do this?

Thanks
Joe

> It would be fairly simple to write a plugin to do this.  I don't think 
> one currently exists in the plugins package... at least, there doesn't 
> appear to be one in my libexec directory.
> 
> Do you happen to know any perl?
> 
> All you really have to do is call something like...   ps a | grep 
> path_to_process   from a script and then check the returned data to see 
> if your process is in the list.
> 
> If it is, then you return an OK status, otherwise you return Critical 
> (or even Warning).
> 
> HTH
> 
> - Terry
> 
> On Thursday, August 15, 2002, at 09:42 AM, Joe Giles wrote:
> 
> > List,
> > Im new to NAGIOS, but I have looked through the docs and Im still at a 
> > loss. I have NAGIOS up and running and its great. However, I have 3 
> > applications that run and I would like to be notified if they crash. Is 
> > there a way to monitor the apps by CMD name and not PID? The reason for 
> > this is they stop and restart pirodically so the PID changes.
> >
> > Thanks
> >
> > Joe Giles
> > jgiles at joeman1.com
> > AOL ID: mcigiles
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: OSDN - Tired of that same old
> > cell phone?  Get a new here for FREE!
> > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list