Banner plugin for Cacti PA2.x

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

Banner plugin for Cacti PA2.x

Post by pepj »

Banner version 0.32

Here a plugin to show a banner message / picture on the top of cacti
used for:
  • When some office are not together or for a another group and your want give a feed back
    "maintenance", "location X because of power outage", "don't panic we are working on this problem".
    something else.
features:
  • showing at a date/time.
    changing the banner by clicking on the banner (user with rights) or under "Configuration Settings/Misc"
    add a picture in the banner
    scrolling the banner
    banner color background
    color text, Fontsize
    active deactive the banner
    when text is empty the banner is hidden
Install:
copy, active the plugin .. finished ...
(no more need to change PHP files)

screenshots:
http://docs.cacti.net/_media/userplugin ... ache=cache

history:
2010 converting PA2.x
2005 creation
Attachments
bannerv0.32.zip
v0.32
correction error about color
(26.93 KiB) Downloaded 456 times
bannerv0.31.zip
v0.31
add date-time parameter
(26.92 KiB) Downloaded 205 times
Last edited by pepj on Sat Oct 02, 2010 2:16 am, edited 1 time in total.
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
Shmegles
Cacti User
Posts: 64
Joined: Fri Oct 05, 2007 4:14 pm
Location: Seattle, WA, USA

Re: Banner plugin for Cacti PA2.x

Post by Shmegles »

One error which I came across...things work fine without correcting the error; however, a message does appear in logs.

In ...banner/includes/settings.php, colors are accurately defined as:

...
$banner_colorbg['blue'] = "blue";
$banner_colorbg['red'] = "red";
$banner_colorbg['orange'] = "orange";
$banner_colorbg['black'] = "black";
$banner_colorbg['gray'] = "gray";
$banner_colorbg['maroon'] = "maroon";
...
(notice the addition of single-quotes in the brackets)

My php skills are not enough to modify the version of the plugin with the changes...will someone tackle this for me?
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

Re: Banner plugin for Cacti PA2.x

Post by pepj »

Shmegles wrote:One error which I came across...things work fine without correcting the error; however, a message does appear in logs.

In ...banner/includes/settings.php, colors are accurately defined as:

...
$banner_colorbg['blue'] = "blue";
$banner_colorbg['red'] = "red";
$banner_colorbg['orange'] = "orange";
$banner_colorbg['black'] = "black";
$banner_colorbg['gray'] = "gray";
$banner_colorbg['maroon'] = "maroon";
...
(notice the addition of single-quotes in the brackets)

My php skills are not enough to modify the version of the plugin with the changes...will someone tackle this for me?
Sorry I forgot to post the correction. ... will do soon.
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
pepj
Cacti User
Posts: 324
Joined: Thu Sep 29, 2005 5:03 am
Location: switzerland

Re: Banner plugin for Cacti PA2.x

Post by pepj »

version 0.32 on the first post
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
mitra
Posts: 11
Joined: Mon Jan 24, 2011 7:03 pm

Re: Banner plugin for Cacti PA2.x

Post by mitra »

Hi
i cant seem to get this plugin going ...
0.32 - its in the plugin directory , but not shown in Plugin Management.
only see it in utilities --> Plugins (Current) .

any ideas ?

Cacti Version: 0.8.7g, Plugin Architecture Version: 2.8 , on Centos
Spring Convention
pauldolin
Posts: 7
Joined: Fri Aug 30, 2019 6:30 am

Re: Banner plugin for Cacti PA2.x

Post by pauldolin »

pepj wrote: Tue Sep 14, 2010 8:34 am Banner version 0.32

Here a plugin to show a banner message / picture on the top of cacti
used for:
  • When some office are not together or for a another group and your want give a feed back
    "maintenance", "location X because of power outage", "don't panic we are working on this problem".
    something else.
features:
  • showing at a date/time.
    changing the banner by clicking on the banner (user with rights) or under "Configuration Settings/Misc"
    add a picture in the banner
    scrolling the banner
    banner color background
    color text, Fontsize
    active deactive the banner
    when text is empty the banner is hidden
Install:
copy, active the plugin .. finished ...
(no more need to change PHP files)

screenshots:
http://docs.cacti.net/_media/userplugin ... ache=cache

history:
2010 converting PA2.x
2005 creation

Thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests