I monitor my cfagent proc via nagios and set up an eventhandler that restarts it if necessary. Works pretty well too.
On 12/5/06, Nate Campi <[EMAIL PROTECTED]> wrote:
I don't remember where I got this, but parsing syslog and/or the direct cfexecd output from my policyhost has been sufficient so far. Of course, if cfagent isn't working on the policyhost... :( ################################################### alerts: policyhost:: # # Warn about hosts that have not connected within the # last 12 hours # FriendStatus(12) ifelapsed=720 ################################################### On Thu, Nov 09, 2006 at 10:52:52AM -0600, Russell Adams wrote: > I tie my cfagent to init, as a direct child. > > Russell > > On Thu, Nov 09, 2006 at 04:43:18PM +0100, Spindler Michael wrote: > > Hi Arkadi, > > > > > I have a question regarding monitoring the cfagent process. > > > Currently I monitor the cfservd process but there is still a > > > chance that cfagent does not work because of for example a > > > key problem. This will not be seen when monitoring the > > > cfservd process. > > > Is there a default way to check this? > > > > > > > at our site, every cfagent run touches the file > > /var/log/cfengine.monitoring. Our monitoring software checks the mtime of > > this file and if it wasn?t modified for a certain time, we generate an alarm > > for this server. > > > > Best regards, > > Michael > > > > > _______________________________________________ > > Help-cfengine mailing list > > Help-cfengine@gnu.org > > http://lists.gnu.org/mailman/listinfo/help-cfengine > > ------------------------------------------------------------------ > Russell Adams [EMAIL PROTECTED] > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine > -- Nate "They [Computers] can rattle off the Manhattan telephone directory unerringly time after time, which no human can do, but they cannot begin to distinguish one face from another, as babies can do." - LEE DEMBART, in New York Times _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine
-- stucky
_______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine