免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1759 | 回复: 0
打印 上一主题 下一主题

SuperLinks (cacti plugin) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-10 15:43 |只看该作者 |倒序浏览
SuperLinks -- Adding lots of arbitrary content within Cacti

This is a plugin for the
Cacti Plugin Architecture
created by Jimmy Conner for Cacti 0.8.x (0.9.0 is slated to have a new plugin system from the start). It it lets you have any number of pages of arbitrary HTML content behind tabs at the top of the page or extra entries on the Console menu. You could use this to integrate other tools into Cacti - say you want to have links to Smokeping, or Request Tracker, or Nagios...
It is intended as a replacement for the
Links plugin
that I wrote some time ago, but with the following key improvements:

  • Any number of tabs/menu items
  • For tabs, a Cacti-style tab image is generated, so your additional pages are integrated into Cacti better
  • It uses Weathermap's access-control code, so you can make tabs that are only visible to certain users
  • In addition to tabs, there is the option to make Console Menu items, and 'Welcome Page' items.
  • You can embed an external webpage directly, without writing any HTML, if that's all you need.

To use it, you need to install the Plugin Architecture first, and make sure that you can get plugins to work at all. Then, unpack the superlinks archive into your plugins folder, and add the following line to your cacti config.php (for Cacti 0.8.6) or global.php (for Cacti 0.8.7): $plugins = array();
$plugins[] = 'thold';
$plugins[] = 'superlinks';
Next, go to User Management for the user you are currently logged in as, and give yourself the new 'realm right' that should have appeared: "View SuperLinks" and "Manage SuperLinks". Then a SuperLinks item should appear in the Management section of the Console menu in Cacti.
Download
Here's a
zip file
for 0.72
The plugin is enabled for Jimmy Conner's update plugin, so if you have that plugin, then it will notify you of updates to this one.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6436/showart_525461.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP