projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netcmd plugin: Added a first version of a control socket plugin.
[collectd.git]
/
src
/
ipmi.c
diff --git
a/src/ipmi.c
b/src/ipmi.c
index
f341320
..
51d33dc
100644
(file)
--- a/
src/ipmi.c
+++ b/
src/ipmi.c
@@
-18,7
+18,7
@@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* Authors:
- * Florian octo Forster <octo at
verplant
.org>
+ * Florian octo Forster <octo at
collectd
.org>
* Peter Holik <peter at holik.at>
* Bruno Prémont <bonbons at linux-vserver.org>
**/
* Peter Holik <peter at holik.at>
* Bruno Prémont <bonbons at linux-vserver.org>
**/
@@
-557,7
+557,7
@@
static int thread_init (os_handler_t **ret_os_handler)
ipmi_domain_id_t domain_id;
int status;
ipmi_domain_id_t domain_id;
int status;
- os_handler = ipmi_posix_thread_setup_os_handler (SIG
USR2
);
+ os_handler = ipmi_posix_thread_setup_os_handler (SIG
IO
);
if (os_handler == NULL)
{
ERROR ("ipmi plugin: ipmi_posix_thread_setup_os_handler failed.");
if (os_handler == NULL)
{
ERROR ("ipmi plugin: ipmi_posix_thread_setup_os_handler failed.");
@@
-664,12
+664,12
@@
static int c_ipmi_init (void)
int status;
/* Don't send `ADD' notifications during startup (~ 1 minute) */
int status;
/* Don't send `ADD' notifications during startup (~ 1 minute) */
- time_t iv = CDTIME_T_TO_TIME_T (
interval_g
);
+ time_t iv = CDTIME_T_TO_TIME_T (
plugin_get_interval ()
);
c_ipmi_init_in_progress = 1 + (60 / iv);
c_ipmi_active = 1;
c_ipmi_init_in_progress = 1 + (60 / iv);
c_ipmi_active = 1;
- status = pthread_create (&thread_id, /* attr = */ NULL, thread_main,
+ status = p
lugin_
thread_create (&thread_id, /* attr = */ NULL, thread_main,
/* user data = */ NULL);
if (status != 0)
{
/* user data = */ NULL);
if (status != 0)
{