Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
massie committed Dec 15, 2004
1 parent 8099eca commit 55e39e4
Show file tree
Hide file tree
Showing 7 changed files with 428 additions and 33 deletions.
14 changes: 9 additions & 5 deletions monitor-core/gmond/conf.h
Expand Up @@ -19,6 +19,9 @@ udp_recv_channel { \n\
port = 8649 \n\ port = 8649 \n\
bind = 239.2.11.71 \n\ bind = 239.2.11.71 \n\
} \n\ } \n\
tcp_accept_channel { \n\
port = 8666 \n\
} \n\
collection_group { \n\ collection_group { \n\
name = \"cpu_stat\" \n\ name = \"cpu_stat\" \n\
metric { \n\ metric { \n\
Expand Down Expand Up @@ -51,11 +54,10 @@ static cfg_opt_t location_opts[] = {
CFG_END() CFG_END()
}; };


static cfg_opt_t id_opts[] = { static cfg_opt_t cluster_opts[] = {
CFG_STR("cluster", NULL, CFGF_NONE ), CFG_STR("name", NULL, CFGF_NONE ),
CFG_STR("owner", NULL, CFGF_NONE ), CFG_STR("owner", NULL, CFGF_NONE ),
CFG_STR("latitude", NULL, CFGF_NONE ), CFG_STR("latlong", NULL, CFGF_NONE ),
CFG_STR("longitude", NULL, CFGF_NONE ),
CFG_STR("url", NULL, CFGF_NONE ), CFG_STR("url", NULL, CFGF_NONE ),
CFG_END() CFG_END()
}; };
Expand Down Expand Up @@ -97,6 +99,8 @@ static cfg_opt_t tcp_accept_channel_opts[] = {
CFG_INT("port", -1, CFGF_NONE ), CFG_INT("port", -1, CFGF_NONE ),
CFG_STR("interface", NULL, CFGF_NONE), CFG_STR("interface", NULL, CFGF_NONE),
CFG_STR("protocol", "xml", CFGF_NONE), CFG_STR("protocol", "xml", CFGF_NONE),
CFG_STR("allow_ip", NULL, CFGF_NONE),
CFG_STR("allow_mask", NULL, CFGF_NONE),
CFG_END() CFG_END()
}; };


Expand Down Expand Up @@ -148,7 +152,7 @@ static cfg_opt_t collection_group_opts[] = {


static cfg_opt_t gmond_opts[] = { static cfg_opt_t gmond_opts[] = {
CFG_SEC("location", location_opts, CFGF_NONE), CFG_SEC("location", location_opts, CFGF_NONE),
CFG_SEC("identification", id_opts, CFGF_NONE), CFG_SEC("cluster", cluster_opts, CFGF_NONE),
CFG_SEC("behavior", behavior_opts, CFGF_NONE), CFG_SEC("behavior", behavior_opts, CFGF_NONE),
CFG_SEC("udp_send_channel", udp_send_channel_opts, CFGF_MULTI), CFG_SEC("udp_send_channel", udp_send_channel_opts, CFGF_MULTI),
CFG_SEC("udp_recv_channel", udp_recv_channel_opts, CFGF_MULTI), CFG_SEC("udp_recv_channel", udp_recv_channel_opts, CFGF_MULTI),
Expand Down

0 comments on commit 55e39e4

Please sign in to comment.