[Pacemaker] System Health backend patch part 1

Andrew Beekhof andrew at beekhof.net
Mon Jun 8 18:00:20 EDT 2009

You might find:

+	syslog (LOG_INFO, "Event id:        "U64T"\n", event_id);
+	syslog (LOG_INFO, "Log timestamp:   %s\n", ctime (&(event->time_logged)));
+	syslog (LOG_INFO, "Event timestamp: %s\n", ctime (&(event->time_event)));

to be quite noisy.  Perhaps LOG_DEBUG and/or combining them into a
single line would be a good idea.

+	    if (execvp (attrd_updater_args[0], attrd_updater_args) == -1)

I think instead of exec'ing attrd_updater, you might as well link
against libcrmcommon.so and use the attrd_update_no_mainloop()  API

On Mon, Jun 8, 2009 at 9:00 PM, Mark Hamzy <hamzy at us.ibm.com> wrote:
> Okay, here is my first pass at the backend part needed for system health.
> Comments/suggestions?
> (See attached file: pacemaker.mark.patch)
> Mark
> Common Information Model/Web-Based Enterprise Management at
> http://www.openpegasus.org/
> Take a look at the Linux Omni Printer Driver Framework at
> http://omniprint.sourceforge.net/
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

More information about the Pacemaker mailing list