<div dir="ltr">I have a script that does that, I'll upload it <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 27, 2014 at 5:03 AM, Martin Flemming <span dir="ltr"><<a href="mailto:martin.flemming@desy.de" target="_blank">martin.flemming@desy.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Thanks, Jeremy & Carl for the hints !<br>
<br>
That's will be the way (external process- or logfile/pidfile-monitorscript)<br>
<br>
Anyway, i thought there is eventually a built-in function for this ;-)<br>
<br>
thanks & cheers<br>
<br>
   martin<div class="HOEnZb"><div class="h5"><br>
<br>
On Sat, 25 Oct 2014, Jeremy Ruffer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What platform are you on?<br>
<br>
On Linux you can do<br>
ps -p<pid> -oetime<br>
or<br>
ps -C<backupname> -oetime<br>
<br>
You just need an external script to report green if it's not found.  If it's been going over 24 hours then the format is D-HH:MM:SS so you just need to check for the dash then check the number of days.<br>
<br>
Jeremy<br>
<br>
On 24/10/2014 13:01, <a href="mailto:martin.flemming@desy.de" target="_blank">martin.flemming@desy.de</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 Hi !<br>
<br>
 Unfortunatley i didn't found a solution for my problem except these<br>
 threads, which are not really a soluton :-(<br>
<br>
http: //<a href="http://lists.xymon.com/archive/2008-February/017554.html" target="_blank">lists.xymon.com/archive/<u></u>2008-February/017554.html</a><br>
http: //<a href="http://lists.xymon.com/archive/2013-July/037868.html" target="_blank">lists.xymon.com/archive/<u></u>2013-July/037868.html</a><br>
<br>
 The question is, if anybody has a idea,<br>
 how i can monitor the runtime for certain processes,<br>
 preferably with his pid ?<br>
<br>
 My real problem is, that my backup-system runs at beginning of the months<br>
 maybe more than 2 days ... but in the normal way it's runs 2-4 hours ...<br>
<br>
 So, i want to have a yellow alert after 24 hours and a red alert after 48<br>
 hours .. is this possible ?<br>
<br>
 Thanks & Cheers<br>
<br>
        Martin<br>
 ______________________________<u></u>_________________<br>
 Xymon mailing list<br>
 <a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
 <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</blockquote>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>