Re: [Pacemaker] System Health backend patch part 1 (Andrew Beekhof)

2009-07-02 Thread Mark Hamzy
and...@beekhof.net wrote on 06/30/2009 14:14:12 PM: > I'd prefer sbin_PROGRAMS instead of halib_PROGRAMS for > notifyServicelogEvent (the others are only installed there for legacy > reasons). > Also, since you're linking against crmcommon (which should be > $(top_builddir)/lib/common/libcrmcommon

Re: [Pacemaker] System Health backend patch part 1

2009-06-30 Thread Andrew Beekhof
I'd prefer sbin_PROGRAMS instead of halib_PROGRAMS for notifyServicelogEvent (the others are only installed there for legacy reasons). Also, since you're linking against crmcommon (which should be $(top_builddir)/lib/common/libcrmcommon.la btw), you may want to use the crm_err(), crm_debug() macros

Re: [Pacemaker] System Health backend patch part 1

2009-06-09 Thread Mark Hamzy
and...@beekhof.net wrote on 06/09/2009 00:00:20 AM: > 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)));

Re: [Pacemaker] System Health backend patch part 1

2009-06-08 Thread Andrew Beekhof
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 com

[Pacemaker] System Health backend patch part 1

2009-06-08 Thread Mark Hamzy
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:/