利用cacti提供的api接口可以进行添加查询监控这些api脚本放在cacti的cli目录下面:/web/cacti02/cli编写脚本循环调用下面这些api脚本,就可以达到批量添加的效果,省去大量的人力和时间add_data_query.phpadd_device.phpadd_graphs.php
add_graph_template.phpadd_perms.phpadd..
分类:
其他好文 时间:
2014-05-27 03:52:37
阅读次数:
286
CDC:Windows使用与设备无关的图形设备环境(DC :Device Context) 进行显示
。MFC基础类库定义了设备环境对象类----CDC类。 CDC与CGdiObject的关系 说道CDC类就不能不提一下GdiObject---图形对象类。
在Windows应用程序中,设备环境与图形...
分类:
其他好文 时间:
2014-05-27 02:54:28
阅读次数:
354
devcpp增加对c++11的支持工具→编译选项如图,增加c++11支持c++11
random头文件对随机数的支持// random_device example#include #include int main (){
std::random_device rd; std::cout #i.....
分类:
编程语言 时间:
2014-05-24 04:52:52
阅读次数:
311
一.关于GDI的基本概念什么是GDI?Windows绘图的实质就是利用Windows提供的图形设备接口GDI(Graphics
Device Interface)将图形绘制在显示器上。在Windows操作系统中,动态链接库C:\WINDOWS\system32\gdi32.dll(GDI
Clien...
分类:
其他好文 时间:
2014-05-23 10:04:50
阅读次数:
616
Apache Cordova is a set of device APIs that
allow a mobile app developer to access native device function such as the camera
or accelerometer from Jav...
分类:
其他好文 时间:
2014-05-22 02:34:01
阅读次数:
264
Platform设备之gpio-led分析led测试以使用的9263板子为例,首先看board-sam9263ek.c的ek_board_init函数,static
void __init ek_board_init(void){ /* Serial */ at91_add_device_seria...
分类:
其他好文 时间:
2014-05-21 23:43:48
阅读次数:
306
http://www.howtoforge.com/apache2-how-to-redirect-users-to-mobile-or-normal-web-site-based-on-device-using-mod_rewriteApache2:
How To Redirect Users T...
分类:
Web程序 时间:
2014-05-21 22:53:20
阅读次数:
432
The semaphore module can be used as an arbiter to ensure mutual exclusivity when sharing resources over multiple cores in a multicore device. It provides up to 64 independent semaphores that can be ac...
分类:
其他好文 时间:
2014-05-21 16:26:59
阅读次数:
234
在tomcat中安装logback插件,此插件用于生成日志。该日志中包括很多信息,我们的目的是将需要的数据进行整理,将其插入到MySQL数据库中,并将其做成定时任务执行。一下是原日志文件内容:我们需要client,uniquecode,device,versioncode,interface,createtime这些字段思路如下:..
分类:
其他好文 时间:
2014-05-20 22:14:31
阅读次数:
486
GLES2.0:Some device will give a warning on
compling shaders(yet the compling will succeed), and the rendering result is
incorrect with blink & artifac...
分类:
其他好文 时间:
2014-05-19 19:49:50
阅读次数:
328