Checking for cron

Fredrik Wänglund Fredrik.Wanglund at datavis.se
Fri Sep 20 07:58:00 CEST 2002


Nagios_statd from http://www.twoevils.org/html/files.php will do the trick.



-----Original Message-----
From:	Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]
Sent:	Thu 19-Sep-02 16:45
To:	'Nagios-Users (E-mail)'
Cc:	
Subject:	RE: [Nagios-users] Checking for cron

Write a plugin to basically do "ps -ef | grep cron | grep -v grep" and if
the answer is null, return a critical error "exit 2".  Then call it remotely
using NRPE from your Nagios host.

But this begs the question... are you seriously having problems with cron
abending?

If I were you, I'd be checking logfiles and/or running truss and/or checking
with SunSolve.  If you're still not having any luck, try and install xinetd.
But seriously, I'd consider cron to be one of those daemons that never
exits, unless someone's been mucking with the libraries (or the binary, for
that matter).

jc

> -----Original Message-----
> From: Derek Belrose [mailto:derek at omegabyte.com]
> Sent: Thursday, September 19, 2002 3:33 AM
> To: 'Nagios-Users (E-mail)'
> Subject: [Nagios-users] Checking for cron
> 
> 
> Hey guys, I'm running Nagios to monitor a bunch of different systems
> (mostly the Sun/Cobalt Raqs) and I need to keep a close watch on crond
> to make sure it DOES NOT drop.  
> 
> I'm running it on one server and having it check others using the
> standard check_* plugins and I tend to want to stay away from SNMP due
> to a severe lack of understanding of it.
> 
> Any ideas on how I may check this on a reoccurring basis?
> 
> Derek
> Omegabyte Networks
> 
> 
> 
> -------------------------------------------------------
> 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
> 


-------------------------------------------------------
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





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list