Timestamp and ps status

RichTea mail at catsnest.co.uk
Sun Oct 7 15:18:56 CEST 2012


On Thu, Oct 4, 2012 at 9:36 PM, grant lowe <glowe11 at gmail.com> wrote:

> I'm kind of new to nagios. I really like it so far. It does a lot of
> good checks.
>
> Is there a tool that checks for a running process and also checks the
> timestamp on the log file the process is writing to? Specifically I
> would like it so that the nagios check only returns OK if the process
> is running AND the log file is say, no more than 10 minutes old.
>
>
What is the advantage of one check over two?

If you really need just the one check a bash / powershell scrip that ran
both would not be that complicated to make.

--
Ritchie

>
> I've been googling and I've seen tools that do one or the other but
> not both. Any help is appreciated!
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121007/5853b0b2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
-------------- next part --------------
_______________________________________________
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