![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ganglia
文章平均质量分 77
wuks
这个作者很懒,什么都没留下…
展开
-
Ganglia python扩展 - mod_python.c源码分析(1)
本文参考Ganglia 3.7.2版本代码完成。 代码一开始就定义了2个指向NULL的数组指针metric_info和metric_mapping_info,这是两个全局变量,其值在metric_init中初始化(metric_init函数把metric字典解析后存入这两个数组),然后在call back函数中展开,这样就完成了2个函数之间数据传递。 函数解读...原创 2015-08-23 18:53:01 · 126 阅读 · 0 评论 -
Ganglia python扩展 - mod_python.c源码分析(2)
续上文 七. metric_init初始化过程 在metric_init函数中每个metric至少定义以下项中的前八项: d = { 'name': '<your_metric_name>', // metric name,指标名称 'call_back': <metric_handler_function>, // 回调函...原创 2015-08-23 18:53:15 · 127 阅读 · 0 评论 -
gmond帮助
[root@test2 ganglia]# gmond -hgmond 3.7.2The Ganglia Monitoring Daemon (gmond) listens to the clustermessage channel, stores the data in-memory and when requestedwill output an XML description of th...原创 2015-08-23 18:53:31 · 137 阅读 · 0 评论 -
Ganglia python扩展 - 配置文件说明
一、.pyconf配置说明 modules { module { name = "example" //指标名称,也是生成.rrd文件的文件名,此处跟.py文件名保持一致 language = "python" enabled = yes // 取值yes或者no param RandomMa...原创 2015-08-23 18:54:02 · 127 阅读 · 0 评论