Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1308872
  • 博文数量: 416
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 4258
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-23 22:13
文章分类

全部博文(416)

文章存档

2015年(7)

2014年(42)

2013年(35)

2012年(14)

2011年(17)

2010年(10)

2009年(18)

2008年(127)

2007年(72)

2006年(23)

2005年(51)

分类: 系统运维

2008-04-10 15:43:32

SuperLinks -- Adding lots of arbitrary content within Cacti

 
This is a plugin for the 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 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 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.

阅读(1855) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~